Skip to content

Commit 266c533

Browse files
committed
feat: add glass color scheme dark variant
1 parent c80e4d8 commit 266c533

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

src/theme/preInstalled.js

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,29 @@ neon.errorTextColor = "rgb(255, 20, 147)";
290290
neon.dangerColor = "rgb(255, 20, 147)";
291291
neon.scrollbarColor = "rgba(10, 255, 200, 0.3)";
292292

293+
const glassDark = createBuiltInTheme("Glass Dark", "dark");
294+
glassDark.darkenedPrimaryColor = "rgb(15, 15, 20)";
295+
glassDark.primaryColor = "rgb(24, 24, 32)";
296+
glassDark.primaryTextColor = "rgb(229, 231, 235)";
297+
glassDark.secondaryColor = "rgba(31, 31, 42, 0.8)";
298+
glassDark.secondaryTextColor = "rgb(156, 163, 175)";
299+
glassDark.activeColor = "rgb(99, 102, 241)";
300+
glassDark.linkTextColor = "rgb(129, 140, 248)";
301+
glassDark.borderColor = "rgba(99, 102, 241, 0.3)";
302+
glassDark.popupIconColor = "rgb(229, 231, 235)";
303+
glassDark.popupBackgroundColor = "rgba(31, 31, 42, 0.95)";
304+
glassDark.popupTextColor = "rgb(229, 231, 235)";
305+
glassDark.popupActiveColor = "rgb(99, 102, 241)";
306+
glassDark.buttonBackgroundColor = "rgb(99, 102, 241)";
307+
glassDark.buttonTextColor = "rgb(255, 255, 255)";
308+
glassDark.buttonActiveColor = "rgb(79, 70, 229)";
309+
glassDark.boxShadowColor = "rgba(0, 0, 0, 0.4)";
310+
glassDark.activeTextColor = "rgb(255, 255, 255)";
311+
glassDark.errorTextColor = "rgb(248, 113, 113)";
312+
glassDark.dangerColor = "rgb(239, 68, 68)";
313+
glassDark.scrollbarColor = "rgba(255, 255, 255, 0.2)";
314+
glassDark.preferredEditorTheme = "ace/theme/one_dark";
315+
293316
const sunset = createBuiltInTheme("Sunset");
294317
sunset.darkenedPrimaryColor = "rgb(251, 243, 235)";
295318
sunset.primaryColor = "rgb(255, 251, 247)";
@@ -320,6 +343,7 @@ export default [
320343
dark,
321344
light,
322345
glass,
346+
glassDark,
323347
neon,
324348
sunset,
325349
oled,

0 commit comments

Comments
 (0)