2017-07-19 00:36:15 -04:00
|
|
|
local M = {}
|
|
|
|
|
2021-07-29 22:37:30 -04:00
|
|
|
local color = require 'color'
|
2017-07-19 00:36:15 -04:00
|
|
|
|
2021-07-06 00:11:00 -04:00
|
|
|
M.FONT = 'Neuropolitical'
|
2021-07-18 14:38:41 -04:00
|
|
|
|
2018-02-18 20:50:49 -05:00
|
|
|
-- text colors
|
2021-07-29 22:37:30 -04:00
|
|
|
M.HEADER_FG = color.rgb(0xefefef)
|
2021-07-18 14:38:41 -04:00
|
|
|
|
2021-07-29 22:37:30 -04:00
|
|
|
M.PRIMARY_FG = color.rgb(0xbfe1ff)
|
|
|
|
M.CRITICAL_FG = color.rgb(0xff8282)
|
2017-07-19 00:36:15 -04:00
|
|
|
|
2021-07-29 22:37:30 -04:00
|
|
|
M.INACTIVE_TEXT_FG = color.rgb(0xc8c8c8)
|
|
|
|
M.MID_GREY = color.rgb(0xd6d6d6)
|
|
|
|
M.BORDER_FG = color.rgb(0x888888)
|
|
|
|
M.PLOT_GRID_FG = color.rgb(0x666666)
|
|
|
|
M.PLOT_OUTLINE_FG = color.rgb(0x777777)
|
2021-07-04 19:50:55 -04:00
|
|
|
|
2018-02-18 20:50:49 -05:00
|
|
|
|
2021-07-18 02:46:39 -04:00
|
|
|
-- arc bg colors
|
2021-07-18 17:55:43 -04:00
|
|
|
local GREY2 = 0xbfbfbf
|
|
|
|
local GREY5 = 0x565656
|
2021-07-29 22:37:30 -04:00
|
|
|
M.INDICATOR_BG = color.gradient_rgb{
|
2021-07-08 22:30:46 -04:00
|
|
|
[0.0] = GREY5,
|
|
|
|
[0.5] = GREY2,
|
|
|
|
[1.0] = GREY5
|
2017-07-19 00:36:15 -04:00
|
|
|
}
|
|
|
|
|
2021-07-18 02:46:39 -04:00
|
|
|
-- arc/bar fg colors
|
2021-07-18 17:55:43 -04:00
|
|
|
local PRIMARY1 = 0x99CEFF
|
|
|
|
local PRIMARY3 = 0x316BA6
|
2021-07-29 22:37:30 -04:00
|
|
|
M.INDICATOR_FG_PRIMARY = color.gradient_rgb{
|
2021-07-18 02:46:39 -04:00
|
|
|
[0.0] = PRIMARY3,
|
|
|
|
[0.5] = PRIMARY1,
|
|
|
|
[1.0] = PRIMARY3
|
2017-07-19 00:36:15 -04:00
|
|
|
}
|
|
|
|
|
2021-07-18 02:46:39 -04:00
|
|
|
local CRITICAL1 = 0xFF3333
|
|
|
|
local CRITICAL3 = 0xFFB8B8
|
2021-07-29 22:37:30 -04:00
|
|
|
M.INDICATOR_FG_CRITICAL = color.gradient_rgb{
|
2021-07-18 02:46:39 -04:00
|
|
|
[0.0] = CRITICAL1,
|
|
|
|
[0.5] = CRITICAL3,
|
|
|
|
[1.0] = CRITICAL1
|
2018-02-18 20:50:49 -05:00
|
|
|
}
|
|
|
|
|
2021-07-18 14:38:41 -04:00
|
|
|
-- plot colors
|
2021-07-18 17:55:43 -04:00
|
|
|
local PLOT_PRIMARY1 = 0x003f7c
|
|
|
|
local PLOT_PRIMARY2 = 0x1e90ff
|
|
|
|
local PLOT_PRIMARY3 = 0x316ece
|
|
|
|
local PLOT_PRIMARY4 = 0x8cc7ff
|
2021-07-29 22:37:30 -04:00
|
|
|
M.PLOT_FILL_BORDER_PRIMARY = color.gradient_rgb{
|
2021-07-18 02:46:39 -04:00
|
|
|
[0.0] = PLOT_PRIMARY1,
|
|
|
|
[1.0] = PLOT_PRIMARY2
|
2018-02-18 20:50:49 -05:00
|
|
|
}
|
|
|
|
|
2021-07-29 22:37:30 -04:00
|
|
|
M.PLOT_FILL_BG_PRIMARY = color.gradient_rgba{
|
2021-07-18 02:46:39 -04:00
|
|
|
[0.2] = {PLOT_PRIMARY3, 0.5},
|
|
|
|
[1.0] = {PLOT_PRIMARY4, 1.0}
|
2018-02-18 20:50:49 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
-- panel pattern
|
2021-07-29 22:37:30 -04:00
|
|
|
M.PANEL_BG = color.rgba(0x121212, 0.7)
|
2018-02-18 20:50:49 -05:00
|
|
|
|
2021-07-28 23:28:44 -04:00
|
|
|
return M
|