File tree Expand file tree Collapse file tree 5 files changed +8
-8
lines changed
Expand file tree Collapse file tree 5 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -19,8 +19,8 @@ description: Headless component for Drag'n'Drop Files Upload.
1919<style scoped lang =" postcss " >
2020 .preview {
2121 a {
22- --p-color-info-hover : darken (theme(textColor.info), 5%);
23- --p-color-dark-info-hover : darken (theme(textColor.dark .info), 5%);
22+ --p-color-info-hover : darken (theme(textColor.info. DEFAULT ), 5%);
23+ --p-color-dark-info-hover : darken (theme(textColor.dark .info. DEFAULT ), 5%);
2424 @apply underline text-info dark :text-dark-info hover:text-[color :var (--p-color-info-hover )] hover:dark :text-[color :var (--p-color-dark-info-hover )];
2525 }
2626 }
Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ function close (event: MouseEvent): void {
136136 & --default {
137137 --p-label-bg-variant-default : theme (backgroundColor.inverse);
138138 --p-label-bg-dark-variant-default : theme (backgroundColor.dark.inverse);
139- --p-label-text-variant-default : theme (textColor.state -emphasis);
139+ --p-label-text-variant-default : theme (textColor.on -emphasis);
140140 --p-label-text-dark-variant-default : theme (textColor.dark.on-emphasis);
141141
142142 &:not ([class^ ='bg-' ] , [class* ='bg-' ] ) {
Original file line number Diff line number Diff line change @@ -195,7 +195,7 @@ Use this variable for level color (like badge) customization.
195195``` sass
196196--p-label-bg-variant-default: theme(backgroundColor.inverse);
197197--p-label-bg-dark-variant-default: theme(backgroundColor.dark.inverse);
198- --p-label-text-variant-default: theme(textColor.state -emphasis);
198+ --p-label-text-variant-default: theme(textColor.on -emphasis);
199199--p-label-text-dark-variant-default: theme(textColor.dark.on-emphasis);
200200```
201201
Original file line number Diff line number Diff line change @@ -177,8 +177,8 @@ async function onActionClick (action: PopupActionOption) {
177177
178178<style lang="postcss">
179179.popup {
180- --p-popup-icon-color-primary : theme (textColor.brand.accent);
181- --p-popup-icon-color-primary-dark : theme (textColor.dark.brand.accent);
180+ --p-popup-icon-color-primary : theme (textColor.brand.accent.DEFAULT );
181+ --p-popup-icon-color-primary-dark : theme (textColor.dark.brand.accent.DEFAULT );
182182
183183 /**
184184 * global style
Original file line number Diff line number Diff line change @@ -181,8 +181,8 @@ async function onActionClick (action: ToastActionOption) {
181181
182182<style lang="postcss">
183183.toast {
184- --p-toast-icon-color-primary : theme (textColor.brand.accent);
185- --p-toast-icon-color-primary-dark : theme (textColor.dark.brand.accent);
184+ --p-toast-icon-color-primary : theme (textColor.brand.accent.DEFAULT );
185+ --p-toast-icon-color-primary-dark : theme (textColor.dark.brand.accent.DEFAULT );
186186
187187 /**
188188 * global style
You can’t perform that action at this time.
0 commit comments