From 1141dcf55426fb0d246cf682bfa41f1deab826c0 Mon Sep 17 00:00:00 2001 From: Mitchell McCaffrey Date: Sun, 18 Jul 2021 09:27:45 +1000 Subject: [PATCH] Fix default colour theme using system colour --- src/theme.ts | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/theme.ts b/src/theme.ts index b3baef4..8ec9e70 100644 --- a/src/theme.ts +++ b/src/theme.ts @@ -1,4 +1,7 @@ const theme = { + config: { + useColorSchemeMediaQuery: false, + }, colors: { text: "hsl(210, 50%, 96%)", background: "hsl(230, 25%, 18%)", @@ -157,9 +160,10 @@ const theme = { ".comment": { fontStyle: "italic", }, - ".property,.tag,.boolean,.number,.constant,.symbol,.deleted,.function,.class-name,.regex,.important,.variable": { - color: "purple", - }, + ".property,.tag,.boolean,.number,.constant,.symbol,.deleted,.function,.class-name,.regex,.important,.variable": + { + color: "purple", + }, ".atrule,.attr-value,.keyword": { color: "primary", },