Fixed dark mode of stepper and toggle switch

pull/6275/head^2
Cagatay Civici 2024-10-01 22:33:27 +03:00
parent 12299655d3
commit 145ba6f76b
2 changed files with 11 additions and 5 deletions

View File

@ -55,7 +55,13 @@ export default {
color: '{surface.0}' color: '{surface.0}'
} }
}, },
dark: {} dark: {
stepNumber: {
background: '{surface.200}',
borderColor: '{surface.200}',
color: '{surface.900}'
}
}
}, },
style: ({ dt }) => ` style: ({ dt }) => `
.p-step-header:focus-visible { .p-step-header:focus-visible {

View File

@ -45,15 +45,15 @@ export default {
dark: { dark: {
root: { root: {
background: '{surface.700}', background: '{surface.700}',
hoverBackground: '{surface.600}', hoverBackground: '{surface.700}',
checkedBackground: '{primary.color}', checkedBackground: '{primary.color}',
checkedHoverBackground: '{primary.hover.color}' checkedHoverBackground: '{primary.color}'
}, },
handle: { handle: {
background: '{surface.400}', background: '{surface.400}',
hoverBackground: '{surface.300}', hoverBackground: '{surface.300}',
checkedBackground: '{surface.900}', checkedBackground: '{primary.200}',
checkedHoverBackground: '{surface.900}' checkedHoverBackground: '{primary.200}'
} }
} }
}, },