KingNish's picture
Upload 29 files
3baa9da verified
@import "tailwindcss";
:root {
--background: #ffffff;
--foreground: #171717;
/* Styles from to-do.md (index.css) */
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
line-height: 1.5;
font-weight: 400;
color: #213547; /* Base text color for light mode */
background-color: #ffffff; /* Base background for light mode */
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-text-size-adjust: 100%;
}
.dark {
--background: #0a0a0a;
--foreground: #ededed;
color: #f9f9f9; /* Base text color for dark mode */
background-color: #242424; /* Base background for dark mode */
}
body {
background: var(--background);
color: var(--foreground);
/* Styles from to-do.md (index.css) */
margin: 0;
display: flex;
place-items: center;
min-width: 320px;
min-height: 100vh;
}
/* Styles from to-do.md (index.css & App.css) */
h1 {
font-size: 3.2em;
line-height: 1;
}
h1,
h2 {
margin: 8px;
}
select {
padding: 0.3em;
cursor: pointer;
}
textarea {
padding: 0.6em;
}
button {
padding: 0.6em 1.2em;
cursor: pointer;
font-weight: 500;
}
button[disabled] {
cursor: not-allowed;
}
select,
textarea,
button {
border-radius: 8px;
border: 1px solid transparent;
font-size: 1em;
font-family: inherit; /* Use inherit to respect the :root font-family */
background-color: #f9f9f9; /* Light mode background for elements */
color: #213547; /* Light mode text color for elements */
transition: border-color 0.25s;
}
.dark select,
.dark textarea,
.dark button {
background-color: #1a1a1a; /* Dark mode background for elements */
color: #f9f9f9; /* Dark mode text color for elements */
}
select:hover,
textarea:hover,
button:not([disabled]):hover {
border-color: #646cff;
}
select:focus,
select:focus-visible,
textarea:focus,
textarea:focus-visible,
button:focus,
button:focus-visible {
outline: 4px auto -webkit-focus-ring-color;
}
/* Keep Tailwind theme inline if needed, though base styles might override */
@theme inline {
--color-background: var(--background);
--color-foreground: var(--foreground);
--font-sans: var(--font-geist-sans);
--font-mono: var(--font-geist-mono);
}