jucacrispim / sphinx_pdj_theme Goto Github PK
View Code? Open in Web Editor NEWDark theme for sphinx based on the RTD theme
License: MIT License
Dark theme for sphinx based on the RTD theme
License: MIT License
Right now the theme is not accounting for sphinx configuration directives for logo and favicon.
I'm using this theme, but I'm finding the highlighting provided with the .. code-block:: bash
directive hard to read. Bash commands like cd
are coming out dark blue on a black background, and the highlighting used by :emphasize-lines:
is sufficiently distracting to make the code very difficult to read. Maybe something like harlequin?
Would it be possible to use the prefers-color-scheme
media query to select either a dark or light theme?
The prefers-color-scheme
media query allows the theme to detect whether the user has requested a dark or light mode, often via an operating system toggle or time-of-day trigger.
This would improve accessibility, readability and consistency, and allow the end user to decide on what is easiest for them to read, and when.
Thanks!
I've tried removing sphinx_pdj_theme/search.html
and sphinx_pdj_theme/searchbox.html
but further than that seems difficult - is there an easy way to remove?
Build fails on pipelines and was erroring locally with a "setup missing" error. The below change to init.py seems to solve it.
`import os
VERSION = '0.1.4'
def get_html_theme_path():
"""Return list of HTML theme paths."""
cur_dir = os.path.abspath(os.path.dirname(os.path.dirname(file)))
return cur_dir
def setup(app):
app.add_html_theme('sphinx_pdj_theme', os.path.abspath(os.path.dirname(file)))`
Hello,
could you please specify license for your theme? I want to slightly modify it for our project but don't know if it's permitted.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.