thomas-lowry / figma-plugin-ds

A small lightweight design system for use in Figma Plugins
MIT License
700 stars 71 forks source link

How to use this library? #52

Closed VityaSchel closed 2 years ago

VityaSchel commented 2 years ago

Hello, sorry for posting issue. I don't understand how to use this kit. I have put <link> stylesheet in ui.html file, then I tried to make a full html page in ui.html and put these tags in <head /> then I tried to copy css from node_modules directly to ui.html and reference it as href="./css/figma-plugin-ds.css" but Figma seems to ignore any links and iframe is displayed as base64

image This is the popup that appears with plugin

VityaSchel commented 2 years ago

<link rel="stylesheet" href="https://unpkg.com/figma-plugin-ds@1.0.1/dist/figma-plugin-ds.css"> is working

VityaSchel commented 2 years ago

nvm I started using webpack which inlines css into ui.html