diff options
| author | Haishan <[email protected]> | 2018-12-07 00:08:55 +0800 |
|---|---|---|
| committer | Haishan <[email protected]> | 2018-12-07 00:20:11 +0800 |
| commit | 7abbdb647760cf6ac68278c4d07d9a0fa431431f (patch) | |
| tree | 0f9512f77dcb8bab4640235bb89b1ac17427ffda /src/components/ToggleSwitch.module.scss | |
| parent | fdf69dbfe206db38e40b600f6b2cce963380937e (diff) | |
feat: theming support
Diffstat (limited to 'src/components/ToggleSwitch.module.scss')
| -rw-r--r-- | src/components/ToggleSwitch.module.scss | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/ToggleSwitch.module.scss b/src/components/ToggleSwitch.module.scss index 53fa16b..78a2b41 100644 --- a/src/components/ToggleSwitch.module.scss +++ b/src/components/ToggleSwitch.module.scss @@ -1,8 +1,8 @@ .ToggleSwitch { user-select: none; border: 1px solid #525252; - color: #eee; - background: #353535; + color: var(--color-text); + background: var(--color-toggle-bg); display: flex; position: relative; @@ -30,5 +30,5 @@ left: 0; height: 100%; transition: left 0.2s ease-out; - background: #181818; + background: var(--color-toggle-selected); } |
