Giter Club home page Giter Club logo

Comments (2)

 avatar commented on May 30, 2024

Why close this? Using SASS or LESS would seem like a good enhancement. Especially, if we want to keep multiple documentation brandings around (SUSE, OpenSUSE, DAPS).

Preprocessors in General

Pro

  • Additional features such as variables, loops, nesting structures that make writing/maintaining CSS more of a pleasure, less of a mess

Con

  • May make debugging a bit harder (though using a .map file should be possible -- need to investigate)
  • Nesting features may lead stylesheet authors to write longer selectors that perform worse (though that can obviously be mitigated)
  • Additional step/dependencies before you get output (however, since the stylesheets now have a make process of their own anyway, this point is moot)

LESS

Pro

  • CSS-compatible -> we could start using it by adding a preprocessor, and then go from there
  • Great documentation

Con

  • Syntax is more error-prone than SASS's
  • A little less powerful
  • Dependence on NPM-installed packages [there is also python-lesscpy; but if we're adding packages from NPM, autoprefixer is pretty darn great too]

SASS/SCSS

Pro

  • More Python-like syntax (no brackets, no semicolons) -- makes it easier to work
  • Available as an RPM-packaged Ruby Gem

Con

  • Can't start using it right away, as the syntax is different from CSS
  • Much less great documentation

from suse-xsl.

tomschr avatar tomschr commented on May 30, 2024

This is already in place for the suse2022-ns variant.

from suse-xsl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.