mirror of
https://github.com/unraid/api.git
synced 2025-12-30 21:19:49 -06:00
115 lines
2.5 KiB
CSS
115 lines
2.5 KiB
CSS
@tailwind base;
|
||
@tailwind components;
|
||
|
||
/*
|
||
darkTheme
|
||
alpha: '#1c1b1b',
|
||
beta: '#f2f2f2',
|
||
gamma: '#999999',
|
||
|
||
lightTheme
|
||
alpha: '#f2f2f2',
|
||
beta: '#1c1b1b',
|
||
gamma: '#999999',
|
||
*/
|
||
|
||
body {
|
||
--color-alpha: #1c1b1b;
|
||
--color-beta: #f2f2f2;
|
||
--color-gamma: #999999;
|
||
--color-gamma-opaque: rgba(153, 153, 153, .5);
|
||
--color-customgradient-start: rgba(242, 242, 242, .0);
|
||
--color-customgradient-end: rgba(242, 242, 242, .85);
|
||
--shadow-beta: 0 25px 50px -12px rgba(242, 242, 242, .15);
|
||
--ring-offset-shadow: 0 0 --var(--color-beta);
|
||
--ring-shadow: 0 0 --var(--color-beta);
|
||
}
|
||
|
||
/* .button-gradient-border-to-bg {
|
||
background: linear-gradient(to right,#e03237 0%,#fd8c3c 100%) left top no-repeat,linear-gradient(to right,#e03237 0%,#fd8c3c 100%) left bottom no-repeat,linear-gradient(to top,#e03237 0%,#e03237 100%) left bottom no-repeat,linear-gradient(to top,#fd8c3c 0%,#fd8c3c 100%) right bottom no-repeat;
|
||
background-size: 100% 2px,100% 2px,2px 100%,2px 100%;
|
||
|
||
&:hover,
|
||
&:focus {
|
||
background: linear-gradient(to right,#E22828 0%,#FF8C2F 100%);
|
||
}
|
||
} */
|
||
|
||
/* Ensure this is always at the bottom – @see https://tailwindcss.com/docs/content-configuration#working-with-third-party-libraries */
|
||
@tailwind utilities;
|
||
|
||
/* shadcn */
|
||
@layer base {
|
||
:root {
|
||
--background: 0 0% 100%;
|
||
--foreground: 0 0% 3.9%;
|
||
|
||
--muted: 0 0% 96.1%;
|
||
--muted-foreground: 0 0% 45.1%;
|
||
|
||
--popover: 0 0% 100%;
|
||
--popover-foreground: 0 0% 3.9%;
|
||
|
||
--card: 0 0% 100%;
|
||
--card-foreground: 0 0% 3.9%;
|
||
|
||
--border: 0 0% 89.8%;
|
||
--input: 0 0% 89.8%;
|
||
|
||
--primary: 0 0% 9%;
|
||
--primary-foreground: 0 0% 98%;
|
||
|
||
--secondary: 0 0% 96.1%;
|
||
--secondary-foreground: 0 0% 9%;
|
||
|
||
--accent: 0 0% 96.1%;
|
||
--accent-foreground: 0 0% 9%;
|
||
|
||
--destructive: 0 84.2% 60.2%;
|
||
--destructive-foreground: 0 0% 98%;
|
||
|
||
--ring: 0 0% 3.9%;
|
||
|
||
--radius: 0.5rem;
|
||
}
|
||
|
||
.dark {
|
||
--background: 0 0% 3.9%;
|
||
--foreground: 0 0% 98%;
|
||
|
||
--muted: 0 0% 14.9%;
|
||
--muted-foreground: 0 0% 63.9%;
|
||
|
||
--popover: 0 0% 3.9%;
|
||
--popover-foreground: 0 0% 98%;
|
||
|
||
--card: 0 0% 3.9%;
|
||
--card-foreground: 0 0% 98%;
|
||
|
||
--border: 0 0% 14.9%;
|
||
--input: 0 0% 14.9%;
|
||
|
||
--primary: 0 0% 98%;
|
||
--primary-foreground: 0 0% 9%;
|
||
|
||
--secondary: 0 0% 14.9%;
|
||
--secondary-foreground: 0 0% 98%;
|
||
|
||
--accent: 0 0% 14.9%;
|
||
--accent-foreground: 0 0% 98%;
|
||
|
||
--destructive: 0 62.8% 30.6%;
|
||
--destructive-foreground: 0 0% 98%;
|
||
|
||
--ring: 0 0% 83.1%;
|
||
}
|
||
}
|
||
|
||
@layer base {
|
||
* {
|
||
@apply border-border;
|
||
}
|
||
body {
|
||
@apply bg-background text-foreground;
|
||
}
|
||
} |