|
103 | 103 | /* Output tabs */ |
104 | 104 | --output-background-tab: #fcfcfc; |
105 | 105 | --output-current-tab: #f9ffff; |
| 106 | + |
| 107 | + /* Output compiler highlighting */ |
| 108 | + --output-highlight-error-color: #bf1b1b; |
| 109 | + --output-highlight-warning-color: #f79a06; |
106 | 110 | } |
107 | 111 |
|
108 | 112 | @define-mixin dark-theme-vars { |
109 | 113 | --positive-luminance: black; |
110 | 114 | --negative-luminance: white; |
111 | 115 |
|
112 | 116 | /* Fonts */ |
113 | | - --font-color: #b4aea6; |
| 117 | + --font-color: #dcdbd8; |
114 | 118 | --font-color-high-contrast: #dcdbd8; |
115 | 119 |
|
116 | 120 | /* Links */ |
117 | | - --link-color: #308af2; |
118 | | - --link-color-visited: #9f5fe1; |
| 121 | + --link-color: #b2dcff; |
| 122 | + --link-color-visited: #eecaff; |
119 | 123 |
|
120 | 124 | /* Background */ |
121 | | - --background-color: #292c2e; |
122 | | - --background-color-high-contrast: #17191a; |
| 125 | + --background-color: #444; |
| 126 | + --background-color-high-contrast: #181818; |
123 | 127 |
|
124 | 128 | /* Code */ |
125 | 129 | --code-background-color: #3c3c3c; |
126 | 130 |
|
127 | 131 | /* Border */ |
128 | | - --border-color: #404548; |
| 132 | + --border-color: #5e5e5e; |
129 | 133 |
|
130 | 134 | /* Header */ |
131 | 135 | --header-main-border: #363b3d; |
132 | 136 | --header-accent-border: #bdbdbd; |
133 | 137 |
|
134 | 138 | /* The big red button */ |
135 | 139 | --button-primary-color: #dcdbd8; |
136 | | - --button-primary-bg-color: #81331a; |
| 140 | + --button-primary-bg-color: #5d2310; |
137 | 141 | --button-primary-border-color: #612714; |
138 | 142 |
|
139 | 143 | /* Not the big red button */ |
140 | | - --button-secondary-color: #b4aea6; |
| 144 | + --button-secondary-color: #dcdbd8; |
141 | 145 | --button-secondary-bg-color-top: #17191a; |
142 | 146 | --button-secondary-bg-color-bottom: #1a1c1d; |
| 147 | + --button-secondary-border-color: color-mix( |
| 148 | + in hsl, |
| 149 | + var(--button-secondary-bg-color-bottom), |
| 150 | + var(--negative-luminance) 40% |
| 151 | + ); |
143 | 152 |
|
144 | 153 | /* Output tabs */ |
145 | | - --output-background-tab: #191b1c; |
146 | | - --output-current-tab: #343434; |
| 154 | + --output-background-tab: #343434; |
| 155 | + --output-current-tab: #191b1c; |
| 156 | + |
| 157 | + /* Output compiler highlighting */ |
| 158 | + --output-highlight-warning-color: #ffe800; |
| 159 | + --output-highlight-warning-bg-color: #330; |
| 160 | + --output-highlight-error-color: #f5f5f5; |
| 161 | + --output-highlight-error-bg-color: #820000; |
147 | 162 | } |
148 | 163 |
|
149 | 164 | :root, |
@@ -195,15 +210,18 @@ body { |
195 | 210 | background-color: var(--background-color); |
196 | 211 | padding: 0 1em; |
197 | 212 | font-family: var(--primary-font); |
| 213 | + font-size: 18px; |
198 | 214 | } |
199 | 215 |
|
200 | 216 | /* stylelint-disable-next-line selector-class-pattern */ |
201 | 217 | :global(.language-rust_errors) { |
202 | 218 | & :global(.warning) { |
203 | | - color: #f79a06; |
| 219 | + color: var(--output-highlight-warning-color); |
| 220 | + background-color: var(--output-highlight-warning-bg-color); |
204 | 221 | } |
205 | 222 |
|
206 | 223 | & :global(.error) { |
207 | | - color: #bf1b1b; |
| 224 | + color: var(--output-highlight-error-color); |
| 225 | + background-color: var(--output-highlight-error-bg-color); |
208 | 226 | } |
209 | 227 | } |
0 commit comments