add initial content
This commit is contained in:
parent
78191f44bc
commit
672fdc2201
59 changed files with 4016 additions and 19 deletions
|
|
@ -1,5 +1,68 @@
|
|||
// @ts-check
|
||||
import { defineConfig } from 'astro/config';
|
||||
import { defineConfig, fontProviders } from 'astro/config';
|
||||
|
||||
// https://astro.build/config
|
||||
export default defineConfig({});
|
||||
export default defineConfig({
|
||||
fonts: [
|
||||
{
|
||||
provider: fontProviders.local(),
|
||||
name: "Archivo",
|
||||
cssVariable: "--font-archivo",
|
||||
fallbacks: [ "serif" ],
|
||||
options: {
|
||||
variants: [
|
||||
{
|
||||
src: [ "./src/assets/fonts/archivo/woff2/Archivo-Regular.woff2" ],
|
||||
weight: "normal",
|
||||
style: "normal",
|
||||
},
|
||||
{
|
||||
src: [ "./src/assets/fonts/archivo/woff2/Archivo-Bold.woff2" ],
|
||||
weight: "bold",
|
||||
style: "normal",
|
||||
},
|
||||
{
|
||||
src: [ "./src/assets/fonts/archivo/woff2/Archivo-Italic.woff2" ],
|
||||
weight: "normal",
|
||||
style: "italic",
|
||||
},
|
||||
{
|
||||
src: [ "./src/assets/fonts/archivo/woff2/Archivo-BoldItalic.woff2" ],
|
||||
weight: "bold",
|
||||
style: "italic",
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
{
|
||||
provider: fontProviders.local(),
|
||||
name: "Nimbus Sans L",
|
||||
cssVariable: "--font-nimbus-sans-l",
|
||||
fallbacks: [ "sans-serif" ],
|
||||
options: {
|
||||
variants: [
|
||||
{
|
||||
src: [ "./src/assets/fonts/nimbus-sans-l/NimbusSanL-Regu.ttf" ],
|
||||
weight: "normal",
|
||||
style: "normal",
|
||||
},
|
||||
{
|
||||
src: [ "./src/assets/fonts/nimbus-sans-l/NimbusSanL-ReguItal.ttf" ],
|
||||
weight: "normal",
|
||||
style: "italic",
|
||||
},
|
||||
{
|
||||
src: [ "./src/assets/fonts/nimbus-sans-l/NimbusSanL-Bold.ttf" ],
|
||||
weight: "bold",
|
||||
style: "normal",
|
||||
},
|
||||
{
|
||||
src: [ "./src/assets/fonts/nimbus-sans-l/NimbusSanL-BoldItal.ttf" ],
|
||||
weight: "bold",
|
||||
style: "italic",
|
||||
},
|
||||
]
|
||||
},
|
||||
}
|
||||
],
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue