Closed andreyorst closed 2 years ago
Another way to make attributes available is via parameters to modules itself. This way no theme modification is needed, and user can build the powerline accordingly to the theme. However this means that theme can't set attributes at all, and attributes is a kinda theme thing.
Now that faces can be used as base maybe I can restructure the plugin again.
Related issues: #7 https://github.com/mawww/kakoune/issues/2842
Themes define colors, not faces, and modules compose faces from colors available. This makes it hard to support attributes, like
+b
for bold. However attributes should be provided by themes, and should go along with attributes that are used forStatusLine
face in Kakoune color scheme.Perhaps, attribute should be stored in the separate variable and applied to all modules.