Skip to content

Text styles overrides color variable #42

@RibeiroLucas

Description

@RibeiroLucas

Hello,

I am testing the new version of Camilo with the color variables, it works really well with the colors and borders for shapes but I have an issue with text styles:

  • I have configured color variables and text styles in 2 libraries
  • In my final document I use a text style on a font AND I put also a color variable on that text style
  • When I swap the library with camilo it doesn't keep the color variable on the text, the text style overrides everything

On my final document, I have my text style and the color variable:
image

When I change library, it doesn't keep the color variable on the text style:
image

I think that it may be a sketch limitation because a base color is always attached to a text style (I think that it doesn't make sense since there is color variables now). I don't know if you can override this behaviour in a plugin and I don't know if this behaviour would be a benefit to everyone, open to debate ;)

And also thanks a lot for that wonderful plugin ! It help us a lot in the past years for our multi-branded apps ;)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions