Skip to content

Commit 527d9c5

Browse files
fix: Move font import to top of CSS file(#135)
Some bundlers such as parcel throw error: `@import rules must precede all rules aside from @charset and @layer statements ` Resolve this issue by moving the line to the top
1 parent 0ddf9b7 commit 527d9c5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/lib/index.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// Too keep all the important CSS to boot and makes sure things arent repeated
2+
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');
23
@import '../styles/light-theme';
34
@import '../styles/dark-theme';
45
@import '../styles/misc-colors';
5-
6-
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');

0 commit comments

Comments
 (0)