mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-09 22:14:29 +09:00
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:
1 parent
3bf956a6f2
commit
014d03044a
3 files changed
+5
-5
No files matched your search
+2
-2
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user