init project

This commit is contained in:
crazywoola
2023-06-09 15:18:12 +08:00
parent 59e396ed00
commit 1c2efe3efd
14 changed files with 13 additions and 21 deletions
+9
View File
@@ -0,0 +1,9 @@
import styles from './style.module.css'
const Home = () => {
return <main className="flex min-h-screen p-24">
<h1 className={styles.red}>Home</h1>
</main>
}
export default Home
+3
View File
@@ -0,0 +1,3 @@
.red {
color: red;
}
+1 -21
View File
@@ -2,26 +2,6 @@
@tailwind components;
@tailwind utilities;
:root {
--foreground-rgb: 0, 0, 0;
--background-start-rgb: 214, 219, 220;
--background-end-rgb: 255, 255, 255;
}
@media (prefers-color-scheme: dark) {
:root {
--foreground-rgb: 255, 255, 255;
--background-start-rgb: 0, 0, 0;
--background-end-rgb: 0, 0, 0;
}
}
body {
color: rgb(var(--foreground-rgb));
background: linear-gradient(
to bottom,
transparent,
rgb(var(--background-end-rgb))
)
rgb(var(--background-start-rgb));
@apply bg-gray-100;
}
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File