How is styling generated in codegen?

Hello everyone Hope you all doing well

I have a simple question

Can i know how the styling get generated in code gen

is there an optimisation of rules

like known principles in th SMACSS or ITCSS architectures

or OOCSS

?

or rules got duplicated

and if there is any guiding principles to avoid rule duplication

thanks in advance :slightly_smiling_face:

Hi! You can take a look at the css we generate by generating code using plasmic sync : https://docs.plasmic.app/learn/codegen-guide/

We pretty much generate one css rule per [element, variant override] pair.

:clap:

did the @plasmicapp/* got removed from the repo ?

@chungwu

I don’t think so… https://www.npmjs.com/package/@plasmicapp/cli