A new Luci theme for LEDE/OpenWrt

Hi all,
I made a new luci theme for openwrt.


Features:
New login theme, Request background imge from bing.com, Auto change everyday.
blur effect for login form
Auto adapt to dark mode

8 Likes

Great theme. How can I enable the dark mode?

I am using luci-theme-argon_2.2.1

Enable dark mode in the Windows 10

It is activated, but still no dark mode. Tested also on android 10 with universal dark mode on, on pc using edge and brave browser.

Is there a way I could force dark mode through ssh?

Thanks for the beautiful theme.

Dark mode is working fine for me. Beautiful theme, thanks you so much.

It would be nice to add it to the LuCI repository.

1 Like

Only with some maintenance commitment to keep it compatible with master. I am not to keen on having another “rosy” or “material” that starts rotting as soon as it is merged.

2 Likes

it is very similar to material... one wonders if the [majority||beneficial] tweaks would be better served porting into material...

the bing download being the single obvious point of contention...

yes, it is base material

This is my first time using luci-theme-argon and it's quite nice. Particularly, I find that the dark mode in this is much more pleasing and easy on the eyes in comparison to the old luci-theme-darkmatter theme. This new dark mode is quite nice and the overall design is very well done.

My main issue so far is that the Bing image does not seem to show up on my OpenWrt 19.07.03 build which is quite close to default vanilla OpenWrt.

  • What download utility does this theme use to download the Bing image? EDIT: wget

EDIT: OK so I was browsing the source code for this theme while typing out this reply of mine and realized that the download utility used by this theme is wget, so that is a dependency of this theme that is different from a default setup. I installed wget, changed the theme back and forth between several themes and back to Argon again but for whatever reason, the Bing image is still not showing up.

Also, you cannot use Page Up / Page Down / Up / Down keys or anything to navigate with keyboard unless you click the mouse button on each page within LuCI with this theme. So, for example, if I browse through 10 different pages within the LuCI interface, I would have to click the mouse button on the background of all 10 of those pages. You should be able to just start navigating the pages with the keyboard as you can with other LuCI themes.

I don't think that's the case with Argon as I see that they update it often.

I have to confess I quite like this new skin...

thanks,i will check and fix it.

1 Like

Very nice thank you.
I tried out dark mode and i wonder, how do i go back to "light" mode?

Thank you

1 Like

login ssh: rm -rf /etc/dark

1 Like

@jerryk v2.2.4 still ask for the dependency luasocket when you try to install it

1 Like

doesn't worked for me still dark :slight_smile: I'm on 19.07 version

Edit:

Fixed by going into /www/luci-static/argon/css and renamed
dark.css to dark1.css with command:

mv dark.css dark1.css

But very impressive work with that auto-switch, I love your theme ! :slight_smile:

It will be very nice and popular if u can even add some kind of plugin for luci to personalize colors, maybe some abstract graphic in background and more :slight_smile: I can see this to be top alternative to default theme :slight_smile:

I developed a plugin called luci-app-argon-config to set the theme, you can download it from here https://github.com/jerrykuku/luci-app-argon-config/releases/tag/v0.8-beta

1 Like

I've installed the config but get this error:

...ib/lua/luci/model/cbi/argon-config/configuration.lua:3: module 'luci.model.ipkg' not found:
	no field package.preload['luci.model.ipkg']
	no file './luci/model/ipkg.lua'
	no file '/usr/share/lua/luci/model/ipkg.lua'
	no file '/usr/share/lua/luci/model/ipkg/init.lua'
	no file '/usr/lib/lua/luci/model/ipkg.lua'
	no file '/usr/lib/lua/luci/model/ipkg/init.lua'
	no file './luci/model/ipkg.so'
	no file '/usr/lib/lua/luci/model/ipkg.so'
	no file '/usr/lib/lua/loadall.so'
	no file './luci.so'
	no file '/usr/lib/lua/luci.so'
	no file '/usr/lib/lua/loadall.so'
stack traceback:
	[C]: in function 'require'
	...ib/lua/luci/model/cbi/argon-config/configuration.lua:3: in function 'func'
	/usr/lib/lua/luci/cbi.lua:66: in function 'load'
	/usr/lib/lua/luci/dispatcher.lua:1499: in function '_form'
	/usr/lib/lua/luci/dispatcher.lua:1027: in function 'dispatch'
	/usr/lib/lua/luci/dispatcher.lua:479: in function </usr/lib/lua/luci/dispatcher.lua:478>

What do I need to do?

Can be translated?