silverbullet/web/styles
TR Staake 2020e85a6f
Update how tags are rendered to allow for custom styling (#1179)
* Updated how tags are rendered to allow for custom styling via space-styles

* Wrapped the existing span for a tag with an anchor element <a> to
improve ux for screen readers
* Added data-tag-name attribute to tags so that given a tag `#my-tag` it
will have the attribute `data-tag-name="my-tag"` added to the new `<a>`
element wrapper allowing for end users to target tags for styling with a
css selector such as `.sb-hashtag[data-tag-name="my-tag"]{...}`

* Updated Docs
2024-12-14 09:57:46 +01:00
..
colors.scss Few dark mode fixes and top bar improvements (#1137) 2024-11-07 21:28:14 +01:00
editor.scss Update how tags are rendered to allow for custom styling (#1179) 2024-12-14 09:57:46 +01:00
main.scss Few dark mode fixes and top bar improvements (#1137) 2024-11-07 21:28:14 +01:00
modals.scss Improve modals (#840) 2024-04-20 16:22:02 +02:00
theme.scss deno fmt 2024-10-11 15:34:27 +02:00