mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-06-02 18:42:04 +00:00
AppTheme: removed last 2 hardcoded colors and improved vscode template
This commit is contained in:
@@ -1786,7 +1786,7 @@
|
||||
"editorOverviewRuler.warningForeground": "{{colors.secondary.default.hex}}",
|
||||
"editorOverviewRuler.wordHighlightForeground": "{{colors.secondary.default.hex}}",
|
||||
"editorOverviewRuler.wordHighlightStrongForeground": "{{colors.secondary.default.hex}}",
|
||||
"editorRuler.foreground": "{{colors.outline.default.hex}}",
|
||||
"editorRuler.foreground": "{{colors.outline_variant.default.hex}}",
|
||||
"editorSuggestWidget.background": "{{colors.surface.default.hex}}",
|
||||
"editorSuggestWidget.border": "{{colors.outline.default.hex}}",
|
||||
"editorSuggestWidget.foreground": "{{colors.on_surface.default.hex}}",
|
||||
|
||||
@@ -123,8 +123,7 @@ Singleton {
|
||||
"input": "code.json",
|
||||
"outputs": [{
|
||||
"path": "~/.vscode/extensions/hyprluna.hyprluna-theme-1.0.2/themes/hyprluna.json"
|
||||
}],
|
||||
"strict": true
|
||||
}]
|
||||
}
|
||||
})
|
||||
|
||||
@@ -258,10 +257,10 @@ Singleton {
|
||||
const surfaceContainerHighest = ColorsConvert.generateSurfaceVariant(surface, 4, isDarkMode)
|
||||
|
||||
// Generate outline colors (for borders/dividers)
|
||||
const outline = isStrict ? colors.mOutline : (isDarkMode ? "#938f99" : "#79747e")
|
||||
const outlineVariant = ColorsConvert.adjustLightness(outline, isDarkMode ? -10 : 10)
|
||||
const outline = isStrict ? colors.mOutline : ColorsConvert.adjustLightnessAndSaturation(colors.mOnSurface, isDarkMode ? -30 : 30, isDarkMode ? -30 : 30)
|
||||
const outlineVariant = ColorsConvert.adjustLightness(outline, isDarkMode ? -20 : 20)
|
||||
|
||||
// Shadow is always very dark
|
||||
// Shadow is always pitch black
|
||||
const shadow = "#000000"
|
||||
|
||||
return {
|
||||
@@ -297,6 +296,7 @@ Singleton {
|
||||
"shadow": c(shadow)
|
||||
}
|
||||
}
|
||||
|
||||
function processAllTemplates(colors, mode) {
|
||||
let script = ""
|
||||
const homeDir = Quickshell.env("HOME")
|
||||
|
||||
Reference in New Issue
Block a user