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
Change section title color (#1615)
Roman Pominov0a02293aa11f
diff --git a/packages/design-system/src/components/section-title.tsx b/packages/design-system/src/components/section-title.tsxindex 1f326c7ef4..21682c4a08 100644--- a/packages/design-system/src/components/section-title.tsx+++ b/packages/design-system/src/components/section-title.tsx@@ -27,17 +27,8 @@ const StyledButton = styled(Button, {});const containerStyle = css({position: "relative",height: theme.spacing[15],- [buttonContentColor]: theme.colors.foregroundSubtle,- [labelTextColor]: theme.colors.foregroundSubtle,-- "&:hover, &:has(:focus-visible), &[data-state=open]": {- [buttonContentColor]: theme.colors.foregroundIconMain,- [labelTextColor]: theme.colors.foregroundMain,- },- // Remove hover style from the label when the button is hovered- [`&:hover:where(:has(${StyledButton}:hover))`]: {- [labelTextColor]: theme.colors.foregroundSubtle,- },+ [buttonContentColor]: theme.colors.foregroundIconMain,+ [labelTextColor]: theme.colors.foregroundMain,});const titleButtonLayoutStyle = css({@@ -64,7 +55,6 @@ const labelContainerStyle = css({});const titleButtonStyle = css(titleButtonLayoutStyle, {- cursor: "pointer","&:focus-visible::before": {content: "''",position: "absolute",