mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-08 17:06:15 -08:00
* style(website): solid hairlines, Bricolage Grotesque display face, drop TV effects First of three landing redesign PRs. This one only touches tokens and surface treatment so every page (home, blog, /features, /compare, /download) benefits without any structural change: - Replace every dashed border with a solid hairline; `.card-dotted` becomes `.card-panel` (bg step + hairline, lighter hairline on hover) and the section divider is solid `surface-800`. - Swap the display face from Playfair Display to Bricolage Grotesque (DM Sans body and IBM Plex Mono unchanged). The italic accent word that every heading repeated is gone; only page-level h1s keep the accent, and as colour rather than italic. - Remove the CRT/TV effects: the `.btn-tv` block and its nine keyframes, the scanline overlay on the hero screenshot, the CRT hover overlay and teal glow shadows on feature cards, the pulsing mascot, and the unused scan/tv-* Tailwind animations. - The hero download button and the header Download link are now solid accent buttons; the self-host link is a plain text link. - Blog tag chips use neutral surface borders so teal stays reserved for actions. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * style(website): finish the dashed sweep in prose and package rows The blanket `border-dashed ` removal ate the utility but not the variant prefix in the blog prose classes, leaving `prose-pre:prose-pre:...` and `prose-hr:prose-hr:...`; and the Linux package rows still used `divide-dashed`. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> --------- Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
71 lines
1.9 KiB
JavaScript
71 lines
1.9 KiB
JavaScript
import typography from '@tailwindcss/typography';
|
|
|
|
/** @type {import('tailwindcss').Config} */
|
|
export default {
|
|
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,ts,tsx}'],
|
|
darkMode: 'class',
|
|
theme: {
|
|
extend: {
|
|
colors: {
|
|
surface: {
|
|
950: '#0a0a08',
|
|
900: '#121210',
|
|
850: '#1a1a17',
|
|
800: '#22221e',
|
|
700: '#2e2e28',
|
|
600: '#3a3a33',
|
|
500: '#52524a',
|
|
400: '#6b6b62',
|
|
300: '#8a8a80',
|
|
200: '#b0b0a6',
|
|
100: '#d4d4cc',
|
|
50: '#f0f0eb',
|
|
},
|
|
accent: {
|
|
950: '#021c1c',
|
|
900: '#053838',
|
|
800: '#0a5454',
|
|
700: '#107070',
|
|
600: '#178c8c',
|
|
500: '#20a8a8',
|
|
400: '#38c4c4',
|
|
300: '#5ee0e0',
|
|
200: '#8aecec',
|
|
100: '#b8f4f4',
|
|
50: '#e0fafa',
|
|
},
|
|
warm: {
|
|
500: '#d4a853',
|
|
400: '#e0bc6a',
|
|
300: '#ecd08a',
|
|
},
|
|
},
|
|
fontFamily: {
|
|
display: ['"Bricolage Grotesque"', '"DM Sans"', 'system-ui', 'sans-serif'],
|
|
body: ['"DM Sans"', 'system-ui', 'sans-serif'],
|
|
mono: ['"IBM Plex Mono"', 'monospace'],
|
|
},
|
|
fontSize: {
|
|
'7xl': ['4.5rem', { lineHeight: '1.02', letterSpacing: '-0.03em' }],
|
|
'8xl': ['6rem', { lineHeight: '0.98', letterSpacing: '-0.035em' }],
|
|
'9xl': ['8rem', { lineHeight: '0.95', letterSpacing: '-0.04em' }],
|
|
},
|
|
animation: {
|
|
'fade-up': 'fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards',
|
|
'fade-in': 'fadeIn 0.6s ease forwards',
|
|
},
|
|
keyframes: {
|
|
fadeUp: {
|
|
'0%': { opacity: '0', transform: 'translateY(30px)' },
|
|
'100%': { opacity: '1', transform: 'translateY(0)' },
|
|
},
|
|
fadeIn: {
|
|
'0%': { opacity: '0' },
|
|
'100%': { opacity: '1' },
|
|
},
|
|
},
|
|
},
|
|
},
|
|
plugins: [typography],
|
|
};
|