Add Blue Streak Light, and update dark theme

This commit is contained in:
Veronica Berglyd Olsen
2025-06-06 18:25:45 +02:00
parent d280cb510d
commit 0a37981251
3 changed files with 82 additions and 6 deletions
@@ -32,18 +32,18 @@ inactive = blue:D150
disabled = faded
[Palette]
window = base:L130
window = base:L125
windowtext = default
base = base
alternatebase = #515151
alternatebase = base:L150
text = default
tooltipbase = #ffffc0
tooltiptext = #15150d
tooltipbase = yellow:L140
tooltiptext = base:D150
button = base
buttontext = default
brighttext = base
highlight = blue
highlightedtext = #ffffff
highlightedtext = default:L120
link = blue
linkvisited = blue
accent = blue
@@ -0,0 +1,76 @@
[Main]
name = Blue Streak Light
mode = light
author = Veronica Berglyd Olsen
credit = Veronica Berglyd Olsen
url = https://github.com/vkbo/novelWriter
license = CC BY-SA 4.0
licenseurl = https://creativecommons.org/licenses/by-sa/4.0/
[Base]
base = #fcfcfc
default = #303030
faded = #6c6c6c
red = #cc3939
orange = #cc7239
yellow = #cca339
green = #72a372
cyan = #39a3a3
blue = #3972a3
purple = #a372a3
[Project]
root = blue
folder = faded
file = faded
title = blue:D150
chapter = blue
scene = blue:L125
note = yellow
active = blue:L115
inactive = blue:D150
disabled = faded
[Palette]
window = base:D105
windowtext = default
base = base
alternatebase = base:D110
text = default
tooltipbase = yellow:L150
tooltiptext = default:D150
button = base
buttontext = default
brighttext = base
highlight = blue:L110
highlightedtext = base
link = blue
linkvisited = blue
accent = blue
[GUI]
helptext = blue
fadedtext = faded
errortext = red
[Syntax]
background = base
text = default
link = blue
headertext = blue
headertag = blue:D150
emphasis = blue:L125
dialog = blue
altdialog = blue:L125
note = blue:L125
hidden = faded
shortcode = blue:D125
keyword = blue:D125
tag = blue
value = blue
optional = blue
spellcheckline = red
errorline = green
replacetag = blue:L125
modifier = blue:D125
texthighlight = blue:96
+1 -1
View File
@@ -481,7 +481,7 @@ class GuiTheme:
# Assume #RRGGBBAA and convert to #AARRGGBB
return QColor.fromString(f"#{value[7:9]}{value[1:7]}")
elif ":" in value:
# Colour name and alpha
# Colour name and lighter, darker or alpha
name, _, adjust = value.partition(":")
color = QColor(self._qColors.get(name.strip(), default))
if adjust.startswith("L"):