ENH change color sheme

This commit is contained in:
Nathan Dwarshuis 2020-01-21 23:58:31 -05:00
parent d8bd989e3d
commit bd36011119
10 changed files with 29 additions and 30 deletions

2
core

@ -1 +1 @@
Subproject commit 7962fea2442ec51c1e1b30b2822b11959bbbf7d6
Subproject commit 6a6996e3c02f8491132e91fe59d0e9dc5148358c

View File

@ -36,7 +36,7 @@ local status = {
x = _RIGHT_X_,
y = header.bottom_y,
x_align = 'right',
text_color = _G_Patterns_.BLUE,
text_color = _G_Patterns_.PURPLE,
text = '<status>'
}
}
@ -60,7 +60,7 @@ local internal_temp = {
x = _RIGHT_X_,
y = _INTERNAL_TEMP_Y_,
x_align = 'right',
text_color = _G_Patterns_.BLUE,
text_color = _G_Patterns_.PURPLE,
text = '<gpu_temp>'
}
}
@ -87,7 +87,7 @@ local clock_speed = {
y = _CLOCK_SPEED_Y_,
spacing = _TEXT_SPACING_,
x_align = 'right',
text_color = _G_Patterns_.BLUE,
text_color = _G_Patterns_.PURPLE,
num_rows = 2
}
}
@ -111,7 +111,7 @@ local gpu_util = {
x = _RIGHT_X_,
y = _GPU_UTIL_Y_,
x_align = 'right',
text_color = _G_Patterns_.BLUE,
text_color = _G_Patterns_.PURPLE,
text = '<gpu_util>'
},
plot = _G_Widget_.LabelPlot{
@ -134,7 +134,7 @@ local mem_util = {
x = _RIGHT_X_,
y = _MEM_UTIL_Y_,
x_align = 'right',
text_color = _G_Patterns_.BLUE,
text_color = _G_Patterns_.PURPLE,
text = '<mem_util>'
},
plot = _G_Widget_.LabelPlot{
@ -157,7 +157,7 @@ local vid_util = {
x = _RIGHT_X_,
y = _VID_UTIL_Y_,
x_align = 'right',
text_color = _G_Patterns_.BLUE,
text_color = _G_Patterns_.PURPLE,
text = '<vid_util>'
},
plot = _G_Widget_.LabelPlot{

View File

@ -61,7 +61,7 @@ local cache_arc = _G_Widget_.Arc{
y = DIAL_Y,
radius = DIAL_RADIUS,
thickness = _DIAL_THICKNESS_,
arc_pattern = _G_Patterns_.PURPLE_ROUNDED
arc_pattern = _G_Patterns_.BLUE_ROUNDED
}
local total_used = _G_Widget_.CriticalText{
@ -113,7 +113,7 @@ local cache = {
y = _LINE_1_Y_ + _TEXT_SPACING_,
x_align = 'right',
append_end = ' %',
text_color = _G_Patterns_.PURPLE,
text_color = _G_Patterns_.BLUE,
'<cached_kb>',
'<buffers_kb>',
'<kernel_slab>'

View File

@ -39,7 +39,7 @@ local dnload = {
x = _RIGHT_X_,
y = header.bottom_y,
x_align = 'right',
text_color = _G_Patterns_.BLUE
text_color = _G_Patterns_.PURPLE
},
plot = _G_Widget_.ScalePlot{
x = _G_INIT_DATA_.CENTER_RIGHT_X,
@ -62,7 +62,7 @@ local upload = {
x = _RIGHT_X_,
y = _UPLOAD_Y_,
x_align = 'right',
text_color = _G_Patterns_.BLUE
text_color = _G_Patterns_.PURPLE
},
plot = _G_Widget_.ScalePlot{
x = _G_INIT_DATA_.CENTER_RIGHT_X,

View File

@ -32,7 +32,7 @@ local info = _G_Widget_.TextColumn{
y = header.bottom_y,
spacing = _TEXT_SPACING_,
x_align = 'right',
text_color = _G_Patterns_.BLUE,
text_color = _G_Patterns_.PURPLE,
num_rows = 5
}

View File

@ -41,7 +41,7 @@ local pkg0 = {
x = _RIGHT_X_,
y = header.bottom_y,
x_align = 'right',
text_color = Patterns.BLUE,
text_color = Patterns.PURPLE,
text = '<core>',
append_end = ' W',
},
@ -66,7 +66,7 @@ local dram = {
x = _RIGHT_X_,
y = _CORE_Y_,
x_align = 'right',
text_color = _G_Patterns_.BLUE,
text_color = _G_Patterns_.PURPLE,
text = '<dram>',
append_end = ' W'
},

View File

@ -115,7 +115,7 @@ local process = {
x = _RIGHT_X_,
y = _PROCESS_Y_,
x_align = 'right',
text_color = _G_Patterns_.BLUE,
text_color = _G_Patterns_.PURPLE,
text = '<R> | <S> | <D> | <T> | <Z>'
}
}
@ -132,7 +132,7 @@ local ave_freq = {
x = _RIGHT_X_,
y = _FREQ_Y_,
x_align = 'right',
text_color = _G_Patterns_.BLUE,
text_color = _G_Patterns_.PURPLE,
text = '<freq>'
}
}

View File

@ -69,7 +69,7 @@ local reads = {
y = header.bottom_y,
x_align = 'right',
append_end=' B/s',
text_color = _G_Patterns_.BLUE
text_color = _G_Patterns_.PURPLE
},
plot = _G_Widget_.ScalePlot{
x = _G_INIT_DATA_.CENTER_LEFT_X,
@ -93,7 +93,7 @@ local writes = {
y = _WRITE_Y_,
x_align = 'right',
append_end =' B/s',
text_color = _G_Patterns_.BLUE
text_color = _G_Patterns_.PURPLE
},
plot = _G_Widget_.ScalePlot{
x = _G_INIT_DATA_.CENTER_LEFT_X,

View File

@ -30,14 +30,14 @@ local kernel = _G_Widget_.Text{
y = header.bottom_y,
x_align = 'right',
text = Util.conky('$kernel'),
text_color = _G_Patterns_.BLUE
text_color = _G_Patterns_.PURPLE
}
local info = _G_Widget_.TextColumn{
x = _G_INIT_DATA_.LEFT_X + _G_INIT_DATA_.SECTION_WIDTH,
y = header.bottom_y + _TEXT_SPACING_,
spacing = _TEXT_SPACING_,
x_align = 'right',
text_color = _G_Patterns_.BLUE,
text_color = _G_Patterns_.PURPLE,
'<row1>',
'<row2>',
'<row3>'

View File

@ -10,11 +10,10 @@ M.LIGHT_GREY = Color.init{hex_rgba = 0xeeeeee}
M.MID_GREY = Color.init{hex_rgba = 0xd6d6d6}
M.DARK_GREY = Color.init{hex_rgba = 0x888888}
M.BLUE = Color.init{hex_rgba = 0xbfe1ff}
M.BLUE = Color.init{hex_rgba = 0x9ed2ff}
M.RED = Color.init{hex_rgba = 0xff8282}
M.PURPLE = Color.init{hex_rgba = 0xcb91ff}
M.YELLOW = Color.init{hex_rgba = 0xefe7aa
}
M.PURPLE = Color.init{hex_rgba = 0xc7adff}
M.YELLOW = Color.init{hex_rgba = 0xefe7aa}
-- arc patterns
local GREY2 = 0xbfbfbf
local GREY5 = 0x565656
@ -40,8 +39,8 @@ M.RED_ROUNDED = Color.Gradient{
Color.ColorStop{hex_rgba = RED1, stop = 1.0}
}
local PURPLE1 = 0xeecfff
local PURPLE3 = 0x9523ff
local PURPLE1 = 0xe0d1ff
local PURPLE3 = 0x6924ff
M.PURPLE_ROUNDED = Color.Gradient{
Color.ColorStop{hex_rgba = PURPLE3, stop = 0.0},
Color.ColorStop{hex_rgba = PURPLE1, stop = 0.5},
@ -68,10 +67,10 @@ M.PLOT_FILL_BLUE = Color.Gradient{
Color.ColorStop{hex_rgba = PLOT_BLUE4, stop = 1.0, alpha = 1.0}
}
local PLOT_PURPLE1 = 0x3e0077
local PLOT_PURPLE2 = 0x9523ff
local PLOT_PURPLE3 = 0x7a30a3
local PLOT_PURPLE4 = 0xeac4ff
local PLOT_PURPLE1 = 0x250075
local PLOT_PURPLE2 = 0x6924ff
local PLOT_PURPLE3 = 0x532fa2
local PLOT_PURPLE4 = 0xd5c2ff
M.PLOT_LINE_PURPLE = Color.Gradient{
Color.ColorStop{hex_rgba = PLOT_PURPLE1, stop = 0.0},
Color.ColorStop{hex_rgba = PLOT_PURPLE2, stop = 1.0}