Change card colors and add aestheticDark theme.
This commit is contained in:
@@ -9,9 +9,18 @@ export const actions: Actions = {
|
||||
// change the theme only if it is one of the allowed themes
|
||||
if (
|
||||
theme &&
|
||||
['light', 'dark', 'night', 'retro', 'forest', 'aqua', 'forest', 'garden', 'emerald'].includes(
|
||||
theme
|
||||
)
|
||||
[
|
||||
'light',
|
||||
'dark',
|
||||
'night',
|
||||
'retro',
|
||||
'forest',
|
||||
'aqua',
|
||||
'forest',
|
||||
'aestheticLight',
|
||||
'aestheticDark',
|
||||
'emerald'
|
||||
].includes(theme)
|
||||
) {
|
||||
cookies.set('colortheme', theme, {
|
||||
path: '/',
|
||||
|
||||
Reference in New Issue
Block a user