sketch-tailwind icon indicating copy to clipboard operation
sketch-tailwind copied to clipboard

Nothing exported but font sizes

Open rgillham opened this issue 5 years ago • 3 comments

Great plugin, fills a much needed gap - however it only exports text sizes and fonts. No colours, no layers nothing else. I assume this is because the plugin looks for layer styles, but many designers using Sketch do NOT use styles - because of the way Sketch cloud and teams work, Styles is a really bad way of recording design information. The plugin needs to read the symbols and component libraries in a Sketch doc to be truly useful.

rgillham avatar Feb 17 '20 12:02 rgillham

Colors are currently being included using sharedLayerStyles. Could you provide a bit more info on the symbols/component libraries you refer to?

jan-dh avatar Feb 17 '20 12:02 jan-dh

Symbols and component libraries are the principle way of saving items in a Sketch doc for reuse. Shared layers only record very simple information about color values and in my experience, very few Sketch users populate them. There are plenty of Sketch plugins which extract CSS values from various places in a Sketch document, such as the color palette and the values applied to components in the doc such as buttons, links , H1 etc (these are typically saved as Symbols or Libraries).

rgillham avatar Feb 17 '20 12:02 rgillham

Will try to have a look at this somewhere in the near future.

jan-dh avatar Jun 01 '20 08:06 jan-dh