Skip to content

Open source personal finance application

ui: update colors

ilkomeddaad6519e61
diff --git a/assets/stylus/colors-dark.styl b/assets/stylus/colors-dark.styl
index e0000b07..bfc1b314 100644
--- a/assets/stylus/colors-dark.styl
+++ b/assets/stylus/colors-dark.styl
@@ -9,10 +9,13 @@ html.dark
// Item
//-----------------------------------
- --color-item-base theme('colors.neutral.100')
+ --color-item-base theme('colors.neutral.400')
--color-item-main-bg #1e1e1e
--color-item-main-hover theme('colors.neutral.800')
+ // Layout
+ //-----------------------------------
+ --color-layout-main theme('colors.dark3')
// colors
// --------------------------------------------
diff --git a/assets/stylus/colors-light.styl b/assets/stylus/colors-light.styl
index da4d276e..f7c67c6c 100644
--- a/assets/stylus/colors-light.styl
+++ b/assets/stylus/colors-light.styl
@@ -13,6 +13,10 @@ html
--color-item-main-bg theme('colors.gray.100')
--color-item-main-hover theme('colors.gray.200')
+ // Layout
+ //-----------------------------------
+ --color-layout-main theme('colors.white')
+
// colors
// --------------------------------------------
diff --git a/tailwind.config.js b/tailwind.config.js
index 7efe351a..1891b584 100644
--- a/tailwind.config.js
+++ b/tailwind.config.js
@@ -31,6 +31,9 @@ module.exports = {
white2: '#fcfcfd',
skin: {
+ layout: {
+ main: 'var(--color-layout-main)',
+ },
red: {
base: 'var(--color-red-base)',
},
@@ -58,6 +61,7 @@ module.exports = {
base: '320px',
},
screens: {
+ '3sm': '360px',
'2sm': '400px',
},
},