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,6 +73,9 @@
|
||||
},
|
||||
".tok-variableName": {
|
||||
"color": "#9b859d"
|
||||
},
|
||||
".tok-attributeName": {
|
||||
"color": "#F4BF75"
|
||||
}
|
||||
},
|
||||
"dark": true
|
||||
|
||||
@@ -74,6 +74,9 @@
|
||||
},
|
||||
".tok-variableName": {
|
||||
"color": "#FF80E1"
|
||||
},
|
||||
".tok-attributeName": {
|
||||
"color": "#FFD700"
|
||||
}
|
||||
},
|
||||
"dark": true
|
||||
|
||||
@@ -56,6 +56,9 @@
|
||||
},
|
||||
".tok-attributeValue": {
|
||||
"color": "rgb(0, 64, 128)"
|
||||
},
|
||||
".tok-attributeName": {
|
||||
"color": "#994409"
|
||||
}
|
||||
},
|
||||
"dark": false
|
||||
|
||||
@@ -67,6 +67,9 @@
|
||||
},
|
||||
".tok-attributeValue": {
|
||||
"color": "#234A97"
|
||||
},
|
||||
".tok-attributeName": {
|
||||
"color": "#7B3814"
|
||||
}
|
||||
},
|
||||
"dark": false
|
||||
|
||||
@@ -69,6 +69,9 @@
|
||||
},
|
||||
".tok-list": {
|
||||
"color": "rgb(185, 6, 144)"
|
||||
},
|
||||
".tok-attributeName": {
|
||||
"color": "#994409"
|
||||
}
|
||||
},
|
||||
"dark": false
|
||||
|
||||
@@ -53,6 +53,9 @@
|
||||
".tok-regexp": {
|
||||
"color": "#009926",
|
||||
"fontWeight": "normal"
|
||||
},
|
||||
".tok-attributeName": {
|
||||
"color": "#735C0F"
|
||||
}
|
||||
},
|
||||
"dark": false
|
||||
|
||||
@@ -71,6 +71,9 @@
|
||||
".tok-comment": {
|
||||
"fontStyle": "italic",
|
||||
"color": "#00E060"
|
||||
},
|
||||
".tok-attributeName": {
|
||||
"color": "#F4BF75"
|
||||
}
|
||||
},
|
||||
"dark": true
|
||||
|
||||
@@ -55,6 +55,9 @@
|
||||
},
|
||||
".tok-operator": {
|
||||
"color": "#EBDAB4"
|
||||
},
|
||||
".tok-attributeName": {
|
||||
"color": "#FABD2F"
|
||||
}
|
||||
},
|
||||
"dark": true
|
||||
|
||||
@@ -61,6 +61,9 @@
|
||||
".tok-comment": {
|
||||
"fontStyle": "italic",
|
||||
"color": "#BC9458"
|
||||
},
|
||||
".tok-attributeName": {
|
||||
"color": "#DA4939"
|
||||
}
|
||||
},
|
||||
"dark": true
|
||||
|
||||
@@ -70,6 +70,9 @@
|
||||
},
|
||||
".tok-variableName": {
|
||||
"color": "#FF80E1"
|
||||
},
|
||||
".tok-attributeName": {
|
||||
"color": "#d4c96e"
|
||||
}
|
||||
},
|
||||
"dark": true
|
||||
|
||||
@@ -64,6 +64,9 @@
|
||||
},
|
||||
".tok-list": {
|
||||
"color": "#8F5B26"
|
||||
},
|
||||
".tok-attributeName": {
|
||||
"color": "#994409"
|
||||
}
|
||||
},
|
||||
"dark": false
|
||||
|
||||
@@ -57,6 +57,9 @@
|
||||
},
|
||||
".tok-number": {
|
||||
"color": "#5A5CAD"
|
||||
},
|
||||
".tok-attributeName": {
|
||||
"color": "#7B3F00"
|
||||
}
|
||||
},
|
||||
"dark": false
|
||||
|
||||
@@ -66,6 +66,9 @@
|
||||
},
|
||||
".tok-variableName": {
|
||||
"color": "#C1C144"
|
||||
},
|
||||
".tok-attributeName": {
|
||||
"color": "#ACA0DC"
|
||||
}
|
||||
},
|
||||
"dark": true
|
||||
|
||||
@@ -72,6 +72,9 @@
|
||||
},
|
||||
".tok-list": {
|
||||
"color": "rgb(185, 6, 144)"
|
||||
},
|
||||
".tok-attributeName": {
|
||||
"color": "#994409"
|
||||
}
|
||||
},
|
||||
"dark": false
|
||||
|
||||
@@ -69,6 +69,9 @@
|
||||
},
|
||||
".tok-attributeValue": {
|
||||
"color": "#7587A6"
|
||||
},
|
||||
".tok-attributeName": {
|
||||
"color": "#CF6A4C"
|
||||
}
|
||||
},
|
||||
"dark": true
|
||||
|
||||
Reference in New Issue
Block a user