diff --git a/components/lib/base/style/BaseStyle.js b/components/lib/base/style/BaseStyle.js index c62de86c7..1ac7d44f4 100644 --- a/components/lib/base/style/BaseStyle.js +++ b/components/lib/base/style/BaseStyle.js @@ -49,6 +49,9 @@ export default { getDirectiveThemeCSS(params) { return Theme.getDirectiveCSS(this.name, params); }, + getPresetThemeCSS(preset, selector, params) { + return Theme.getPresetCSS(this.name, preset, selector, params); + }, getLayerOrderThemeCSS() { return Theme.getLayerOrderCSS(this.name); }, diff --git a/components/lib/basecomponent/BaseComponent.vue b/components/lib/basecomponent/BaseComponent.vue index 366346eb8..12699061c 100644 --- a/components/lib/basecomponent/BaseComponent.vue +++ b/components/lib/basecomponent/BaseComponent.vue @@ -1,7 +1,7 @@ diff --git a/doc/theming/styled/ScopedTokensDoc.vue b/doc/theming/styled/ScopedTokensDoc.vue index 6d2bb21e1..dcfbe6982 100644 --- a/doc/theming/styled/ScopedTokensDoc.vue +++ b/doc/theming/styled/ScopedTokensDoc.vue @@ -27,8 +27,8 @@ export default { borderRadius: '4px' }, handle: { - checkedBackground: '{amber.900}', - checkedHoverBackground: '{amber.950}' + checkedBackground: '{amber.50}', + checkedHoverBackground: '{amber.100}' } }, dark: { @@ -38,8 +38,8 @@ export default { borderRadius: '4px' }, handle: { - checkedBackground: '{amber.50}', - checkedHoverBackground: '{amber.100}' + checkedBackground: '{amber.900}', + checkedHoverBackground: '{amber.800}' } } } @@ -49,7 +49,7 @@ export default { @@ -70,8 +70,8 @@ const amberSwitch = ref({ borderRadius: '4px' }, handle: { - checkedBackground: '{amber.900}', - checkedHoverBackground: '{amber.950}' + checkedBackground: '{amber.50}', + checkedHoverBackground: '{amber.100}' } }, dark: { @@ -81,8 +81,8 @@ const amberSwitch = ref({ borderRadius: '4px' }, handle: { - checkedBackground: '{amber.50}', - checkedHoverBackground: '{amber.100}' + checkedBackground: '{amber.900}', + checkedHoverBackground: '{amber.800}' } } } diff --git a/pages/migration/v4/index.vue b/pages/migration/v4/index.vue index 9136dff91..1a76404f6 100644 --- a/pages/migration/v4/index.vue +++ b/pages/migration/v4/index.vue @@ -19,7 +19,6 @@ import NewFeaturesDoc from '@/doc/migration/v4/NewFeaturesDoc.vue'; import OverviewDoc from '@/doc/migration/v4/OverviewDoc.vue'; import ComponentsDoc from '@/doc/migration/v4/breakingchanges/ComponentsDoc.vue'; -import PluginDoc from '@/doc/migration/v4/breakingchanges/PluginDoc.vue'; import StyledModeDoc from '@/doc/migration/v4/breakingchanges/StyledModeDoc.vue'; export default { @@ -40,11 +39,6 @@ export default { id: 'breakingchanges', label: 'Breaking Changes', children: [ - { - id: 'plugin', - label: 'Plugin', - component: PluginDoc - }, { id: 'styledmode', label: 'Styled Mode',