Aligned nora password meter bar

pull/5806/head
Cagatay Civici 2024-05-25 12:35:41 +03:00
parent 10c20d620f
commit 5efd5bd357
4 changed files with 9 additions and 4 deletions

View File

@ -12,7 +12,7 @@ const theme = ({ dt }) => `
.p-password-meter { .p-password-meter {
height: ${dt('password.meter.height')}; height: ${dt('password.meter.height')};
background: ${dt('password.meter.border.color')}; background: ${dt('password.meter.background')};
border-radius: ${dt('password.meter.border.radius')}; border-radius: ${dt('password.meter.border.radius')};
} }

View File

@ -1,6 +1,6 @@
export default { export default {
meter: { meter: {
borderColor: '{content.border.color}', background: '{content.border.color}',
borderRadius: '{content.border.radius}', borderRadius: '{content.border.radius}',
height: '.75rem' height: '.75rem'
}, },

View File

@ -1,6 +1,6 @@
export default { export default {
meter: { meter: {
borderColor: '{content.border.color}', background: '{content.border.color}',
borderRadius: '{content.border.radius}', borderRadius: '{content.border.radius}',
height: '.75rem' height: '.75rem'
}, },

View File

@ -1,6 +1,5 @@
export default { export default {
meter: { meter: {
borderColor: '{content.border.color}',
borderRadius: '{content.border.radius}', borderRadius: '{content.border.radius}',
height: '.75rem' height: '.75rem'
}, },
@ -18,6 +17,9 @@ export default {
}, },
colorScheme: { colorScheme: {
light: { light: {
meter: {
background: '{surface.300}'
},
strength: { strength: {
weakBackground: '{red.600}', weakBackground: '{red.600}',
mediumBackground: '{yellow.600}', mediumBackground: '{yellow.600}',
@ -25,6 +27,9 @@ export default {
} }
}, },
dark: { dark: {
meter: {
background: '{surface.600}'
},
strength: { strength: {
weakBackground: '{red.500}', weakBackground: '{red.500}',
mediumBackground: '{yellow.500}', mediumBackground: '{yellow.500}',