|
38 | 38 |
|
39 | 39 | :root {
|
40 | 40 | /* webfonts */
|
41 |
| - font-family: "Inter var", system-ui, -apple-system, BlinkMacSystemFont, |
42 |
| - "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", |
43 |
| - sans-serif; |
| 41 | + font-family: var(--font-family); |
44 | 42 | font-feature-settings: "liga" on, "calt" on;
|
45 | 43 |
|
46 | 44 | /* fallback to slightly thinner font on browsers without variable 'wght' support */
|
|
51 | 49 |
|
52 | 50 | /* MARK: Variables
|
53 | 51 | */
|
| 52 | + --font-family: "Inter var", system-ui, -apple-system, BlinkMacSystemFont, |
| 53 | + "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", |
| 54 | + sans-serif; |
54 | 55 | --color-brand: 56.6% 0.194 147.7;
|
55 | 56 | --color-brand-300: 0.84 0.0699 157.51;
|
56 | 57 | --color-brand-200: 0.91 0.0406 157.72;
|
|
144 | 145 |
|
145 | 146 | @supports (font-variation-settings: normal) {
|
146 | 147 | :root {
|
147 |
| - font-family: InterVariable, sans-serif; |
| 148 | + --font-family: InterVariable, system-ui, -apple-system, BlinkMacSystemFont, |
| 149 | + "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", |
| 150 | + sans-serif; |
148 | 151 | }
|
149 | 152 |
|
150 | 153 | h1,
|
@@ -716,10 +719,12 @@ nav {
|
716 | 719 | width: 95vw;
|
717 | 720 | grid-column: 1 / -1;
|
718 | 721 | --atomic-primary: oklch(var(--color-brand));
|
| 722 | + --atomic-primary-ring: oklch(var(--color-brand)); |
| 723 | + --atomic-primary-light: oklch(var(--color-brand)); |
719 | 724 | --atomic-border-radius-lg: 0;
|
720 | 725 | --atomic-border-radius-md: 0;
|
721 | 726 | --atomic-border-radius: 0;
|
722 |
| - --atomic-font-family: inherit; |
| 727 | + --atomic-font-family: var(--font-family); |
723 | 728 | }
|
724 | 729 |
|
725 | 730 | atomic-search-interface {
|
|
0 commit comments