Skip to content

Open source personal finance application

feat(colors): add new colors

ilkome58cb5ae002b6
diff --git a/assets/stylus/colors-dark.styl b/assets/stylus/colors-dark.styl
index bfc1b314..683867bf 100644
--- a/assets/stylus/colors-dark.styl
+++ b/assets/stylus/colors-dark.styl
@@ -9,7 +9,10 @@ html.dark
// Item
//-----------------------------------
- --color-item-base theme('colors.neutral.400')
+ --color-item-base-up theme('colors.neutral.100')
+ --color-item-base theme('colors.neutral.200')
+ --color-item-base-down theme('colors.neutral.400')
+
--color-item-main-bg #1e1e1e
--color-item-main-hover theme('colors.neutral.800')
diff --git a/assets/stylus/colors-light.styl b/assets/stylus/colors-light.styl
index f7c67c6c..dc8d3241 100644
--- a/assets/stylus/colors-light.styl
+++ b/assets/stylus/colors-light.styl
@@ -9,7 +9,10 @@ html
// Item
//-----------------------------------
+ --color-item-base-up theme('colors.neutral.700')
--color-item-base theme('colors.neutral.600')
+ --color-item-base-down theme('colors.neutral.500')
+
--color-item-main-bg theme('colors.gray.100')
--color-item-main-hover theme('colors.gray.200')
diff --git a/tailwind.config.js b/tailwind.config.js
index 1891b584..eb2552fc 100644
--- a/tailwind.config.js
+++ b/tailwind.config.js
@@ -41,8 +41,10 @@ module.exports = {
base: 'var(--color-icon-base)',
},
item: {
- base: 'var(--color-item-base)',
- main: {
+ 'base': 'var(--color-item-base)',
+ 'base-up': 'var(--color-item-base-up)',
+ 'base-down': 'var(--color-item-base-down)',
+ 'main': {
bg: 'var(--color-item-main-bg)',
hover: 'var(--color-item-main-hover)',
},