Merge pull request #215 in YR/star-web-components from star-slider-dark to master
* commit '5ee4dbe9fcc47ab654aca5c82261d65143d8589e': TASK: #126261 slider 组件黑暗模式
This commit is contained in:
commit
cef4bc7840
|
@ -150,4 +150,18 @@ export const sharedStyles: CSSResult = css`
|
|||
font-family: 'gaia-icons';
|
||||
content: attr(data-icon);
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
.v-sliderBar {
|
||||
background: rgba(255, 255, 255, 0.15);
|
||||
}
|
||||
.v-progress {
|
||||
background: #ebebeb;
|
||||
}
|
||||
.sliderBar {
|
||||
background: rgba(255, 255, 255, 0.15);
|
||||
}
|
||||
.progress {
|
||||
background: #ebebeb;
|
||||
}
|
||||
}
|
||||
`
|
||||
|
|
Loading…
Reference in New Issue