[PR #2022] [MERGED] Addition of a user-selectable dark-mode option #5937

Closed
opened 2026-02-05 10:20:52 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/BookStackApp/BookStack/pull/2022
Author: @ssddanbrown
Created: 4/11/2020
Status: Merged
Merged: 4/11/2020
Merged by: @ssddanbrown

Base: masterHead: dark-mode


📝 Commits (6)

  • 1ba5a12 Started work on supporting a dark-mode
  • 067cb9c Merge branch 'master' into dark-mode
  • b0b28e7 Rolled dark mode out to the editors
  • d4b0e4a Removed throttling from web-end requests
  • 573c848 Added dark/light mode toggle to profile dropdown menu
  • 50669e3 Added tests and translations for dark-mode components

📊 Changes

65 files changed (+5501 additions, -136 deletions)

View changed files

📝 app/Http/Controllers/UserController.php (+10 -0)
📝 app/Http/Kernel.php (+0 -1)
📝 public/libs/tinymce/plugins/help/plugin.min.js (+1 -1)
📝 public/libs/tinymce/plugins/image/plugin.min.js (+1 -1)
📝 public/libs/tinymce/plugins/imagetools/plugin.min.js (+1 -1)
📝 public/libs/tinymce/plugins/lists/plugin.min.js (+1 -1)
📝 public/libs/tinymce/plugins/paste/plugin.min.js (+1 -1)
📝 public/libs/tinymce/plugins/print/plugin.min.js (+1 -1)
📝 public/libs/tinymce/plugins/table/plugin.min.js (+1 -1)
📝 public/libs/tinymce/plugins/textpattern/plugin.min.js (+1 -1)
📝 public/libs/tinymce/plugins/visualchars/plugin.min.js (+1 -1)
📝 public/libs/tinymce/plugins/wordcount/plugin.min.js (+1 -1)
public/libs/tinymce/skins/dark/Variables.less (+224 -0)
public/libs/tinymce/skins/dark/content.inline.min.css (+1 -0)
public/libs/tinymce/skins/dark/content.min.css (+1 -0)
public/libs/tinymce/skins/dark/fonts/readme.md (+1 -0)
public/libs/tinymce/skins/dark/fonts/tinymce-small.eot (+0 -0)
public/libs/tinymce/skins/dark/fonts/tinymce-small.json (+1277 -0)
public/libs/tinymce/skins/dark/fonts/tinymce-small.svg (+63 -0)
public/libs/tinymce/skins/dark/fonts/tinymce-small.ttf (+0 -0)

...and 45 more files

📄 Description

  • Most elements done, but still need to do editors, tables and final pass.
  • Toggled only by quick js check at the moment, checking via css media query. Need to make into user-preference toggle.
  • Say thanks to domainzero

For #1234


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/BookStackApp/BookStack/pull/2022 **Author:** [@ssddanbrown](https://github.com/ssddanbrown) **Created:** 4/11/2020 **Status:** ✅ Merged **Merged:** 4/11/2020 **Merged by:** [@ssddanbrown](https://github.com/ssddanbrown) **Base:** `master` ← **Head:** `dark-mode` --- ### 📝 Commits (6) - [`1ba5a12`](https://github.com/BookStackApp/BookStack/commit/1ba5a1274c7edeebaa530ee3d48d979f6833515f) Started work on supporting a dark-mode - [`067cb9c`](https://github.com/BookStackApp/BookStack/commit/067cb9c5b7b020da6dda398773cd7236fa3b51f2) Merge branch 'master' into dark-mode - [`b0b28e7`](https://github.com/BookStackApp/BookStack/commit/b0b28e7b5e5859cd676ad2e5704f244ca94422e9) Rolled dark mode out to the editors - [`d4b0e4a`](https://github.com/BookStackApp/BookStack/commit/d4b0e4acad815d48e59eb0cde286340db8a95d30) Removed throttling from web-end requests - [`573c848`](https://github.com/BookStackApp/BookStack/commit/573c848d510ef7f1b959b20eb8a6bf4c167a856b) Added dark/light mode toggle to profile dropdown menu - [`50669e3`](https://github.com/BookStackApp/BookStack/commit/50669e3f4a32eff3523b703886e523ed84470583) Added tests and translations for dark-mode components ### 📊 Changes **65 files changed** (+5501 additions, -136 deletions) <details> <summary>View changed files</summary> 📝 `app/Http/Controllers/UserController.php` (+10 -0) 📝 `app/Http/Kernel.php` (+0 -1) 📝 `public/libs/tinymce/plugins/help/plugin.min.js` (+1 -1) 📝 `public/libs/tinymce/plugins/image/plugin.min.js` (+1 -1) 📝 `public/libs/tinymce/plugins/imagetools/plugin.min.js` (+1 -1) 📝 `public/libs/tinymce/plugins/lists/plugin.min.js` (+1 -1) 📝 `public/libs/tinymce/plugins/paste/plugin.min.js` (+1 -1) 📝 `public/libs/tinymce/plugins/print/plugin.min.js` (+1 -1) 📝 `public/libs/tinymce/plugins/table/plugin.min.js` (+1 -1) 📝 `public/libs/tinymce/plugins/textpattern/plugin.min.js` (+1 -1) 📝 `public/libs/tinymce/plugins/visualchars/plugin.min.js` (+1 -1) 📝 `public/libs/tinymce/plugins/wordcount/plugin.min.js` (+1 -1) ➕ `public/libs/tinymce/skins/dark/Variables.less` (+224 -0) ➕ `public/libs/tinymce/skins/dark/content.inline.min.css` (+1 -0) ➕ `public/libs/tinymce/skins/dark/content.min.css` (+1 -0) ➕ `public/libs/tinymce/skins/dark/fonts/readme.md` (+1 -0) ➕ `public/libs/tinymce/skins/dark/fonts/tinymce-small.eot` (+0 -0) ➕ `public/libs/tinymce/skins/dark/fonts/tinymce-small.json` (+1277 -0) ➕ `public/libs/tinymce/skins/dark/fonts/tinymce-small.svg` (+63 -0) ➕ `public/libs/tinymce/skins/dark/fonts/tinymce-small.ttf` (+0 -0) _...and 45 more files_ </details> ### 📄 Description - [x] Most elements done, but still need to do editors, tables and final pass. - [x] Toggled only by quick js check at the moment, checking via css media query. Need to make into user-preference toggle. - [x] Say thanks to domainzero For #1234 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 10:20:52 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#5937