Comments (6)
File list is handled with GitHub-Dark, just the preview text part is not.
I really love this extension, soon I love to ditch Octotree finally.
from tako.
@ahmetcetin just a quick suggestion for you: instead of using GitHub-Dark, you could use "Dark Reader" for Firefox or Chromium-based browsers. The preview or rather the whole GitHub page is rendered perfectly in dark mode (Dark Reader mode: Dynamic). Look at the screenshot below to confirm.
Of course, using Dark Reader isn't going to be as easy to customize or configure if you want to use custom themes on your GitHub pages, but it works.
Also kudos to @brumm for forked repo fix!
You can find the CSS code under: Dark Reader extension button> Settings > 🛠️ DevTools > use Ctrl+F to search 'github'.
Edit: I noticed that you're using the old GitHub design instead of the new one... could you maybe do a screenshot of the new GitHub design with GitHub-Dark as well? Just for reference.
from tako.
Sure! What would one need to do to support this?
from tako.
wow, tbh, i didn't expect that you would like to do it. Anyways, I think first you should add options page to your extension as shown here:
https://developer.chrome.com/extensions/options
Then you can add one of the css files (or add all as option) into the code viewer window:
https://github.com/StylishThemes/GitHub-Dark/tree/master/themes/src/github
My favourite is One Dark, but it's just my taste.
from tako.
Wait, sorry, I didn't read your initial issue closely enough. This seems to be about syntax highlight in the preview, I assumed this was about the text of the entire extension.
I'd be up for adding the relevant css classes to support the github-dark extension in general, but I'm not sure this would work for the preview text.
For thatm I'm planning the make the preview text theme and style configurable in general via an options page, but that's still a while off :)
from tako.
Hey folks, @marchingon12's solutions seems to work nicely! I'm going to close this issue, because I decided to not support any dark mode until github comes out with their own. In the meantime, solutions like "Dark Reader" exist 😄
from tako.
Related Issues (20)
- Wider text-preview HOT 1
- Github File edit button is not visible anymore HOT 2
- Icons HOT 3
- reflect selected files in the address bar HOT 1
- styled-components support HOT 4
- Minimum Node.js version to develop HOT 1
- GitHub Design & Repository Refresh HOT 8
- Doesn't work on forked repos HOT 2
- Can't save renewed personal Github token. HOT 2
- Collapse nested single directory paths HOT 1
- Dark mode support HOT 6
- Update token validation logic for GitHub's new auth token format HOT 2
- Can't save HOT 3
- Can't save new token format HOT 8
- 0.2.5 still can't save new token format HOT 8
- Safari support HOT 4
- When your token expires, Tako doesn't accept the new one
- Doesn't work with github submodules HOT 2
- Chrome web store link for Taco is returning 404 HOT 1
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 tako.