frontAnswerer/lib/utils/themes/fontFace.ts
2024-05-01 13:12:31 +03:00

131 lines
2.3 KiB
TypeScript

import { domain } from "../defineDomain";
export const fontFaces = `
@font-face {
font-family: 'Lato';
src: url(${domain}/fonts/Lato-Thin.ttf);
font-weight: 100;
font-style: normal;
}
@font-face {
font-family: 'Lato';
src: url(${domain}/fonts/Lato-ThinItalic.ttf);
font-weight: 100;
font-style: italic;
}
@font-face {
font-family: 'Lato';
src: url(${domain}/fonts/Lato-ExtraLight.ttf);
font-weight: 200;
font-style: normal;
}
@font-face {
font-family: 'Lato';
src: url(${domain}/fonts/Lato-ExtraLightItalic.ttf);
font-weight: 200;
font-style: italic;
}
@font-face {
font-family: 'Lato';
src: url(${domain}/fonts/Lato-Light.ttf);
font-weight: 300;
font-style: normal;
}
@font-face {
font-family: 'Lato';
src: url(${domain}/fonts/Lato-LightItalic.ttf);
font-weight: 300;
font-style: italic;
}
@font-face {
font-family: 'Lato';
src: url(${domain}/fonts/Lato-Regular.ttf);
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: 'Lato';
src: url(${domain}/fonts/Lato-Italic.ttf);
font-weight: 400;
font-style: italic;
}
@font-face {
font-family: 'Lato';
src: url(${domain}/fonts/Lato-Medium.ttf);
font-weight: 500;
font-style: normal;
}
@font-face {
font-family: 'Lato';
src: url(${domain}/fonts/Lato-MediumItalic.ttf);
font-weight: 500;
font-style: italic;
}
@font-face {
font-family: 'Lato';
src: url(${domain}/fonts/Lato-SemiBold.ttf);
font-weight: 600;
font-style: normal;
}
@font-face {
font-family: 'Lato';
src: url(${domain}/fonts/Lato-SemiBoldItalic.ttf);
font-weight: 600;
font-style: italic;
}
@font-face {
font-family: 'Lato';
src: url(${domain}/fonts/Lato-Bold.ttf);
font-weight: 700;
font-style: normal;
}
@font-face {
font-family: 'Lato';
src: url(${domain}/fonts/Lato-BoldItalic.ttf);
font-weight: 700;
font-style: italic;
}
@font-face {
font-family: 'Lato';
src: url(${domain}/fonts/Lato-ExtraBold.ttf);
font-weight: 800;
font-style: normal;
}
@font-face {
font-family: 'Lato';
src: url(${domain}/fonts/Lato-ExtraBoldItalic.ttf);
font-weight: 800;
font-style: italic;
}
@font-face {
font-family: 'Lato';
src: url(${domain}/fonts/Lato-Black.ttf);
font-weight: 900;
font-style: normal;
}
@font-face {
font-family: 'Lato';
src: url(${domain}/fonts/Lato-BlackItalic.ttf);
font-weight: 900;
font-style: italic;
}
`;