Skip to content

Commit 5e1f839

Browse files
committed
Tweak some dark-mode colors to improve contrast
Getting the OK from APCA is hard...
1 parent e8f3cb1 commit 5e1f839

File tree

1 file changed

+15
-10
lines changed

1 file changed

+15
-10
lines changed

ui/frontend/index.module.css

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -114,40 +114,45 @@
114114
--negative-luminance: white;
115115

116116
/* Fonts */
117-
--font-color: #b4aea6;
117+
--font-color: #dcdbd8;
118118
--font-color-high-contrast: #dcdbd8;
119119

120120
/* Links */
121-
--link-color: #308af2;
122-
--link-color-visited: #9f5fe1;
121+
--link-color: #b2dcff;
122+
--link-color-visited: #eecaff;
123123

124124
/* Background */
125-
--background-color: #292c2e;
126-
--background-color-high-contrast: #17191a;
125+
--background-color: #444;
126+
--background-color-high-contrast: #181818;
127127

128128
/* Code */
129129
--code-background-color: #3c3c3c;
130130

131131
/* Border */
132-
--border-color: #404548;
132+
--border-color: #5e5e5e;
133133

134134
/* Header */
135135
--header-main-border: #363b3d;
136136
--header-accent-border: #bdbdbd;
137137

138138
/* The big red button */
139139
--button-primary-color: #dcdbd8;
140-
--button-primary-bg-color: #81331a;
140+
--button-primary-bg-color: #5d2310;
141141
--button-primary-border-color: #612714;
142142

143143
/* Not the big red button */
144-
--button-secondary-color: #b4aea6;
144+
--button-secondary-color: #dcdbd8;
145145
--button-secondary-bg-color-top: #17191a;
146146
--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+
);
147152

148153
/* Output tabs */
149-
--output-background-tab: #191b1c;
150-
--output-current-tab: #343434;
154+
--output-background-tab: #343434;
155+
--output-current-tab: #191b1c;
151156

152157
/* Output compiler highlighting */
153158
--output-highlight-warning-color: #ffe800;

0 commit comments

Comments
 (0)