[Commotion-dev] How to file issue on Commotion-OpenWRT luci theme - really really big font files

Ben West ben at gowasabi.net
Mon May 6 01:52:44 UTC 2013


Hi All,

This is the current repo for the luci-commotion-theme used for the luci web
UI packaged into Commotion-OpenWRT (forked from a repo started by Ben
Chodoroff):
https://github.com/opentechinstitute/commotion-openwrt-theme

A difficulty I've encountered in squeezing things onto finite flash chips,
especially with recent integration of large packages like Serval, is that
the Commotion theme is really rather large.  Indeed, 10x larger than the
stock themes provided with OpenWRT:

ben at computer:~/blahblah/openwrt/bin/ar71xx/packages$ ls -l *theme*
-rw-r--r-- 1 ben ben  24940 May  5 16:25 luci-theme-base_0.11.1-1_ar71xx.ipk
-rw-r--r-- 1 ben ben  13649 May  5 16:25
luci-theme-bootstrap_0.11.1-1_ar71xx.ipk
-rw-r--r-- 1 ben ben 314206 May  5 16:25
luci-theme-commotion_master-1_ar71xx.ipk
-rw-r--r-- 1 ben ben   7951 May  5 16:25
luci-theme-openwrt_0.11.1-1_ar71xx.ipk

Jumping into the theme's internals, it looks like the lion's share
(440kbytes, or 60% of overall ipk) comes from fronts:

ben at computer:~/blahblah/openwrt/build_dir/target-mips_r2_uClibc-0.9.33.2/luci-theme-commotion-master/files/htdocs$
du -s -h *
4.0K    advanced.png
32K     cascade.css
4.0K    commotion_tiny.png
4.0K    dashboard.css
4.0K    favicon.ico
440K    fonts
4.0K    help.png
4.0K    html5.js
4.0K    ie6.css
4.0K    ie7.css
92K     jquery.min.js
4.0K    quickstart.png
4.0K    respond.min.js
4.0K    selectnav.min.js
4.0K    status_message_smile.png
4.0K    theme.js
4.0K    warning_icon.png
24K     zepto.min.js

Is the use of the Asap font critical to UX or HID design elements?  Could
the CSS be edited to instead use whatever built-in sens-serif font the
user's browser supplies?

Also, the repo for the Commotion theme isn't set up to accept issue
submissions from the public.  May I be added to the access list to submit
an issue (evtl followed up with pull request) about slimming this theme
down in size?

Thanks.

-- 
Ben West
http://gowasabi.net
ben at gowasabi.net
314-246-9434
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.chambana.net/pipermail/commotion-dev/attachments/20130505/950f93fa/attachment.html>


More information about the Commotion-dev mailing list