Conversation
This adds all named HTML colors to be supported by MarkWhen tags. In the event of a collision, the MarkWhen selected value will be used instead of the HTML value. The previously declared `COLORS` array has been renamed to `MARKWHEN_COLORS` and is used in the other same places, mainly to cycle through fallabck colors if a user-specified color is wrong. This also adds a new tag color syntax: `html(<name>)`. This can be used to force selection of the HTML-variant of the color name instead of the MarkWhen-variant.
|
@kochrt Let me know how I can test this to verify it doesn't break existing features and also works as intended for the new stuff. |
|
First of all, thanks for doing all this! My initial thoughts are that I'm not particularly attached to the default colors that exist now ( What if we just extended (or replaced) If we did something like that we could avoid the additional What do you think? |
|
https://yeun.github.io/open-color/ just found this while rummaging around excalidraw stuff |
eThis adds all named HTML colors to be supported by MarkWhen tags. In the event of a collision, the MarkWhen selected value will be used instead of the HTML value. The previously declared
COLORSarray has been renamed toMARKWHEN_COLORSand is used in the other same places, mainly to cycle through fallabck colors if a user-specified color is wrong.This also adds a new tag color syntax:
html(<name>). This can be used to force selection of the HTML-variant of the color name instead of the MarkWhen-variant.