mirror of
https://github.com/owncast/owncast.git
synced 2024-11-28 19:19:06 +03:00
Fix slider colors
This commit is contained in:
parent
bbb23916c9
commit
df14812fa7
2 changed files with 10 additions and 0 deletions
|
@ -43,6 +43,11 @@ export const AntdTheme: FC<AntdThemeProps> = ({ children }) => {
|
||||||
Tag: {
|
Tag: {
|
||||||
defaultBg: readCSSVar('--tag-default-color'),
|
defaultBg: readCSSVar('--tag-default-color'),
|
||||||
},
|
},
|
||||||
|
Slider: {
|
||||||
|
trackBg: readCSSVar('--theme-color-action-hover'),
|
||||||
|
handleColor: readCSSVar('--theme-color-action-hover'),
|
||||||
|
handleActiveColor: readCSSVar('--primary-color'),
|
||||||
|
},
|
||||||
borderRadius: parseInt(readCSSVar('--border-radius-base'), 10),
|
borderRadius: parseInt(readCSSVar('--border-radius-base'), 10),
|
||||||
// background-color-light needs mapping
|
// background-color-light needs mapping
|
||||||
|
|
||||||
|
|
|
@ -33,6 +33,11 @@ const AntdDefaultCustomTokens = {
|
||||||
Tag: {
|
Tag: {
|
||||||
defaultBg: '#6544e9',
|
defaultBg: '#6544e9',
|
||||||
},
|
},
|
||||||
|
Slider: {
|
||||||
|
trackBg: '#7a5cf3',
|
||||||
|
handleColor: '#7a5cf3',
|
||||||
|
handleActiveColor: '#6544e9',
|
||||||
|
},
|
||||||
borderRadius: 5,
|
borderRadius: 5,
|
||||||
colorPrimary: '#6544e9',
|
colorPrimary: '#6544e9',
|
||||||
colorPrimaryHover: '#6544e9',
|
colorPrimaryHover: '#6544e9',
|
||||||
|
|
Loading…
Reference in a new issue