#How to test styles of component?
4 messages · Page 1 of 1 (latest)
Try running screen.debug(btn) to check the markup
how can I access --button-bg: var(--mantine-color-main-filled); ? btnStyles: CSSStyleDeclaration only allows number when accessing using []
btnStyles.getPropertyValue('--button-bg')