[READ-ONLY] Mirror of https://github.com/mrgnw/cv.
0

Configure Feed

Select the types of activity you want to include in your feed.

cv / tailwind.config.ts
2.1 kB 82 lines
1import { fontFamily } from "tailwindcss/defaultTheme"; 2import type { Config } from "tailwindcss"; 3 4const config: Config = { 5 darkMode: ["class"], 6 content: ["./src/**/*.{html,js,svelte,ts}"], 7 safelist: ["dark"], 8 theme: { 9 container: { 10 center: true, 11 padding: "2rem", 12 screens: { 13 "2xl": "1400px" 14 } 15 }, 16 extend: { 17 colors: { 18 border: "hsl(var(--border) / <alpha-value>)", 19 input: "hsl(var(--input) / <alpha-value>)", 20 ring: "hsl(var(--ring) / <alpha-value>)", 21 background: "hsl(var(--background) / <alpha-value>)", 22 foreground: "hsl(var(--foreground) / <alpha-value>)", 23 primary: { 24 DEFAULT: "hsl(var(--primary) / <alpha-value>)", 25 foreground: "hsl(var(--primary-foreground) / <alpha-value>)" 26 }, 27 secondary: { 28 DEFAULT: "hsl(var(--secondary) / <alpha-value>)", 29 foreground: "hsl(var(--secondary-foreground) / <alpha-value>)" 30 }, 31 destructive: { 32 DEFAULT: "hsl(var(--destructive) / <alpha-value>)", 33 foreground: "hsl(var(--destructive-foreground) / <alpha-value>)" 34 }, 35 muted: { 36 DEFAULT: "hsl(var(--muted) / <alpha-value>)", 37 foreground: "hsl(var(--muted-foreground) / <alpha-value>)" 38 }, 39 accent: { 40 DEFAULT: "hsl(var(--accent) / <alpha-value>)", 41 foreground: "hsl(var(--accent-foreground) / <alpha-value>)" 42 }, 43 popover: { 44 DEFAULT: "hsl(var(--popover) / <alpha-value>)", 45 foreground: "hsl(var(--popover-foreground) / <alpha-value>)" 46 }, 47 card: { 48 DEFAULT: "hsl(var(--card) / <alpha-value>)", 49 foreground: "hsl(var(--card-foreground) / <alpha-value>)" 50 } 51 }, 52 borderRadius: { 53 lg: "var(--radius)", 54 md: "calc(var(--radius) - 2px)", 55 sm: "calc(var(--radius) - 4px)" 56 }, 57 fontFamily: { 58 sans: [...fontFamily.sans] 59 }, 60 screens: { 61 'print': {'raw': 'print'}, 62 }, 63 } 64 }, 65 plugins: [ 66 function ({ addUtilities }) { 67 addUtilities({ 68 '.no-print': { 69 '@media print': { 70 display: 'none', 71 }, 72 }, 73 '.print-exact': { 74 '-webkit-print-color-adjust': 'exact', 75 'print-color-adjust': 'exact', 76 }, 77 }); 78 }, 79 ], 80}; 81 82export default config;