|
1 | 1 | @import "tailwindcss"; |
2 | 2 | @plugin "daisyui"; |
| 3 | + |
| 4 | +@import "@fontsource/nunito-sans/400.css"; |
| 5 | +@import "@fontsource/nunito-sans/500.css"; |
| 6 | +@import "@fontsource/nunito-sans/600.css"; |
| 7 | + |
| 8 | +@plugin "daisyui/theme" { |
| 9 | + name: "info-embalse"; |
| 10 | + default: true; |
| 11 | + color-scheme: light; |
| 12 | + |
| 13 | + --color-primary: #1b9aaa; |
| 14 | + --color-accent: #d9d900; |
| 15 | + |
| 16 | + --color-base-100: #feffff; /* White background */ |
| 17 | + --color-base-200: #eaeaea; /* Grey background */ |
| 18 | + --color-base-content: #060d14; /* Text color */ |
| 19 | +} |
| 20 | + |
| 21 | +@theme { |
| 22 | + --font-sans: "Nunito Sans", sans-serif; |
| 23 | + |
| 24 | + /* Title color */ |
| 25 | + --color-title: #051c1f; |
| 26 | + |
| 27 | + /* Accesible visited link color */ |
| 28 | + --color-visited-link: #257782; |
| 29 | + |
| 30 | + /*Primary color palette*/ |
| 31 | + |
| 32 | + --color-brand-50: #e8f5f7; |
| 33 | + --color-brand-100: #d1ebee; |
| 34 | + --color-brand-200: #a4d7dd; |
| 35 | + --color-brand-300: #76c2cc; |
| 36 | + --color-brand-400: #49aebb; |
| 37 | + --color-brand-500: #1b9aaa; /* Primary color */ |
| 38 | + --color-brand-600: #167b88; |
| 39 | + --color-brand-700: #105c66; |
| 40 | + --color-brand-800: #0b3e44; |
| 41 | + --color-brand-900: #051f22; |
| 42 | + --color-brand-950: #01161a; |
| 43 | +} |
| 44 | + |
| 45 | +@layer base { |
| 46 | + h1, |
| 47 | + h2, |
| 48 | + h3, |
| 49 | + h4, |
| 50 | + h5, |
| 51 | + h6 { |
| 52 | + @apply text-title opacity-95; |
| 53 | + } |
| 54 | + |
| 55 | + p, |
| 56 | + body { |
| 57 | + @apply opacity-85; |
| 58 | + } |
| 59 | + |
| 60 | + /* H1 Title 36px */ |
| 61 | + h1 { |
| 62 | + @apply text-4xl leading-none font-semibold; |
| 63 | + } |
| 64 | + |
| 65 | + /* H2 Title 28px */ |
| 66 | + h2 { |
| 67 | + @apply text-[28px] leading-normal font-semibold; |
| 68 | + } |
| 69 | + |
| 70 | + /* H3 Subtitle 24px */ |
| 71 | + h3 { |
| 72 | + @apply text-2xl leading-none font-medium; |
| 73 | + } |
| 74 | + |
| 75 | + /* Text 14px */ |
| 76 | + p, |
| 77 | + body { |
| 78 | + @apply text-base-content text-base leading-normal font-normal; |
| 79 | + } |
| 80 | +} |
| 81 | + |
| 82 | +@layer utilities { |
| 83 | + /*Accesible link */ |
| 84 | + |
| 85 | + .link-accessible { |
| 86 | + @apply link text-title visited:text-visited-link font-bold opacity-95; |
| 87 | + } |
| 88 | +} |
0 commit comments