Comments (3)
OK Ive done something simple with a couple of preset themes and a custom, Will be removing the built into style because the new design is incompatible with the existing.
from stackoverflow-dark.
Just acknowledging the report, just real life so no time to look at it at the moment.It may take a while to get to this.
A quic look tell me this is now using hljs
prefixed classes, we dont have literally any themes with hljs
and this undertaking will take a long time to fix, if ever, given my low usage of the sites...
Also if someone contributes a theme they use more often, then it will leave all the others with same issue, so I'll have to consider if syntax themes are worth having at all, its certainly not worth having the majority broken.
That said these new themes could be overriden without any CSS at all, just by overriding the root:
values which seem to be only these
--highlight-bg: #1c1b1b;
--highlight-color: #fff;
--highlight-comment: #999;
--highlight-punctuation: #ccc;
--highlight-namespace: #f08d49;
--highlight-attribute: #88aece;
--highlight-literal: #f08d49;
--highlight-symbol: #c59bc1;
--highlight-keyword: #88aece;
--highlight-variable: #b5bd68;
--highlight-addition: var(--green-600);
--highlight-deletion: var(--red-700);
So given this, it would be better to rewrite them, which in any case is no simple undertaking. It would be a better design though.
from stackoverflow-dark.
Consult the readme for instructions.
Any further themes need to be added in same format, the design works, however SO defines which selectors apply, not the theme, any included selectors are to fix some issues with their design and to be compatible with how SO is currently done.
from stackoverflow-dark.
Related Issues (20)
- How to switch between themes? HOT 1
- (How) Should I report issues only present if "native" dark theme is selected? HOT 2
- Deprecated? HOT 2
- Unreadable logic keywords (or, and, ...) in custom filters HOT 2
- Newsletter sign-up widget has duplicate header HOT 2
- Code parts barely readable HOT 2
- White code blocks on Stackexchange HOT 1
- Code blocks white or unreadable HOT 3
- Code span in comment has light text color HOT 3
- Code blocks are now white HOT 1
- unreadable text and missed implementation HOT 1
- Announcement bar is not dark-styled HOT 2
- SO updated CSS, <code> blocks now too low contrast HOT 4
- visited links in answers are shown dark HOT 3
- The background is bright everywhere HOT 1
- Add CSS "color-scheme: dark;" HOT 1
- Maintainers needed
- Font color is black HOT 3
- font color is black HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stackoverflow-dark.