chore: replace woff to woff2 (#11328)
This commit is contained in:
@@ -11,181 +11,181 @@ export const AffineCanvasTextFonts: FontConfig[] = [
|
|||||||
// Inter, https://fonts.cdnfonts.com/css/inter?styles=29139,29134,29135,29136,29140,29141
|
// Inter, https://fonts.cdnfonts.com/css/inter?styles=29139,29134,29135,29136,29140,29141
|
||||||
{
|
{
|
||||||
font: FontFamily.Inter,
|
font: FontFamily.Inter,
|
||||||
url: 'https://cdn.affine.pro/fonts/Inter-Light-BETA.woff',
|
url: 'https://cdn.affine.pro/fonts/Inter-Light-BETA.woff2',
|
||||||
weight: FontWeight.Light,
|
weight: FontWeight.Light,
|
||||||
style: FontStyle.Normal,
|
style: FontStyle.Normal,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
font: FontFamily.Inter,
|
font: FontFamily.Inter,
|
||||||
url: 'https://cdn.affine.pro/fonts/Inter-Regular.woff',
|
url: 'https://cdn.affine.pro/fonts/Inter-Regular.woff2',
|
||||||
weight: FontWeight.Regular,
|
weight: FontWeight.Regular,
|
||||||
style: FontStyle.Normal,
|
style: FontStyle.Normal,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
font: FontFamily.Inter,
|
font: FontFamily.Inter,
|
||||||
url: 'https://cdn.affine.pro/fonts/Inter-SemiBold.woff',
|
url: 'https://cdn.affine.pro/fonts/Inter-SemiBold.woff2',
|
||||||
weight: FontWeight.SemiBold,
|
weight: FontWeight.SemiBold,
|
||||||
style: FontStyle.Normal,
|
style: FontStyle.Normal,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
font: FontFamily.Inter,
|
font: FontFamily.Inter,
|
||||||
url: 'https://cdn.affine.pro/fonts/Inter-LightItalic-BETA.woff',
|
url: 'https://cdn.affine.pro/fonts/Inter-LightItalic-BETA.woff2',
|
||||||
weight: FontWeight.Light,
|
weight: FontWeight.Light,
|
||||||
style: FontStyle.Italic,
|
style: FontStyle.Italic,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
font: FontFamily.Inter,
|
font: FontFamily.Inter,
|
||||||
url: 'https://cdn.affine.pro/fonts/Inter-Italic.woff',
|
url: 'https://cdn.affine.pro/fonts/Inter-Italic.woff2',
|
||||||
weight: FontWeight.Regular,
|
weight: FontWeight.Regular,
|
||||||
style: FontStyle.Italic,
|
style: FontStyle.Italic,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
font: FontFamily.Inter,
|
font: FontFamily.Inter,
|
||||||
url: 'https://cdn.affine.pro/fonts/Inter-SemiBoldItalic.woff',
|
url: 'https://cdn.affine.pro/fonts/Inter-SemiBoldItalic.woff2',
|
||||||
weight: FontWeight.SemiBold,
|
weight: FontWeight.SemiBold,
|
||||||
style: FontStyle.Italic,
|
style: FontStyle.Italic,
|
||||||
},
|
},
|
||||||
// Kalam, https://fonts.cdnfonts.com/css/kalam?styles=15166,170689,170687
|
// Kalam, https://fonts.cdnfonts.com/css/kalam?styles=15166,170689,170687
|
||||||
{
|
{
|
||||||
font: FontFamily.Kalam,
|
font: FontFamily.Kalam,
|
||||||
url: 'https://cdn.affine.pro/fonts/Kalam-Light.woff',
|
url: 'https://cdn.affine.pro/fonts/Kalam-Light.woff2',
|
||||||
weight: FontWeight.Light,
|
weight: FontWeight.Light,
|
||||||
style: FontStyle.Normal,
|
style: FontStyle.Normal,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
font: FontFamily.Kalam,
|
font: FontFamily.Kalam,
|
||||||
url: 'https://cdn.affine.pro/fonts/Kalam-Regular.woff',
|
url: 'https://cdn.affine.pro/fonts/Kalam-Regular.woff2',
|
||||||
weight: FontWeight.Regular,
|
weight: FontWeight.Regular,
|
||||||
style: FontStyle.Normal,
|
style: FontStyle.Normal,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
font: FontFamily.Kalam,
|
font: FontFamily.Kalam,
|
||||||
url: 'https://cdn.affine.pro/fonts/Kalam-Bold.woff',
|
url: 'https://cdn.affine.pro/fonts/Kalam-Bold.woff2',
|
||||||
weight: FontWeight.SemiBold,
|
weight: FontWeight.SemiBold,
|
||||||
style: FontStyle.Normal,
|
style: FontStyle.Normal,
|
||||||
},
|
},
|
||||||
// Satoshi, https://fonts.cdnfonts.com/css/satoshi?styles=135009,135004,135005,135006,135002,135003
|
// Satoshi, https://fonts.cdnfonts.com/css/satoshi?styles=135009,135004,135005,135006,135002,135003
|
||||||
{
|
{
|
||||||
font: FontFamily.Satoshi,
|
font: FontFamily.Satoshi,
|
||||||
url: 'https://cdn.affine.pro/fonts/Satoshi-Light.woff',
|
url: 'https://cdn.affine.pro/fonts/Satoshi-Light.woff2',
|
||||||
weight: FontWeight.Light,
|
weight: FontWeight.Light,
|
||||||
style: FontStyle.Normal,
|
style: FontStyle.Normal,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
font: FontFamily.Satoshi,
|
font: FontFamily.Satoshi,
|
||||||
url: 'https://cdn.affine.pro/fonts/Satoshi-Regular.woff',
|
url: 'https://cdn.affine.pro/fonts/Satoshi-Regular.woff2',
|
||||||
weight: FontWeight.Regular,
|
weight: FontWeight.Regular,
|
||||||
style: FontStyle.Normal,
|
style: FontStyle.Normal,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
font: FontFamily.Satoshi,
|
font: FontFamily.Satoshi,
|
||||||
url: 'https://cdn.affine.pro/fonts/Satoshi-Bold.woff',
|
url: 'https://cdn.affine.pro/fonts/Satoshi-Bold.woff2',
|
||||||
weight: FontWeight.SemiBold,
|
weight: FontWeight.SemiBold,
|
||||||
style: FontStyle.Normal,
|
style: FontStyle.Normal,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
font: FontFamily.Satoshi,
|
font: FontFamily.Satoshi,
|
||||||
url: 'https://cdn.affine.pro/fonts/Satoshi-LightItalic.woff',
|
url: 'https://cdn.affine.pro/fonts/Satoshi-LightItalic.woff2',
|
||||||
weight: FontWeight.Light,
|
weight: FontWeight.Light,
|
||||||
style: FontStyle.Italic,
|
style: FontStyle.Italic,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
font: FontFamily.Satoshi,
|
font: FontFamily.Satoshi,
|
||||||
url: 'https://cdn.affine.pro/fonts/Satoshi-Italic.woff',
|
url: 'https://cdn.affine.pro/fonts/Satoshi-Italic.woff2',
|
||||||
weight: FontWeight.Regular,
|
weight: FontWeight.Regular,
|
||||||
style: FontStyle.Italic,
|
style: FontStyle.Italic,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
font: FontFamily.Satoshi,
|
font: FontFamily.Satoshi,
|
||||||
url: 'https://cdn.affine.pro/fonts/Satoshi-BoldItalic.woff',
|
url: 'https://cdn.affine.pro/fonts/Satoshi-BoldItalic.woff2',
|
||||||
weight: FontWeight.SemiBold,
|
weight: FontWeight.SemiBold,
|
||||||
style: FontStyle.Italic,
|
style: FontStyle.Italic,
|
||||||
},
|
},
|
||||||
// Poppins, https://fonts.cdnfonts.com/css/poppins?styles=20394,20389,20390,20391,20395,20396
|
// Poppins, https://fonts.cdnfonts.com/css/poppins?styles=20394,20389,20390,20391,20395,20396
|
||||||
{
|
{
|
||||||
font: FontFamily.Poppins,
|
font: FontFamily.Poppins,
|
||||||
url: 'https://cdn.affine.pro/fonts/Poppins-Light.woff',
|
url: 'https://cdn.affine.pro/fonts/Poppins-Light.woff2',
|
||||||
weight: FontWeight.Light,
|
weight: FontWeight.Light,
|
||||||
style: FontStyle.Normal,
|
style: FontStyle.Normal,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
font: FontFamily.Poppins,
|
font: FontFamily.Poppins,
|
||||||
url: 'https://cdn.affine.pro/fonts/Poppins-Regular.woff',
|
url: 'https://cdn.affine.pro/fonts/Poppins-Regular.woff2',
|
||||||
weight: FontWeight.Regular,
|
weight: FontWeight.Regular,
|
||||||
style: FontStyle.Normal,
|
style: FontStyle.Normal,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
font: FontFamily.Poppins,
|
font: FontFamily.Poppins,
|
||||||
url: 'https://cdn.affine.pro/fonts/Poppins-Medium.woff',
|
url: 'https://cdn.affine.pro/fonts/Poppins-Medium.woff2',
|
||||||
weight: FontWeight.Medium,
|
weight: FontWeight.Medium,
|
||||||
style: FontStyle.Normal,
|
style: FontStyle.Normal,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
font: FontFamily.Poppins,
|
font: FontFamily.Poppins,
|
||||||
url: 'https://cdn.affine.pro/fonts/Poppins-SemiBold.woff',
|
url: 'https://cdn.affine.pro/fonts/Poppins-SemiBold.woff2',
|
||||||
weight: FontWeight.SemiBold,
|
weight: FontWeight.SemiBold,
|
||||||
style: FontStyle.Normal,
|
style: FontStyle.Normal,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
font: FontFamily.Poppins,
|
font: FontFamily.Poppins,
|
||||||
url: 'https://cdn.affine.pro/fonts/Poppins-LightItalic.woff',
|
url: 'https://cdn.affine.pro/fonts/Poppins-LightItalic.woff2',
|
||||||
weight: FontWeight.Light,
|
weight: FontWeight.Light,
|
||||||
style: FontStyle.Italic,
|
style: FontStyle.Italic,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
font: FontFamily.Poppins,
|
font: FontFamily.Poppins,
|
||||||
url: 'https://cdn.affine.pro/fonts/Poppins-Italic.woff',
|
url: 'https://cdn.affine.pro/fonts/Poppins-Italic.woff2',
|
||||||
weight: FontWeight.Regular,
|
weight: FontWeight.Regular,
|
||||||
style: FontStyle.Italic,
|
style: FontStyle.Italic,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
font: FontFamily.Poppins,
|
font: FontFamily.Poppins,
|
||||||
url: 'https://cdn.affine.pro/fonts/Poppins-SemiBoldItalic.woff',
|
url: 'https://cdn.affine.pro/fonts/Poppins-SemiBoldItalic.woff2',
|
||||||
weight: FontWeight.SemiBold,
|
weight: FontWeight.SemiBold,
|
||||||
style: FontStyle.Italic,
|
style: FontStyle.Italic,
|
||||||
},
|
},
|
||||||
// Lora, https://fonts.cdnfonts.com/css/lora-4?styles=50357,50356,50354,50355
|
// Lora, https://fonts.cdnfonts.com/css/lora-4?styles=50357,50356,50354,50355
|
||||||
{
|
{
|
||||||
font: FontFamily.Lora,
|
font: FontFamily.Lora,
|
||||||
url: 'https://cdn.affine.pro/fonts/Lora-Regular.woff',
|
url: 'https://cdn.affine.pro/fonts/Lora-Regular.woff2',
|
||||||
weight: FontWeight.Regular,
|
weight: FontWeight.Regular,
|
||||||
style: FontStyle.Normal,
|
style: FontStyle.Normal,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
font: FontFamily.Lora,
|
font: FontFamily.Lora,
|
||||||
url: 'https://cdn.affine.pro/fonts/Lora-Bold.woff',
|
url: 'https://cdn.affine.pro/fonts/Lora-Bold.woff2',
|
||||||
weight: FontWeight.SemiBold,
|
weight: FontWeight.SemiBold,
|
||||||
style: FontStyle.Normal,
|
style: FontStyle.Normal,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
font: FontFamily.Lora,
|
font: FontFamily.Lora,
|
||||||
url: 'https://cdn.affine.pro/fonts/Lora-Italic.woff',
|
url: 'https://cdn.affine.pro/fonts/Lora-Italic.woff2',
|
||||||
weight: FontWeight.Regular,
|
weight: FontWeight.Regular,
|
||||||
style: FontStyle.Italic,
|
style: FontStyle.Italic,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
font: FontFamily.Lora,
|
font: FontFamily.Lora,
|
||||||
url: 'https://cdn.affine.pro/fonts/Lora-BoldItalic.woff',
|
url: 'https://cdn.affine.pro/fonts/Lora-BoldItalic.woff2',
|
||||||
weight: FontWeight.SemiBold,
|
weight: FontWeight.SemiBold,
|
||||||
style: FontStyle.Italic,
|
style: FontStyle.Italic,
|
||||||
},
|
},
|
||||||
// BebasNeue, https://fonts.cdnfonts.com/css/bebas-neue?styles=169713,17622,17620
|
// BebasNeue, https://fonts.cdnfonts.com/css/bebas-neue?styles=169713,17622,17620
|
||||||
{
|
{
|
||||||
font: FontFamily.BebasNeue,
|
font: FontFamily.BebasNeue,
|
||||||
url: 'https://cdn.affine.pro/fonts/BebasNeue-Light.woff',
|
url: 'https://cdn.affine.pro/fonts/BebasNeue-Light.woff2',
|
||||||
weight: FontWeight.Light,
|
weight: FontWeight.Light,
|
||||||
style: FontStyle.Normal,
|
style: FontStyle.Normal,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
font: FontFamily.BebasNeue,
|
font: FontFamily.BebasNeue,
|
||||||
url: 'https://cdn.affine.pro/fonts/BebasNeue-Regular.woff',
|
url: 'https://cdn.affine.pro/fonts/BebasNeue-Regular.woff2',
|
||||||
weight: FontWeight.Regular,
|
weight: FontWeight.Regular,
|
||||||
style: FontStyle.Normal,
|
style: FontStyle.Normal,
|
||||||
},
|
},
|
||||||
// OrelegaOne, https://fonts.cdnfonts.com/css/orelega-one?styles=148618
|
// OrelegaOne, https://fonts.cdnfonts.com/css/orelega-one?styles=148618
|
||||||
{
|
{
|
||||||
font: FontFamily.OrelegaOne,
|
font: FontFamily.OrelegaOne,
|
||||||
url: 'https://cdn.affine.pro/fonts/OrelegaOne-Regular.woff',
|
url: 'https://cdn.affine.pro/fonts/OrelegaOne-Regular.woff2',
|
||||||
weight: FontWeight.Regular,
|
weight: FontWeight.Regular,
|
||||||
style: FontStyle.Normal,
|
style: FontStyle.Normal,
|
||||||
},
|
},
|
||||||
|
|||||||
Binary file not shown.
BIN
packages/frontend/core/public/fonts/BebasNeue-Light.woff2
Normal file
BIN
packages/frontend/core/public/fonts/BebasNeue-Light.woff2
Normal file
Binary file not shown.
Binary file not shown.
BIN
packages/frontend/core/public/fonts/BebasNeue-Regular.woff2
Normal file
BIN
packages/frontend/core/public/fonts/BebasNeue-Regular.woff2
Normal file
Binary file not shown.
Binary file not shown.
BIN
packages/frontend/core/public/fonts/Inter-Italic.woff2
Normal file
BIN
packages/frontend/core/public/fonts/Inter-Italic.woff2
Normal file
Binary file not shown.
Binary file not shown.
BIN
packages/frontend/core/public/fonts/Inter-Light-BETA.woff2
Normal file
BIN
packages/frontend/core/public/fonts/Inter-Light-BETA.woff2
Normal file
Binary file not shown.
Binary file not shown.
BIN
packages/frontend/core/public/fonts/Inter-LightItalic-BETA.woff2
Normal file
BIN
packages/frontend/core/public/fonts/Inter-LightItalic-BETA.woff2
Normal file
Binary file not shown.
Binary file not shown.
BIN
packages/frontend/core/public/fonts/Inter-Regular.woff2
Normal file
BIN
packages/frontend/core/public/fonts/Inter-Regular.woff2
Normal file
Binary file not shown.
Binary file not shown.
BIN
packages/frontend/core/public/fonts/Inter-SemiBold.woff2
Normal file
BIN
packages/frontend/core/public/fonts/Inter-SemiBold.woff2
Normal file
Binary file not shown.
Binary file not shown.
BIN
packages/frontend/core/public/fonts/Inter-SemiBoldItalic.woff2
Normal file
BIN
packages/frontend/core/public/fonts/Inter-SemiBoldItalic.woff2
Normal file
Binary file not shown.
Binary file not shown.
BIN
packages/frontend/core/public/fonts/Kalam-Bold.woff2
Normal file
BIN
packages/frontend/core/public/fonts/Kalam-Bold.woff2
Normal file
Binary file not shown.
Binary file not shown.
BIN
packages/frontend/core/public/fonts/Kalam-Light.woff2
Normal file
BIN
packages/frontend/core/public/fonts/Kalam-Light.woff2
Normal file
Binary file not shown.
Binary file not shown.
BIN
packages/frontend/core/public/fonts/Kalam-Regular.woff2
Normal file
BIN
packages/frontend/core/public/fonts/Kalam-Regular.woff2
Normal file
Binary file not shown.
Binary file not shown.
BIN
packages/frontend/core/public/fonts/Lora-Bold.woff2
Normal file
BIN
packages/frontend/core/public/fonts/Lora-Bold.woff2
Normal file
Binary file not shown.
Binary file not shown.
BIN
packages/frontend/core/public/fonts/Lora-BoldItalic.woff2
Normal file
BIN
packages/frontend/core/public/fonts/Lora-BoldItalic.woff2
Normal file
Binary file not shown.
Binary file not shown.
BIN
packages/frontend/core/public/fonts/Lora-Italic.woff2
Normal file
BIN
packages/frontend/core/public/fonts/Lora-Italic.woff2
Normal file
Binary file not shown.
Binary file not shown.
BIN
packages/frontend/core/public/fonts/Lora-Regular.woff2
Normal file
BIN
packages/frontend/core/public/fonts/Lora-Regular.woff2
Normal file
Binary file not shown.
Binary file not shown.
BIN
packages/frontend/core/public/fonts/OrelegaOne-Regular.woff2
Normal file
BIN
packages/frontend/core/public/fonts/OrelegaOne-Regular.woff2
Normal file
Binary file not shown.
Binary file not shown.
BIN
packages/frontend/core/public/fonts/Poppins-Italic.woff2
Normal file
BIN
packages/frontend/core/public/fonts/Poppins-Italic.woff2
Normal file
Binary file not shown.
Binary file not shown.
BIN
packages/frontend/core/public/fonts/Poppins-Light.woff2
Normal file
BIN
packages/frontend/core/public/fonts/Poppins-Light.woff2
Normal file
Binary file not shown.
Binary file not shown.
BIN
packages/frontend/core/public/fonts/Poppins-LightItalic.woff2
Normal file
BIN
packages/frontend/core/public/fonts/Poppins-LightItalic.woff2
Normal file
Binary file not shown.
Binary file not shown.
BIN
packages/frontend/core/public/fonts/Poppins-Medium.woff2
Normal file
BIN
packages/frontend/core/public/fonts/Poppins-Medium.woff2
Normal file
Binary file not shown.
Binary file not shown.
BIN
packages/frontend/core/public/fonts/Poppins-Regular.woff2
Normal file
BIN
packages/frontend/core/public/fonts/Poppins-Regular.woff2
Normal file
Binary file not shown.
Binary file not shown.
BIN
packages/frontend/core/public/fonts/Poppins-SemiBold.woff2
Normal file
BIN
packages/frontend/core/public/fonts/Poppins-SemiBold.woff2
Normal file
Binary file not shown.
Binary file not shown.
BIN
packages/frontend/core/public/fonts/Poppins-SemiBoldItalic.woff2
Normal file
BIN
packages/frontend/core/public/fonts/Poppins-SemiBoldItalic.woff2
Normal file
Binary file not shown.
Binary file not shown.
BIN
packages/frontend/core/public/fonts/Satoshi-Bold.woff2
Normal file
BIN
packages/frontend/core/public/fonts/Satoshi-Bold.woff2
Normal file
Binary file not shown.
Binary file not shown.
BIN
packages/frontend/core/public/fonts/Satoshi-BoldItalic.woff2
Normal file
BIN
packages/frontend/core/public/fonts/Satoshi-BoldItalic.woff2
Normal file
Binary file not shown.
Binary file not shown.
BIN
packages/frontend/core/public/fonts/Satoshi-Italic.woff2
Normal file
BIN
packages/frontend/core/public/fonts/Satoshi-Italic.woff2
Normal file
Binary file not shown.
Binary file not shown.
BIN
packages/frontend/core/public/fonts/Satoshi-Light.woff2
Normal file
BIN
packages/frontend/core/public/fonts/Satoshi-Light.woff2
Normal file
Binary file not shown.
Binary file not shown.
BIN
packages/frontend/core/public/fonts/Satoshi-LightItalic.woff2
Normal file
BIN
packages/frontend/core/public/fonts/Satoshi-LightItalic.woff2
Normal file
Binary file not shown.
Binary file not shown.
BIN
packages/frontend/core/public/fonts/Satoshi-Regular.woff2
Normal file
BIN
packages/frontend/core/public/fonts/Satoshi-Regular.woff2
Normal file
Binary file not shown.
Reference in New Issue
Block a user