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
Another idea of metadata for pages: a color setting ! 🤯
It could be set in page edit view thanks to the HTML color picker.
Then it would create a dedicated CSS var called --page-color or something like this.
It would be set as data-color on links, so that users could use it to color links with css. 😋 (this do not work yet?, see mdn doc, but there is an interesting solution)
Another benefit could be to color the map markers according to page color.
This could also be seen in the graph view by coloring the nodes.
It's a simpler, more flexible but limited alternative to #321 concept.
The default color would use a hash of the page ID. Or a default one set in admin ?
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Another idea of metadata for pages: a color setting ! 🤯
It could be set in page edit view thanks to the HTML color picker.
Then it would create a dedicated CSS var called
--page-color
or something like this.It would be set as
data-color
on links, so that users could use it to color links with css. 😋 (this do not work yet?, see mdn doc, but there is an interesting solution)Another benefit could be to color the map markers according to page color.
This could also be seen in the graph view by coloring the nodes.
It's a simpler, more flexible but limited alternative to #321 concept.
The default color would use a hash of the page ID. Or a default one set in admin ?
The text was updated successfully, but these errors were encountered: