themes: add tok-attributeName color to 15 themes that were missing it
Build and Deploy Verso / deploy (push) Successful in 14m6s
Build and Deploy Verso / deploy (push) Successful in 14m6s
The Typst grammar now emits CodeArgKey (mapped to tok-attributeName) for named argument keys like 'columns:', 'align:', 'caption:'. 15 of 41 editor themes had no .tok-attributeName rule, so those keys appeared in the default text color (black) despite the correct CSS class being set. Chose colors that complement each theme's existing palette: light themes → warm dark-orange family (#994409 / #7B3814 / #735C0F) dark themes → each theme's accent color (gold, warm red, lavender…) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -73,7 +73,10 @@
|
||||
},
|
||||
".tok-variableName": {
|
||||
"color": "#9b859d"
|
||||
},
|
||||
".tok-attributeName": {
|
||||
"color": "#F4BF75"
|
||||
}
|
||||
},
|
||||
"dark": true
|
||||
}
|
||||
}
|
||||
@@ -74,7 +74,10 @@
|
||||
},
|
||||
".tok-variableName": {
|
||||
"color": "#FF80E1"
|
||||
},
|
||||
".tok-attributeName": {
|
||||
"color": "#FFD700"
|
||||
}
|
||||
},
|
||||
"dark": true
|
||||
}
|
||||
}
|
||||
@@ -56,7 +56,10 @@
|
||||
},
|
||||
".tok-attributeValue": {
|
||||
"color": "rgb(0, 64, 128)"
|
||||
},
|
||||
".tok-attributeName": {
|
||||
"color": "#994409"
|
||||
}
|
||||
},
|
||||
"dark": false
|
||||
}
|
||||
}
|
||||
@@ -67,7 +67,10 @@
|
||||
},
|
||||
".tok-attributeValue": {
|
||||
"color": "#234A97"
|
||||
},
|
||||
".tok-attributeName": {
|
||||
"color": "#7B3814"
|
||||
}
|
||||
},
|
||||
"dark": false
|
||||
}
|
||||
}
|
||||
@@ -69,7 +69,10 @@
|
||||
},
|
||||
".tok-list": {
|
||||
"color": "rgb(185, 6, 144)"
|
||||
},
|
||||
".tok-attributeName": {
|
||||
"color": "#994409"
|
||||
}
|
||||
},
|
||||
"dark": false
|
||||
}
|
||||
}
|
||||
@@ -53,7 +53,10 @@
|
||||
".tok-regexp": {
|
||||
"color": "#009926",
|
||||
"fontWeight": "normal"
|
||||
},
|
||||
".tok-attributeName": {
|
||||
"color": "#735C0F"
|
||||
}
|
||||
},
|
||||
"dark": false
|
||||
}
|
||||
}
|
||||
@@ -71,7 +71,10 @@
|
||||
".tok-comment": {
|
||||
"fontStyle": "italic",
|
||||
"color": "#00E060"
|
||||
},
|
||||
".tok-attributeName": {
|
||||
"color": "#F4BF75"
|
||||
}
|
||||
},
|
||||
"dark": true
|
||||
}
|
||||
}
|
||||
@@ -55,7 +55,10 @@
|
||||
},
|
||||
".tok-operator": {
|
||||
"color": "#EBDAB4"
|
||||
},
|
||||
".tok-attributeName": {
|
||||
"color": "#FABD2F"
|
||||
}
|
||||
},
|
||||
"dark": true
|
||||
}
|
||||
}
|
||||
@@ -61,7 +61,10 @@
|
||||
".tok-comment": {
|
||||
"fontStyle": "italic",
|
||||
"color": "#BC9458"
|
||||
},
|
||||
".tok-attributeName": {
|
||||
"color": "#DA4939"
|
||||
}
|
||||
},
|
||||
"dark": true
|
||||
}
|
||||
}
|
||||
@@ -70,7 +70,10 @@
|
||||
},
|
||||
".tok-variableName": {
|
||||
"color": "#FF80E1"
|
||||
},
|
||||
".tok-attributeName": {
|
||||
"color": "#d4c96e"
|
||||
}
|
||||
},
|
||||
"dark": true
|
||||
}
|
||||
}
|
||||
@@ -64,7 +64,10 @@
|
||||
},
|
||||
".tok-list": {
|
||||
"color": "#8F5B26"
|
||||
},
|
||||
".tok-attributeName": {
|
||||
"color": "#994409"
|
||||
}
|
||||
},
|
||||
"dark": false
|
||||
}
|
||||
}
|
||||
@@ -57,7 +57,10 @@
|
||||
},
|
||||
".tok-number": {
|
||||
"color": "#5A5CAD"
|
||||
},
|
||||
".tok-attributeName": {
|
||||
"color": "#7B3F00"
|
||||
}
|
||||
},
|
||||
"dark": false
|
||||
}
|
||||
}
|
||||
@@ -66,7 +66,10 @@
|
||||
},
|
||||
".tok-variableName": {
|
||||
"color": "#C1C144"
|
||||
},
|
||||
".tok-attributeName": {
|
||||
"color": "#ACA0DC"
|
||||
}
|
||||
},
|
||||
"dark": true
|
||||
}
|
||||
}
|
||||
@@ -72,7 +72,10 @@
|
||||
},
|
||||
".tok-list": {
|
||||
"color": "rgb(185, 6, 144)"
|
||||
},
|
||||
".tok-attributeName": {
|
||||
"color": "#994409"
|
||||
}
|
||||
},
|
||||
"dark": false
|
||||
}
|
||||
}
|
||||
@@ -69,7 +69,10 @@
|
||||
},
|
||||
".tok-attributeValue": {
|
||||
"color": "#7587A6"
|
||||
},
|
||||
".tok-attributeName": {
|
||||
"color": "#CF6A4C"
|
||||
}
|
||||
},
|
||||
"dark": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user