An open source design system that's fully customizable and agent ready
TypeScript
feat(token): match close icon color to start icon (#327)
rubyycheungc94b54a2176a
diff --git a/packages/core/src/Token/XDSToken.tsx b/packages/core/src/Token/XDSToken.tsxindex d8fc6962ae..5d9c17bcea 100644--- a/packages/core/src/Token/XDSToken.tsx+++ b/packages/core/src/Token/XDSToken.tsx@@ -188,10 +188,6 @@ const styles = stylex.create({width: '16px',height: '16px',color: 'inherit',- opacity: {- default: 0.7,- ':hover': 1,- },outline: {default: null,':focus-visible': `2px solid ${colorVars['--color-focus-outline']}`,@@ -308,7 +304,7 @@ export const XDSToken = forwardRef<HTMLElement, XDSTokenProps>(}}disabled={isDisabled}{...stylex.props(styles.removeButton)}>- <XDSIcon icon="close" size="xsm" />+ <XDSIcon icon="close" size="xsm" color="inherit" /></button>)}</>@@ -380,7 +376,7 @@ export const XDSToken = forwardRef<HTMLElement, XDSTokenProps>(}}disabled={isDisabled}{...stylex.props(styles.removeButton)}>- <XDSIcon icon="close" size="xsm" />+ <XDSIcon icon="close" size="xsm" color="inherit" /></button>)}</span>