Theming API: Refactor on internal CSS variables

This commit is contained in:
mertsincan 2024-03-28 14:26:59 +00:00
parent c61840859f
commit b94d91e677
10 changed files with 49 additions and 27 deletions

View file

@ -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')};
}
`;