Without these stylesheets, the color scheme looks the way it's supposed to. hljs class to be dark.įurther deepening the mystery, the CSS files mentioned above are not in the raw html of the page included with tags, they seem to be automatically inserted or applied after/on top of theme-arc-green.css. This stylesheet also defines the color of text in the. I've scoured the templates and modules but haven't found anything. ![]() I actually cannot figure out where this stylesheet comes from. There is also a that gets applied before theme-arc-green.css. (I notice this stylesheet does not affect, but does affect the version referenced above.) ![]() ![]() hljs text to be dark and hard to make out against the background of the gitea dark theme. On OLED panels, each pixel is individually lit. Currently, the order in which CSS stylesheets are applied means that a stylesheet from highlight.js called gets applied before the dark mode theme stylesheet theme-arc-green.css. The most commonly known and scientific advantage of dark mode is that it saves energy consumption on devices with OLED or AMOLED displays.
0 Comments
Leave a Reply. |