Dear Andrew,
Thanks for your continued work to get the CSS on firm ground. If you like #3,
then so do I. But I hope we hear more from those who have done more of the work
on the CSS to-date.
Selfish questions:
1. I'm very careful about backward-compatibility, and it is a lot of tedious
work, but we have a variety of tricks at our disposal. I'll want to know
sometime about more details of how the publisher file will change. Drop-In is
fine, next Tuesday would work for me.
2. When a developer edits the schema, I generally create the four derivative
files and append that to their work. It is a service I provide since I know
those tools fairly well. If a developer makes a change to the CSS, whose
responsibility is the bundling? What does that process look like? What are th
tools and the steps? Does the HTML need to change, like we do for Runestone
CSS/JS currently?
Thanks,
Rob
On 7/24/24 07:40, Andrew Scholer wrote:
> I have been experimenting with different options for CSS bundling and reached a
> point where I see a few possible paths for what I PR. So I am reaching out for
> feedback/guidance.
>
> For those who were not present at earlier discussions about using a program to
> bundle individual CSS files into fewer target files, the arguments for it are:
>
> 1. Running a CSS bundling tool makes it easier to have more modular CSS without
> requiring the browser to deal with an increasing number of CSS files. More
> modular CSS building blocks makes it easier to reuse styles across different
> targets without copy/paste.
> 2. It enables placing the CSS needed for a book into one consistently named
> file (theme.css) - making it easy to loaded in any context where the styling
> information is required. This would help in situations like when a Runestone
> assignment loads up individual exercises that have HTML rendered by PreTeXt
> but displays them outside of a PreTeXt book page - right now Runestone has
> no way of knowing what CSS to grab.
> 3. It is required for using SCSS or similar tools that make
> building/maintaining a CSS codebase easier.
>
>
> It also represents a good time to consider streamlining the theme/color options
> for books. The goals of this would be to simplify the design space for people
> creating themes and thus simplify the development of things like dark mode
> support. That proposal is in this document:
>
https://docs.google.com/document/d/1ufTh3OZC3pMcTNVz5fED_BG2Z1gO2G0GwGJDo8tN7ro/edit?usp=sharing <
https://docs.google.com/document/d/1ufTh3OZC3pMcTNVz5fED_BG2Z1gO2G0GwGJDo8tN7ro/edit?usp=sharing>
> <
http://computerscience.chemeketa.edu/people/andrew-scholer/>
>
> --
> You received this message because you are subscribed to the Google Groups
> "PreTeXt development" group.
> To unsubscribe from this group and stop receiving emails from it, send an email
> to
pretext-dev...@googlegroups.com
> <mailto:
pretext-dev...@googlegroups.com>.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/pretext-dev/CACm44N9BkD0rPDsWT4Wrz2mmotVnXe56rj20Z%2B8jTZxGgtWZ3Q%40mail.gmail.com <
https://groups.google.com/d/msgid/pretext-dev/CACm44N9BkD0rPDsWT4Wrz2mmotVnXe56rj20Z%2B8jTZxGgtWZ3Q%40mail.gmail.com?utm_medium=email&utm_source=footer>.