|
| 1 | +import Head from 'next/head' |
| 2 | +import MarkdownSampleShort from '../components/MarkdownSampleShort.mdx' |
| 3 | + |
| 4 | +export default function Index() { |
| 5 | + return ( |
| 6 | + <div className="antialiased text-gray-900 py-12 pl-32 space-y-12"> |
| 7 | + <Head> |
| 8 | + <title>Tailwind CSS Typography</title> |
| 9 | + </Head> |
| 10 | + <div className="relative"> |
| 11 | + <div className="absolute inset-0 flex prose prose-sm opacity-0"> |
| 12 | + <div className="border-l border-red-200" style={{ width: '1em' }}></div> |
| 13 | + <div className="border-l border-red-100" style={{ width: '1em' }}></div> |
| 14 | + <div className="border-l border-red-100" style={{ width: '1em' }}></div> |
| 15 | + <div className="border-l border-red-100" style={{ width: '1em' }}></div> |
| 16 | + <div className="border-l border-red-200" style={{ width: '1em' }}></div> |
| 17 | + <div className="border-l border-red-100" style={{ width: '1em' }}></div> |
| 18 | + <div className="border-l border-red-100" style={{ width: '1em' }}></div> |
| 19 | + <div className="border-l border-red-100" style={{ width: '1em' }}></div> |
| 20 | + </div> |
| 21 | + <div className="relative prose prose-sm"> |
| 22 | + <h3>prose-sm</h3> |
| 23 | + <p>It's important to cover all of these use cases for a few reasons:</p> |
| 24 | + <ol> |
| 25 | + <li>We want everything to look good out of the box.</li> |
| 26 | + <li>Really just the first reason, that's the whole point of the plugin.</li> |
| 27 | + <li> |
| 28 | + Here's a third pretend reason though a list with three items looks more realistic than |
| 29 | + a list with two items. |
| 30 | + </li> |
| 31 | + <li>We want everything to look good out of the box.</li> |
| 32 | + <li>Really just the first reason, that's the whole point of the plugin.</li> |
| 33 | + </ol> |
| 34 | + <p>Now we're going to try out another header style.</p> |
| 35 | + <ul> |
| 36 | + <li>So here is the first item in this list.</li> |
| 37 | + <li>In this example we're keeping the items short.</li> |
| 38 | + <li>Later, we'll use longer, more complex list items.</li> |
| 39 | + </ul> |
| 40 | + </div> |
| 41 | + </div> |
| 42 | + <div className="relative"> |
| 43 | + <div className="absolute inset-0 flex prose prose-base opacity-0"> |
| 44 | + <div className="border-l border-red-200" style={{ width: '1em' }}></div> |
| 45 | + <div className="border-l border-red-100" style={{ width: '1em' }}></div> |
| 46 | + <div className="border-l border-red-100" style={{ width: '1em' }}></div> |
| 47 | + <div className="border-l border-red-100" style={{ width: '1em' }}></div> |
| 48 | + <div className="border-l border-red-200" style={{ width: '1em' }}></div> |
| 49 | + <div className="border-l border-red-100" style={{ width: '1em' }}></div> |
| 50 | + <div className="border-l border-red-100" style={{ width: '1em' }}></div> |
| 51 | + <div className="border-l border-red-100" style={{ width: '1em' }}></div> |
| 52 | + </div> |
| 53 | + <div className="relative prose prose-base"> |
| 54 | + <h3>prose-base</h3> |
| 55 | + <p>It's important to cover all of these use cases for a few reasons:</p> |
| 56 | + <ol> |
| 57 | + <li>We want everything to look good out of the box.</li> |
| 58 | + <li>Really just the first reason, that's the whole point of the plugin.</li> |
| 59 | + <li> |
| 60 | + Here's a third pretend reason though a list with three items looks more realistic than |
| 61 | + a list with two items. |
| 62 | + </li> |
| 63 | + <li>We want everything to look good out of the box.</li> |
| 64 | + <li>Really just the first reason, that's the whole point of the plugin.</li> |
| 65 | + </ol> |
| 66 | + <p>Now we're going to try out another header style.</p> |
| 67 | + <ul> |
| 68 | + <li>So here is the first item in this list.</li> |
| 69 | + <li>In this example we're keeping the items short.</li> |
| 70 | + <li>Later, we'll use longer, more complex list items.</li> |
| 71 | + </ul> |
| 72 | + </div> |
| 73 | + </div> |
| 74 | + <div className="relative"> |
| 75 | + <div className="absolute inset-0 flex prose prose-lg opacity-0"> |
| 76 | + <div className="border-l border-red-200" style={{ width: '1em' }}></div> |
| 77 | + <div className="border-l border-red-100" style={{ width: '1em' }}></div> |
| 78 | + <div className="border-l border-red-100" style={{ width: '1em' }}></div> |
| 79 | + <div className="border-l border-red-100" style={{ width: '1em' }}></div> |
| 80 | + <div className="border-l border-red-200" style={{ width: '1em' }}></div> |
| 81 | + <div className="border-l border-red-100" style={{ width: '1em' }}></div> |
| 82 | + <div className="border-l border-red-100" style={{ width: '1em' }}></div> |
| 83 | + <div className="border-l border-red-100" style={{ width: '1em' }}></div> |
| 84 | + </div> |
| 85 | + <div className="relative prose prose-lg"> |
| 86 | + <h3>prose-lg</h3> |
| 87 | + <p>It's important to cover all of these use cases for a few reasons:</p> |
| 88 | + <ol> |
| 89 | + <li>We want everything to look good out of the box.</li> |
| 90 | + <li>Really just the first reason, that's the whole point of the plugin.</li> |
| 91 | + <li> |
| 92 | + Here's a third pretend reason though a list with three items looks more realistic than |
| 93 | + a list with two items. |
| 94 | + </li> |
| 95 | + <li>We want everything to look good out of the box.</li> |
| 96 | + <li>Really just the first reason, that's the whole point of the plugin.</li> |
| 97 | + </ol> |
| 98 | + <p>Now we're going to try out another header style.</p> |
| 99 | + <ul> |
| 100 | + <li>So here is the first item in this list.</li> |
| 101 | + <li>In this example we're keeping the items short.</li> |
| 102 | + <li>Later, we'll use longer, more complex list items.</li> |
| 103 | + </ul> |
| 104 | + </div> |
| 105 | + </div> |
| 106 | + <div className="relative"> |
| 107 | + <div className="absolute inset-0 flex prose prose-xl opacity-0"> |
| 108 | + <div className="border-l border-red-200" style={{ width: '1em' }}></div> |
| 109 | + <div className="border-l border-red-100" style={{ width: '1em' }}></div> |
| 110 | + <div className="border-l border-red-100" style={{ width: '1em' }}></div> |
| 111 | + <div className="border-l border-red-100" style={{ width: '1em' }}></div> |
| 112 | + <div className="border-l border-red-200" style={{ width: '1em' }}></div> |
| 113 | + <div className="border-l border-red-100" style={{ width: '1em' }}></div> |
| 114 | + <div className="border-l border-red-100" style={{ width: '1em' }}></div> |
| 115 | + <div className="border-l border-red-100" style={{ width: '1em' }}></div> |
| 116 | + </div> |
| 117 | + <div className="relative prose prose-xl"> |
| 118 | + <h3>prose-xl</h3> |
| 119 | + <p>It's important to cover all of these use cases for a few reasons:</p> |
| 120 | + <ol> |
| 121 | + <li>We want everything to look good out of the box.</li> |
| 122 | + <li>Really just the first reason, that's the whole point of the plugin.</li> |
| 123 | + <li> |
| 124 | + Here's a third pretend reason though a list with three items looks more realistic than |
| 125 | + a list with two items. |
| 126 | + </li> |
| 127 | + <li>We want everything to look good out of the box.</li> |
| 128 | + <li>Really just the first reason, that's the whole point of the plugin.</li> |
| 129 | + </ol> |
| 130 | + <p>Now we're going to try out another header style.</p> |
| 131 | + <ul> |
| 132 | + <li>So here is the first item in this list.</li> |
| 133 | + <li>In this example we're keeping the items short.</li> |
| 134 | + <li>Later, we'll use longer, more complex list items.</li> |
| 135 | + </ul> |
| 136 | + </div> |
| 137 | + </div> |
| 138 | + <div className="relative"> |
| 139 | + <div className="absolute inset-0 flex prose prose-2xl opacity-0"> |
| 140 | + <div className="border-l border-red-200" style={{ width: '1em' }}></div> |
| 141 | + <div className="border-l border-red-100" style={{ width: '1em' }}></div> |
| 142 | + <div className="border-l border-red-100" style={{ width: '1em' }}></div> |
| 143 | + <div className="border-l border-red-100" style={{ width: '1em' }}></div> |
| 144 | + <div className="border-l border-red-200" style={{ width: '1em' }}></div> |
| 145 | + <div className="border-l border-red-100" style={{ width: '1em' }}></div> |
| 146 | + <div className="border-l border-red-100" style={{ width: '1em' }}></div> |
| 147 | + <div className="border-l border-red-100" style={{ width: '1em' }}></div> |
| 148 | + </div> |
| 149 | + <div className="relative prose prose-2xl"> |
| 150 | + <h3>prose-2xl</h3> |
| 151 | + <p>It's important to cover all of these use cases for a few reasons:</p> |
| 152 | + <ol> |
| 153 | + <li>We want everything to look good out of the box.</li> |
| 154 | + <li>Really just the first reason, that's the whole point of the plugin.</li> |
| 155 | + <li> |
| 156 | + Here's a third pretend reason though a list with three items looks more realistic than |
| 157 | + a list with two items. |
| 158 | + </li> |
| 159 | + <li>We want everything to look good out of the box.</li> |
| 160 | + <li>Really just the first reason, that's the whole point of the plugin.</li> |
| 161 | + </ol> |
| 162 | + <p>Now we're going to try out another header style.</p> |
| 163 | + <ul> |
| 164 | + <li>So here is the first item in this list.</li> |
| 165 | + <li>In this example we're keeping the items short.</li> |
| 166 | + <li>Later, we'll use longer, more complex list items.</li> |
| 167 | + </ul> |
| 168 | + </div> |
| 169 | + </div> |
| 170 | + </div> |
| 171 | + ) |
| 172 | +} |
| 173 | + |
| 174 | +export const config = { |
| 175 | + unstable_runtimeJS: false, |
| 176 | +} |
0 commit comments