figma-plugin-ds
figma-plugin-ds copied to clipboard
import styles from
Am I missing something? You have import styles from 'figma-plugin-ds/dist/figma-plugin-ds.css'
listed in the documentation, but that file isn't a module.css file so it comes back undefined
if you console.log
the styles
export and if you try and use it in your code with {styles.button}
or something it throws caught TypeError: Cannot read properties of undefined (reading 'button')