- About
- Router Model Compatibility
- Features
- Installing
- I Found a Bug
- Engaging with the Project
- Screens
- Thanks
The DD-WRT Inspired Themes style is designed for routers flashed with DD-WRT firmware.
At the moment the awesome v2 stylus lang color generator by @vednoc, is being leveraged in areas where its not needed for this style, but it provides a plug & play ability to allow fast development to release in a shorter time. In the future I plan to simplify this method making it maybe marginally more efficient.
The default built in themes are great, but even the best dark classic fresh-dark theme, doesn't darken all areas and many aspects services could be further polished. Instead of waiting...this was born.
It's made for my personal use only, and shared because... Why not?
From DD-WRT builds 09-07-2021-r47377 and newer, static CSS, non user customizable versions of this project are included by default.
If your router has enough memory these will be included.
Note that some sections of external DD_WRT sites cannot be targeted via CSS at this time. BrainSlayer may add support for these at some later stage.
In any case you can not customize the built in styles and you may notice styling inconsistencies. If that bothers you DO use this project instead in the interim, it's being worked on upstream DD-WRT too.
Report steady and of consequence progress being made upstream with the cooperation of @BrainSlayer. Thank you ;)
At this time, its developed and tested on the ASUS RT-AC68U
The DD-WRT Inspired Themes style has optional and built in redesigns that fix, modernize or allow consistence styling through all accessible areas. if you wish to view complete list click below.
Click to Expand
- Custom colors (within reason and sane choices users can make up own color schemes)
- Dracula
- Material
- Material Darker
- Solarized Dark
- Twilight
- The Matrix
- Ubuntu
- Optionally darken/lighten to some extent the background, foreground and accent colors.
- Optionally invert navigation colors
Default is inverted.
- Redesigned input styling for checkboxes, radio, dropdown and other interactable elements.
You can optionally choose the checkbox size, however not all sizes will look or align well.
There seems to be some issue with sizes less than 1rem
using DD-WRT web interface, this has unknown cause, works on other website I use same custom checkboxes/radios code.
- Hotspot logos are updated and working with all dark styles. (upstream fixes merged for classic light styles)
- DD-WRT logos use CSS filters to make them compatible with different backgrounds colors.
- New remove icon
- New add icon
Fully implemented targets to resolve :focus-within, :focus-visible
and override UA styles.
This allows for a more visually responsive feedback to a certain extent.
Equally implemented upstream; after DD-WRT v3.0-r47528 std (10/10/21) builds.
The following will match seamlessly your chosen color scheme.
- Help, About, Wiviz pages
- Popups e.g. Access restrictions edit list etc.
- Progress bars/Signal quality bars etc.
- Speedchecker dialog
- Speedchecker logo image replacement
- OID search (fixed issues with padding on h2 element)
- Optional transition effects
- Experimental font replacements
Click to install directly from this repository.
Some classic gui-style themes + DD-WRT Inspired Themes via Stylus at same time will not work together well with all cases.
Equal support side by side usage with built in + this project. See below for what works and is tested;
Compatible with blue/yellow/red/orange/cyan/elegant light/dark styles, or the included DD-WRT Inspired Themes, do not enable dark styles. Incompatible/Does not work well together with styles named; Brainslayer/kromo/vikar/xirian ,many styling inconsistencies and breakages expected and unsupported at this time.
Because many changes have gone into DD-WRT directly, its difficult to keep this project compatible with older versions of DD-WRT. From v6.0.0 previous versions of DD-WRT will show glitches and bugs that are now not supported. Please download and install previous version of the this project here if you use an older version of DD-WRT that shows glitches or issues.
From version 4.0.0, a regex matching valid IPV4 blocks is used. This is a better setup with 0 user edits required and also auto-updates of style are served automatically.
This method introduces some quirks in some setups. Please expand relevant solution.
- You run a server accessible via an IP and this theme is installed, all IP's will be matched even if it's not DD-WRT web interface.
If you encounter such issues and your page is styled by this theme manually reverting to previous method is the only way. as follows:
Click to Expand
Section 1
- @-moz-document regexp('^https?://(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)(\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}(\/.*)?$'),
+ @-moz-document domain('your.actual.router.ip'), domain('your.other.router.ip'),
/* */regexp('https?://oidsearch.s.dd-wrt?.com(/.*)?'),
/* */regexp('https?://speedchecker.dd-wrt?.com(/.*)?') {
Section 2
- @-moz-document regexp('^https?://(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)(\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}(\/.*)?$'),
+ @-moz-document domain('your.actual.router.ip'), domain('your.other.router.ip'),
/* */regexp('https?://speedchecker.dd-wrt?.com(/.*)?') {
- If you access your router via a LAN domain like router.local this design choice won't work and to make it work via regex all sites on the web will be matched.
If you encounter such issues please edit style like this.
Click to Expand
Section 1
- @-moz-document regexp('^https?://(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)(\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}(\/.*)?$'),
+ @-moz-document domain('your.actual.router.ip'), domain('your.other.router.ip'),
/* */regexp('https?://oidsearch.s.dd-wrt?.com(/.*)?'),
/* */regexp('https?://speedchecker.dd-wrt?.com(/.*)?') {
Section 2
- @-moz-document regexp('^https?://(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)(\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}(\/.*)?$'),
+ @-moz-document domain('your.actual.router.domain'), domain('your.other.router.domain'),
/* */regexp('https?://speedchecker.dd-wrt?.com(/.*)?') {
Style-It Themes (and I) recommends the additional styles below which can be used together without issues. These add unapparelled consistent experience and extend customizations options for other areas of your browsing life.
Save your retinas from the burn!
At the first instance of finding a bug, have a look if there is already an open issue, if so add the required information as described in the issue template.
If your issue is new, please open an issue and report your problem.
You will need to be familiar with browser development tools.
Firefox development tools Chrome development tools
There are many ways to engage with the project, all contributions types are most welcome and encouraged, e.g. ask for your fav color schemes, fix some typo(s), add documentation, prettify any included portions, provide feedback or ask a question, even help out with support/questions from other users, to name just a few ways you can engage with this project.
Open a pull request or ticket to start the ball rolling.
For Git related contributions you will need:
- Fork the project.
- Install dev-dependencies
npm i --only-dev
- Edit the desired files according to current requirement below, commit changes, run fix script
npm run fix
and push changes. - Open a pull request
After any changes and before opening a PR please run both development scripts below. Then push your changes and open a PR.
If your contribution includes dependencies updates, ensure this is done as a separate commit.
Thank you in advance for any contributions.
npm run authors
: Regenerate the AUTHORS file based on Git historynpm run fix
: Runs editorconfig via ECLint with--fix
on the styl file.
For dependencies updates;
npm run update
: Update development dependencies.
Releases are for internal use only, so remember to not include version bumps with your contributions
npm run major
: Creates a semantic major release.npm run minor
: Creates a semantic minor release.npm run patch
: Creates a semantic patch release.
Note: Dependencies updates can be submitted as part of any contribution that is a separate commit from main contribution, or as a standalone contribution.
More screenshots available in screens directory for your perusal.
@vednoc kudos and thanks, for showing me another way to save retinas from the burn.
Openstyles for developing Stylus. The best userstyle extension on all the web.