fix(layout): theme not working

This commit is contained in:
07akioni 2021-01-12 17:08:23 +08:00
parent 39dcb456df
commit 5ac48a17f5
2 changed files with 5 additions and 4 deletions

View File

@ -54,13 +54,13 @@ export default defineComponent({
},
setup (props) {
const themeRef = useTheme('Layout', 'Layout', style, layoutLight, props)
const {
common: { cubicBezierEaseInOut },
self: { color, textColor }
} = themeRef.value
return {
mergedTheme: themeRef,
cssVars: computed(() => {
const {
common: { cubicBezierEaseInOut },
self: { color, textColor }
} = themeRef.value
return {
'--bezier': cubicBezierEaseInOut,
'--color': color,

View File

@ -397,6 +397,7 @@
- [x] vooks `useNow`
- [x] treemate activePath includeGroup: false
- [ ] select menu multiple, when show=true, checkmark transiton not working
- [ ] menu + dropdown collapsed 时候 menu item 不更新
## Info