summaryrefslogtreecommitdiffstats
path: root/colorschemes/solarized.go
diff options
context:
space:
mode:
Diffstat (limited to 'colorschemes/solarized.go')
-rw-r--r--colorschemes/solarized.go30
1 files changed, 16 insertions, 14 deletions
diff --git a/colorschemes/solarized.go b/colorschemes/solarized.go
index 5968310..48d67b0 100644
--- a/colorschemes/solarized.go
+++ b/colorschemes/solarized.go
@@ -3,26 +3,28 @@ package colorschemes
// This is a neutral version of the Solarized 256-color palette. The exception
// is that the one grey color uses the average of base0 and base00, which are
// already middle of the road.
-var Solarized = Colorscheme{
- Fg: -1,
- Bg: -1,
+func init() {
+ register("solarized", Colorscheme{
+ Fg: -1,
+ Bg: -1,
- BorderLabel: -1,
- BorderLine: 37,
+ BorderLabel: -1,
+ BorderLine: 37,
- CPULines: []int{61, 33, 37, 64, 125, 160, 166, 136},
+ CPULines: []int{61, 33, 37, 64, 125, 160, 166, 136},
- BattLines: []int{61, 33, 37, 64, 125, 160, 166, 136},
+ BattLines: []int{61, 33, 37, 64, 125, 160, 166, 136},
- MainMem: 125,
- SwapMem: 166,
+ MainMem: 125,
+ SwapMem: 166,
- ProcCursor: 136,
+ ProcCursor: 136,
- Sparkline: 33,
+ Sparkline: 33,
- DiskBar: 243,
+ DiskBar: 243,
- TempLow: 64,
- TempHigh: 160,
+ TempLow: 64,
+ TempHigh: 160,
+ })
}