From 33b31fb43416c1c190e031598486fd219941e8c5 Mon Sep 17 00:00:00 2001 From: Felix Roos Date: Tue, 28 Jan 2025 23:30:33 +0100 Subject: [PATCH] rename okaidia to monokai + improve it --- packages/codemirror/themes/{okaidia.mjs => monokai.mjs} | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) rename packages/codemirror/themes/{okaidia.mjs => monokai.mjs} (95%) diff --git a/packages/codemirror/themes/okaidia.mjs b/packages/codemirror/themes/monokai.mjs similarity index 95% rename from packages/codemirror/themes/okaidia.mjs rename to packages/codemirror/themes/monokai.mjs index a6e32bd9..294b946b 100644 --- a/packages/codemirror/themes/okaidia.mjs +++ b/packages/codemirror/themes/monokai.mjs @@ -26,6 +26,7 @@ export default createTheme({ lineHighlight: '#0000003b', }, styles: [ + { tag: t.labelName, color: '#bababa' }, { tag: [t.comment, t.documentMeta], color: '#8292a2' }, { tag: [t.number, t.bool, t.null, t.atom], color: '#ae81ff' }, { tag: [t.attributeValue, t.className, t.name], color: '#e6db74' }, @@ -36,7 +37,7 @@ export default createTheme({ { tag: [t.regexp, t.className, t.typeName, t.definition(t.typeName)], color: '#66d9ef' }, { tag: [t.definition(t.variableName), t.definition(t.propertyName), t.function(t.variableName)], - color: '#fd971f', + color: '#a6e22e', }, // { tag: t.keyword, color: '#f92672' }, { tag: [t.keyword, t.definitionKeyword, t.modifier, t.tagName, t.angleBracket], color: '#f92672' },