<feed xmlns='http://www.w3.org/2005/Atom'>
<title>luci/themes/luci-theme-material/ucode, branch master</title>
<subtitle>Lua Configuration Interface (mirror)</subtitle>
<id>https://git.openwrt.org/project/luci/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/project/luci/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/'/>
<updated>2026-08-07T23:33:25Z</updated>
<entry>
<title>themes: fix custom CSS via menu.d node</title>
<updated>2026-08-07T23:33:25Z</updated>
<author>
<name>Packet Please</name>
</author>
<published>2026-08-07T16:27:26Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=7c6d8ff7f8b894d1c8c3382af4b79b7cea68c709'/>
<id>urn:sha1:7c6d8ff7f8b894d1c8c3382af4b79b7cea68c709</id>
<content type='text'>
The themes have supported custom CSS via menu.d nodes since they
were first ported to ucode. There were two little problems though:

- The css property wasn't added to the node schema in luci.dispatcher.
- The themes used the wrong variable name.

The advantage is that the client will load the custom CSS right away,
instead of later when the view initializes. In my local development,
it has prevented visual flickering on page load.

Example menu.d entry:

    "falter": {
      "title": "Settings",
      "order": 5,
      "action": {
        "type": "view",
        "path": "falter/settings"
      },
      "css": "view/falter/falter.css"
    }

There are lots of potential users for this, since many Luci applications
inject their CSS via client-side JS. Even luci-mod-network does.

Signed-off-by: Packet Please &lt;pktpls@systemli.org&gt;
</content>
</entry>
<entry>
<title>luci-theme-material: add dark mode support</title>
<updated>2026-05-27T11:29:01Z</updated>
<author>
<name>Shannon Barber</name>
</author>
<published>2026-04-12T21:56:12Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=54338546bca800dad20248534c2a8733f70c1c26'/>
<id>urn:sha1:54338546bca800dad20248534c2a8733f70c1c26</id>
<content type='text'>
Add dark mode following the luci-theme-bootstrap pattern: auto-detect
via prefers-color-scheme, with forced MaterialDark/MaterialLight
variants. Replace ~60 hardcoded colors in cascade.css with CSS
variables and override them in a :root[data-darkmode="true"] block.

Signed-off-by: Shannon Barber &lt;sgbarber@gmail.com&gt;
</content>
</entry>
<entry>
<title>luci-theme: remove LuCI from title, material changes</title>
<updated>2026-03-02T18:14:01Z</updated>
<author>
<name>Self-Hosting-Group</name>
</author>
<published>2026-03-02T00:00:00Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=e81c0637e275b5d65a81ded69b43118563803def'/>
<id>urn:sha1:e81c0637e275b5d65a81ded69b43118563803def</id>
<content type='text'>
- Remove `| LuCI` suffix from title tag
- Make material theme zoomable and remove legacy meta tags
- Unify viewport

Link: #8330
Signed-off-by: Self-Hosting-Group &lt;selfhostinggroup-git+openwrt@shost.ing&gt;
</content>
</entry>
<entry>
<title>luci-theme: html title: swap hostname &lt;-&gt; page title</title>
<updated>2026-02-09T21:14:59Z</updated>
<author>
<name>Paul Donald</name>
</author>
<published>2026-02-09T21:13:56Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=ce358ad41132812612baf00217679971c8db0d91'/>
<id>urn:sha1:ce358ad41132812612baf00217679971c8db0d91</id>
<content type='text'>
hostname first to differentiate units from at-a-glance
browser tab view.

follow-up to 18d14980ddf7f85ab30ea971d5875f7d3a29353a

Signed-off-by: Paul Donald &lt;newtwen+github@gmail.com&gt;
</content>
</entry>
<entry>
<title>luci-theme: html title: swap hostname &lt;-&gt; page title</title>
<updated>2026-02-09T17:08:38Z</updated>
<author>
<name>Paul Donald</name>
</author>
<published>2026-02-09T17:08:38Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=18d14980ddf7f85ab30ea971d5875f7d3a29353a'/>
<id>urn:sha1:18d14980ddf7f85ab30ea971d5875f7d3a29353a</id>
<content type='text'>
hostname first to differentiate units from at-a-glance
browser tab view.

Closes #8308

Signed-off-by: Paul Donald &lt;newtwen+github@gmail.com&gt;
</content>
</entry>
<entry>
<title>luci-theme: fix theme header title</title>
<updated>2026-01-21T21:39:04Z</updated>
<author>
<name>Paul Donald</name>
</author>
<published>2026-01-21T21:39:04Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=9fe1334fd5172111773a56894825983acdf9865a'/>
<id>urn:sha1:9fe1334fd5172111773a56894825983acdf9865a</id>
<content type='text'>
dispatched.title is sometimes null, especially where menu JSON
does not declare a title for a page.

Also, while we're here, wrap these in i18n tags, since the
JSON titles are often translated (they're included in po matter).

Closes #8222

Signed-off-by: Paul Donald &lt;newtwen+github@gmail.com&gt;
</content>
</entry>
<entry>
<title>luci-theme: add missing menu name to page `&lt;title&gt;`</title>
<updated>2025-12-03T20:47:13Z</updated>
<author>
<name>Self-Hosting-Group</name>
</author>
<published>2025-09-25T00:00:00Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=d16ffa31130e1033101e84cc6a77171c32d47f4b'/>
<id>urn:sha1:d16ffa31130e1033101e84cc6a77171c32d47f4b</id>
<content type='text'>
Signed-off-by: Self-Hosting-Group &lt;selfhostinggroup-git+openwrt@shost.ing&gt;
</content>
</entry>
<entry>
<title>treewide: HTML Cleanup</title>
<updated>2024-11-22T21:39:46Z</updated>
<author>
<name>Mustafa Can Elmacı</name>
</author>
<published>2024-11-17T12:52:45Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=ae8bbb814f16c2dc2a82e88d408bee1812ceda9c'/>
<id>urn:sha1:ae8bbb814f16c2dc2a82e88d408bee1812ceda9c</id>
<content type='text'>
* HTML Cleanup: Meta tags.
* Converted charset to shorthand.
* Removed meta tags with `Content-Script-Type` attribute. (Invalid in HTML5 spec.)

* HTML Cleanup: CSS tags.
* Removed `type` attribute with CSS files from link tags. (HTML5 spec recommends omitting it.)
* Removed `type` attribute from style tags. (Deprecated in HTML5 spec.)
https://html.spec.whatwg.org/#attr-link-type
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/style

* HTML Cleanup: Convert from XHTML to HTML5
* Removed XML declaration.
* Removed XML namespace.
* Changed doctype to HTML5.

* HTML Cleanup: CDATA tags.
* CDATA sections should not be used within HTML they are considered as comments and not displayed.
https://developer.mozilla.org/en-US/docs/Web/API/CDATASection

* HTML Cleanup: Script tags.
* Removed `language` attribute from script tags. (No longer valid in HTML5)
* Removed `type` attribute with JavaScript MIME type from script tags. (HTML5 spec recommends omitting it.)
https://html.spec.whatwg.org/multipage/scripting.html#attr-script-type
https://mimesniff.spec.whatwg.org/#javascript-mime-type

Signed-off-by: Mustafa Can Elmacı &lt;mustafacan@elmaci.net&gt;
</content>
</entry>
<entry>
<title>luci-theme-material: do not show the message 'no password' on the login page</title>
<updated>2024-04-25T08:34:31Z</updated>
<author>
<name>Florian Eckert</name>
</author>
<published>2024-04-25T08:30:33Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=a277e639750c713854ae998417edb358bc46e550'/>
<id>urn:sha1:a277e639750c713854ae998417edb358bc46e550</id>
<content type='text'>
This note is also not displayed in the theme luci-theme-boostrap. Also, for
security reasons, we should not explicitly point this out on the login page,
that no password is set.

Signed-off-by: Florian Eckert &lt;fe@dev.tdt.de&gt;
</content>
</entry>
<entry>
<title>luci-theme-material: open footer link in new tab</title>
<updated>2024-03-02T16:57:01Z</updated>
<author>
<name>Fengyu Wu</name>
</author>
<published>2024-02-17T13:20:09Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=45d2becacbee5ca786eb403b4b0871c757321356'/>
<id>urn:sha1:45d2becacbee5ca786eb403b4b0871c757321356</id>
<content type='text'>
Also set Referrer Policy

Signed-off-by: Fengyu Wu &lt;saldry@proton.me&gt;
</content>
</entry>
</feed>
