|
10 | 10 | border-radius: 6px; |
11 | 11 | outline: 1px solid transparent; |
12 | 12 | outline-offset: 0; |
13 | | - background: linear-gradient(180deg, var(--alpha-light-2) 0%, var(--alpha-light-0) 100%), var(--background-bg-base); |
14 | | - box-shadow: var(--elevation-button-neutral); |
| 13 | + background: linear-gradient(180deg, var(--v2-alpha-light-2) 0%, var(--v2-alpha-light-0) 100%), var(--v2-background-bg-base); |
| 14 | + box-shadow: var(--v2-elevation-button-neutral); |
15 | 15 | flex: none; |
16 | 16 | align-self: stretch; |
17 | 17 | overflow: hidden; |
|
27 | 27 |
|
28 | 28 | [data-component="inline-input-v2"]:where(:hover):not([data-disabled], [data-invalid]):not(:focus-within) { |
29 | 29 | background: |
30 | | - linear-gradient(0deg, var(--overlay-simple-overlay-hover), var(--overlay-simple-overlay-hover)), |
31 | | - linear-gradient(180deg, var(--alpha-light-2) 0%, var(--alpha-light-0) 100%), var(--background-bg-base); |
| 30 | + linear-gradient(0deg, var(--v2-overlay-simple-overlay-hover), var(--v2-overlay-simple-overlay-hover)), |
| 31 | + linear-gradient(180deg, var(--v2-alpha-light-2) 0%, var(--v2-alpha-light-0) 100%), var(--v2-background-bg-base); |
32 | 32 | } |
33 | 33 |
|
34 | 34 | [data-component="inline-input-v2"]:where(:hover):not([data-disabled], [data-invalid]):not(:focus-within) |
|
37 | 37 | } |
38 | 38 |
|
39 | 39 | [data-component="inline-input-v2"]:where(:focus-within):not([data-disabled], [data-invalid]) { |
40 | | - outline-color: var(--border-border-focus); |
| 40 | + outline-color: var(--v2-border-border-focus); |
41 | 41 | box-shadow: none; |
42 | 42 | } |
43 | 43 |
|
44 | 44 | [data-component="inline-input-v2"]:where([data-invalid]):not([data-disabled]) { |
45 | | - outline-color: var(--state-fg-danger); |
| 45 | + outline-color: var(--v2-state-fg-danger); |
46 | 46 | box-shadow: none; |
47 | 47 | } |
48 | 48 |
|
|
64 | 64 | max-width: 100%; |
65 | 65 | padding: 4px 8px; |
66 | 66 | gap: 4px; |
67 | | - background: var(--background-bg-layer-01); |
| 67 | + background: var(--v2-background-bg-layer-01); |
68 | 68 | border-radius: 4px 0 0 4px; |
69 | 69 | transition: background 85ms ease-out; |
70 | 70 | } |
|
86 | 86 | font-size: 13px; |
87 | 87 | line-height: 1; |
88 | 88 | letter-spacing: -0.04px; |
89 | | - color: var(--text-text-muted); |
| 89 | + color: var(--v2-text-text-muted); |
90 | 90 | font-variation-settings: "slnt" 0; |
91 | 91 | } |
92 | 92 |
|
|
99 | 99 | align-self: stretch; |
100 | 100 | width: 0.5px; |
101 | 101 | min-width: 0.5px; |
102 | | - background: var(--border-border-base); |
| 102 | + background: var(--v2-border-border-base); |
103 | 103 | } |
104 | 104 |
|
105 | 105 | [data-component="inline-input-v2"] [data-slot="inline-input-v2-field"] { |
|
142 | 142 | font-size: 13px; |
143 | 143 | line-height: 1; |
144 | 144 | letter-spacing: -0.04px; |
145 | | - color: var(--text-text-base); |
| 145 | + color: var(--v2-text-text-base); |
146 | 146 | font-variation-settings: "slnt" 0; |
147 | 147 | } |
148 | 148 |
|
149 | 149 | [data-component="inline-input-v2"] [data-slot="inline-input-v2-input"]::placeholder { |
150 | | - color: var(--text-text-faint); |
| 150 | + color: var(--v2-text-text-faint); |
151 | 151 | } |
152 | 152 |
|
153 | 153 | [data-component="inline-input-v2"][data-numeric] [data-slot="inline-input-v2-input"] { |
|
167 | 167 | border: 0; |
168 | 168 | border-radius: 4px; |
169 | 169 | background: transparent; |
170 | | - color: var(--icon-icon-muted); |
| 170 | + color: var(--v2-icon-icon-muted); |
171 | 171 | cursor: pointer; |
172 | 172 | outline: none; |
173 | 173 | } |
174 | 174 |
|
175 | 175 | [data-component="inline-input-v2"] |
176 | 176 | [data-slot="inline-input-v2-icon-button"]:is(:hover, [data-state="hover"]):not(:disabled) { |
177 | | - background-color: var(--overlay-simple-overlay-hover); |
| 177 | + background-color: var(--v2-overlay-simple-overlay-hover); |
178 | 178 | } |
179 | 179 |
|
180 | 180 | [data-component="inline-input-v2"] |
181 | 181 | [data-slot="inline-input-v2-icon-button"]:is(:active, [data-state="pressed"]):not(:disabled) { |
182 | | - background-color: var(--overlay-simple-overlay-pressed); |
| 182 | + background-color: var(--v2-overlay-simple-overlay-pressed); |
183 | 183 | } |
184 | 184 |
|
185 | 185 | [data-component="inline-input-v2"] [data-slot="inline-input-v2-icon-button"]:focus { |
186 | 186 | outline: none; |
187 | 187 | } |
188 | 188 |
|
189 | 189 | [data-component="inline-input-v2"] [data-slot="inline-input-v2-icon-button"]:focus-visible { |
190 | | - outline: 2px solid var(--border-border-focus); |
| 190 | + outline: 2px solid var(--v2-border-border-focus); |
191 | 191 | outline-offset: 1px; |
192 | 192 | } |
193 | 193 |
|
|
203 | 203 | } |
204 | 204 |
|
205 | 205 | [data-component="inline-input-v2"][data-invalid]:not([data-disabled]) [data-slot="inline-input-v2-prefix-text"] { |
206 | | - color: var(--text-text-muted); |
| 206 | + color: var(--v2-text-text-muted); |
207 | 207 | } |
208 | 208 |
|
209 | 209 | [data-component="inline-input-v2"][data-invalid]:not([data-disabled]) [data-slot="inline-input-v2-input"] { |
210 | | - color: var(--state-fg-danger); |
211 | | - caret-color: var(--state-fg-danger); |
| 210 | + color: var(--v2-state-fg-danger); |
| 211 | + caret-color: var(--v2-state-fg-danger); |
212 | 212 | } |
213 | 213 |
|
214 | 214 | [data-component="inline-input-v2"][data-invalid]:not([data-disabled]) [data-slot="inline-input-v2-input"]::placeholder { |
215 | | - color: var(--state-fg-danger); |
| 215 | + color: var(--v2-state-fg-danger); |
216 | 216 | opacity: 1; |
217 | 217 | } |
0 commit comments