mirror of
https://github.com/seriousm4x/UpSnap.git
synced 2026-07-22 05:32:27 -04:00
updates for daisyui 4
This commit is contained in:
2669
frontend/pnpm-lock.yaml
generated
2669
frontend/pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@@ -11,8 +11,8 @@
|
||||
const theme = localStorage.getItem('theme')
|
||||
? localStorage.getItem('theme')
|
||||
: preferesDark
|
||||
? darkTheme
|
||||
: lightTheme;
|
||||
? darkTheme
|
||||
: lightTheme;
|
||||
document.documentElement.setAttribute('data-theme', theme);
|
||||
|
||||
window
|
||||
|
||||
@@ -48,7 +48,10 @@
|
||||
'lemonade',
|
||||
'night',
|
||||
'coffee',
|
||||
'winter'
|
||||
'winter',
|
||||
'dim',
|
||||
'nord',
|
||||
'sunset'
|
||||
];
|
||||
let activeTheme: string | null = '';
|
||||
let avatar = $pocketbase.authStore.model?.avatar;
|
||||
|
||||
@@ -11,7 +11,7 @@ export default {
|
||||
themes: [
|
||||
{
|
||||
light: {
|
||||
...themes['[data-theme=light]'],
|
||||
...themes['light'],
|
||||
primary: '#55BCD9',
|
||||
secondary: '#D4A35C',
|
||||
'primary-content': '#ffffff'
|
||||
@@ -19,7 +19,7 @@ export default {
|
||||
},
|
||||
{
|
||||
dark: {
|
||||
...themes['[data-theme=dark]'],
|
||||
...themes['dark'],
|
||||
primary: '#55BCD9',
|
||||
secondary: '#D4A35C',
|
||||
'base-300': '#12161b',
|
||||
@@ -30,7 +30,7 @@ export default {
|
||||
},
|
||||
{
|
||||
cupcake: {
|
||||
...themes['[data-theme=cupcake]'],
|
||||
...themes['cupcake'],
|
||||
primary: '#55BCD9',
|
||||
secondary: '#D4A35C',
|
||||
'primary-content': '#ffffff'
|
||||
@@ -61,7 +61,10 @@ export default {
|
||||
'lemonade',
|
||||
'night',
|
||||
'coffee',
|
||||
'winter'
|
||||
'winter',
|
||||
'dim',
|
||||
'nord',
|
||||
'sunset'
|
||||
]
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user