File tree Expand file tree Collapse file tree 4 files changed +14
-2
lines changed Expand file tree Collapse file tree 4 files changed +14
-2
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ " @spectrum-css/search " : patch
3
+ ---
4
+
5
+ updated disabled search background color to gray-25 and border-color to gray-300 in spectrum-two theme
Original file line number Diff line number Diff line change 48
48
49
49
/* Disabled */
50
50
--spectrum-search-color-disabled : var (--spectrum-disabled-content-color );
51
- --spectrum-search-background-color-disabled : var (--spectrum-disabled-background-color );
52
- --spectrum-search-border-color-disabled : var (--spectrum-disabled-background-color );
53
51
54
52
/* @passthrough start -- settings for nested Textfield component */
55
53
--mod-textfield-font-family : var (--mod-search-font-family , var (--spectrum-search-font-family ));
Original file line number Diff line number Diff line change 20
20
--spectrum-search-border-color-key-focus : var (--spectrum-gray-900 );
21
21
22
22
--spectrum-search-background-color : var (--spectrum-gray-25 );
23
+ --spectrum-search-background-color-disabled : var (--spectrum-gray-25 );
24
+ --spectrum-search-border-color-disabled : var (--spectrum-gray-300 );
23
25
24
26
& ,
25
27
& .spectrum-Search--sizeM {
42
44
--spectrum-search-edge-to-visual : var (--spectrum-component-edge-to-visual-300 );
43
45
}
44
46
}
47
+
48
+ .spectrum-Search--quiet {
49
+ --spectrum-search-background-color-disabled : transparent;
50
+ --spectrum-search-border-color-disabled : var (--spectrum-disabled-border-color );
51
+ }
45
52
}
Original file line number Diff line number Diff line change 17
17
18
18
@container style(- - system: legacy) {
19
19
.spectrum-Search {
20
+ --spectrum-search-background-color-disabled : var (--spectrum-disabled-background-color );
21
+ --spectrum-search-border-color-disabled : var (--spectrum-disabled-background-color );
20
22
--spectrum-search-background-color : var (--spectrum-gray-50 );
21
23
}
22
24
}
You can’t perform that action at this time.
0 commit comments