mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Theming API: Refactor on internal CSS variables
This commit is contained in:
parent
c61840859f
commit
b94d91e677
10 changed files with 49 additions and 27 deletions
|
@ -1,4 +1,4 @@
|
|||
import Theme from 'primevue/themes';
|
||||
import Theme, { $dt } from 'primevue/themes';
|
||||
import { useStyle } from 'primevue/usestyle';
|
||||
import { ObjectUtils } from 'primevue/utils';
|
||||
|
||||
|
@ -21,7 +21,7 @@ const css = `
|
|||
|
||||
.p-overflow-hidden {
|
||||
overflow: hidden;
|
||||
padding-right: var(--scrollbar-width);
|
||||
padding-right: ${$dt('scrollbar.width')};
|
||||
}
|
||||
`;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue