Modernize asciidoctor.css

Posted by cristatus on
URL: https://discuss.asciidoctor.org/Modernize-asciidoctor-css-tp7890.html

Hi all,

I have been using Asciidoctor for documentation purpose since long but I always found it difficult to embed the generated docs because of conflicting and global css rules generated by asciidoctor.

I am thinking of forking asciidoctor-style-factory with following goals:

1. only keep asciidoctor.scss
2. remove compass dependency
3. migrate to node-sass
4. remove foundation dependency and copy required mixing/rules (there seems to be only few)
5. use css variables to make it easy to customize (only works with modern browsers)
6. provide 4 variants

The variants (theme):

1. default theme - like current one with minimal difference (because css variables are not sass)
2. light theme - with different colors than default one
3. dark theme - as the name says
4. high-contrast theme - to make it more readable for visually impaired individuals

I did some work in this direction but would like to hear from you guys for some suggestions.

Regards
--
Amit