github ChesterGoodiny/luci-theme-proton2025 v1.0.2
v1.0.2 Proton2025 - Elegant Dark Theme for LuCI

latest releases: v1.4.1, v1.4.0, v1.3.0...
8 months ago

Changes in Version 1.0.2

Fixes

  • Dark/light mode is now correctly detected across different LuCI sections
  • Third-party pages and plugins adapt better to the theme
  • IPK installation: custom theme icons are now installed correctly
  • Minor styling issues resolved (icons, labels, and colors now appear more consistently)
  • Icon centering in the Port Status Grid now works on all Status pages
  • Clicking a parent menu item now correctly navigates to the first page of its submenu
  • Diagnostics page: dropdown buttons (IPv4 Ping, Traceroute) are now compact, and the dropdown menu correctly appears above the container
  • Wireless page: the Access Point (AP) name in the Associated Stations table is now fully displayed with text wrapping instead of being truncated

New Features

  • "Table Text Wrap" Setting:

    • Enabled by default—long AP names now wrap to a new line
    • Can be disabled to revert to ellipsis truncation
    • Available at System → System → Proton2025 Theme Settings
  • Extended Language Support:

    • Added translations for 9 languages: English, Русский, 中文, Deutsch, Українська, Español, Português, Polski, Français, Italiano
    • Automatic detection of the LuCI interface language
    • Full translations for all theme settings and widgets
  • Updated Theme Logo—new design with a diagonal split:

    • OpenWrt WiFi arcs in the top half
    • Proton atom with orbitals in the bottom half
    • Diagonal gradient split: dark gradient (#0f1419 → #1a1f2e) / accent blue (#5e9eff → #7db2ff)
    • Accent-colored atomic core matching the theme’s primary color
  • Hybrid Theme Settings Storage (localStorage + UCI):

    • Settings now sync across browsers and devices
    • Included in router backups (sysupgrade -b)
    • Instant application without flicker (localStorage used as cache)
    • UCI serves as the source of truth—settings persist on the router
    • New RPC module luci.proton-settings for managing settings
    • Automatic synchronization when switching browser tabs

Technical Details: Settings Synchronization

New Files:

  • /etc/config/proton2025 — UCI configuration file for theme settings
  • /usr/share/rpcd/ucode/luci.proton-settings — RPC module for reading/writing settings
  • /www/luci-static/proton2025/settings-sync.js — JavaScript synchronization module

Supported Settings:

Setting UCI Option Values
Theme Mode mode dark, light
Accent Color accent default, blue, purple, green, orange, red
Zoom Level zoom 50150
Transparency transparency 0, 1
Border Radius border_radius default, sharp, extra
Animations animations 0, 1
Services Widget services_widget 0, 1
Temperature Widget temp_widget 0, 1
Services Log services_log 0, 1
Table Text Wrap table_wrap 0, 1

Synchronization Logic:

Page Load:
1. [sync]   localStorage → apply instantly (no flicker)
2. [async]  UCI → compare → update localStorage if different

Setting Change:
1. [sync]   localStorage → apply instantly
2. [async]  UCI → save (debounced, 500ms delay)

Don't miss a new luci-theme-proton2025 release

NewReleases is sending notifications on new releases.