Skip to content

Commit

Permalink
Issue 8 vuetify colour theme config (#20)
Browse files Browse the repository at this point in the history
* added colour theme using hexcode values from figma

* added fifth colour variable from updated figma

* added description of colourTheme

* implemented Prettier changes

* clarified names of the colours

* changed the name of pink

* changed name of colour grey
  • Loading branch information
yuwengchoong authored Nov 30, 2024
1 parent 4db81dd commit 9bb96aa
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion client/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,25 @@ import router from './router'

const app = createApp(App)

// Object to store colour theme hexcodes
const colourTheme = {
colors: {
primaryBlue: '#193855',
primaryPink: '#D12974',
lightBlue: '#3FBEE0',
creamWhite: '#E9DAC4',
primaryGrey: '#4F4F4F',
},
}

const vuetify = createVuetify({
components,
directives,
theme: {
defaultTheme: 'light',
defaultTheme: 'colourTheme',
themes: {
colourTheme,
},
},
})

Expand Down

0 comments on commit 9bb96aa

Please sign in to comment.