add light and dark calendar themes

This commit is contained in:
Pavel Makhov 2019-12-17 16:43:36 -05:00
parent a1f93fa8bd
commit ecb9a0e9e8
4 changed files with 23 additions and 2 deletions

View File

@ -11,6 +11,8 @@ Calendar widget for Awesome WM - slightly improved version of the `wibox.widget.
|---|---|
|nord (default) | ![nord_theme](./nord.png) |
| outrun | ![outrun_theme](./outrun.png) |
| light | ![outrun_theme](./light.png) |
| dark | ![outrun_theme](./dark.png) |
- setup widget placement

View File

@ -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 = {}

BIN
calendar-widget/dark.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

BIN
calendar-widget/light.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB