feat(projects): theme store完成

This commit is contained in:
Soybean
2022-01-08 20:49:21 +08:00
parent 10e4d81bd6
commit bf020a8258
56 changed files with 1205 additions and 164 deletions

View File

@ -41,6 +41,7 @@ export default defineConfig({
'nowrap-hidden': 'whitespace-nowrap overflow-hidden',
'ellipsis-text': 'nowrap-hidden overflow-ellipsis',
'transition-base': 'transition-all duration-300 ease-in-out',
// 'dark-transition': "",
'init-loading-spin': 'w-16px h-16px bg-primary rounded-8px animate-pulse'
},
theme: {
@ -67,6 +68,14 @@ export default defineConfig({
'error-pressed': 'var(--error-color-pressed)',
'error-active': 'var(--error-color-active)'
},
backgroundColor: {
dark: '#18181c',
'dark-base': '#101014'
},
textColor: {
'black-base': '#333639',
'white-base': 'rgba(255, 255, 255, 0.82)'
},
transitionProperty: ['padding-left']
}
},