Dunlin is a lightweight, self-hosted CDN for personal projects.
at master 5.0 kB view raw
1@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap'); 2@import 'tailwindcss'; 3@import 'tw-animate-css'; 4 5@theme { 6 --font-manrope: 'Manrope', sans-serif; 7} 8 9@custom-variant dark (&:is(.dark *)); 10 11@layer utilities { 12 .no-scrollbar::-webkit-scrollbar { 13 display: none; 14 } 15 .no-scrollbar { 16 -ms-overflow-style: none; 17 scrollbar-width: none; 18 } 19} 20 21@theme inline { 22 --color-background: var(--background); 23 --color-foreground: var(--foreground); 24 --color-card: var(--card); 25 --color-card-foreground: var(--card-foreground); 26 --color-popover: var(--popover); 27 --color-popover-foreground: var(--popover-foreground); 28 --color-primary: var(--primary); 29 --color-primary-foreground: var(--primary-foreground); 30 --color-secondary: var(--secondary); 31 --color-secondary-foreground: var(--secondary-foreground); 32 --color-muted: var(--muted); 33 --color-muted-foreground: var(--muted-foreground); 34 --color-accent: var(--accent); 35 --color-accent-foreground: var(--accent-foreground); 36 --color-destructive: var(--destructive); 37 --color-destructive-foreground: var(--destructive-foreground); 38 --color-border: var(--border); 39 --color-input: var(--input); 40 --color-ring: var(--ring); 41 --color-chart-1: var(--chart-1); 42 --color-chart-2: var(--chart-2); 43 --color-chart-3: var(--chart-3); 44 --color-chart-4: var(--chart-4); 45 --color-chart-5: var(--chart-5); 46 --radius-sm: calc(var(--radius) - 4px); 47 --radius-md: calc(var(--radius) - 2px); 48 --radius-lg: var(--radius); 49 --radius-xl: calc(var(--radius) + 4px); 50 --color-sidebar: var(--sidebar); 51 --color-sidebar-foreground: var(--sidebar-foreground); 52 --color-sidebar-primary: var(--sidebar-primary); 53 --color-sidebar-primary-foreground: var(--sidebar-primary-foreground); 54 --color-sidebar-accent: var(--sidebar-accent); 55 --color-sidebar-accent-foreground: var(--sidebar-accent-foreground); 56 --color-sidebar-border: var(--sidebar-border); 57 --color-sidebar-ring: var(--sidebar-ring); 58} 59 60:root { 61 --background: oklch(1 0 0); 62 --foreground: oklch(0.145 0 0); 63 --card: oklch(1 0 0); 64 --card-foreground: oklch(0.145 0 0); 65 --popover: oklch(1 0 0); 66 --popover-foreground: oklch(0.145 0 0); 67 --primary: oklch(0.205 0 0); 68 --primary-foreground: oklch(0.985 0 0); 69 --secondary: oklch(0.97 0 0); 70 --secondary-foreground: oklch(0.205 0 0); 71 --muted: oklch(0.97 0 0); 72 --muted-foreground: oklch(0.556 0 0); 73 --accent: oklch(0.97 0 0); 74 --accent-foreground: oklch(0.205 0 0); 75 --destructive: oklch(0.577 0.245 27.325); 76 --destructive-foreground: oklch(0.577 0.245 27.325); 77 --border: oklch(0.922 0 0); 78 --input: oklch(0.922 0 0); 79 --ring: oklch(0.708 0 0); 80 --chart-1: oklch(0.646 0.222 41.116); 81 --chart-2: oklch(0.6 0.118 184.704); 82 --chart-3: oklch(0.398 0.07 227.392); 83 --chart-4: oklch(0.828 0.189 84.429); 84 --chart-5: oklch(0.769 0.188 70.08); 85 --radius: 0.625rem; 86 --sidebar: oklch(0.985 0 0); 87 --sidebar-foreground: oklch(0.145 0 0); 88 --sidebar-primary: oklch(0.205 0 0); 89 --sidebar-primary-foreground: oklch(0.985 0 0); 90 --sidebar-accent: oklch(0.97 0 0); 91 --sidebar-accent-foreground: oklch(0.205 0 0); 92 --sidebar-border: oklch(0.922 0 0); 93 --sidebar-ring: oklch(0.708 0 0); 94 95 /* ... */ 96 --vis-tooltip-background-color: none !important; 97 --vis-tooltip-border-color: none !important; 98 --vis-tooltip-text-color: none !important; 99 --vis-tooltip-shadow-color: none !important; 100 --vis-tooltip-backdrop-filter: none !important; 101 --vis-tooltip-padding: none !important; 102 103 --vis-primary-color: var(--primary); 104 /* change to any hsl value you want */ 105 --vis-secondary-color: 160 81% 40%; 106 --vis-text-color: var(--muted-foreground); 107} 108 109.dark { 110 --background: oklch(0.145 0 0); 111 --foreground: oklch(0.985 0 0); 112 --card: oklch(0.145 0 0); 113 --card-foreground: oklch(0.985 0 0); 114 --popover: oklch(0.145 0 0); 115 --popover-foreground: oklch(0.985 0 0); 116 --primary: oklch(0.985 0 0); 117 --primary-foreground: oklch(0.205 0 0); 118 --secondary: oklch(0.269 0 0); 119 --secondary-foreground: oklch(0.985 0 0); 120 --muted: oklch(0.269 0 0); 121 --muted-foreground: oklch(0.708 0 0); 122 --accent: oklch(0.269 0 0); 123 --accent-foreground: oklch(0.985 0 0); 124 --destructive: oklch(0.396 0.141 25.723); 125 --destructive-foreground: oklch(0.637 0.237 25.331); 126 --border: oklch(0.269 0 0); 127 --input: oklch(0.269 0 0); 128 --ring: oklch(0.439 0 0); 129 --chart-1: oklch(0.488 0.243 264.376); 130 --chart-2: oklch(0.696 0.17 162.48); 131 --chart-3: oklch(0.769 0.188 70.08); 132 --chart-4: oklch(0.627 0.265 303.9); 133 --chart-5: oklch(0.645 0.246 16.439); 134 --sidebar: oklch(0.205 0 0); 135 --sidebar-foreground: oklch(0.985 0 0); 136 --sidebar-primary: oklch(0.488 0.243 264.376); 137 --sidebar-primary-foreground: oklch(0.985 0 0); 138 --sidebar-accent: oklch(0.269 0 0); 139 --sidebar-accent-foreground: oklch(0.985 0 0); 140 --sidebar-border: oklch(0.269 0 0); 141 --sidebar-ring: oklch(0.439 0 0); 142} 143 144@layer base { 145 * { 146 @apply border-border outline-ring/50; 147 } 148 body { 149 @apply bg-background text-foreground; 150 } 151}