[Libreoffice-bugs] [Bug 125696] Introduce CSS preprocessor

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Aug 22 17:13:44 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=125696

Buovjaga <todventtu at suomi24.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |todventtu at suomi24.fi

--- Comment #5 from Buovjaga <todventtu at suomi24.fi> ---
I don't think there is much need for a preprocessor nowadays. Responding to
some points in the raygun.com blog:

1. https://caniuse.com/#feat=css-variables

2. @import causing multiple requests is a non-problem in the age of HTTP/2:
https://discourse.wicg.io/t/is-css-import-still-considered-as-an-anti-pattern/1967/5

3. Whole article in general, but as a comment to mixins:
https://cathydutton.co.uk/posts/why-i-stopped-using-sass/
"CSS custom properties can do more than just replace pre processor variables,
they have the added bonus of being updated dynamically (instead of compiled at
build). This allows values to be altered at run time with Javascript and to be
scoped without the need for mixins and functions to outwit the cascade."

5. https://caniuse.com/#feat=calc

Postprocessing [1] might be more useful, but it is always a danger to introduce
more moving parts and complicate the build process.

[1] https://postcss.org/

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190822/d30a678e/attachment-0001.html>


More information about the Libreoffice-bugs mailing list