Comments (2)
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.
This is already in place for the suse2022-ns variant.
from suse-xsl.
Related Issues (20)
- Adapt the SBP stylesheets in 2.87.0 HOT 1
- performance="optinal" not shown for substeps
- Add download link to PDF in HTML output
- AsciiDoc footnoteref renders without text HOT 6
- Broken link in the ReadMe file HOT 1
- Add book titlepage for TRD stylesheets
- Show publication date after title
- Formal titles in abstract doesn't appear
- Hamburger icon not rendered clearly in HTML HOT 2
- TRD: Issues on cover page for book for meta
- Alignment of list items in abstract are wrong
- Use <revhistory> for changelog?
- Remove double full stop for procedures in appendices
- Overlapping titles on main page for PDFs
- Fix font size for cross-references ZH-TW
- Remove obsolete comma for x-ref to chapter from another book
- Error for superscript text in Asian languages
- Different length for same text in PDF HOT 1
- Add/change formalpara/title for zh-cn/zh-tw
- Wrong parenthesis for zh-cn/zh-tw (optional step)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from suse-xsl.