Publishing layouts
When you're happy with your layout and you want others to distribute it, you can publish the layout to our layout library.
To make using the layout as easy as possible, make sure you've done the following:
Use design-tokens Fonts, colors and sizes can all be tokenized. This allows others to quickly adjust and find values that suit their own branding. Name design tokens after their intention, not after their value: For example, for a color intended as primary color, use
Primaryinstead ofBlue. After making adjustments, always check if the tokens are still applied as widely as possible.Use a readable slug By default layout get a random slug. For publishing, you should change this to a readable slug
Normalize variables Make sure your variables use standardized naming as much as possible. This helps the AI with understanding the structure. Usually writing variables in
snake_caseworks best.Sort variables top-to-bottom By sorting variables the same way they are used in the layout, you encourage AI to fill the CV top-to-bottom as well. This makes for a better user-experience.
Add translations Adding translations is a great way to make a layout more widely usable. Usually, layouts only include a few static pieces of text, so translating can be a quick win.