1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-06 05:25:41 -05:00

feat/matugen3 (#771)

* added matugen 3 terminal templates and logic

fixed version check and light terminal check

refactored json generation

fixed syntax

keep tmp debug

fixed file outputs

fixed syntax issues and implicit passing

added debug stderr output

* moved calls to matugen after template is built correctly

added --json hex

disabled debug message

cleaned up code into modular functions, re-added second full matugen call

fixed args

added shift

commented vs code section

debug changes

* arg format fixes

fixed json import flag

fixed string quotation

fix arg order

* cleaned up

fix cfg naming

* removed mt2.0 templates and refactored worker

removed/replaced matugen 2 templates

fix formatter diffs + consistent styling

* fixed last json output

* fixed syntax error

* vs code templates

* matugen: inject all stock/custom theme colors as overrides
- also some general architectural changes

* dank16: remove vscode enrich option

---------

Co-authored-by: bbedward
This commit is contained in:
Saurabh
2025-11-27 08:34:53 +11:00
committed by GitHub
parent 85704e3947
commit de8f2e6a68
19 changed files with 1187 additions and 929 deletions

View File

@@ -97,6 +97,22 @@
"terminal.background": "{{colors.background.dark.hex}}",
"terminal.foreground": "{{colors.on_surface.dark.hex}}",
"terminal.ansiBlack": "{{dank16.color0}}",
"terminal.ansiRed": "{{dank16.color1}}",
"terminal.ansiGreen": "{{dank16.color2}}",
"terminal.ansiYellow": "{{dank16.color3}}",
"terminal.ansiBlue": "{{dank16.color4}}",
"terminal.ansiMagenta": "{{dank16.color5}}",
"terminal.ansiCyan": "{{dank16.color6}}",
"terminal.ansiWhite": "{{dank16.color7}}",
"terminal.ansiBrightBlack": "{{dank16.color8}}",
"terminal.ansiBrightRed": "{{dank16.color9}}",
"terminal.ansiBrightGreen": "{{dank16.color10}}",
"terminal.ansiBrightYellow": "{{dank16.color11}}",
"terminal.ansiBrightBlue": "{{dank16.color12}}",
"terminal.ansiBrightMagenta": "{{dank16.color13}}",
"terminal.ansiBrightCyan": "{{dank16.color14}}",
"terminal.ansiBrightWhite": "{{dank16.color15}}",
"gitDecoration.modifiedResourceForeground": "{{colors.primary.dark.hex}}",
"gitDecoration.addedResourceForeground": "{{colors.primary.dark.hex}}",
@@ -158,19 +174,6 @@
},
"tokenColors": [
{
"scope": ["comment", "punctuation.definition.comment"],
"settings": {
"foreground": "{{colors.outline.dark.hex}}",
"fontStyle": "italic"
}
},
{
"scope": ["keyword", "storage.type", "storage.modifier"],
"settings": {
"foreground": "{{colors.primary.dark.hex}}"
}
},
{
"scope": ["variable", "meta.object-literal.key"],
"settings": {
@@ -263,53 +266,166 @@
"settings": {
"foreground": "{{colors.secondary.dark.hex}}"
}
},
{
"scope": ["comment", "punctuation.definition.comment"],
"settings": {
"foreground": "{{dank16.color8}}"
}
},
{
"scope": "keyword",
"settings": {
"foreground": "{{dank16.color5}}"
}
},
{
"scope": "storage.type",
"settings": {
"foreground": "{{dank16.color13}}"
}
},
{
"scope": "storage.modifier",
"settings": {
"foreground": "{{dank16.color5}}"
}
},
{
"scope": "variable",
"settings": {
"foreground": "{{dank16.color15}}"
}
},
{
"scope": "variable.parameter",
"settings": {
"foreground": "{{dank16.color7}}"
}
},
{
"scope": ["meta.object-literal.key", "meta.property.object", "variable.other.property"],
"settings": {
"foreground": "{{dank16.color4}}"
}
},
{
"scope": "constant.other.symbol",
"settings": {
"foreground": "{{dank16.color12}}"
}
},
{
"scope": ["constant.numeric", "constant.language"],
"settings": {
"foreground": "{{dank16.color12}}"
}
},
{
"scope": "constant.character",
"settings": {
"foreground": "{{dank16.color3}}"
}
},
{
"scope": ["entity.name.type", "entity.name.class"],
"settings": {
"foreground": "{{dank16.color12}}"
}
},
{
"scope": "support.type",
"settings": {
"foreground": "{{dank16.color13}}"
}
},
{
"scope": ["entity.name.function", "support.function"],
"settings": {
"foreground": "{{dank16.color2}}"
}
},
{
"scope": ["support.class", "support.variable"],
"settings": {
"foreground": "{{dank16.color15}}"
}
},
{
"scope": "variable.language",
"settings": {
"foreground": "{{dank16.color12}}"
}
},
{
"scope": "entity.name.tag.yaml",
"settings": {
"foreground": "{{dank16.color12}}"
}
},
{
"scope": ["string.unquoted.plain.out.yaml", "string.unquoted.yaml"],
"settings": {
"foreground": "{{dank16.color15}}"
}
},
{
"scope": "string",
"settings": {
"foreground": "{{dank16.color3}}"
}
}
],
"semanticHighlighting": true,
"semanticTokenColors": {
"variable": {
"foreground": "{{dank16.color15}}"
},
"variable.readonly": {
"foreground": "{{colors.tertiary.dark.hex}}"
"foreground": "{{dank16.color12}}"
},
"property": {
"foreground": "{{colors.on_surface.dark.hex}}"
"foreground": "{{dank16.color4}}"
},
"function": {
"foreground": "{{colors.primary.dark.hex}}"
"foreground": "{{dank16.color2}}"
},
"method": {
"foreground": "{{colors.primary.dark.hex}}"
"foreground": "{{dank16.color2}}"
},
"type": {
"foreground": "{{colors.tertiary.dark.hex}}"
"foreground": "{{dank16.color12}}"
},
"class": {
"foreground": "{{colors.tertiary.dark.hex}}"
"foreground": "{{dank16.color12}}"
},
"typeParameter": {
"foreground": "{{dank16.color13}}"
},
"enumMember": {
"foreground": "{{colors.tertiary.dark.hex}}"
"foreground": "{{dank16.color12}}"
},
"string": {
"foreground": "{{colors.secondary.dark.hex}}"
"foreground": "{{dank16.color3}}"
},
"number": {
"foreground": "{{colors.tertiary.dark.hex}}"
"foreground": "{{dank16.color12}}"
},
"comment": {
"foreground": "{{colors.outline.dark.hex}}",
"fontStyle": "italic"
"foreground": "{{dank16.color8}}"
},
"keyword": {
"foreground": "{{colors.primary.dark.hex}}"
"foreground": "{{dank16.color5}}"
},
"operator": {
"foreground": "{{colors.on_surface.dark.hex}}"
"foreground": "{{dank16.color15}}"
},
"parameter": {
"foreground": "{{colors.on_surface.dark.hex}}"
"foreground": "{{dank16.color7}}"
},
"namespace": {
"foreground": "{{colors.secondary.dark.hex}}"
"foreground": "{{dank16.color15}}"
}
}
}