Skip to content

Open source personal finance application

feat(colors): update

ilkome461de0a5b96e
diff --git a/assets/stylus/colors-dark.styl b/assets/stylus/colors-dark.styl
index 683867bf..61fdc695 100644
--- a/assets/stylus/colors-dark.styl
+++ b/assets/stylus/colors-dark.styl
@@ -15,13 +15,20 @@ html.dark
--color-item-main-bg #1e1e1e
--color-item-main-hover theme('colors.neutral.800')
+ --color-item-main-active theme('colors.neutral.700')
// Layout
//-----------------------------------
+ --color-layout-main-up #1b1b1c
--color-layout-main theme('colors.dark3')
- // colors
- // --------------------------------------------
+ // Accent
+ //-----------------------------------
+ --color-accent-base #2c74ff
+ --color-accent-down #3a7dff
+
+ // Colors
+ //-----------------------------------
--c-red-1 #b81414
--c-blue-1 #3a7dff
--c-blue-3 #2c74ff
diff --git a/assets/stylus/colors-light.styl b/assets/stylus/colors-light.styl
index dc8d3241..a28a6a73 100644
--- a/assets/stylus/colors-light.styl
+++ b/assets/stylus/colors-light.styl
@@ -15,14 +15,20 @@ html
--color-item-main-bg theme('colors.gray.100')
--color-item-main-hover theme('colors.gray.200')
+ --color-item-main-active theme('colors.gray.300')
// Layout
//-----------------------------------
+ --color-layout-main-up theme('colors.neutral.50')
--color-layout-main theme('colors.white')
+ // Accent
+ //-----------------------------------
+ --color-accent-base #2c74ff
+ --color-accent-down #3a7dff
// colors
- // --------------------------------------------
+ //-----------------------------------
--c-red-1 #b81414
--c-blue-1 #3a7dff
--c-blue-3 #2c74ff
@@ -47,8 +53,6 @@ html
--c-bg-13 rgba(120, 120, 120, 1)
--c-bg-14 rgba(0, 0, 0, .6)
- // fonts
- // --------------------------------------------
--c-font-1 #fafafa
--c-font-2 #505050
--c-font-3 #323232
diff --git a/tailwind.config.js b/tailwind.config.js
index eb2552fc..5aaeefd9 100644
--- a/tailwind.config.js
+++ b/tailwind.config.js
@@ -21,7 +21,6 @@ module.exports = {
blue4: '#2183f2',
custom1: '#212121',
custom4: '#1c1c1c',
- custom5: '#1b1b1c',
dark3: '#171717',
dark4: '#1c1c1c',
dark5: '#1e1e1e',
@@ -31,8 +30,13 @@ module.exports = {
white2: '#fcfcfd',
skin: {
+ accent: {
+ down: 'var(--color-accent-down)',
+ base: 'var(--color-accent-base)',
+ },
layout: {
- main: 'var(--color-layout-main)',
+ 'main-up': 'var(--color-layout-main-up)',
+ 'main': 'var(--color-layout-main)',
},
red: {
base: 'var(--color-red-base)',
@@ -47,6 +51,7 @@ module.exports = {
'main': {
bg: 'var(--color-item-main-bg)',
hover: 'var(--color-item-main-hover)',
+ active: 'var(--color-item-main-active)',
},
},
},