Files
stats/apps/dashboard/src/styles/globals.css
Carl-Gerhard Lindesvärd d31d9924a5 feature(auth): replace clerk.com with custom auth (#103)
* feature(auth): replace clerk.com with custom auth

* minor fixes

* remove notification preferences

* decrease live events interval

fix(api): cookies..

# Conflicts:
#	.gitignore
#	apps/api/src/index.ts
#	apps/dashboard/src/app/providers.tsx
#	packages/trpc/src/trpc.ts
2024-12-20 22:23:07 +01:00

200 lines
4.7 KiB
CSS

@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
:root {
--highlight: 220 84% 53%; /* #2266ec */
--def-100: 210 40% 98%; /* #F0F4F9 */
--def-200: 210 40% 96.1%; /* #E7ECF2 */
--def-300: 210 15.14% 89.41%; /* #DDE3E9 */
--def-400: 210 9.08% 75.05%; /* #B3BDC7 */
--background: 0 0% 100%; /* #FFFFFF */
--foreground: 222.2 84% 4.9%; /* #0C162A */
--foregroundish: 226.49 3.06% 22.62%;
--card: 0 0% 100%; /* #FFFFFF */
--card-foreground: 222.2 84% 4.9%; /* #0C162A */
--popover: 0 0% 100%; /* #FFFFFF */
--popover-foreground: 222.2 84% 4.9%; /* #0C162A */
--primary: 222.2 47.4% 11.2%; /* #163049 */
--primary-foreground: 210 40% 98%; /* #F0F4F9 */
--secondary: 210 40% 96.1%; /* #E7ECF2 */
--secondary-foreground: 222.2 47.4% 11.2%; /* #163049 */
--muted: 210 40% 96.1%; /* #E7ECF2 */
--muted-foreground: 215.4 16.3% 46.9%; /* #798290 */
--accent: 210 40% 96.1%; /* #E7ECF2 */
--accent-foreground: 222.2 47.4% 11.2%; /* #163049 */
--destructive: 0 84.2% 60.2%; /* #F2677D */
--destructive-foreground: 0 100% 97.25%; /* #F8F9FB */
--border: 214.3 31.8% 91.4%; /* #E8EBF1 */
--input: 214.3 31.8% 91.4%; /* #E8EBF1 */
--ring: 212.73deg 26.83% 83.92%; /* #CDD6E2 */
--radius: 0.5rem;
}
.prose {
--tw-prose-body: #374151;
--tw-prose-headings: #111827;
--tw-prose-lead: #4b5563;
--tw-prose-links: #2563eb;
--tw-prose-bold: #111827;
--tw-prose-counters: #6b7280;
--tw-prose-bullets: #d1d5db;
--tw-prose-hr: #e5e7eb;
--tw-prose-quotes: #111827;
--tw-prose-quote-borders: #e5e7eb;
--tw-prose-captions: #6b7280;
--tw-prose-kbd: #111827;
--tw-prose-kbd-shadows: 17 24 39;
--tw-prose-code: #111827;
--tw-prose-pre-code: #e5e7eb;
--tw-prose-pre-bg: #f9fafb;
--tw-prose-th-borders: #d1d5db;
--tw-prose-td-borders: #e5e7eb;
}
.dark {
--highlight: 221.44 100% 62.04%;
--def-100: 0 0% 8%; /* #0f0f0f */
--def-200: 0 0% 13.12%; /* #212121 */
--def-300: 0 0% 15.1%; /* #262626 */
--def-400: 0 0% 25.23%; /* #404040 */
--background: 0 0% 12.02%; /* #1e1e1e */
--foreground: 0 0% 98%; /* #fafafa */
--foregroundish: 0 0% 79.23%;
--card: 0 0% 10%; /* #1a1a1a */
--card-foreground: 0 0% 98%; /* #fafafa */
--popover: 0 0% 10%; /* #1a1a1a */
--popover-foreground: 0 0% 98%; /* #fafafa */
--primary: 0 0% 98%; /* #fafafa */
--primary-foreground: 0 0% 11.2%; /* #1c1c1c */
--secondary: 0 0% 15.1%; /* #262626 */
--secondary-foreground: 0 0% 98%; /* #fafafa */
--muted: 0 0% 15.1%; /* #262626 */
--muted-foreground: 0 0% 65%; /* #fafafa */
--accent: 0 0% 15.1%; /* #262626 */
--accent-foreground: 0 0% 98%; /* #fafafa */
--destructive: 0 84.2% 60.2%; /* #F2677D */
--destructive-foreground: 0 100% 97.25%; /* #F8F9FB */
--border: 0 0% 15.1%; /* #262626 */
--input: 0 0% 15.1%; /* #262626 */
--ring: 0 0% 83.9%; /* #d6d6d6 */
}
.dark .prose {
--tw-prose-body: #e5e7eb;
--tw-prose-headings: #f3f4f6;
--tw-prose-lead: #9ca3af;
--tw-prose-links: #60a5fa;
--tw-prose-bold: #f3f4f6;
--tw-prose-counters: #9ca3af;
--tw-prose-bullets: #6b7280;
--tw-prose-hr: #4b5563;
--tw-prose-quotes: #f3f4f6;
--tw-prose-quote-borders: #4b5563;
--tw-prose-captions: #9ca3af;
--tw-prose-kbd: #f3f4f6;
--tw-prose-kbd-shadows: 255 255 255;
--tw-prose-code: #f3f4f6;
--tw-prose-pre-code: #d1d5db;
--tw-prose-pre-bg: #1f2937;
--tw-prose-th-borders: #4b5563;
--tw-prose-td-borders: #374151;
}
}
@layer base {
* {
@apply border-border;
}
body {
@apply bg-card text-foreground;
}
.h1 {
@apply text-3xl font-medium;
}
.h2 {
@apply text-xl font-medium;
}
.h3 {
@apply text-lg font-medium;
}
.h4 {
@apply font-medium;
}
.ellipsis {
@apply overflow-hidden text-ellipsis whitespace-nowrap;
}
.heading {
@apply text-3xl font-semibold;
}
.title {
@apply text-lg font-semibold;
}
.subtitle {
@apply text-md font-medium;
}
.card {
@apply rounded-md border border-border bg-card;
}
.center-center {
@apply flex items-center justify-center text-center;
}
.col {
@apply flex flex-col;
}
.row {
@apply flex flex-row;
}
}
/* Rechart */
.recharts-wrapper .recharts-cartesian-grid-horizontal line:first-child,
.recharts-wrapper .recharts-cartesian-grid-horizontal line:last-child {
stroke-opacity: 0;
}
.hide-scrollbar::-webkit-scrollbar {
display: none;
}
/* Hide scrollbar for IE, Edge and Firefox */
.hide-scrollbar {
-ms-overflow-style: none; /* IE and Edge */
scrollbar-width: none; /* Firefox */
}