|
23 | 23 |
|
24 | 24 | .input { |
25 | 25 | padding: theme.spacing(2) theme.spacing(3); |
26 | | - border: 1px solid var(--color-fd-border); |
| 26 | + border: 1px solid theme.color("border"); |
27 | 27 | border-radius: theme.border-radius("lg"); |
28 | | - background-color: var(--color-fd-background); |
29 | | - color: var(--color-fd-foreground); |
| 28 | + background-color: theme.color("background", "primary"); |
| 29 | + color: theme.color("foreground"); |
30 | 30 | transition: all 0.15s ease-in-out; |
31 | 31 |
|
32 | 32 | &:focus { |
33 | | - outline: 2px solid var(--color-fd-accent); |
| 33 | + outline: 2px solid theme.color("focus"); |
34 | 34 | outline-offset: -2px; |
35 | 35 | border-color: transparent; |
36 | 36 | } |
37 | 37 | } |
38 | 38 |
|
39 | 39 | .resultsSection { |
40 | | - border-top: 1px solid var(--color-fd-border); |
| 40 | + border-top: 1px solid theme.color("border"); |
41 | 41 | margin-top: theme.spacing(6); |
42 | 42 | padding: theme.spacing(6) theme.spacing(4) 0; |
43 | 43 | } |
|
61 | 61 | .resultTitle { |
62 | 62 | font-size: theme.font-size("lg"); |
63 | 63 | font-weight: theme.font-weight("semibold"); |
64 | | - color: var(--color-fd-foreground); |
| 64 | + color: theme.color("foreground"); |
65 | 65 | } |
66 | 66 |
|
67 | | -.resultValues { |
| 67 | +.resultList { |
68 | 68 | display: flex; |
69 | 69 | flex-direction: column; |
70 | 70 | gap: theme.spacing(1); |
| 71 | + margin: 0; |
71 | 72 | } |
72 | 73 |
|
73 | | -.resultItem { |
| 74 | +.resultTerm { |
74 | 75 | font-size: theme.font-size("sm"); |
75 | | - color: var(--color-fd-muted-foreground); |
76 | | -} |
77 | | - |
78 | | -.resultLabel { |
| 76 | + color: theme.color("muted"); |
79 | 77 | font-weight: theme.font-weight("medium"); |
| 78 | + margin: 0; |
80 | 79 | } |
81 | 80 |
|
82 | 81 | .resultValue { |
83 | | - font-family: |
84 | | - ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; |
| 82 | + font-family: theme.font-family("monospace"); |
| 83 | + font-size: theme.font-size("sm"); |
| 84 | + margin: 0; |
| 85 | + margin-bottom: theme.spacing(2); |
85 | 86 | } |
0 commit comments