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() {
104104 <div >
105105 <TextInput
106106 placeholder = " Search react issues"
107- label = " Search"
108107 value = { query }
109108 onChange = { handleChange }
110- autoFocus
111109 loading = { isPending }
110+ autoFocus
112111 large
113112 >
114113 <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+
18/* Root container for the text field */
29.rt-TextFieldRoot {
310 display : flex;
1017 position : relative;
1118 font-size : 14px ;
1219}
20+ html [data-theme = 'dark' ] .rt-TextFieldRoot {
21+ background-color : var (--ifm-color-emphasis-100 );
22+ }
1323
1424/* The slot element (left side) */
1525.rt-SearchIcon {
4050 width : 16px ;
4151 height : 16px ;
4252 border : 2px solid var (--ifm-color-emphasis-400 );
43- border-top-color : # 007AFF ;
53+ border-top-color : var ( --ifm-color-formfield-active ) ;
4454 border-radius : 50% ;
4555 animation : rt-spin 1s linear infinite;
4656}
6777/* Focus state for the text field */
6878.rt-TextFieldInput : focus + .rt-TextFieldLabel ,
6979.rt-TextFieldInput : not (: placeholder-shown ) + .rt-TextFieldLabel {
70- color : # 007AFF ;
80+ color : var ( --ifm-color-formfield-active ) ;
7181}
7282
7383.rt-TextFieldRoot : focus-within {
74- border-color : # 007AFF ;
84+ border-color : var ( --ifm-color-formfield-active ) ;
7585}
7686
7787
You can’t perform that action at this time.
0 commit comments