File tree Expand file tree Collapse file tree
packages/catppuccin-tailwindcss Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33frappe.css
44macchiato.css
55mocha.css
6+ typography.css
67
78# generated types
89.astro /
Original file line number Diff line number Diff line change 5757 </body >
5858 ```
5959
60+ ## Usage with ` @tailwindcss/typography `
61+
62+ To use with the ` prose ` class, import ` @catppuccin/tailwindcss/typography.css ` along with your flavour variant of choice.
63+
64+ ** Note** : since ` @catpuccin/tailwind ` auto-selects color themes, ` prose-invert ` will have no effect.
65+
6066Check out some more advanced examples at
6167[ tailwindcss.catppuccin.com] ( https://tailwindcss.catppuccin.com ) !
6268
Original file line number Diff line number Diff line change 2020 "files" : [
2121 " ./frappe.css" ,
2222 " ./macchiato.css" ,
23- " ./mocha.css"
23+ " ./mocha.css" ,
24+ " ./typography.css"
2425 ],
2526 "bugs" : {
2627 "url" : " https://github.com/catppuccin/tailwindcss/issues"
Original file line number Diff line number Diff line change 1+ @utility prose-ctp-lattex {
2+ --tw-prose-body : var (--color-ctp-text );
3+ --tw-prose-headings : var (--color-ctp-text );
4+ --tw-prose-lead : var (--color-ctp-overlay2 );
5+ --tw-prose-links : var (--color-ctp-blue );
6+ --tw-prose-bold : var (--color-ctp-text );
7+ --tw-prose-counters : var (--color-overlay0 );
8+ --tw-prose-bullets : var (--color-ctp-surface2 );
9+ --tw-prose-hr : var (--color-ctp-surface1 );
10+ --tw-prose-quotes : var (--color-ctp-subtext0 );
11+ --tw-prose-quote-borders : var (--color-ctp-overlay2 );
12+ --tw-prose-captions : var (--color-ctp-text );
13+ --tw-prose-kbd : var (--color-ctp-overlay2 );
14+ --tw-prose-kbd-shadows : color-mix (
15+ in oklab ,
16+ var (--color-ctp-overlay2 ) 50% ,
17+ transparent
18+ );
19+ --tw-prose-code : var (--color-ctp-subtext0 );
20+ --tw-prose-pre-code : var (--color-ctp-subtext1 );
21+ --tw-prose-pre-bg : var (--color-ctp-mantle );
22+ --tw-prose-th-borders : var (--color-ctp-surface2 );
23+ --tw-prose-td-borders : var (--color-ctp-surface0 );
24+ }
25+
You can’t perform that action at this time.
0 commit comments