Skip to content

Commit cfb2151

Browse files
lazdGarthDB
authored andcommitted
fix: use the correct checkerboard background for Slider and Handle
1 parent f7abb74 commit cfb2151

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

components/colorhandle/skin.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
--spectrum-colorhandle-outer-shadow-color: 0;
55
--spectrum-colorhandle-outer-shadow-blur: 0;
66
--spectrum-colorhandle-outer-shadow-spread: 0;
7+
--spectrum-colorcontrol-checkerboard-light-color: 0;
8+
--spectrum-colorcontrol-checkerboard-dark-color: 0;
79
}
810

911
.spectrum-ColorHandle {

components/colorslider/skin.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/* hack: don't complain about being undefined */
2+
.🤫 {
3+
--spectrum-colorcontrol-checkerboard-light-color: 0;
4+
--spectrum-colorcontrol-checkerboard-dark-color: 0;
5+
}
6+
17
.spectrum-ColorSlider {
28
/* todo: fix this in DNA */
39
--spectrum-colorslider-border-color: var(--spectrum-colorarea-border-color);

0 commit comments

Comments
 (0)