Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.
TypeScript accessibilityalternativecloudflarecloudflare-workersdesignfreefrontendopen-sourceradix-uireactremixweb-developmentwebflowwebsite-builderwebsite-developmentwebsiteswebstudio
improvise menu item focus state
Oleg Isonenf1bf18d2500c
diff --git a/apps/designer/app/designer/shared/fonts-manager/item-menu.tsx b/apps/designer/app/designer/shared/fonts-manager/item-menu.tsxindex fc0b9c586d..cf56b98d2c 100644--- a/apps/designer/app/designer/shared/fonts-manager/item-menu.tsx+++ b/apps/designer/app/designer/shared/fonts-manager/item-menu.tsx@@ -23,6 +23,11 @@ const MenuButton = styled(IconButton, {color: "$hiContrast",backgroundColor: "transparent",},+ "&:focus": {+ color: "$hiContrast",+ border: "none",+ boxShadow: "none",+ },});type ItemMenuProps = {diff --git a/apps/designer/app/designer/shared/fonts-manager/list.tsx b/apps/designer/app/designer/shared/fonts-manager/list.tsxindex 11a405a761..d136ca3ef7 100644--- a/apps/designer/app/designer/shared/fonts-manager/list.tsx+++ b/apps/designer/app/designer/shared/fonts-manager/list.tsx@@ -23,11 +23,11 @@ const ListboxItemBase = styled("li", {alignItems: "center",justifyContent: "space-between",height: "$5",+ overflow: "hidden",listStyle: "none",borderRadius: "$1","&[data-highlighted], &[aria-selected=true]": {- boxShadow:- "inset 0px 0px 0px 1px $colors$blue10, 0px 0px 0px 1px $colors$blue10",+ boxShadow: "0px 0px 0px 2px $colors$blue10, 0px 0px 0px 2px $colors$blue10",[itemMenuVars.visibility]: "visible",},"&[disabled]": {