diff --git a/package.json b/package.json
index 75c8451ab..18c575907 100644
--- a/package.json
+++ b/package.json
@@ -84,6 +84,7 @@
"@radix-ui/react-select": "^2.0.0",
"@radix-ui/react-switch": "^1.0.3",
"@radix-ui/react-tabs": "^1.0.4",
+ "@radix-ui/themes": "^3.0.2",
"@stitches/react": "^1.2.8",
"flexsearch": "^0.7.43",
"hls.js": "^1.5.3",
diff --git a/pages/docs/image.mdx b/pages/docs/image.mdx
index f738e3f76..f23585ac6 100644
--- a/pages/docs/image.mdx
+++ b/pages/docs/image.mdx
@@ -14,7 +14,12 @@ A UI component that renders a _pan and deep-zoom_ Image viewer using [OpenSeadra
-
+
=16.0.0}
diff --git a/src/components/Image/Controls/Button.styled.tsx b/src/components/Image/Controls/Button.styled.tsx
index 78309947e..22f3f16e9 100644
--- a/src/components/Image/Controls/Button.styled.tsx
+++ b/src/components/Image/Controls/Button.styled.tsx
@@ -1,49 +1,18 @@
+import { IconButton } from "@radix-ui/themes";
import { styled } from "src/styles/stitches.config";
-const Item = styled("button", {
- display: "flex",
- height: "2rem",
- width: "2rem",
- borderRadius: "2rem",
- padding: "0",
- margin: "0",
- fontFamily: "inherit",
- background: "none",
- backgroundColor: "$primary",
- border: "none",
- color: "white",
+const Item = styled(IconButton, {
cursor: "pointer",
- marginLeft: "0.618rem",
- filter: "drop-shadow(2px 2px 5px #0003)",
- transition: "$all",
- boxSizing: "content-box !important",
-
- "&:first-child": {
- marginLeft: "0",
- },
-
- "@xs": {
- marginBottom: "0.618rem",
- marginLeft: "0",
-
- "&:last-child": {
- marginBottom: "0",
- },
- },
+ alignContent: "center",
+ display: "inline-flex !important",
svg: {
+ color: "currentColor",
+ fill: "currentColor",
+ stroke: "currentColor",
+ transition: "$all",
height: "60%",
width: "60%",
- padding: "20%",
- fill: "$secondary",
- stroke: "$secondary",
- filter: "drop-shadow(2px 2px 5px #0003)",
- transition: "$all",
- boxSizing: "inherit",
- },
-
- "&:hover, &:focus": {
- backgroundColor: "$accent",
},
"&[data-button=rotate-right]": {
diff --git a/src/components/Image/Controls/Button.tsx b/src/components/Image/Controls/Button.tsx
index 9d150fed6..254bc3eea 100644
--- a/src/components/Image/Controls/Button.tsx
+++ b/src/components/Image/Controls/Button.tsx
@@ -16,6 +16,7 @@ const Button: React.FC = ({ className, id, label, children }) => {
className={className}
data-testid="openseadragon-button"
data-button={dataButton}
+ size="2"
>