[PR #710] [MERGED] Updated Web UI's CSS to use variables #6227

Closed
opened 2026-05-29 23:51:49 +03:00 by zhus · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/sigoden/dufs/pull/710
Author: @spinningvenus
Created: 5/24/2026
Status: Merged
Merged: 5/26/2026
Merged by: @sigoden

Base: mainHead: main


📝 Commits (4)

  • ea60750 refactor: webui add css color variables
  • 5c6f865 refactor: removed redundant css
  • 7a08ed6 fix: correct colors to match original
  • c3d7972 fix: update bg-tertiary variable

📊 Changes

2 files changed (+59 additions, -60 deletions)

View changed files

📝 assets/index.css (+58 -59)
📝 assets/index.html (+1 -1)

📄 Description

I've made an adjustment to the default Web UI CSS so that color values are loaded as variables. This improves future scalability and reduces repeat code. I've made sure colors are exactly as they where before in both color themes.

Index.html had a hard-coded fill color which has been adjusted to respect previously implemented theme switching.


🔄 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/sigoden/dufs/pull/710 **Author:** [@spinningvenus](https://github.com/spinningvenus) **Created:** 5/24/2026 **Status:** ✅ Merged **Merged:** 5/26/2026 **Merged by:** [@sigoden](https://github.com/sigoden) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (4) - [`ea60750`](https://github.com/sigoden/dufs/commit/ea60750049aa3bde821c8477382af9a959274071) refactor: webui add css color variables - [`5c6f865`](https://github.com/sigoden/dufs/commit/5c6f8656aad9b967e111dd927f7fa5094a8bc57c) refactor: removed redundant css - [`7a08ed6`](https://github.com/sigoden/dufs/commit/7a08ed6333dfa15e8bda89f7d42859160ebf60f4) fix: correct colors to match original - [`c3d7972`](https://github.com/sigoden/dufs/commit/c3d79729fa7c1c74a89c5938edb93c9336284023) fix: update bg-tertiary variable ### 📊 Changes **2 files changed** (+59 additions, -60 deletions) <details> <summary>View changed files</summary> 📝 `assets/index.css` (+58 -59) 📝 `assets/index.html` (+1 -1) </details> ### 📄 Description I've made an adjustment to the default Web UI CSS so that color values are loaded as variables. This improves future scalability and reduces repeat code. I've made sure colors are exactly as they where before in both color themes. Index.html had a hard-coded fill color which has been adjusted to respect previously implemented theme switching. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
zhus added the pull-request label 2026-05-29 23:51:49 +03:00
zhus closed this issue 2026-05-29 23:51:50 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sigoden/dufs#6227