Add "Blue Streak" themes (#2388)
This commit is contained in:
@@ -0,0 +1,76 @@
|
|||||||
|
[Main]
|
||||||
|
name = Blue Streak Dark
|
||||||
|
mode = dark
|
||||||
|
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 = #2d2d2d
|
||||||
|
default = #cccccc
|
||||||
|
faded = #999999
|
||||||
|
red = #ff6666
|
||||||
|
orange = #ff9966
|
||||||
|
yellow = #ffcc66
|
||||||
|
green = #99cc99
|
||||||
|
cyan = #66cccc
|
||||||
|
blue = #6699cc
|
||||||
|
purple = #cc99cc
|
||||||
|
|
||||||
|
[Project]
|
||||||
|
root = blue
|
||||||
|
folder = default
|
||||||
|
file = default
|
||||||
|
title = blue:D150
|
||||||
|
chapter = blue
|
||||||
|
scene = blue:L150
|
||||||
|
note = yellow
|
||||||
|
active = blue:L150
|
||||||
|
inactive = blue:D150
|
||||||
|
disabled = faded
|
||||||
|
|
||||||
|
[Palette]
|
||||||
|
window = base:L125
|
||||||
|
windowtext = default
|
||||||
|
base = base
|
||||||
|
alternatebase = base:L150
|
||||||
|
text = default
|
||||||
|
tooltipbase = yellow:L140
|
||||||
|
tooltiptext = base:D150
|
||||||
|
button = base
|
||||||
|
buttontext = default
|
||||||
|
brighttext = base
|
||||||
|
highlight = blue
|
||||||
|
highlightedtext = default:L120
|
||||||
|
link = blue
|
||||||
|
linkvisited = blue
|
||||||
|
accent = blue
|
||||||
|
|
||||||
|
[GUI]
|
||||||
|
helptext = blue:L125
|
||||||
|
fadedtext = faded
|
||||||
|
errortext = red
|
||||||
|
|
||||||
|
[Syntax]
|
||||||
|
background = base
|
||||||
|
text = default
|
||||||
|
link = blue
|
||||||
|
headertext = blue
|
||||||
|
headertag = blue:D150
|
||||||
|
emphasis = blue:L150
|
||||||
|
dialog = blue
|
||||||
|
altdialog = blue:L150
|
||||||
|
note = blue:L150
|
||||||
|
hidden = faded
|
||||||
|
shortcode = blue:D125
|
||||||
|
keyword = blue:D125
|
||||||
|
tag = blue
|
||||||
|
value = blue
|
||||||
|
optional = blue
|
||||||
|
spellcheckline = red
|
||||||
|
errorline = green
|
||||||
|
replacetag = blue:L150
|
||||||
|
modifier = blue:D125
|
||||||
|
texthighlight = blue:96
|
||||||
@@ -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
|
||||||
@@ -481,7 +481,7 @@ class GuiTheme:
|
|||||||
# Assume #RRGGBBAA and convert to #AARRGGBB
|
# Assume #RRGGBBAA and convert to #AARRGGBB
|
||||||
return QColor.fromString(f"#{value[7:9]}{value[1:7]}")
|
return QColor.fromString(f"#{value[7:9]}{value[1:7]}")
|
||||||
elif ":" in value:
|
elif ":" in value:
|
||||||
# Colour name and alpha
|
# Colour name and lighter, darker or alpha
|
||||||
name, _, adjust = value.partition(":")
|
name, _, adjust = value.partition(":")
|
||||||
color = QColor(self._qColors.get(name.strip(), default))
|
color = QColor(self._qColors.get(name.strip(), default))
|
||||||
if adjust.startswith("L"):
|
if adjust.startswith("L"):
|
||||||
|
|||||||
Reference in New Issue
Block a user