|
| 1 | +:root {/* Dark theme colors, adjust in _base.scss for now. */ |
| 2 | + --background-primary: hsl(240deg 21% 15%); |
| 3 | + --background-primary-alt: hsl(249deg 23% 12%); |
| 4 | + --background-secondary: hsl(240deg 21% 15%); |
| 5 | + --background-secondary-alt: hsl(249deg 23% 12%); |
| 6 | + --background-modifier-border: hsl(249deg 23% 12%); |
| 7 | + --background-modifier-form-field: hsl(235deg 17% 29% 30%); |
| 8 | + --background-modifier-form-field-highlighted: hsl(235deg 17% 29% 30%); |
| 9 | + --background-modifier-box-shadow: hsl(235deg 17% 29% 30%); |
| 10 | + --background-modifier-success: hsl(128deg 58% 79%); |
| 11 | + --background-modifier-error: hsl(342deg 79% 75%); |
| 12 | + --background-modifier-error-rgb: 226 140 140; |
| 13 | + --background-modifier-error-hover: hsl(342deg 79% 60%); |
| 14 | + --background-modifier-cover: rgb(0 0 0 80%); |
| 15 | + --text-accent: hsl(128deg 58% 79%); |
| 16 | + --text-accent-hover: hsl(128deg 58% 79%); |
| 17 | + --text-normal: hsl(220deg 38% 89%); |
| 18 | + --text-normal-transparent: hsl(220deg 38% 89% / 60%); |
| 19 | + --text-muted: hsl(285deg 10% 75%); |
| 20 | + --text-muted-rgb: 195, 186, 198; |
| 21 | + --text-faint: hsl(274deg 11% 59%); |
| 22 | + --text-error: hsl(342deg 79% 75%); |
| 23 | + --text-error-hover: hsl(342deg 79% 60%); |
| 24 | + --text-highlight-bg: hsl(41deg 88% 84%); |
| 25 | + --text-highlight-bg-active: hsl(223.2deg 70.1% 79%); |
| 26 | + --text-selection: hsl(254deg 12% 36%); |
| 27 | + --text-on-accent: hsl(254deg 25% 10%); |
| 28 | + --interactive-normal: hsl(171deg 53% 81%); |
| 29 | + --interactive-hover: hsl(171deg 53% 81%); |
| 30 | + --interactive-accent: hsl(128deg 58% 79%); |
| 31 | + --interactive-accent-rgb: 171, 233, 179; |
| 32 | + --interactive-accent-hover: hsl(128deg 58% 79%); |
| 33 | + --interactive-success: hsl(128deg 58% 79%); |
| 34 | + --scrollbar-active-thumb-bg: rgb(255 255 255 / 20%); |
| 35 | + --scrollbar-bg: rgb(255 255 255 / 5%); |
| 36 | + --scrollbar-thumb-bg: rgb(255 255 255 / 10%); |
| 37 | + --code-blocks: hsl(10deg 56% 91%); |
| 38 | + --border: hsl(249deg 18% 22%); |
| 39 | + --border-inset: hsl(254deg 12% 36%); |
| 40 | + --active-interaction: hsl(316deg 72% 86%); |
| 41 | + --highlight-mix-blend-mode: lighten; |
| 42 | + --internal-buttons: hsl(24deg 88% 78%); |
| 43 | + --text-selection-opaque: hsl(238deg 100% 89%); |
| 44 | + --rosewater: hsl(9deg 57% 91%); |
| 45 | + --maroon: hsl(349deg 61% 77%); |
| 46 | + --pink: hsl(316deg 72% 86%); |
| 47 | + --lavender: hsl(220deg 38% 89%); |
| 48 | + --black-0: hsl(254deg 25% 10%); |
| 49 | + --black-1: hsl(249deg 23% 12%); |
| 50 | + --black-2: hsl(240deg 21% 15%); |
| 51 | + --black-3: hsl(249deg 18% 22%); |
| 52 | + --black-4: hsl(254deg 12% 36%); |
| 53 | + |
| 54 | + /* Link effects */ |
| 55 | + --link-transition: background-color 0.3s ease-in-out, color 0.3s ease-in; |
| 56 | + |
| 57 | + /* Box shadows */ |
| 58 | + --box-shadow-inset-small: 0 2px 4px inset hsl(254deg 25% 10%); |
| 59 | + --box-shadow-inset-small-hover: |
| 60 | + 0 2px 4px inset hsl(254deg 25% 10%), |
| 61 | + 0 4px 8px inset hsl(254deg 25% 10%); |
| 62 | + --box-shadow-inset-large: |
| 63 | + 0 2px 4px inset hsl(254deg 25% 10%), |
| 64 | + 0 4px 8px inset hsl(254deg 25% 10%), |
| 65 | + 0 8px 16px inset hsl(254deg 25% 10%); |
| 66 | + --box-shadow-large: |
| 67 | + 0 0 4px hsl(254deg 25% 10%), |
| 68 | + 0 0 8px hsl(254deg 25% 10%), |
| 69 | + 0 0 16px hsl(254deg 25% 10%); |
| 70 | + --box-shadow-small: |
| 71 | + 0 2px 2px hsl(254deg 25% 10%), |
| 72 | + 0 4px 4px hsl(254deg 25% 10%); |
| 73 | + --box-shadow-small-hover: |
| 74 | + 0 2px 2px hsl(254deg 25% 10%), |
| 75 | + 0 4px 4px hsl(254deg 25% 10%); |
| 76 | + |
| 77 | + /* Text */ |
| 78 | + --text-underline: 2px; |
| 79 | + --text-decoration-standard: 0.15rem underline var(--interactive-accent); |
| 80 | + --text-decoration-external-link: 0.15em underline var(--interactive-normal); |
| 81 | + --text-decoration-broken-link: 0.15rem underline var(--maroon); |
| 82 | + --text-decoration-titlebar: 0.15rem underline var(--active-interaction); |
| 83 | + |
| 84 | + /* Padding */ |
| 85 | + --padding-small: 3px; |
| 86 | + --padding-medium: 6px; |
| 87 | + --padding-large: 10px; |
| 88 | + |
| 89 | + /* Margin */ |
| 90 | + --margin-small: 2px; |
| 91 | + |
| 92 | + /* Borders */ |
| 93 | + --border-default: hsl(249deg 18% 22%) 1px solid; |
| 94 | + --border-left-small: 1px solid var(--rosewater); |
| 95 | + --border-left: solid 6px var(--active-interaction); |
| 96 | + --border-left-hover: solid 6px var(--black-4); |
| 97 | + --border-side-misc: 0.15rem solid var(--border); |
| 98 | + |
| 99 | + /* Border radius */ |
| 100 | + --border-radius-small: 4px; |
| 101 | + --border-radius-medium: 8px; |
| 102 | + |
| 103 | + /* Indentation guide */ |
| 104 | + .markdown-source-view.mod-cm6 .cm-indent::before { |
| 105 | + --indentation-guide: var(--black-3); |
| 106 | + } |
| 107 | + |
| 108 | + /* Icons */ |
| 109 | + --icon-height-small: 16px; |
| 110 | + --icon-width-small: 16px; |
| 111 | + --icon-height-medium: 20px; |
| 112 | + --icon-width-medium: 20px; |
| 113 | + --icon-background-size: 16px 16px; |
| 114 | + --icon-margin-right: 8px; |
| 115 | +} |
0 commit comments