diff --git a/app/layouts/default.vue b/app/layouts/default.vue index bea4c46..664afc2 100644 --- a/app/layouts/default.vue +++ b/app/layouts/default.vue @@ -97,12 +97,13 @@ watch(() => user.value?.exp, (newExp, oldExp) => { } .top-bar { - background-color: #f8f8f8; + background-color: #5a4b3a; /* Dark earthy brown */ padding: 10px 15px; - border-bottom: 1px solid #eee; + border-bottom: 2px solid #4a3b2a; /* Darker brown border */ display: flex; justify-content: flex-end; /* Align user info to the right */ align-items: center; + color: #f0ead6; /* Creamy white text */ } .user-info-top { @@ -113,13 +114,18 @@ watch(() => user.value?.exp, (newExp, oldExp) => { } .logout-button { - background-color: #dc3545; + background-color: #a34a2a; /* Burnt orange/reddish brown */ color: white; - border: none; + border: 1px solid #7b3b22; padding: 5px 10px; border-radius: 5px; cursor: pointer; font-size: 0.8em; + transition: background-color 0.2s; +} + +.logout-button:hover { + background-color: #8e3f22; } .main-content { @@ -132,12 +138,12 @@ watch(() => user.value?.exp, (newExp, oldExp) => { bottom: 0; left: 0; width: 100%; - background-color: #fff; - border-top: 1px solid #eee; + background-color: #5a4b3a; /* Dark earthy brown */ + border-top: 2px solid #4a3b2a; /* Darker brown border */ display: flex; justify-content: space-around; padding: 5px 0; - box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1); + box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2); /* Slightly darker shadow */ z-index: 1000; } @@ -146,9 +152,14 @@ watch(() => user.value?.exp, (newExp, oldExp) => { flex-direction: column; align-items: center; text-decoration: none; - color: #555; + color: #f0ead6; /* Creamy white text */ font-size: 0.7em; padding: 5px; + transition: color 0.2s; +} + +.nav-item:hover { + color: #ffcc00; /* Gold/yellow on hover */ } .nav-item .icon { @@ -157,6 +168,6 @@ watch(() => user.value?.exp, (newExp, oldExp) => { } .nav-item.router-link-active { - color: #007bff; + color: #ffcc00; /* Gold/yellow for active link */ } diff --git a/app/pages/village.vue b/app/pages/village.vue index e313159..9984eef 100644 --- a/app/pages/village.vue +++ b/app/pages/village.vue @@ -16,7 +16,7 @@ v-for="tile in villageData.tiles" :key="tile.id" class="tile" - :class="{ selected: selectedTile && selectedTile.id === tile.id }" + :class="[tileClasses(tile), { selected: selectedTile && selectedTile.id === tile.id }]" @click="selectTile(tile)" > {{ getTileEmoji(tile) }} @@ -102,6 +102,9 @@