File tree Expand file tree Collapse file tree 2 files changed +14
-5
lines changed
website/src/components/Playground/DesignSystem Expand file tree Collapse file tree 2 files changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -104,11 +104,10 @@ export default function SearchIssues() {
104
104
<div >
105
105
<TextInput
106
106
placeholder = " Search react issues"
107
- label = " Search"
108
107
value = { query }
109
108
onChange = { handleChange }
110
- autoFocus
111
109
loading = { isPending }
110
+ autoFocus
112
111
large
113
112
>
114
113
<SearchIcon />
Original file line number Diff line number Diff line change
1
+ html [data-theme = 'light' ] .playground-preview {
2
+ --ifm-color-formfield-active : var (--ifm-link-color );
3
+ }
4
+ html [data-theme = 'dark' ] .playground-preview {
5
+ --ifm-color-formfield-active : var (--ifm-link-color );
6
+ }
7
+
1
8
/* Root container for the text field */
2
9
.rt-TextFieldRoot {
3
10
display : flex;
10
17
position : relative;
11
18
font-size : 14px ;
12
19
}
20
+ html [data-theme = 'dark' ] .rt-TextFieldRoot {
21
+ background-color : var (--ifm-color-emphasis-100 );
22
+ }
13
23
14
24
/* The slot element (left side) */
15
25
.rt-SearchIcon {
40
50
width : 16px ;
41
51
height : 16px ;
42
52
border : 2px solid var (--ifm-color-emphasis-400 );
43
- border-top-color : # 007AFF ;
53
+ border-top-color : var ( --ifm-color-formfield-active ) ;
44
54
border-radius : 50% ;
45
55
animation : rt-spin 1s linear infinite;
46
56
}
67
77
/* Focus state for the text field */
68
78
.rt-TextFieldInput : focus + .rt-TextFieldLabel ,
69
79
.rt-TextFieldInput : not (: placeholder-shown ) + .rt-TextFieldLabel {
70
- color : # 007AFF ;
80
+ color : var ( --ifm-color-formfield-active ) ;
71
81
}
72
82
73
83
.rt-TextFieldRoot : focus-within {
74
- border-color : # 007AFF ;
84
+ border-color : var ( --ifm-color-formfield-active ) ;
75
85
}
76
86
77
87
You can’t perform that action at this time.
0 commit comments