Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dark theme #231

Open
alem0lars-yr opened this issue Mar 9, 2017 · 11 comments
Open

Dark theme #231

alem0lars-yr opened this issue Mar 9, 2017 · 11 comments

Comments

@alem0lars-yr
Copy link

It would be useful to also have some theming options, maily for a dark theme.

@kba
Copy link
Contributor

kba commented Mar 9, 2017

The default output viewed in chromium/chrome with the Deluminate extension works very well for me.

@alem0lars-yr
Copy link
Author

I don't use Chrome, I use uzbl.

@Atcold
Copy link

Atcold commented Jun 14, 2017

This one works perfectly for me https://userstyles.org/styles/37035/github-dark

@alem0lars-yr
Copy link
Author

@Atcold How did you manage to apply that theme to generated html? Did you modify the template?

@Atcold
Copy link

Atcold commented Jun 15, 2017

From the style editing panel:

  • Add;
  • URLs matching the regexp;
  • http://localhost:5000/.*.

@kikijiki
Copy link

kikijiki commented Jul 7, 2017

That only affects the appearance in the browser, not the contents of the generated html file itself.

@Atcold
Copy link

Atcold commented Jul 11, 2017

@kikijiki, yes, of course. The visualisation engine is going to be GitHub, after all, no?
Right now I have Grip previewing the documentation as it will appear in the repo, when I push it.
Both of them have a dark theme applied in the browser.

What is that you're trying to achieve instead?

@kikijiki
Copy link

I'm using grip to export the file as html to distribute it, it would be cool if the file itself contained the dark style modifications.

@Atcold
Copy link

Atcold commented Jul 12, 2017

Copy and paste the content of the CSS theme file?

@electrum
Copy link

electrum commented Jan 1, 2021

GitHub now has an official dark mode: https://github.com/settings/appearance

@aparajita
Copy link

Just posted a PR that implements full GitHub theme support. #335

If you can't wait for it to merge, uninstall your current grip, then:

git clone https://github.com/aparajita/grip.git
cd grip
git checkout theming
pip3 install -r requirements.txt

# to run
python3 /path/to/grip/grip/__main__.py

You'll probably want to make that last line into an alias to grip.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants