Adds two configuration options to the common:colors: portion of the yaml file. When useSingleFile is true, it will only read from the lightFileId specified in the figma options. It will look for dark colors as specified by a color style ending in _dark (configurable via the darkModeSuffix config option).
I wasn't able to write a test for this as the ColorsLoader is hard-wired to hit the Figma API, but I updated the docs and tested things out on my end.
Resolves #66
Adds two configuration options to the common:colors: portion of the yaml file. When
useSingleFile
is true, it will only read from thelightFileId
specified in the figma options. It will look for dark colors as specified by a color style ending in_dark
(configurable via thedarkModeSuffix
config option).I wasn't able to write a test for this as the ColorsLoader is hard-wired to hit the Figma API, but I updated the docs and tested things out on my end.