Update and reorganise themes (#893)
* Drop the subfolders for GUI themes * Remove bundled font support * Add safe file read function * Allow loading themes from multiple locations * Clean up unused variables * Clean up icons class * Merge icon theme icons * Update icon theme class * Remove guiDark config setting * Fix tests * Fix handling of default theme * Update icon readmes * Add test for getGuiItem common function
This commit is contained in:
committed by
GitHub
parent
be3376272e
commit
15ec1496c5
@@ -0,0 +1,25 @@
|
||||
[Main]
|
||||
name = Default 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/
|
||||
|
||||
[Syntax]
|
||||
background = 54, 54, 54
|
||||
text = 199, 207, 208
|
||||
link = 184, 200, 0
|
||||
headertext = 0, 155, 200
|
||||
headertag = 0, 105, 135
|
||||
emphasis = 200, 120, 0
|
||||
straightquotes = 200, 46, 0
|
||||
doublequotes = 184, 200, 0
|
||||
singlequotes = 136, 200, 0
|
||||
hidden = 150, 150, 150
|
||||
keyword = 200, 46, 0
|
||||
value = 184, 200, 0
|
||||
spellcheckline = 200, 46, 0
|
||||
errorline = 46, 200, 0
|
||||
replacetag = 0, 184, 46
|
||||
modifier = 200, 120, 0
|
||||
@@ -0,0 +1,25 @@
|
||||
[Main]
|
||||
name = Default 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/
|
||||
|
||||
[Syntax]
|
||||
background = 255, 255, 255
|
||||
text = 0, 0, 0
|
||||
link = 0, 0, 200
|
||||
headertext = 0, 100, 0
|
||||
headertag = 50, 100, 50
|
||||
emphasis = 150, 110, 30
|
||||
straightquotes = 200, 0, 0
|
||||
doublequotes = 0, 0, 200
|
||||
singlequotes = 0, 0, 200
|
||||
hidden = 100, 100, 100
|
||||
keyword = 200, 50, 50
|
||||
value = 50, 150, 50
|
||||
spellcheckline = 200, 0, 0
|
||||
errorline = 0, 150, 0
|
||||
replacetag = 0, 150, 0
|
||||
modifier = 150, 110, 30
|
||||
@@ -0,0 +1,25 @@
|
||||
[Main]
|
||||
name = Grey 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/
|
||||
|
||||
[Syntax]
|
||||
background = 54, 54, 54
|
||||
text = 200, 200, 200
|
||||
link = 200, 200, 200
|
||||
headertext = 225, 225, 225
|
||||
headertag = 225, 225, 225
|
||||
emphasis = 200, 200, 200
|
||||
straightquotes = 200, 200, 200
|
||||
doublequotes = 200, 200, 200
|
||||
singlequotes = 200, 200, 200
|
||||
hidden = 150, 150, 150
|
||||
keyword = 225, 225, 225
|
||||
value = 200, 200, 200
|
||||
spellcheckline = 200, 46, 0
|
||||
errorline = 46, 200, 0
|
||||
replacetag = 225, 225, 225
|
||||
modifier = 225, 225, 225
|
||||
@@ -0,0 +1,25 @@
|
||||
[Main]
|
||||
name = Grey 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/
|
||||
|
||||
[Syntax]
|
||||
background = 255, 255, 255
|
||||
text = 20, 20, 20
|
||||
link = 20, 20, 20
|
||||
headertext = 0, 0, 0
|
||||
headertag = 0, 0, 0
|
||||
emphasis = 20, 20, 20
|
||||
straightquotes = 20, 20, 20
|
||||
doublequotes = 20, 20, 20
|
||||
singlequotes = 20, 20, 20
|
||||
hidden = 100, 100, 100
|
||||
keyword = 0, 0, 0
|
||||
value = 20, 20, 20
|
||||
spellcheckline = 200, 0, 0
|
||||
errorline = 0, 150, 0
|
||||
replacetag = 0, 0, 0
|
||||
modifier = 0, 0, 0
|
||||
@@ -0,0 +1,45 @@
|
||||
##
|
||||
# Theme: Light Owl
|
||||
# Source: https://github.com/sdras/night-owl-vscode-theme
|
||||
# Credit: Sarah Drasner
|
||||
##
|
||||
# Colours:
|
||||
# Background = fbfbfb : 251, 251, 251
|
||||
# Current Line = e0e0e0 : 224, 224, 224
|
||||
# Selection = e0e0e0 : 224, 224, 224
|
||||
# Foreground = 403f52 : 64, 63, 82
|
||||
# Comment = 989fb1 : 152, 159, 177
|
||||
# Red = de3d3a : 222, 61, 58
|
||||
# Orange = e0af05 : 224, 175, 5
|
||||
# Yellow = daaa01 : 218, 170, 1
|
||||
# Green = 08916a : 8, 145, 106
|
||||
# Aqua = 2aa298 : 42, 162, 152
|
||||
# Blue = 288ed7 : 40, 142, 215
|
||||
# Purple = 964ac1 : 150, 74, 193
|
||||
##
|
||||
|
||||
[Main]
|
||||
name = Light Owl
|
||||
author = Veronica Berglyd Olsen (adaptation)
|
||||
credit = Sarah Drasner (color theme)
|
||||
url = https://github.com/sdras/night-owl-vscode-theme
|
||||
license = MIT License
|
||||
licenseurl = https://github.com/sdras/night-owl-vscode-theme/blob/master/LICENSE
|
||||
|
||||
[Syntax]
|
||||
background = 251, 251, 251
|
||||
text = 64, 63, 82
|
||||
link = 40, 142, 215
|
||||
headertext = 40, 142, 215
|
||||
headertag = 40, 142, 215
|
||||
emphasis = 224, 175, 5
|
||||
straightquotes = 222, 61, 58
|
||||
doublequotes = 8, 145, 106
|
||||
singlequotes = 255, 235, 149
|
||||
hidden = 152, 159, 177
|
||||
keyword = 222, 61, 58
|
||||
value = 150, 74, 193
|
||||
spellcheckline = 222, 61, 58
|
||||
errorline = 8, 145, 106
|
||||
replacetag = 42, 162, 152
|
||||
modifier = 224, 175, 5
|
||||
@@ -0,0 +1,45 @@
|
||||
##
|
||||
# Theme: Night Owl
|
||||
# Source: https://github.com/sdras/night-owl-vscode-theme
|
||||
# Credit: Sarah Drasner
|
||||
##
|
||||
# Colours:
|
||||
# Background = 011627 : 1, 22, 39
|
||||
# Current Line = 32374d : 50, 55, 77
|
||||
# Selection = 32374d : 50, 55, 77
|
||||
# Foreground = d6deeb : 214, 222, 235
|
||||
# Comment = 637777 : 99, 119, 119
|
||||
# Red = f78c6c : 247, 140, 108
|
||||
# Orange = ecc48d : 236, 196, 141
|
||||
# Yellow = ffeb95 : 255, 235, 149
|
||||
# Green = addb67 : 173, 219, 103
|
||||
# Aqua = 7fdbca : 127, 219, 202
|
||||
# Blue = 82aaff : 130, 170, 255
|
||||
# Purple = c792ea : 199, 146, 234
|
||||
##
|
||||
|
||||
[Main]
|
||||
name = Night Owl
|
||||
author = Veronica Berglyd Olsen (adaptation)
|
||||
credit = Sarah Drasner (color theme)
|
||||
url = https://github.com/sdras/night-owl-vscode-theme
|
||||
license = MIT License
|
||||
licenseurl = https://github.com/sdras/night-owl-vscode-theme/blob/master/LICENSE
|
||||
|
||||
[Syntax]
|
||||
background = 1, 22, 39
|
||||
text = 214, 222, 235
|
||||
link = 130, 170, 255
|
||||
headertext = 130, 170, 255
|
||||
headertag = 130, 170, 255
|
||||
emphasis = 236, 196, 141
|
||||
straightquotes = 247, 140, 108
|
||||
doublequotes = 173, 219, 103
|
||||
singlequotes = 255, 235, 149
|
||||
hidden = 99, 119, 119
|
||||
keyword = 247, 140, 108
|
||||
value = 199, 146, 234
|
||||
spellcheckline = 247, 140, 108
|
||||
errorline = 173, 219, 103
|
||||
replacetag = 127, 219, 202
|
||||
modifier = 236, 196, 141
|
||||
@@ -0,0 +1,25 @@
|
||||
[Main]
|
||||
name = Solarized Dark
|
||||
author = nullbasis
|
||||
credit = Ethan Schoonover
|
||||
url = https://ethanschoonover.com/solarized/
|
||||
license = MIT
|
||||
licenseurl = https://github.com/altercation/solarized/blob/master/LICENSE
|
||||
|
||||
[Syntax]
|
||||
background = 7, 54, 66
|
||||
text = 253, 246, 227
|
||||
link = 38, 139, 210
|
||||
headertext = 147, 161, 161
|
||||
headertag = 42, 161, 152
|
||||
emphasis = 38, 139, 210
|
||||
straightquotes = 211, 54, 130
|
||||
doublequotes = 42, 161, 152
|
||||
singlequotes = 42, 161, 152
|
||||
hidden = 147, 161, 161
|
||||
keyword = 133, 153, 0
|
||||
value = 203, 75, 22
|
||||
spellcheckline = 203, 75, 22
|
||||
errorline = 220, 50, 47
|
||||
replacetag = 133, 153, 0
|
||||
modifier = 181, 137, 0
|
||||
@@ -0,0 +1,25 @@
|
||||
[Main]
|
||||
name = Solarized Light
|
||||
author = nullbasis
|
||||
credit = Ethan Schoonover
|
||||
url = https://ethanschoonover.com/solarized/
|
||||
license = MIT
|
||||
licenseurl = https://github.com/altercation/solarized/blob/master/LICENSE
|
||||
|
||||
[Syntax]
|
||||
background = 253, 246, 227
|
||||
text = 0, 43, 54
|
||||
link = 38, 139, 210
|
||||
headertext = 88, 110, 117
|
||||
headertag = 42, 161, 152
|
||||
emphasis = 38, 139, 210
|
||||
straightquotes = 211, 54, 130
|
||||
doublequotes = 42, 161, 152
|
||||
singlequotes = 42, 161, 152
|
||||
hidden = 88, 110, 117
|
||||
keyword = 133, 153, 0
|
||||
value = 203, 75, 22
|
||||
spellcheckline = 203, 75, 22
|
||||
errorline = 220, 50, 47
|
||||
replacetag = 133, 153, 0
|
||||
modifier = 181, 137, 0
|
||||
@@ -0,0 +1,45 @@
|
||||
##
|
||||
# Theme: Tomorrow
|
||||
# Source: https://github.com/chriskempson/tomorrow-theme
|
||||
# Credit: Chris Kempson
|
||||
##
|
||||
# Colours:
|
||||
# Background = ffffff : 255, 255, 255
|
||||
# Current Line = efefef : 239, 239, 239
|
||||
# Selection = d6d6d6 : 214, 214, 214
|
||||
# Foreground = 4d4d4c : 77, 77, 76
|
||||
# Comment = 8e908c : 142, 144, 140
|
||||
# Red = c82829 : 240, 40, 41
|
||||
# Orange = f5871f : 245, 135, 31
|
||||
# Yellow = eab700 : 234, 183, 0
|
||||
# Green = 718c00 : 113, 140, 0
|
||||
# Aqua = 3e999f : 62, 153, 159
|
||||
# Blue = 4271ae : 66, 113, 174
|
||||
# Purple = 8959a8 : 137, 89, 168
|
||||
##
|
||||
|
||||
[Main]
|
||||
name = Tomorrow
|
||||
author = Veronica Berglyd Olsen (adaptation)
|
||||
credit = Chris Kempson (color theme)
|
||||
url = https://github.com/chriskempson/tomorrow-theme
|
||||
license = MIT License
|
||||
licenseurl = https://github.com/chriskempson/tomorrow-theme/blob/master/LICENSE.md
|
||||
|
||||
[Syntax]
|
||||
background = 255, 255, 255
|
||||
text = 77, 77, 76
|
||||
link = 66, 113, 174
|
||||
headertext = 66, 113, 174
|
||||
headertag = 66, 113, 174
|
||||
emphasis = 245, 135, 31
|
||||
straightquotes = 240, 40, 41
|
||||
doublequotes = 113, 140, 0
|
||||
singlequotes = 234, 183, 0
|
||||
hidden = 142, 144, 140
|
||||
keyword = 240, 40, 41
|
||||
value = 137, 89, 168
|
||||
spellcheckline = 240, 40, 41
|
||||
errorline = 113, 140, 0
|
||||
replacetag = 62, 153, 159
|
||||
modifier = 245, 135, 31
|
||||
@@ -0,0 +1,45 @@
|
||||
##
|
||||
# Theme: Tomorrow Night
|
||||
# Source: https://github.com/chriskempson/tomorrow-theme
|
||||
# Credit: Chris Kempson
|
||||
##
|
||||
# Colours:
|
||||
# Background = 1d1f21 : 29, 31, 33
|
||||
# Current Line = 282a2e : 40, 42, 46
|
||||
# Selection = 373b41 : 55, 59. 65
|
||||
# Foreground = c5c8c6 : 197, 200, 198
|
||||
# Comment = 969896 : 150, 152, 150
|
||||
# Red = cc6666 : 204, 102, 102
|
||||
# Orange = de935f : 222, 147, 95
|
||||
# Yellow = f0c674 : 240, 198, 116
|
||||
# Green = b5bd68 : 181, 189, 104
|
||||
# Aqua = 8abeb7 : 138, 190, 183
|
||||
# Blue = 81a2be : 129, 162, 190
|
||||
# Purple = b294bb : 178, 148, 187
|
||||
##
|
||||
|
||||
[Main]
|
||||
name = Tomorrow Night
|
||||
author = Veronica Berglyd Olsen (adaptation)
|
||||
credit = Chris Kempson (color theme)
|
||||
url = https://github.com/chriskempson/tomorrow-theme
|
||||
license = MIT License
|
||||
licenseurl = https://github.com/chriskempson/tomorrow-theme/blob/master/LICENSE.md
|
||||
|
||||
[Syntax]
|
||||
background = 29, 31, 33
|
||||
text = 197, 200, 198
|
||||
link = 129, 162, 190
|
||||
headertext = 129, 162, 190
|
||||
headertag = 129, 162, 190
|
||||
emphasis = 222, 147, 95
|
||||
straightquotes = 204, 102, 102
|
||||
doublequotes = 181, 189, 104
|
||||
singlequotes = 240, 198, 116
|
||||
hidden = 150, 152, 150
|
||||
keyword = 204, 102, 102
|
||||
value = 178, 148, 187
|
||||
spellcheckline = 204, 102, 102
|
||||
errorline = 181, 189, 104
|
||||
replacetag = 138, 190, 183
|
||||
modifier = 222, 147, 95
|
||||
@@ -0,0 +1,45 @@
|
||||
##
|
||||
# Theme: Tomorrow Night Blue
|
||||
# Source: https://github.com/chriskempson/tomorrow-theme
|
||||
# Credit: Chris Kempson
|
||||
##
|
||||
# Colours:
|
||||
# Background = 002451 : 0, 36, 81
|
||||
# Current Line = 00346e : 0, 52, 110
|
||||
# Selection = 003f8e : 0, 63, 142
|
||||
# Foreground = ffffff : 255, 255, 255
|
||||
# Comment = 7285b7 : 114, 133, 183
|
||||
# Red = ff9da4 : 255, 157, 164
|
||||
# Orange = ffc58f : 255, 197, 143
|
||||
# Yellow = ffeead : 255, 238, 173
|
||||
# Green = d1f1a9 : 209, 241, 169
|
||||
# Aqua = 99ffff : 153, 255, 255
|
||||
# Blue = bbdaff : 187, 218, 255
|
||||
# Purple = ebbbff : 235, 187, 255
|
||||
##
|
||||
|
||||
[Main]
|
||||
name = Tomorrow Night Blue
|
||||
author = Veronica Berglyd Olsen (adaptation)
|
||||
credit = Chris Kempson (color theme)
|
||||
url = https://github.com/chriskempson/tomorrow-theme
|
||||
license = MIT License
|
||||
licenseurl = https://github.com/chriskempson/tomorrow-theme/blob/master/LICENSE.md
|
||||
|
||||
[Syntax]
|
||||
background = 0, 36, 81
|
||||
text = 255, 255, 255
|
||||
link = 187, 218, 255
|
||||
headertext = 187, 218, 255
|
||||
headertag = 187, 218, 255
|
||||
emphasis = 255, 197, 143
|
||||
straightquotes = 255, 157, 164
|
||||
doublequotes = 209, 241, 169
|
||||
singlequotes = 255, 238, 173
|
||||
hidden = 114, 133, 183
|
||||
keyword = 255, 157, 164
|
||||
value = 235, 187, 255
|
||||
spellcheckline = 255, 157, 164
|
||||
errorline = 209, 241, 169
|
||||
replacetag = 153, 255, 255
|
||||
modifier = 255, 197, 143
|
||||
@@ -0,0 +1,45 @@
|
||||
##
|
||||
# Theme: Tomorrow Night Bright
|
||||
# Source: https://github.com/chriskempson/tomorrow-theme
|
||||
# Credit: Chris Kempson
|
||||
##
|
||||
# Colours:
|
||||
# Background = 000000 : 0, 0, 0
|
||||
# Current Line = 2a2a2a : 42, 42, 42
|
||||
# Selection = 424242 : 66, 66, 66
|
||||
# Foreground = eaeaea : 234, 234, 234
|
||||
# Comment = 969896 : 150, 152, 150
|
||||
# Red = d54e53 : 213, 78, 83
|
||||
# Orange = e78c45 : 231, 140, 69
|
||||
# Yellow = e7c547 : 231, 197, 71
|
||||
# Green = b9ca4a : 185, 202, 74
|
||||
# Aqua = 70c0b1 : 112, 192, 177
|
||||
# Blue = 7aa6da : 122, 166, 218
|
||||
# Purple = c397d8 : 195, 151, 216
|
||||
##
|
||||
|
||||
[Main]
|
||||
name = Tomorrow Night Bright
|
||||
author = Veronica Berglyd Olsen (adaptation)
|
||||
credit = Chris Kempson (color theme)
|
||||
url = https://github.com/chriskempson/tomorrow-theme
|
||||
license = MIT License
|
||||
licenseurl = https://github.com/chriskempson/tomorrow-theme/blob/master/LICENSE.md
|
||||
|
||||
[Syntax]
|
||||
background = 0, 0, 0
|
||||
text = 234, 234, 234
|
||||
link = 122, 166, 218
|
||||
headertext = 122, 166, 218
|
||||
headertag = 122, 166, 218
|
||||
emphasis = 231, 140, 69
|
||||
straightquotes = 213, 78, 83
|
||||
doublequotes = 185, 202, 74
|
||||
singlequotes = 231, 197, 71
|
||||
hidden = 150, 152, 150
|
||||
keyword = 213, 78, 83
|
||||
value = 195, 151, 216
|
||||
spellcheckline = 213, 78, 83
|
||||
errorline = 185, 202, 74
|
||||
replacetag = 112, 192, 177
|
||||
modifier = 231, 140, 69
|
||||
@@ -0,0 +1,45 @@
|
||||
##
|
||||
# Theme: Tomorrow Night Eighties
|
||||
# Source: https://github.com/chriskempson/tomorrow-theme
|
||||
# Credit: Chris Kempson
|
||||
##
|
||||
# Colours:
|
||||
# Background = 2d2d2d : 45, 45, 45
|
||||
# Current Line = 393939 : 57, 57, 57
|
||||
# Selection = 515151 : 81, 81, 81
|
||||
# Foreground = cccccc : 204, 204, 204
|
||||
# Comment = 999999 : 153, 153, 153
|
||||
# Red = f2777a : 242, 119, 122
|
||||
# Orange = f99157 : 249, 145, 57
|
||||
# Yellow = ffcc66 : 255, 204, 102
|
||||
# Green = 99cc99 : 153, 204, 153
|
||||
# Aqua = 66cccc : 102, 204, 204
|
||||
# Blue = 6699cc : 102, 153, 204
|
||||
# Purple = cc99cc : 204, 153, 204
|
||||
##
|
||||
|
||||
[Main]
|
||||
name = Tomorrow Night Eighties
|
||||
author = Veronica Berglyd Olsen (adaptation)
|
||||
credit = Chris Kempson (color theme)
|
||||
url = https://github.com/chriskempson/tomorrow-theme
|
||||
license = MIT License
|
||||
licenseurl = https://github.com/chriskempson/tomorrow-theme/blob/master/LICENSE.md
|
||||
|
||||
[Syntax]
|
||||
background = 45, 45, 45
|
||||
text = 204, 204, 204
|
||||
link = 102, 153, 204
|
||||
headertext = 102, 153, 204
|
||||
headertag = 102, 153, 204
|
||||
emphasis = 249, 145, 57
|
||||
straightquotes = 242, 119, 122
|
||||
doublequotes = 153, 204, 153
|
||||
singlequotes = 255, 204, 102
|
||||
hidden = 153, 153, 153
|
||||
keyword = 242, 119, 122
|
||||
value = 204, 153, 204
|
||||
spellcheckline = 242, 119, 122
|
||||
errorline = 153, 204, 153
|
||||
replacetag = 102, 204, 204
|
||||
modifier = 249, 145, 57
|
||||
Reference in New Issue
Block a user