ronin-rb / ronin-app

A local web interface for Ronin.
https://ronin-rb.dev
GNU Affero General Public License v3.0
26 stars 8 forks source link

Add a dark-mode switch #2

Closed postmodern closed 1 year ago

postmodern commented 1 year ago

Add a dark-mode switch to change the --bg-color to a dark midnight blue color. See the minimal JavaScript on my blog as an example.

SarthakSanjay commented 1 year ago

Hey postmodern , seen your frontend and its great , I would like to contribute , can you assign me

postmodern commented 1 year ago

@SarthakSanjay Sure. Please see the CONTRIBUTING file. I want to avoid using any JavaScript frameworks, plugins, npm modules, etc, and just want to keep everything minimal vanilla ES6+ JavaScript and CSS4.

postmodern commented 1 year ago

@SarthakSanjay since I haven't heard back from you, I decided to implement a basic dark-mode button. Feel free to recommend any improvements to it: https://github.com/ronin-rb/ronin-app/compare/main...top-menu-and-dark-mode