From f1f064693fcf1fe3e480ee0b1bbd465c82f703c5 Mon Sep 17 00:00:00 2001 From: Tiago Almeida Date: Thu, 19 Sep 2019 02:32:34 +0100 Subject: [PATCH] Add some themes --- themes/custom | 23 +++++++++++++++++++++++ themes/light | 41 +++++++++++++++++++++++++++++++++++++++++ themes/project | 23 +++++++++++++++++++++++ 3 files changed, 87 insertions(+) create mode 100755 themes/custom create mode 100755 themes/light create mode 100755 themes/project diff --git a/themes/custom b/themes/custom new file mode 100755 index 0000000..82e8cf0 --- /dev/null +++ b/themes/custom @@ -0,0 +1,23 @@ +#!/usr/bin/sed -f + +# ORIGINAL +# Best approach to the original 'nanorc' files. +# If you want the original, uninstall these files, +# but you will lose many highlight instructions... + +# GUI Colors +## No GUI colors in original ... + +# Text Colors + +s|COMMENT1|brightblue +s|COMMENT2|cyan +s|ERROR|brightred +s|KEYWORD1|brightgreen +s|KEYWORD2|green +s|COLOR|yellow +s|STRING|brightmagenta +s|TSPACE|,green + +# Macros +## No Macros in original ... diff --git a/themes/light b/themes/light new file mode 100755 index 0000000..909f51a --- /dev/null +++ b/themes/light @@ -0,0 +1,41 @@ +#!/usr/bin/sed -f + +# LIGHT +# Our approach to nano's highlight. + +# GUI Colors + + + +# Text Colors + +s|COMMENT1|brightblue +s|COMMENT2|cyan +s|ERROR|brightred +s|KEYWORD1|brightgreen +s|KEYWORD2|green +s|COLOR|yellow +s|STRING|brightmagenta +s|TSPACE|,green + +# Macros + +#s|^PLAIN:|color black| +#s|^TYPE:|color brightgreen| +#s|^STRING:|color yellow| +#s|^NUMBER:|color blue| +#s|^BOOLEAN:|color brightmagenta| +#s|^REGEXP:|color brightcyan| +#s|^VARIABLE:|color brightyellow| +#s|^OPERATOR:|color red| +#s|^KEYWORD:|color green| +#s|^~KEYWORD:|icolor green| +#s|^FUNCTION:|color brightblue| +#s|^ESCAPE:|color magenta| +#s|^COMMENT:|color cyan| +#s|^ENABLED:|color brightgreen| +#s|^DISABLED:|color brightred| +#s|^WARNING:|color ,red| +#s|^+TODO|color brightcyan "TODO:?"| +#s|^+LINT|color ,green "[[:space:]]+$"\ncolor ,red "\t*"| +#s|^+LONG-LINE-WARNING|color ,red "^.{81,}$"| diff --git a/themes/project b/themes/project new file mode 100755 index 0000000..82e8cf0 --- /dev/null +++ b/themes/project @@ -0,0 +1,23 @@ +#!/usr/bin/sed -f + +# ORIGINAL +# Best approach to the original 'nanorc' files. +# If you want the original, uninstall these files, +# but you will lose many highlight instructions... + +# GUI Colors +## No GUI colors in original ... + +# Text Colors + +s|COMMENT1|brightblue +s|COMMENT2|cyan +s|ERROR|brightred +s|KEYWORD1|brightgreen +s|KEYWORD2|green +s|COLOR|yellow +s|STRING|brightmagenta +s|TSPACE|,green + +# Macros +## No Macros in original ...