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.
19
19
<style scoped lang =" postcss " >
20
20
.preview {
21
21
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%);
24
24
@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 )];
25
25
}
26
26
}
Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ function close (event: MouseEvent): void {
136
136
& --default {
137
137
--p-label-bg-variant-default : theme (backgroundColor.inverse);
138
138
--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);
140
140
--p-label-text-dark-variant-default : theme (textColor.dark.on-emphasis);
141
141
142
142
&: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.
195
195
``` sass
196
196
--p-label-bg-variant-default: theme(backgroundColor.inverse);
197
197
--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);
199
199
--p-label-text-dark-variant-default: theme(textColor.dark.on-emphasis);
200
200
```
201
201
Original file line number Diff line number Diff line change @@ -177,8 +177,8 @@ async function onActionClick (action: PopupActionOption) {
177
177
178
178
<style lang="postcss">
179
179
.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 );
182
182
183
183
/**
184
184
* global style
Original file line number Diff line number Diff line change @@ -181,8 +181,8 @@ async function onActionClick (action: ToastActionOption) {
181
181
182
182
<style lang="postcss">
183
183
.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 );
186
186
187
187
/**
188
188
* global style
You can’t perform that action at this time.
0 commit comments