slate5 doesn't work in dark mode, switching to slate6

doing this before discussing with Taylor with the hope he is onboard
This commit is contained in:
Oleg Isonen committed 2022-10-17 13:05:10 +02:00
1 parent 3bf956a6f2
commit 014d03044a
3 files changed
+5 -5

No files matched your search

@@ -78,7 +78,7 @@ export const useUnitSelect = ({
const StyledTrigger = styled(SelectPrimitive.SelectTrigger, {
all: "unset",
height: "$5",
px: 3,
px: "$1",
borderRadius: 2,
display: "inline-flex",
alignItems: "center",
@@ -88,7 +88,7 @@ const StyledTrigger = styled(SelectPrimitive.SelectTrigger, {
color: "$loContrast",
},
"&:hover": {
backgroundColor: "$slate5",
backgroundColor: "$slate6",
},
});
@@ -24,11 +24,11 @@ export const IconButton = styled("button", {
boxSizing: "border-box",
},
"&:hover, &:active": {
backgroundColor: "$slate5",
backgroundColor: "$slate6",
outline: "none",
},
"&:focus": {
backgroundColor: "$slate5",
backgroundColor: "$slate6",
outline: "none",
},
"&:disabled": {
@@ -21,7 +21,7 @@ const StyledTrigger = styled(SelectPrimitive.SelectTrigger, {
px: "$2",
fontSize: "$1",
"&:hover": {
backgroundColor: "$slate5",
backgroundColor: "$slate6",
},
"&:focus": {
boxShadow: