Refactored token

pull/5507/head
Cagatay Civici 2024-02-12 01:11:23 +03:00
parent 3288f0808b
commit f9a67e78bf
1 changed files with 8 additions and 6 deletions

View File

@ -4,9 +4,10 @@ export default {
colorScheme: { colorScheme: {
light: { light: {
root: { root: {
border: '1px solid {surface.200}', borderColor: '{surface.200}',
background: '{surface.0}', background: '{surface.0}',
textColor: '{surface.700}' textColor: '{text.color}',
borderRadius: '{borderRadius}'
}, },
headerIcon: { headerIcon: {
color: '{surface.500}', color: '{surface.500}',
@ -16,9 +17,10 @@ export default {
}, },
dark: { dark: {
root: { root: {
border: '1px solid {surface.700}', borderColor: '{surface.700}',
background: '{surface.900}', background: '{surface.900}',
textColor: '{text.color}' textColor: '{text.color}',
borderRadius: '{borderRadius}'
}, },
headerIcon: { headerIcon: {
color: '{surface.400}', color: '{surface.400}',
@ -30,8 +32,8 @@ export default {
}, },
css: ` css: `
.p-panel { .p-panel {
border: var(--p-panel-border); border: 1px solid var(--p-panel-border-color);
border-radius: var(--p-border-radius); border-radius: var(--p-panel-border-radius);
background: var(--p-panel-background); background: var(--p-panel-background);
color: var(--p-panel-text-color); color: var(--p-panel-text-color);
} }