You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
linkding mostly uses SASS because the CSS library that linkding uses (Spectre.css) is based on that, so it was a necessity to customize the SASS variables exposed by the library. It's also using some SASS helper functions, for example to modify colors.
Over time I have added a lot of customizations, and Spectre.css doesn't really get any improvements anymore, so it could be an option to "eject" the Spectre related CSS, in the same step replace SASS with CSS variables, and hard-code / extract the stuff calculated by functions. Still quite a bit of effort. It would help speed up the Docker build, which seems to be 50% building lib-sass, but I don't see myself spending time on this soon.
As evidenced here > https://twitter.com/dhh/status/1735435171342737866 MDN writes more about it > https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_nesting/Using_CSS_nesting
Modern CSS manages to nest CSS; so there shouldn't really be a need for a sass processor. You could use plain CSS.
The text was updated successfully, but these errors were encountered: