The same CSS function, two colors — depending on dark mode. Sass resolves at build time, native @function at render time. That's the new part, not the catch-up.
#CSS #ModernCSS #Frontend #WebDev #WebDevelopment
With live demos: www.rotecodefraktion.de/en/blog/css-...
With @function you define your own CSS functions. The real novelty is not that CSS rebuilds Sass, but that a CSS function decides in the browser instead of at build time.