Tools
Tailwind theme from any website
Enter a website address and get a Tailwind v4 @theme block with its colors, font families, radii, shadows and breakpoints, ready to paste into your CSS.
stripe.com
Measured 4 days ago.
/* Tailwind v4 theme extracted from https://stripe.com/ */
@import "tailwindcss";
@theme {
--color-background: #ffffff;
--color-surface: #e5edf5;
--color-surface-2: #ffe0ef;
--color-surface-3: #ffe0d1;
--color-foreground: #061b31;
--color-muted-foreground: #64748d;
--color-primary: #533afd;
--color-on-primary: #ffffff;
--color-secondary: #0f4d29;
--color-border: #e5edf5;
--font-sans: sohne-var, "SF Pro Display", sans-serif;
--font-display: sohne-var, "SF Pro Display", sans-serif;
--radius-none: 0px;
--radius-sm: 4px;
--radius-md: 6px;
--radius-full: 9999px;
--shadow-sm: rgba(3, 3, 39, 0.25) 0px 14.088px 21.132px -14.088px, rgba(0, 0, 0, 0.1) 0px 8.453px 16.906px -8.453px;
--shadow-md: rgba(50, 50, 93, 0.25) 0px 30px 45px -30px, rgba(0, 0, 0, 0.1) 0px 18px 36px -18px;
--shadow-lg: rgba(23, 23, 23, 0.08) 0px 15px 35px 0px;
--shadow-xl: rgba(23, 23, 23, 0.06) 0px 3px 6px 0px;
--breakpoint-bp1: 600px;
--breakpoint-bp2: 639px;
--breakpoint-bp3: 640px;
--breakpoint-bp4: 939px;
--breakpoint-bp5: 940px;
--container-content: 1232px;
}
How it works
Stylepack opens the site in a real browser, measures what renders (not what the stylesheet says) at four widths and in both themes, and stores the result as a design pack. A site already measured answers at once; a new one takes under a minute. Every value on this page comes from that pack.
Questions
Is this Tailwind v3 or v4?
Tailwind v4: an @theme block in CSS. For v3, the same values are available as CSS variables and JSON on the color palette tool and in the design pack's tokens.json.
What is in the theme?
Colors named by role, the font families with their free stand-ins, the radius scale, the shadows and the breakpoints the site changes layout at, all measured from the live page.
How do I keep it in sync with the site?
Open the site's pack page any time: Stylepack re-measures indexed sites periodically and the pack carries the measured date.