feat: add two fonts (Title and Content)
All checks were successful
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 3m52s
Build Docker Image / Build-Docker-Image (push) Successful in 3m31s

This commit was merged in pull request #50.
This commit is contained in:
2025-05-04 22:11:22 +02:00
parent 7bda5237e3
commit 3a8c814f2f
10 changed files with 57 additions and 40 deletions

View File

@@ -3,9 +3,15 @@
@source './static/**/*.js';
@source './template/**/*.templ';
@theme {
--animate-fade: fadeOut 0.25s ease-in;
body {
@apply font-shippori
}
@theme {
--font-pirata: "Pirata One", sans-serif;
--font-shippori: "Shippori Mincho", sans-serif;
--animate-fade: fadeOut 0.25s ease-in;
@keyframes fadeOut {
0% {
opacity: 1;
@@ -16,3 +22,12 @@
}
}
@font-face {
font-family: "Pirata One";
src: url("/static/font/pirata_one/PirataOne-Regular.ttf") format("truetype");
}
@font-face {
font-family: "Shippori Mincho";
src: url("/static/font/shippori_mincho/ShipporiMincho-Medium.ttf") format("truetype");
}