Add optional customStyle property to 'Command' object interface #3864
Unanswered
jerryzhou196
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, some of the dropdown options within the Command Line Interface could benefit greatly from visual styling - especially the
Theme...
andFont Family....
dropdown options. By implementing an optionalcustomStyle
property of typestring
to theCommand
interface, we could easily style certain dropdown options by passing in CSS strings when we are pushing eachCommand
object into it's respectiveCommandsSubgroup
. Here are some examples I made with this newcustomStyle
property:This might make the theme selection more intuitive. I will admit it is kind of an eyesore with certain theme combinations.
Here, each font is rendered accordingly instead of having to cycle through each one to preview it.
This property could further be used within the funbox command dropdown and such. It lays a framework for future customization within the command line interface.
I'm unsure if this violates the minimalist philosophy behind the command line interface. I just found it easier to be able to visually preview the colors instead of dragging my mouse through the options, and wanted to give my two cents. 🤠
Beta Was this translation helpful? Give feedback.
All reactions