You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i've been trying to make my own theme by modifying and combining parts of other themes. From looking at a few, and reading the docs, I wasn't able to figure out a few things regarding when to use which concept.
Why do some themes like pure have multiple blocks with the same block-level options (same alingment, same type) only differing in segments?
Whats the effect of doing this?
When does it make sense to have separate blocks with the same config? How do i decide which segments go into their own block?
Conceptually, what is the difference between a Block and a Segment? I understand that some options are block-level and some segment-level, of course, but how should i think about them? (perhaps i'm only confused because the pure theme does something nonsensical?)
Lets say i want to do user@host with different colors for each of user, @ and host. How do i decide between a single segment with a template which sets the colors for each part using the inline color syntax, vs 3 segments, one for each of the things i want to color differently?
I hope i haven't just missed a part of the documentation that explains this
Thanks for this project, i've been using it for years (tho with pre-made themes).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Heyo,
i've been trying to make my own theme by modifying and combining parts of other themes. From looking at a few, and reading the docs, I wasn't able to figure out a few things regarding when to use which concept.
purehave multiple blocks with the same block-level options (same alingment, same type) only differing in segments?puretheme does something nonsensical?)user@hostwith different colors for each ofuser,@andhost. How do i decide between a single segment with a template which sets the colors for each part using the inline color syntax, vs 3 segments, one for each of the things i want to color differently?I hope i haven't just missed a part of the documentation that explains this
Thanks for this project, i've been using it for years (tho with pre-made themes).
Beta Was this translation helpful? Give feedback.
All reactions