refactor: restructure

This commit is contained in:
2025-01-29 04:55:18 +03:00
parent 4a6aa94e39
commit dc3462a864
14 changed files with 148 additions and 128 deletions

View File

@ -1,9 +0,0 @@
@keyframes fadein {
from {
opacity: 0;
}
to {
opacity: 1.0;
}
}

View File

@ -1,19 +0,0 @@
@font-face {
font-family: "Inter Var";
font-weight: 400 900;
font-display: swap;
font-style: normal;
src: url("/src/font/Inter.woff2") format("woff2");
}
html {
font-family: "Inter Var", sans-serif;
font-size: 17px;
box-sizing: border-box;
}
.greeting {
font-variation-settings: "wght" 400;
letter-spacing: 0rem;
line-height: 1.7rem;
}

View File

View File

@ -1,10 +1,10 @@
import "./css/style.css";
import "./css/font.css";
import "./css/animation.css";
import "./css/button.css";
import "./styles/base.css";
import "./styles/typography.css";
import "./styles/animations.css";
import "./styles/components.css";
import "./app";
import { add3DRotationEffect, updateGreeting, updateTime } from "./app";
import "./effects";
import { add3DRotationEffect, updateGreeting, updateTime } from "./effects";
import { importJsAsModule } from "./utils";
const initialize = async () => {

View File

@ -0,0 +1,9 @@
@keyframes fadein {
from {
opacity: 0;
}
to {
opacity: 1;
}
}

19
src/styles/typography.css Normal file
View File

@ -0,0 +1,19 @@
@font-face {
font-family: "Inter Var";
font-weight: 400 900;
font-display: swap;
font-style: normal;
src: url("/src/assets/Inter.woff2") format("woff2");
}
html {
font-family: "Inter Var", sans-serif;
font-size: 17px;
box-sizing: border-box;
}
.greeting {
font-variation-settings: "wght" 400;
letter-spacing: 0rem;
line-height: 1.7rem;
}