1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-08-03 16:38:31 +00:00

migrate off of deprecated sass @imports

used `sass-migrator` and some manual intervention to migrate all of the
`@import`s to `@use` statements.

1. needed to prefix all of the `styles/main.scss` imports to use a
   relative path (i.e. `../../../../styles/main.scss`
2. needed to add a `@use "container"` to `styles/tab-container` so it
   could resolve its `@extend`s
    - not sure if this was just an ordering issue or what, but it works
This commit is contained in:
lemonslut 2025-06-07 15:22:36 -06:00
parent 6c48940f91
commit d078d6e3a9
No known key found for this signature in database
10 changed files with 55 additions and 50 deletions

View file

@ -1,3 +1,4 @@
@use "sass:meta";
@font-face {
font-family: 'ffz-fontello';
src: url('~res/font/ffz-fontello.woff2') format('woff2'),
@ -94,7 +95,7 @@
}
}
@import "./fontello/ffz-fontello-codes.scss";
@include meta.load-css("fontello/ffz-fontello-codes.scss");
.ffz-i-pd-1:before { margin-right: 1rem }
.ffz-i-pd-2:before { margin-right: 2rem }