add custom color palette

This commit is contained in:
2017-01-28 20:50:12 -07:00
parent 27bffc0f6c
commit 02846dbcdc
2 changed files with 29 additions and 0 deletions

View File

@@ -25,6 +25,7 @@
</script> </script>
<style lang="sass"> <style lang="sass">
@import './styles/palette'
@import '~bulma/sass/utilities/_all' @import '~bulma/sass/utilities/_all'
@import '~bulma/sass/base/_all' @import '~bulma/sass/base/_all'
</style> </style>

28
src/styles/palette.sass Normal file
View File

@@ -0,0 +1,28 @@
// custom material palette (https://www.materialpalette.com/purple/orange)
$primary-dark: #7B1FA2
$primary: #9C27B0
$primary-light: #E1BEE7
$primary-text: #FFFFFF
$accent: #FF9800
$primary-text: #212121
$secondary-text: #757575
$divider: #BDBDBD
// replace colors with material colors
$orange: #FF9800
$yellow: #FFC107
$green: #4CAF50
$turquoise: #009688
$blue: #2196F3
$purple: #9C27B0
$red: #F44336
// override default grays with text grays
$gray-dark: $primary-text
$gray-darker: darken($gray-dark, 8%)
$gray: $secondary-text
$grey-light: $divider
$grey-lighter: lighten($grey-light, 15%)
// override bulma colors
$background: #FFFFFF