schema has been neglected for a while, resulting in some text items and category badges
becoming unreadable. categoies were simple to fix, but the [hl] tag (hightlighted text) is more tricky.
the BBcode editor inserts inline CSS for highlighted text:
<span style="background-color: yellow">...hightlighted text...
this works fine for the non-dark schemas but isn't readable on dark background. the background color can't be changed via CSS rules so i had to change the text color of the highlighted text. this was only possible via a pseudo class
that works so far but might lead to unwanted results, affecting other text between <span> tags.
the above fixes have been merged into both dev
and are already active in the latest stable release, 3.8.7.
but at present there is another problem with the dark schema, some text being rendered in dark blue on dark background. with HTML elements being what they are now, this can only be solved by a compromise: make highlighted text less, but that dark blue text better readable. in the wiki mentioned at the end i'm linking to a hack that you can use if you want to use the dark theme now.
proposed (better) solution
my idea is to change the BBcode editor to not insert inline styles but CSS classes to change the background color. then background and text color can easily be changed via simple CSS rules in dark and other schemas.
i've looked at include/bbcode.php
and this could easily be done. additional CSS rules would have to be added to default and dark.css, which isn't a problem either. in the same way other HTML elements could be dealt with, when or if that becomes necessary.
before submitting a merge request for this i want to know what the developers
think about this idea.
redbasic dark wiki
since i'm not always very attentive and not using all
of hubzilla's features, it's quite possible that i won't notice some problems with the dark theme. i've published a wiki
therefore where other users of that theme can tell me what's wrong, or what can be improved: RedbasicDarkWiki
. all of my contacts should have write access to this wiki.