From 5138bdde2772f81630e1fb5a825720b46bf3fbdc Mon Sep 17 00:00:00 2001 From: "Fabian @ Blax Software" Date: Wed, 28 Oct 2026 20:22:53 +0100 Subject: [PATCH] style: medieval shell, panels and pages in flat colours Co-Authored-By: Claude Opus 5.5 --- app/app.vue | 46 ++++++++++++++-------- app/components/icon/BuildingTile.vue | 2 +- app/components/ui/AuthCard.vue | 4 +- app/components/ui/Bar.vue | 15 +++---- app/components/ui/Cost.vue | 2 +- app/components/village/BuildForm.vue | 6 +-- app/components/village/BuildQueue.vue | 6 +-- app/components/village/BuildingTable.vue | 6 +-- app/components/village/PopulationPanel.vue | 4 +- app/components/village/ResourceBar.vue | 4 +- app/pages/login.vue | 4 +- app/pages/register.vue | 4 +- app/pages/worlds.vue | 12 +++--- app/utils/palette.ts | 20 +++++----- 14 files changed, 75 insertions(+), 60 deletions(-) diff --git a/app/app.vue b/app/app.vue index ffa64ee..dfba819 100644 --- a/app/app.vue +++ b/app/app.vue @@ -7,17 +7,17 @@ const currentWorld = useState('world.current', () => null) const connection = computed(() => isMockServer - ? { text: t('app.mock'), tone: 'bg-amber-100 text-amber-800' } + ? { text: t('app.mock'), tone: 'badge-gold' } : ws.is_opened.value - ? { text: t('app.connected'), tone: 'bg-emerald-100 text-emerald-800' } - : { text: t('app.offline'), tone: 'bg-rose-100 text-rose-800' }, + ? { text: t('app.connected'), tone: 'badge-moss' } + : { text: t('app.offline'), tone: 'badge-blood' }, ) const toastTone = { - success: 'border-emerald-200 bg-emerald-50 text-emerald-900', - error: 'border-rose-200 bg-rose-50 text-rose-900', - warning: 'border-amber-200 bg-amber-50 text-amber-900', - info: 'border-parchment-300 bg-white text-ink-900', + success: 'border-moss-700 bg-parchment-50 text-moss-700', + error: 'border-blood-700 bg-[#f0d6c8] text-blood-800', + warning: 'border-gold-600 bg-parchment-50 text-wood-900', + info: 'border-wood-700 bg-parchment-50 text-ink-900', } useHead({ title: () => t('app.title') }) @@ -25,21 +25,24 @@ useHead({ title: () => t('app.title') })