summaryrefslogtreecommitdiffstats
path: root/colorschemes
diff options
context:
space:
mode:
authorSean E. Russell <ser@ser1.net>2020-02-14 07:19:28 -0600
committerSean E. Russell <ser@ser1.net>2020-02-14 07:19:28 -0600
commitc0c2cfb11a4cd4cad15a95e31ec0ed520611389a (patch)
treeee88d8e8b2932700010582507ba357825d52095e /colorschemes
parent4e2275c9f7879b1b0e2be0b5ffd1c6a0fb9a104e (diff)
parent99bd4af7a82e434f5c1b320f949a6543ec24f62a (diff)
Merge remote-tracking branch 'jrswab/nordColorScheme'
Diffstat (limited to 'colorschemes')
-rw-r--r--colorschemes/nord.go38
1 files changed, 38 insertions, 0 deletions
diff --git a/colorschemes/nord.go b/colorschemes/nord.go
new file mode 100644
index 0000000..f493e40
--- /dev/null
+++ b/colorschemes/nord.go
@@ -0,0 +1,38 @@
+/*
+ The standard 256 terminal colors are supported.
+
+ -1 = clear
+
+ You can combine a color with 'Bold', 'Underline', or 'Reverse' by using bitwise OR ('|') and the name of the Color.
+ For example, to get Bold red Labels, you would do 'Labels: 2 | Bold'.
+
+ Once you've created a colorscheme, add an entry for it in the `handleColorscheme` function in 'main.go'.
+*/
+
+package colorschemes
+
+var Nord = Colorscheme{
+ Name: "A Nord Approximation",
+ Author: "@jrswab",
+ Fg: 254, // lightest
+ Bg: -1,
+
+ BorderLabel: 254,
+ BorderLine: 96, // Purple
+
+ CPULines: []int{4, 3, 2, 1, 5, 6, 7, 8},
+
+ BattLines: []int{4, 3, 2, 1, 5, 6, 7, 8},
+
+ MainMem: 172, // Orange
+ SwapMem: 221, // yellow
+
+ ProcCursor: 31, // blue (nord9)
+
+ Sparkline: 31,
+
+ DiskBar: 254,
+
+ TempLow: 64, // green
+ TempHigh: 167, // red
+}