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
…#1695)
# What it does
This swaps out deprecated sass functions and syntax for their modern
counterparts.
# Why it is important
The times are a-changin' and so must we.
# UI Change Screenshot
An example of the deprecation message:
![Screenshot 2024-10-05 at 3 48
51 PM](https://github.com/user-attachments/assets/cc708920-95b4-4566-8140-0a6cdf321faf)
# Implementation notes
[Sass has a migration tool for these
changes](https://sass-lang.com/documentation/cli/migrator/) that I ran
on the affected files. The TL;DR of these changes is that `darken`,
`lighten`, and using `/` for division are all deprecated.
This PR looks super huge and it kind of is. Our primary css framework
(Spectre CSS) hasn't had an update in about 4 years and deprecation
warnings in the package were showing up in our build process. I copied
the main scss code from the repo into our `app/assets` and ran the
migration tool on those.
This is kind of a short term fix to get rid of some noise. Longer term,
we should migrate off of Spectre to something else ([I've added an issue
for
this](#1694)).
Why?
Spectre CSS has gone about 4 years without an update and CSS practices are changing, so we should find a solid, modern CSS approach and go with it.
The text was updated successfully, but these errors were encountered: