add light and dark calendar themes
This commit is contained in:
parent
a1f93fa8bd
commit
ecb9a0e9e8
|
@ -11,6 +11,8 @@ Calendar widget for Awesome WM - slightly improved version of the `wibox.widget.
|
||||||
|---|---|
|
|---|---|
|
||||||
|nord (default) | ![nord_theme](./nord.png) |
|
|nord (default) | ![nord_theme](./nord.png) |
|
||||||
| outrun | ![outrun_theme](./outrun.png) |
|
| outrun | ![outrun_theme](./outrun.png) |
|
||||||
|
| light | ![outrun_theme](./light.png) |
|
||||||
|
| dark | ![outrun_theme](./dark.png) |
|
||||||
|
|
||||||
- setup widget placement
|
- setup widget placement
|
||||||
|
|
||||||
|
|
|
@ -37,13 +37,32 @@ local function worker(args)
|
||||||
weekday_fg = '#2de6e2',
|
weekday_fg = '#2de6e2',
|
||||||
header_fg = '#f6019d',
|
header_fg = '#f6019d',
|
||||||
border = '#261447'
|
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 args = args or {}
|
||||||
|
|
||||||
local theme = args.theme or 'nord'
|
local theme = args.theme or 'light'
|
||||||
local placement = args.placement or 'top'
|
local placement = args.placement or 'top'
|
||||||
|
|
||||||
local styles = {}
|
local styles = {}
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
Binary file not shown.
After Width: | Height: | Size: 13 KiB |
Loading…
Reference in New Issue