Re: Modernize asciidoctor.css

Posted by mojavelinux on
URL: https://discuss.asciidoctor.org/Modernize-asciidoctor-css-tp7890p7912.html

Amit,

Thank you for volunteering to do this work.

It would be best if you just started a new project. The stylesheet factory was developed to create the default stylesheet for Asciidoctor and continues to serve that purpose. While it included some additional themes, they were very much just an experiment. I no longer maintain those themes, and as you've pointed out, the technology is quite old and cumbersome. There's no reason to continue propagating that legacy set up. It would be better just to start something new and propose it as a replacement.

Best Regards,

-Dan

On Mon, Apr 13, 2020 at 9:17 AM cristatus [via Asciidoctor :: Discussion] <[hidden email]> wrote:
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




If you reply to this email, your message will be added to the discussion below:
https://discuss.asciidoctor.org/Modernize-asciidoctor-css-tp7890.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML


--
Dan Allen | @mojavelinux | https://twitter.com/mojavelinux