darkreader / darkreader/darkreader

[Idea] .Xresources/Pywal colors

Open
#2,168 131 comments 16 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
22.4k
Forks
2.7k
Avg merge
21h 11m
Merged PRs (30d)
78

Description

Recently a plugin called [Pywalfox](https://github.com/Frewacom/Pywalfox) was released, which takes the colors generated by the program [pywal](https://github.com/dylanaraps/pywal) and uses them to theme various UI elements in Firefox.

The main problems this solves is using a custom script to make firefox aware of the system colors, and changing them without the need for a restart.

My idea is to take these colors and apply them to the whole web, like darkreader applies a universal dark mode. In theory it would look a bit like this:

![](https://camo.githubusercontent.com/85e9c3231bea76b5ebe21b5e8f6754e5411eff54/68747470733a2f2f676964656f6e776f6c66652e636f6d2f696d672f6e656f76696d2f7265617065722f6d61726b646f776e2e706e67)

This is a vim plugin I customized to preview markdown using the system colors.

I have been looking at the codebase of both firefox plugins, and am unsure where to begin working on this. Would it be feasible to simply substitute darkreaders universal gray and white colors for the pywal colors?

Pywalfox already provides an interface to select accent, highlights, etc. Would there be any "gotchas" that prevent us from simply hooking up the Pywalfox colors to darkreader?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.