Skip to content

Commit a8077ae

Browse files
committed
feat: consist control accent color
1 parent 1a6e6d7 commit a8077ae

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/style-settings/_index.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ body:not(.color-use-default) {
126126
--slider-track-height: calc(var(--slider-thumb-height) - var(--size-4-3));
127127
--slider-thumb-radius: var(--slider-thumb-width);
128128
--slider-thumb-y: calc(
129-
(var(--slider-track-height) - var(--slider-thumb-height)) / 1.5
129+
(var(--slider-track-height) - var(--slider-thumb-height)) / 1.4
130130
);
131131
border-radius: var(--radius-s);
132132
$s: 60%;

src/workspace/modal.scss

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ input {
3535
}
3636

3737
body:not(.is-mobile) {
38+
--slider-track-background: var(--accent-inactive);
3839
&.modal-slider input[type='range'] {
39-
--slider-track-background: var(--accent-inactive);
4040
&:focus {
4141
--slider-thumb-ring-factor: 5;
4242
}
@@ -56,6 +56,10 @@ body:not(.is-mobile) {
5656
}
5757
}
5858

59+
.checkbox-container.is-enabled {
60+
background-color: var(--accent-active);
61+
}
62+
5963
&.modal-toggle-square {
6064
.checkbox-container {
6165
height: var(--size-4-5);

0 commit comments

Comments
 (0)