feat: Add cursor style user preference (#4199)

* feat: Add cursor style user preference

* Remove headings for now
This commit is contained in:
Tom Moor
2022-10-01 13:39:45 +02:00
committed by GitHub
parent ee8c47eb3b
commit b9bf2e58cb
37 changed files with 68 additions and 38 deletions

View File

@@ -76,7 +76,7 @@ const MenuItem = styled.button<{
line-height: 1;
width: 100%;
height: 36px;
cursor: pointer;
cursor: var(--pointer);
border: none;
opacity: ${(props) => (props.disabled ? ".5" : "1")};
color: ${(props) =>

View File

@@ -61,7 +61,7 @@ const ListItem = styled.li<{
text-decoration: none;
overflow: hidden;
white-space: nowrap;
cursor: pointer;
cursor: var(--pointer);
user-select: none;
line-height: ${(props) => (props.compact ? "inherit" : "1.2")};
height: ${(props) => (props.compact ? "28px" : "auto")};

View File

@@ -7,7 +7,7 @@ export default styled.button<Props>`
flex: 0;
width: 24px;
height: 24px;
cursor: pointer;
cursor: var(--pointer);
border: none;
background: none;
transition: opacity 100ms ease-in-out;