mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
### Adding or Updating Examples Improve styling for the `with-supabase` example. <img width="2048" alt="Screenshot 2023-06-24 at 15 07 46" src="https://github.com/vercel/next.js/assets/25671831/0bba9a0a-a660-411e-b960-ea933aa2750a"> <img width="2048" alt="Screenshot 2023-06-24 at 15 07 58" src="https://github.com/vercel/next.js/assets/25671831/00f70c8b-e6ea-47ac-8a2e-829b4b808280"> --------- Co-authored-by: Lee Robinson <[email protected]> Co-authored-by: JJ Kasper <[email protected]>
43 lines
701 B
CSS
43 lines
701 B
CSS
@tailwind base;
|
|
@tailwind components;
|
|
@tailwind utilities;
|
|
|
|
@layer base {
|
|
:root {
|
|
--background: 200 20% 98%;
|
|
--btn-background: 200 10% 91%;
|
|
--btn-background-hover: 200 10% 89%;
|
|
--foreground: 200 50% 3%;
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
:root {
|
|
--background: 200 50% 3%;
|
|
--btn-background: 200 10% 9%;
|
|
--btn-background-hover: 200 10% 12%;
|
|
--foreground: 200 20% 96%;
|
|
}
|
|
}
|
|
}
|
|
|
|
@layer base {
|
|
* {
|
|
@apply border-foreground/20;
|
|
}
|
|
}
|
|
|
|
.animate-in {
|
|
animation: animateIn 0.3s ease 0.15s both;
|
|
}
|
|
|
|
@keyframes animateIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(10px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|