parsav  Diff

Differences From Artifact [3d0e5432a4]:

To Artifact [cd48dd2db6]:


    50     50   	embeds = {
    51     51   		-- TODO with gzip compression, svg is dramatically superior to webp
    52     52   		-- we should have a build-time option to serve svg so instances
    53     53   		-- proxied behind nginx can serve svgz, or possibly just straight-up
    54     54   		-- add support for content-encoding headers and pre-compress the
    55     55   		-- damn things before compiling
    56     56   		{'style.css', 'text/css'};
           57  +		{'live.js', 'text/javascript'}; -- rrrrrrrr
    57     58   		{'default-avatar.webp', 'image/webp'};
    58     59   		{'padlock.webp', 'image/webp'};
    59     60   		{'warn.webp', 'image/webp'};
    60     61   		{'query.webp', 'image/webp'};
    61     62   	};
           63  +	default_ui_accent = tonumber(default('parsav_ui_default_accent',323));
    62     64   }
    63     65   if os.getenv('parsav_let_me_be_an_idiot') == "i know what i'm doing" then
    64     66   	conf.braingeniousmode = true -- SOUND GENERAL QUARTERS
    65     67   end
    66     68   if u.ping '.fslckout' or u.ping '_FOSSIL_' then
    67     69   	if u.ping '_FOSSIL_' then default_os = 'windows' end
    68     70   	conf.build.branch = u.exec { 'fossil', 'branch', 'current' }