Skip to content

Default alignment #679

Answered by bago
CraigHollaman asked this question in Q&A
Mar 2, 2023 · 3 comments · 1 reply

You must be logged in to vote

Please note that styles shared between blocks in the same "theme" have to be consistents.
So if you change longTextStyle.align to center you have to change it everywhere the same style is used in other blocks sharing the same theme.

If you want a block to not follow the same theme of other blocks then delcare it in a new theme.

In versafix you can see there is a frameTheme and a contentTheme and you can see some block belongs to the frameTheme while others belong to the contentTheme.

The longTextStyle.color property must be the same for every block in the contentTheme but it can be different from the color used in the frameTheme's blocks.

This is needed in order to correctly use the globa…

Replies: 3 comments 1 reply

You must be logged in to vote
0 replies
Answer selected by CraigHollaman

You must be logged in to vote
0 replies

You must be logged in to vote
1 reply
@CraigHollaman

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants