Spaces:
Running
Running
File size: 1,264 Bytes
fb1af01 022e8a2 6f4cf6b fb1af01 022e8a2 6f4cf6b fb1af01 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | /* Imports Tailwind CSS base styles, components, and utilities */
@import "tailwindcss";
/* Defines a ripple animation */
@keyframes ripple {
from {
transform: scale(1);
opacity: 0.7;
}
to {
transform: scale(2);
opacity: 0;
}
}
/* --- Dark Mode Styles --- */
/* Styles applied when the 'dark' class is present on the html element */
.dark body {
/* Sets a dark background color for the body */
background-color: #1a202c; /* A common dark shade, like Tailwind's gray-900 */
/* Sets a light text color for readability on a dark background */
color: #cbd5e0; /* A light gray, like Tailwind's slate-300 */
}
/* You can add more specific dark mode styles here */
/* For example, if you have links or buttons: */
/*
.dark a {
color: #63b3ed; // A light blue for links in dark mode
}
.dark button {
background-color: #4a5568; // Darker button background
color: #e2e8f0; // Light button text
}
*/
/* Alternatively, for a system-preference based dark mode without a class toggle,
you could use the prefers-color-scheme media query.
However, using the .dark class is more common with Tailwind for explicit control.
*/
/*
@media (prefers-color-scheme: dark) {
body {
background-color: #1a202c;
color: #cbd5e0;
}
}
*/ |