Skip to content

Commit c9a5081

Browse files
committed
settings color theme update
1 parent 0a48089 commit c9a5081

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

frontend/src/components/app/settings/MenuButton.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<!-- eslint-disable max-len -->
3-
<div class="flex w-full mx-auto cursor-pointer md:hover:bg-purple-300">
3+
<div class="flex w-full mx-auto cursor-pointer md:hover:bg-purple-matcha-menu-hover">
44
<h1 class="text-gray-matcha py-6 md:py-4 md:py-2 text-xl md:text-base w-full md:w-auto text-center mx-auto">{{text}}</h1>
55
</div>
66
</template>

frontend/src/components/app/settings/SectionHeader.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<div class="flex max-w-sm justify-between items-center w-full my-4">
3-
<h1 class="text-3xl text-purple-400 capitalize">{{ name }}</h1>
3+
<h1 class="text-3xl text-purple-matcha capitalize">{{ name }}</h1>
44
<div class="md:hidden sort-button rounded-md text-lg w-12">
55
<h1 class="noSelect">←</h1>
66
</div>

frontend/src/views/app/Settings.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
</div>
2525
</div>
2626
<div class="px-8 py-2 md:py-4 md:px-0 w-full">
27-
<MenuButton v-on:click.native="showSetting('account')" v-bind:class="{'md:px-8':true, 'md:bg-purple-200': getShow === 'account'}" v-bind:text="'Account'"></MenuButton>
27+
<MenuButton v-on:click.native="showSetting('account')" v-bind:class="{'md:px-8':true, 'md:bg-purple-matcha-menu-current': getShow === 'account'}" v-bind:text="'Account'"></MenuButton>
2828
<hr class="bg-gray-300 w-full md:hidden">
29-
<MenuButton v-on:click.native="showSetting('profile')" v-bind:class="{'md:px-8':true, 'md:bg-purple-200': getShow === 'profile'}" v-bind:text="'Profile'"></MenuButton>
29+
<MenuButton v-on:click.native="showSetting('profile')" v-bind:class="{'md:px-8':true, 'md:bg-purple-matcha-menu-current': getShow === 'profile'}" v-bind:text="'Profile'"></MenuButton>
3030
</div>
3131
</section>
3232
<section v-if="getShow === 'account' && settingsFetched" class="flex flex-col items-center z-10 absolute bg-white-matcha px-8 md:pb-8 w-full top-0 left-0 h-full md:h-auto md:ml-4 md:relative md:shadow-md md:rounded-md">

frontend/tailwind.config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ module.exports = {
88
extend: {
99
colors: {
1010
'purple-matcha' : '#6246EA',
11+
'purple-matcha-menu-current': '#efedfd',
12+
'purple-matcha-menu-hover': '#e0dafb',
1113
'white-matcha' : '#FFFFFE',
1214
'gray-matcha' : '#001858',
1315
},

0 commit comments

Comments
 (0)