mirror of
https://github.com/jamiepine/voicebox.git
synced 2026-09-16 05:10:42 -07:00
- Added a voicebox logo to the loading screen in the App component for improved branding. - Introduced fade-in animations for the logo and loading text to enhance user experience. - Updated Sidebar component styles for better visual consistency. - Refactored HistoryTable to implement a new fixed-height row layout, improving readability and interaction. - Removed unused Badge component from GenerationForm for cleaner code.
158 lines
3.6 KiB
CSS
158 lines
3.6 KiB
CSS
@import "tailwindcss" source(".");
|
|
|
|
@theme {
|
|
--radius-sm: calc(var(--radius) - 4px);
|
|
--radius-md: calc(var(--radius) - 2px);
|
|
--radius-lg: var(--radius);
|
|
|
|
--color-background: hsl(var(--background));
|
|
--color-foreground: hsl(var(--foreground));
|
|
|
|
--color-card: hsl(var(--card));
|
|
--color-card-foreground: hsl(var(--card-foreground));
|
|
|
|
--color-popover: hsl(var(--popover));
|
|
--color-popover-foreground: hsl(var(--popover-foreground));
|
|
|
|
--color-primary: hsl(var(--primary));
|
|
--color-primary-foreground: hsl(var(--primary-foreground));
|
|
|
|
--color-secondary: hsl(var(--secondary));
|
|
--color-secondary-foreground: hsl(var(--secondary-foreground));
|
|
|
|
--color-muted: hsl(var(--muted));
|
|
--color-muted-foreground: hsl(var(--muted-foreground));
|
|
|
|
--color-accent: hsl(var(--accent));
|
|
--color-accent-foreground: hsl(var(--accent-foreground));
|
|
|
|
--color-destructive: hsl(var(--destructive));
|
|
--color-destructive-foreground: hsl(var(--destructive-foreground));
|
|
|
|
--color-border: hsl(var(--border));
|
|
--color-input: hsl(var(--input));
|
|
--color-ring: hsl(var(--ring));
|
|
--color-sidebar: hsl(var(--sidebar));
|
|
|
|
--color-chart-1: hsl(var(--chart-1));
|
|
--color-chart-2: hsl(var(--chart-2));
|
|
--color-chart-3: hsl(var(--chart-3));
|
|
--color-chart-4: hsl(var(--chart-4));
|
|
--color-chart-5: hsl(var(--chart-5));
|
|
}
|
|
|
|
:root {
|
|
--background: 0 0% 95%;
|
|
--foreground: 222.2 84% 4.9%;
|
|
--card: 0 0% 97%;
|
|
--card-foreground: 222.2 84% 4.9%;
|
|
--popover: 0 0% 97%;
|
|
--popover-foreground: 222.2 84% 4.9%;
|
|
--primary: 222.2 47.4% 11.2%;
|
|
--primary-foreground: 210 40% 98%;
|
|
--secondary: 210 40% 92%;
|
|
--secondary-foreground: 222.2 47.4% 11.2%;
|
|
--muted: 210 40% 90%;
|
|
--muted-foreground: 215.4 16.3% 46.9%;
|
|
--accent: 43 50% 50%;
|
|
--accent-foreground: 222.2 47.4% 11.2%;
|
|
--destructive: 0 84.2% 60.2%;
|
|
--destructive-foreground: 210 40% 98%;
|
|
--border: 214.3 31.8% 85%;
|
|
--input: 214.3 31.8% 88%;
|
|
--ring: 222.2 84% 4.9%;
|
|
--sidebar: 0 0% 92%;
|
|
--radius: 0.5rem;
|
|
--chart-1: 12 76% 61%;
|
|
--chart-2: 173 58% 39%;
|
|
--chart-3: 197 37% 24%;
|
|
--chart-4: 43 74% 66%;
|
|
--chart-5: 27 87% 67%;
|
|
}
|
|
|
|
.dark {
|
|
--background: 0 0% 6%;
|
|
--foreground: 0 0% 95%;
|
|
--card: 0 0% 8%;
|
|
--card-foreground: 0 0% 95%;
|
|
--popover: 0 0% 8%;
|
|
--popover-foreground: 0 0% 95%;
|
|
--primary: 0 0% 18%;
|
|
--primary-foreground: 0 0% 95%;
|
|
--secondary: 0 0% 12%;
|
|
--secondary-foreground: 0 0% 95%;
|
|
--muted: 0 0% 12%;
|
|
--muted-foreground: 0 0% 60%;
|
|
--accent: 43 50% 45%;
|
|
--accent-foreground: 0 0% 95%;
|
|
--destructive: 0 62.8% 50%;
|
|
--destructive-foreground: 0 0% 95%;
|
|
--border: 0 0% 12%;
|
|
--input: 0 0% 12%;
|
|
--ring: 0 0% 40%;
|
|
--sidebar: 0 0% 4%;
|
|
--chart-1: 220 70% 50%;
|
|
--chart-2: 160 60% 45%;
|
|
--chart-3: 30 80% 55%;
|
|
--chart-4: 280 65% 60%;
|
|
--chart-5: 340 75% 55%;
|
|
}
|
|
|
|
@layer base {
|
|
* {
|
|
@apply border-border;
|
|
}
|
|
html,
|
|
body {
|
|
@apply overflow-hidden;
|
|
}
|
|
body {
|
|
@apply bg-background text-foreground;
|
|
}
|
|
/* Hide scrollbars globally */
|
|
* {
|
|
scrollbar-width: none; /* Firefox */
|
|
-ms-overflow-style: none; /* IE and Edge */
|
|
}
|
|
*::-webkit-scrollbar {
|
|
display: none; /* Chrome, Safari, Opera */
|
|
}
|
|
}
|
|
|
|
@layer utilities {
|
|
.writing-vertical {
|
|
writing-mode: vertical-rl;
|
|
text-orientation: mixed;
|
|
letter-spacing: 0.1em;
|
|
}
|
|
}
|
|
|
|
@keyframes fadeInScale {
|
|
from {
|
|
opacity: 0;
|
|
transform: scale(0.8);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: scale(1);
|
|
}
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
.animate-fade-in-scale {
|
|
animation: fadeInScale 0.5s ease-out forwards;
|
|
}
|
|
|
|
.animate-fade-in-delayed {
|
|
animation: fadeIn 0.5s ease-out 0.15s forwards;
|
|
opacity: 0;
|
|
}
|