[org] chore: Extended typography page
This commit is contained in:
parent
ea58334dd9
commit
2ba225fb28
1 changed files with 27 additions and 0 deletions
|
@ -10,6 +10,20 @@ const p = (
|
||||||
</p>
|
</p>
|
||||||
)
|
)
|
||||||
|
|
||||||
|
const namedColors = [
|
||||||
|
'base-100',
|
||||||
|
'base-200',
|
||||||
|
'base-300',
|
||||||
|
'primary',
|
||||||
|
'secondary',
|
||||||
|
'neutral',
|
||||||
|
'accent',
|
||||||
|
'success',
|
||||||
|
'info',
|
||||||
|
'warning',
|
||||||
|
'error',
|
||||||
|
]
|
||||||
|
|
||||||
const TypographyPage = ({ page }) => {
|
const TypographyPage = ({ page }) => {
|
||||||
return (
|
return (
|
||||||
<Layout
|
<Layout
|
||||||
|
@ -90,6 +104,19 @@ const TypographyPage = ({ page }) => {
|
||||||
Tiny wide
|
Tiny wide
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
<h2>Named colors</h2>
|
||||||
|
<ul className="tw:list tw:list-inside tw:list-disc tw:ml-2">
|
||||||
|
{namedColors.map((color) => (
|
||||||
|
<li key={color} className={`tw:text-${color}`}>
|
||||||
|
tw:{color}
|
||||||
|
</li>
|
||||||
|
))}
|
||||||
|
{namedColors.map((color) => (
|
||||||
|
<li key={color} className={`tw:text-${color}-content tw:bg-${color}`}>
|
||||||
|
tw:{color}-content tw:bg-{color}
|
||||||
|
</li>
|
||||||
|
))}
|
||||||
|
</ul>
|
||||||
<h2>Tabs</h2>
|
<h2>Tabs</h2>
|
||||||
<Tabs>
|
<Tabs>
|
||||||
<TabItem value="1" label="Tab 1">
|
<TabItem value="1" label="Tab 1">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue