[PATCH PoC] Use webassets and lesscpy to precompile LESS into CSS and (optionally) minify JavaScript

Andrew Shadura andrew at shadura.me
Mon Apr 27 06:18:48 EDT 2015


Hello,

On Mon, 27 Apr 2015 12:12:10 +0200
Andrew Shadura <andrew at shadura.me> wrote:

> diff --git a/kallithea/public/css/kallithea.less
> b/kallithea/public/css/kallithea.less new file mode 100644
> --- /dev/null
> +++ b/kallithea/public/css/kallithea.less
> @@ -0,0 +1,6 @@
> +// main lesscss style sheet for lesscss_example
> +
> + at color: #ccc;
> + at border: thin solid black;
> +
> +blockquote {background-color: @color; border: @border;}

This generates the following file as kallithea/public/gen/kallithea.css:

blockquote {
 background-color: #cccccc;
 border: thin solid black;
}

-- 
Cheers,
  Andrew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://lists.sfconservancy.org/pipermail/kallithea-general/attachments/20150427/8d365007/attachment-0001.sig>


More information about the kallithea-general mailing list