You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

shared.tsx 558B

1234567891011121314151617181920212223242526272829303132
  1. import styled from "styles"
  2. export const IconButton = styled("button", {
  3. height: "32px",
  4. width: "32px",
  5. backgroundColor: "$panel",
  6. borderRadius: "4px",
  7. padding: "0",
  8. margin: "0",
  9. display: "flex",
  10. alignItems: "center",
  11. justifyContent: "center",
  12. outline: "none",
  13. border: "none",
  14. pointerEvents: "all",
  15. cursor: "pointer",
  16. "&:hover:not(:disabled)": {
  17. backgroundColor: "$panel",
  18. },
  19. "&:disabled": {
  20. opacity: "0.5",
  21. },
  22. svg: {
  23. height: "16px",
  24. width: "16px",
  25. strokeWidth: "2px",
  26. stroke: "$text",
  27. },
  28. })