← Back to team overview

ubuntu-phone team mailing list archive

Re: Themes on the phone

 

On Wed, Mar 25, 2015 at 1:33 PM, Alan Bell <alanbell@xxxxxxxxxx> wrote:
Now if there was a local lighthttpd serving up nothing but the current system theme then this would be referenceable for both local HTML5 installed apps and remote websites to respect.

I don't think you'd even need a separate http server for this. You should be able to have the WebView catch requests and insert its own responses. (This is possible with WebKitGTK, though I don't know that these bindings are exposed in Oxide.) These requests could be given their own protocol to avoid accidental conflicts with other services. (ubuntu-theme://default.css, ubuntu-theme://ambiance/icons/back.svg, etc.)

It's an intriguing possibility!

Robert





Follow ups

References