Tokens for Knob

pull/5507/head
Cagatay Civici 2024-04-01 14:33:13 +03:00
parent 589db107f9
commit 4acc2e63f7
2 changed files with 32 additions and 4 deletions

View File

@ -37,15 +37,15 @@ export default {
}, },
valueColor: { valueColor: {
type: String, type: String,
default: $dt('primary.color', 'Black') default: $dt('knob.value.background')
}, },
rangeColor: { rangeColor: {
type: String, type: String,
default: $dt('surface.border', 'LightGray') default: $dt('knob.range.background')
}, },
textColor: { textColor: {
type: String, type: String,
default: $dt('text.color.secondary', 'Black') default: $dt('knob.text.color')
}, },
strokeWidth: { strokeWidth: {
type: Number, type: Number,

View File

@ -1 +1,29 @@
export default {}; export default {
root: {
cagatay: '{surface.200}'
},
colorScheme: {
light: {
value: {
background: '{primary.color}'
},
range: {
background: '{surface.200}'
},
text: {
color: '{surface.500}'
}
},
dark: {
value: {
background: '{primary.color}'
},
range: {
background: '{surface.700}'
},
text: {
color: '{surface.400}'
}
}
}
};