Skip to content
This repository was archived by the owner on Mar 16, 2024. It is now read-only.

Commit e029da9

Browse files
committed
feat: improve input range colors
1 parent b1de6aa commit e029da9

File tree

5 files changed

+10
-8
lines changed

5 files changed

+10
-8
lines changed

dist/cherry.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/cherry.module.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cherry-components",
3-
"version": "0.0.2-2",
3+
"version": "0.0.2-3",
44
"description": "Cherry React Components",
55
"main": "dist/cherry.js",
66
"module": "dist/cherry.module.js",

src/Layout/Input/RangeSlider/RangeSlider.styles.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export const rangeSliderStyles = (theme, size, disabled) => css`
1111
&::-webkit-slider-runnable-track {
1212
width: 100%;
1313
cursor: pointer;
14-
background: ${theme.colors.grayLight};
14+
background: ${theme.colors.light};
1515
border-radius: 25px;
1616
border: 2px solid ${theme.colors.grayLight};
1717
transition: all 0.3s ease;
@@ -32,7 +32,7 @@ export const rangeSliderStyles = (theme, size, disabled) => css`
3232
width: 100%;
3333
height: 6px;
3434
cursor: pointer;
35-
background: ${theme.colors.grayLight};
35+
background: ${theme.colors.light};
3636
border-radius: 25px;
3737
border: 2px solid ${theme.colors.grayLight};
3838
transition: all 0.3s ease;
@@ -67,7 +67,7 @@ export const rangeSliderStyles = (theme, size, disabled) => css`
6767
6868
&::-webkit-slider-runnable-track {
6969
border-color: ${theme.colors.secondary};
70-
background: ${theme.colors.grayLight};
70+
background: ${theme.colors.light};
7171
box-shadow: 0 0 0 4px ${theme.colors.secondaryLight};
7272
}
7373
@@ -159,6 +159,7 @@ export const rangeSliderStyles = (theme, size, disabled) => css`
159159
css`
160160
&::-webkit-slider-runnable-track {
161161
cursor: not-allowed;
162+
background: ${theme.colors.grayLight};
162163
}
163164
164165
&::-webkit-slider-thumb {
@@ -168,6 +169,7 @@ export const rangeSliderStyles = (theme, size, disabled) => css`
168169
169170
&::-moz-range-track {
170171
cursor: not-allowed;
172+
background: ${theme.colors.grayLight};
171173
}
172174
173175
&::-moz-range-thumb {

0 commit comments

Comments
 (0)