mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-09 20:29:36 +02:00
remove most built-in fonts, adjust NotoSans weight
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -6,15 +6,8 @@ export type Font = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export const FONT_OPTIONS: Font[] = [
|
export const FONT_OPTIONS: Font[] = [
|
||||||
{ label: 'Archivo', value: 'Archivo' },
|
|
||||||
{ label: 'Fredoka', value: 'Fredoka' },
|
|
||||||
{ label: 'Inter', value: 'Inter' },
|
{ label: 'Inter', value: 'Inter' },
|
||||||
{ label: 'League Spartan', value: 'League Spartan' },
|
|
||||||
{ label: 'Lexend', value: 'Lexend' },
|
|
||||||
{ label: 'Poppins', value: 'Poppins' },
|
{ label: 'Poppins', value: 'Poppins' },
|
||||||
{ label: 'Raleway', value: 'Raleway' },
|
|
||||||
{ label: 'Sora', value: 'Sora' },
|
|
||||||
{ label: 'Work Sans', value: 'Work Sans' },
|
|
||||||
];
|
];
|
||||||
|
|
||||||
export const FontValueSchema = z.enum(
|
export const FontValueSchema = z.enum(
|
||||||
|
|||||||
@@ -119,54 +119,12 @@ button {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
|
||||||
font-family: Archivo;
|
|
||||||
font-weight: 100 1000;
|
|
||||||
src: url('../../../assets/fonts/Archivo-VariableFont_wdth,wght.woff2');
|
|
||||||
}
|
|
||||||
|
|
||||||
@font-face {
|
|
||||||
font-family: Raleway;
|
|
||||||
font-weight: 100 1000;
|
|
||||||
src: url('../../../assets/fonts/Raleway-VariableFont_wght.woff2');
|
|
||||||
}
|
|
||||||
|
|
||||||
@font-face {
|
|
||||||
font-family: Fredoka;
|
|
||||||
font-weight: 100 1000;
|
|
||||||
src: url('../../../assets/fonts/Fredoka-VariableFont_wdth,wght.woff2');
|
|
||||||
}
|
|
||||||
|
|
||||||
@font-face {
|
|
||||||
font-family: 'League Spartan';
|
|
||||||
font-weight: 100 1000;
|
|
||||||
src: url('../../../assets/fonts/LeagueSpartan-VariableFont_wght.woff2');
|
|
||||||
}
|
|
||||||
|
|
||||||
@font-face {
|
|
||||||
font-family: Lexend;
|
|
||||||
font-weight: 100 1000;
|
|
||||||
src: url('../../../assets/fonts/Lexend-VariableFont_wght.woff2');
|
|
||||||
}
|
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: Inter;
|
font-family: Inter;
|
||||||
font-weight: 100 1000;
|
font-weight: 100 1000;
|
||||||
src: url('../../../assets/fonts/Inter-VariableFont_slnt,wght.woff2');
|
src: url('../../../assets/fonts/Inter-VariableFont_slnt,wght.woff2');
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
|
||||||
font-family: Sora;
|
|
||||||
font-weight: 100 1000;
|
|
||||||
src: url('../../../assets/fonts/Sora-VariableFont_wght.woff2');
|
|
||||||
}
|
|
||||||
|
|
||||||
@font-face {
|
|
||||||
font-family: 'Work Sans';
|
|
||||||
font-weight: 100 1000;
|
|
||||||
src: url('../../../assets/fonts/WorkSans-VariableFont_wght.woff2');
|
|
||||||
}
|
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: Poppins;
|
font-family: Poppins;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
@@ -175,6 +133,14 @@ button {
|
|||||||
font-display: swap;
|
font-display: swap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: Poppins;
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 500;
|
||||||
|
src: url('../../../assets/fonts/Poppins-Medium.woff2');
|
||||||
|
font-display: swap;
|
||||||
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: Poppins;
|
font-family: Poppins;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
@@ -215,7 +181,40 @@ button {
|
|||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Noto Sans JP';
|
font-family: 'Noto Sans JP';
|
||||||
font-weight: 100 900;
|
font-variation-settings: 'wght' 500;
|
||||||
|
font-weight: 400;
|
||||||
|
src: url('../../../assets/fonts/NotoSansJP-VariableFont_wght.woff2');
|
||||||
|
unicode-range: U+3000-9FFF, U+FF00-FFEF; /* Japanese characters */
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Noto Sans JP';
|
||||||
|
font-variation-settings: 'wght' 600;
|
||||||
|
font-weight: 500;
|
||||||
|
src: url('../../../assets/fonts/NotoSansJP-VariableFont_wght.woff2');
|
||||||
|
unicode-range: U+3000-9FFF, U+FF00-FFEF; /* Japanese characters */
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Noto Sans JP';
|
||||||
|
font-variation-settings: 'wght' 700;
|
||||||
|
font-weight: 600;
|
||||||
|
src: url('../../../assets/fonts/NotoSansJP-VariableFont_wght.woff2');
|
||||||
|
unicode-range: U+3000-9FFF, U+FF00-FFEF; /* Japanese characters */
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Noto Sans JP';
|
||||||
|
font-variation-settings: 'wght' 800;
|
||||||
|
font-weight: 700;
|
||||||
|
src: url('../../../assets/fonts/NotoSansJP-VariableFont_wght.woff2');
|
||||||
|
unicode-range: U+3000-9FFF, U+FF00-FFEF; /* Japanese characters */
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Noto Sans JP';
|
||||||
|
font-variation-settings: 'wght' 900;
|
||||||
|
font-weight: 800 1000;
|
||||||
src: url('../../../assets/fonts/NotoSansJP-VariableFont_wght.woff2');
|
src: url('../../../assets/fonts/NotoSansJP-VariableFont_wght.woff2');
|
||||||
unicode-range: U+3000-9FFF, U+FF00-FFEF; /* Japanese characters */
|
unicode-range: U+3000-9FFF, U+FF00-FFEF; /* Japanese characters */
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user