Skip to content

Commit 0b5f742

Browse files
committed
Stop using scss since the bug has been fixed in next (I think)
1 parent 0f5b410 commit 0b5f742

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

src/assets/dsfr_plus_icons.scss

Lines changed: 0 additions & 3 deletions
This file was deleted.

src/next-appdir/DsfrHead.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,7 @@ import { getScriptToRunAsap } from "../useIsDark/scriptToRunAsap";
88
import { fontUrlByFileBasename } from "./zz_internal/fontUrlByFileBasename";
99
import { getDefaultColorSchemeServerSide } from "./zz_internal/defaultColorScheme";
1010
import { setLink, type RegisteredLinkProps } from "../link";
11-
//NOTE: As of now there is no way to enforce ordering in Next Appdir
12-
//See: https://github.com/vercel/next.js/issues/16630
13-
// @import url(...) doesn't work. Using Sass and @use is our last resort.
14-
import "../assets/dsfr_plus_icons.scss";
11+
import "../assets/dsfr_plus_icons.css";
1512

1613
export type DsfrHeadProps = {
1714
/** If not provided no fonts are preloaded.

0 commit comments

Comments
 (0)