guywaldman / vscode-prismo

Visual Studio Code plugin to beautify your titles, sections and separators.
https://marketplace.visualstudio.com/items?itemName=guywaldman.prismo
MIT License
6 stars 0 forks source link

Feature Request: Colored Titles #2

Open guywaldman opened 6 years ago

guywaldman commented 6 years ago

The user will be able to configure colors for their titles (similarly to the todo-highlight extension).

The pattern could possibly be similar to: <dash><padding><title<padding><dash>

orouz commented 6 years ago

colors would be super neat!

did some tinkering ended up basically just exposing the styles object that you pass to vscode in order to style a range got the styles object from the main config object skipped tests and moved some stuff around, just to get things working.. you can checkout the branch

i think this feature should enable the following: 1 - pre-define section titles with a custom styles object (maximum styling flexibility) 2 - inline styling with the title, something like %title_color %title_backgoung %dash_color my title

thoughts??

prismo_clrs

guywaldman commented 6 years ago

Nice work! I also thought of a styles object (perhaps with nested stylings for the variations) and the inline stylings are a nice touch as well (perhaps also add the option of inlining other options as well?). Regardless - will go over and think about this. Thanks so much for the contribution 💯