mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2025-04-02 14:41:37 +00:00
Fix: Inline external CSS files. Previous builders had issues with this; they couldn't resolve any URLs in the external files, such as font files.
This commit is contained in:
parent
f35dc406a5
commit
6e224c35ea
@ -45,6 +45,8 @@
|
||||
"includePaths": ["src/@fuse/styles"]
|
||||
},
|
||||
"styles": [
|
||||
"src/styles/splash-screen.css",
|
||||
"src/styles/inter.css",
|
||||
"src/@fuse/styles/tailwind.scss",
|
||||
"src/@fuse/styles/themes.scss",
|
||||
"src/styles/vendors.scss",
|
||||
|
@ -23,9 +23,7 @@
|
||||
<link rel="icon" type="image/png" href="favicon-32x32.png" />
|
||||
|
||||
<!-- Fonts -->
|
||||
<link href="fonts/inter/inter.css" rel="stylesheet" />
|
||||
<link href="https://fonts.gstatic.com" rel="preconnect" />
|
||||
|
||||
<link
|
||||
href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,400;0,500;0,600;1,400&display=swap"
|
||||
rel="stylesheet"
|
||||
@ -36,9 +34,6 @@
|
||||
href="https://fonts.googleapis.com/icon?family=Material+Icons"
|
||||
rel="stylesheet"
|
||||
/>
|
||||
|
||||
<!-- Splash screen styles -->
|
||||
<link href="styles/splash-screen.css" rel="stylesheet" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
@ -4,7 +4,8 @@
|
||||
font-display: swap;
|
||||
font-style: normal;
|
||||
font-named-instance: 'Regular';
|
||||
src: url("Inter-roman.var.woff2?v=3.18") format("woff2");
|
||||
src: url('../../public/fonts/inter/Inter-roman.var.woff2?v=3.18')
|
||||
format('woff2');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
@ -13,5 +14,6 @@
|
||||
font-display: swap;
|
||||
font-style: italic;
|
||||
font-named-instance: 'Italic';
|
||||
src: url("Inter-italic.var.woff2?v=3.18") format("woff2");
|
||||
src: url('../../public/fonts/inter/Inter-italic.var.woff2?v=3.18')
|
||||
format('woff2');
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user