diff --git a/frontend/src/lib/components/AdventureCard.svelte b/frontend/src/lib/components/AdventureCard.svelte index 3264ae1..9dfad0a 100644 --- a/frontend/src/lib/components/AdventureCard.svelte +++ b/frontend/src/lib/components/AdventureCard.svelte @@ -161,7 +161,7 @@ {/if}
{#if adventure.images && adventure.images.length > 0} diff --git a/frontend/src/lib/components/ChecklistCard.svelte b/frontend/src/lib/components/ChecklistCard.svelte index b0f05d4..19a3e79 100644 --- a/frontend/src/lib/components/ChecklistCard.svelte +++ b/frontend/src/lib/components/ChecklistCard.svelte @@ -29,7 +29,7 @@
diff --git a/frontend/src/lib/components/CollectionCard.svelte b/frontend/src/lib/components/CollectionCard.svelte index 53d76f2..11e86d1 100644 --- a/frontend/src/lib/components/CollectionCard.svelte +++ b/frontend/src/lib/components/CollectionCard.svelte @@ -78,7 +78,7 @@ {/if}
diff --git a/frontend/src/lib/components/CountryCard.svelte b/frontend/src/lib/components/CountryCard.svelte index e03dba3..bd45868 100644 --- a/frontend/src/lib/components/CountryCard.svelte +++ b/frontend/src/lib/components/CountryCard.svelte @@ -13,7 +13,7 @@
diff --git a/frontend/src/lib/components/Navbar.svelte b/frontend/src/lib/components/Navbar.svelte index e3aa004..152da3b 100644 --- a/frontend/src/lib/components/Navbar.svelte +++ b/frontend/src/lib/components/Navbar.svelte @@ -202,7 +202,12 @@
  • - + +
  • diff --git a/frontend/src/lib/components/NoteCard.svelte b/frontend/src/lib/components/NoteCard.svelte index 863ea4d..61fed53 100644 --- a/frontend/src/lib/components/NoteCard.svelte +++ b/frontend/src/lib/components/NoteCard.svelte @@ -30,7 +30,7 @@
    diff --git a/frontend/src/lib/components/RegionCard.svelte b/frontend/src/lib/components/RegionCard.svelte index fb2bc51..44b8878 100644 --- a/frontend/src/lib/components/RegionCard.svelte +++ b/frontend/src/lib/components/RegionCard.svelte @@ -54,7 +54,7 @@
    {#if region.name_en && region.name !== region.name_en} diff --git a/frontend/src/lib/components/TransportationCard.svelte b/frontend/src/lib/components/TransportationCard.svelte index efd5001..68bcfe9 100644 --- a/frontend/src/lib/components/TransportationCard.svelte +++ b/frontend/src/lib/components/TransportationCard.svelte @@ -1,16 +1,10 @@

    {transportation.name}

    diff --git a/frontend/src/routes/+page.server.ts b/frontend/src/routes/+page.server.ts index 8cb9577..29cd18f 100644 --- a/frontend/src/routes/+page.server.ts +++ b/frontend/src/routes/+page.server.ts @@ -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: '/', diff --git a/frontend/tailwind.config.js b/frontend/tailwind.config.js index eeb76df..0365fd8 100644 --- a/frontend/tailwind.config.js +++ b/frontend/tailwind.config.js @@ -15,7 +15,52 @@ export default { 'aqua', 'emerald', { - garden: { + aestheticDark: { + primary: '#3e5747', + 'primary-focus': '#2f4236', + 'primary-content': '#e9e7e7', + + secondary: '#547b82', + 'secondary-focus': '#3d5960', + 'secondary-content': '#c1dfe5', + + accent: '#8b6161', + 'accent-focus': '#6e4545', + 'accent-content': '#f2eaea', + + neutral: '#2b2a2a', + 'neutral-focus': '#1c1b1b', + 'neutral-content': '#e9e7e7', + + 'base-100': '#121212', // Dark background + 'base-200': '#1d1d1d', + 'base-300': '#292929', + 'base-content': '#e9e7e7', // Light content on dark background + + // set bg-primary-content + 'bg-base': '#121212', + 'bg-base-content': '#e9e7e7', + + info: '#3b7ecb', + success: '#007766', + warning: '#d4c111', + error: '#e64a19', + + '--rounded-box': '1rem', + '--rounded-btn': '.5rem', + '--rounded-badge': '1.9rem', + + '--animation-btn': '.25s', + '--animation-input': '.2s', + + '--btn-text-case': 'uppercase', + '--navbar-padding': '.5rem', + '--border-btn': '1px', + + fontFamily: + 'ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace' + }, + aestheticLight: { primary: '#5a7c65', 'primary-focus': '#48604f', 'primary-content': '#dcd5d5',