reuters-graphics / bluprint_graphics-kit

SvelteKit rig for graphics and newsapps
https://reuters-graphics.github.io/docs_graphics-kit/
21 stars 3 forks source link

Env class? #42

Closed hobbes7878 closed 2 years ago

hobbes7878 commented 2 years ago

Consider adding a class onto an outer containing element -- article, maybe -- that represents the environment the page is built for. Something like: env-dev, env-rngs or env-aws.

This helps if you're writing SCSS rules -- especially w/ complex media queries -- that need different behaviour based on the environment.

This was originally pitched by @fcage while he was writing some relative paths in SCSS, but might have some other uses, too.