From 6a6c0418eaf64b7c471d81f6b20aac0591f59c4d Mon Sep 17 00:00:00 2001 From: "Veronica K. B. Olsen" Date: Sat, 15 Jun 2019 20:19:59 +0200 Subject: [PATCH] Added the last two tomorrow themes --- nw/theme.py | 4 ++ nw/themes/syntax/tomorrow_night_blue.conf | 42 +++++++++++++++++++++ nw/themes/syntax/tomorrow_night_bright.conf | 42 +++++++++++++++++++++ 3 files changed, 88 insertions(+) create mode 100644 nw/themes/syntax/tomorrow_night_blue.conf create mode 100644 nw/themes/syntax/tomorrow_night_bright.conf diff --git a/nw/theme.py b/nw/theme.py index ee829d8f..2197b92d 100644 --- a/nw/theme.py +++ b/nw/theme.py @@ -224,6 +224,8 @@ class Theme: if themeName != "": self.themeList.append((themeDir, themeName)) + self.themeList = sorted(self.themeList, key=lambda x: x[1]) + return self.themeList def listSyntax(self): @@ -250,6 +252,8 @@ class Theme: self.syntaxList.append((syntaxFile[:-5], syntaxName)) logger.verbose("Syntax name is '%s'" % syntaxName) + self.syntaxList = sorted(self.syntaxList, key=lambda x: x[1]) + return self.syntaxList ## diff --git a/nw/themes/syntax/tomorrow_night_blue.conf b/nw/themes/syntax/tomorrow_night_blue.conf new file mode 100644 index 00000000..d05a757b --- /dev/null +++ b/nw/themes/syntax/tomorrow_night_blue.conf @@ -0,0 +1,42 @@ +## +# 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 +credit = Chris Kempson +url = https://github.com/chriskempson/tomorrow-theme + +[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 +tagerror = 209, 241, 169 +replacetag = 153, 255, 255 diff --git a/nw/themes/syntax/tomorrow_night_bright.conf b/nw/themes/syntax/tomorrow_night_bright.conf new file mode 100644 index 00000000..0d9c6c3a --- /dev/null +++ b/nw/themes/syntax/tomorrow_night_bright.conf @@ -0,0 +1,42 @@ +## +# 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 +credit = Chris Kempson +url = https://github.com/chriskempson/tomorrow-theme + +[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 +tagerror = 185, 202, 74 +replacetag = 112, 192, 177