diff options
author | Pavel Makhov <pmakhov@theoctavegroup.com> | 2019-12-17 16:43:36 -0500 |
---|---|---|
committer | Pavel Makhov <pmakhov@theoctavegroup.com> | 2019-12-17 16:43:36 -0500 |
commit | ecb9a0e9e8ed2957fae4694a0c39e9e125661178 (patch) | |
tree | f7a08b9265e72d594da2812ef7073b386155e5b6 /calendar-widget/calendar.lua | |
parent | a1f93fa8bd836f106acb3decbd1d21a9877e08f9 (diff) |
add light and dark calendar themes
Diffstat (limited to 'calendar-widget/calendar.lua')
-rw-r--r-- | calendar-widget/calendar.lua | 23 |
1 files changed, 21 insertions, 2 deletions
diff --git a/calendar-widget/calendar.lua b/calendar-widget/calendar.lua index c54fb5c..1e4967e 100644 --- a/calendar-widget/calendar.lua +++ b/calendar-widget/calendar.lua @@ -37,13 +37,32 @@ local function worker(args) weekday_fg = '#2de6e2', header_fg = '#f6019d', border = '#261447' + }, + dark = { + bg = '#000000', + fg = '#ffffff', + focus_date_bg = '#ffffff', + focus_date_fg = '#000000', + weekend_day_bg = '#444444', + weekday_fg = '#ffffff', + header_fg = '#ffffff', + border = '#333333' + }, + light = { + bg = '#ffffff', + fg = '#000000', + focus_date_bg = '#000000', + focus_date_fg = '#ffffff', + weekend_day_bg = '#AAAAAA', + weekday_fg = '#000000', + header_fg = '#000000', + border = '#CCCCCC' } } - local args = args or {} - local theme = args.theme or 'nord' + local theme = args.theme or 'light' local placement = args.placement or 'top' local styles = {} |