Skip to content

NewFolder 1.2 - We live in a modern world, baby!

Compare
Choose a tag to compare
@EzequielBruni EzequielBruni released this 12 Mar 06:26
· 18 commits to master since this release

NewFolder 1.2 is a step in a new direction. I've been using LESS and then SASS since I first heard about them, but native CSS is slowly catching up with what preprocessors can do, thanks to calc(), expanded media queries, new compositing options, and more. Preprocessors can still do things that pure CSS can't, though, so the switch is not complete.

However, I've done a few important things:

  • I've implemented a dark mode with @media (prefers-color-scheme: dark) {}. This dark mode makes use of...
  • The new CSS color variables. I'm not using SASS variables anymore.
  • I've also implemented CSS variables for typography, and switched the fluid type scaling method to clamp().
  • I also updated the SASS mixins for the dark mode.

SASS/SCSS' lighten() and darken() operations are being replaced (temporarily) by this incredibly silly stopgap measure: stupidLighten & stupidDarken.