fulldev-ui 0.3.36 → 0.4.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/ISSUE_TEMPLATE/bug_report.yml +57 -0
- package/.github/ISSUE_TEMPLATE/config.yml +5 -0
- package/.github/ISSUE_TEMPLATE/feature_request.yml +39 -0
- package/.github/pull_request_template.md +23 -0
- package/.github/workflows/github-releases-to-discord.yml +21 -0
- package/.prettierignore +15 -0
- package/.prettierrc.yaml +34 -0
- package/.vscode/extensions.json +4 -0
- package/.vscode/launch.json +11 -0
- package/.vscode/settings.json +23 -0
- package/CHANGELOG.md +100 -0
- package/CONTRIBUTING.md +102 -0
- package/LICENCE +21 -0
- package/README.md +9 -6
- package/astro.config.ts +44 -0
- package/package.json +41 -27
- package/pnpm-lock.yaml +6229 -0
- package/public/favicon/android-chrome-192x192.png +0 -0
- package/public/favicon/android-chrome-512x512.png +0 -0
- package/public/favicon/apple-touch-icon.png +0 -0
- package/public/favicon/browserconfig.xml +9 -0
- package/public/favicon/favicon-16x16.png +0 -0
- package/public/favicon/favicon-32x32.png +0 -0
- package/public/favicon/favicon.ico +0 -0
- package/public/favicon/mstile-150x150.png +0 -0
- package/public/favicon/safari-pinned-tab.svg +17 -0
- package/public/favicon/site.webmanifest +19 -0
- package/public/images/avatar-placeholder.jpg +0 -0
- package/public/images/avatars/1.jpeg +0 -0
- package/public/images/avatars/2.jpeg +0 -0
- package/public/images/avatars/3.jpeg +0 -0
- package/public/images/avatars/300/1.jpeg +0 -0
- package/public/images/avatars/300/2.jpeg +0 -0
- package/public/images/avatars/300/3.jpeg +0 -0
- package/public/images/avatars/300/4.jpeg +0 -0
- package/public/images/avatars/4.jpeg +0 -0
- package/public/images/avatars/5.jpeg +0 -0
- package/public/images/avatars/500/1.jpeg +0 -0
- package/public/images/avatars/500/2.jpeg +0 -0
- package/public/images/avatars/500/3.jpeg +0 -0
- package/public/images/avatars/500/4.jpeg +0 -0
- package/public/images/avatars/6.jpeg +0 -0
- package/public/images/avatars/7.jpeg +0 -0
- package/public/images/avatars/8.jpeg +0 -0
- package/public/images/block-code.png +0 -0
- package/public/images/blocks/colleagues.png +0 -0
- package/public/images/blocks/content.png +0 -0
- package/public/images/blocks/cta.png +0 -0
- package/public/images/blocks/features.png +0 -0
- package/public/images/blocks/footer.png +0 -0
- package/public/images/blocks/header.png +0 -0
- package/public/images/blocks/hero.png +0 -0
- package/public/images/blocks/intro.png +0 -0
- package/public/images/blocks/posts.png +0 -0
- package/public/images/blocks/prices.png +0 -0
- package/public/images/blocks/reviews.png +0 -0
- package/public/images/component-code.png +0 -0
- package/public/images/logo-placeholder.svg +1 -0
- package/public/images/placeholder-center.webp +0 -0
- package/public/images/placeholder-landscape-dark.png +0 -0
- package/public/images/placeholder-landscape.webp +0 -0
- package/public/images/placeholder-portrait.webp +0 -0
- package/public/images/placeholder-right.webp +0 -0
- package/public/images/placeholder.webp +0 -0
- package/siteicon.png +0 -0
- package/src/blocks/Categories.astro +12 -0
- package/src/blocks/Colleagues.astro +12 -0
- package/src/blocks/Contact.astro +152 -0
- package/src/blocks/Content.astro +12 -0
- package/src/blocks/Cta.astro +14 -0
- package/src/blocks/Features.astro +11 -0
- package/src/blocks/Footer.astro +7 -0
- package/src/blocks/Header.astro +7 -0
- package/src/blocks/Hero.astro +16 -0
- package/src/blocks/Intro.astro +19 -0
- package/src/blocks/Jobs.astro +12 -0
- package/src/blocks/Posts.astro +11 -0
- package/src/blocks/Prices.astro +22 -0
- package/src/blocks/Product.astro +64 -0
- package/src/blocks/Products.astro +11 -0
- package/src/blocks/Reviews.astro +13 -0
- package/src/components/{base/Avatar.astro → Avatar.astro} +7 -11
- package/src/components/{base/Badge.astro → Badge.astro} +36 -22
- package/src/components/{structure/Bento.astro → Bento.astro} +6 -9
- package/src/components/Block.astro +157 -0
- package/src/components/Blocks.astro +5 -0
- package/src/components/Box.astro +60 -0
- package/src/components/Button.astro +140 -0
- package/src/components/Card.astro +212 -0
- package/src/components/{structure/Carousel.astro → Carousel.astro} +13 -16
- package/src/components/Checkbox.astro +63 -0
- package/src/components/{structure/Column.astro → Column.astro} +14 -9
- package/src/components/Dialog.astro +65 -0
- package/src/components/Drawer.astro +99 -0
- package/src/components/Footer.astro +144 -0
- package/src/components/{structure/Grid.astro → Grid.astro} +7 -10
- package/src/components/Head.astro +85 -0
- package/src/components/Header.astro +204 -0
- package/src/components/Heading.astro +79 -0
- package/src/components/{base/Icon.astro → Icon.astro} +7 -9
- package/src/components/{base/Image.astro → Image.astro} +32 -30
- package/src/components/Input.astro +119 -0
- package/src/components/{typography/Label.astro → Label.astro} +12 -12
- package/src/components/{typography/Link.astro → Link.astro} +15 -13
- package/src/components/List.astro +41 -0
- package/src/components/{structure/Masonry.astro → Masonry.astro} +9 -11
- package/src/components/Rating.astro +82 -0
- package/src/components/{_Component.astro → Root.astro} +7 -11
- package/src/components/{structure/Row.astro → Row.astro} +6 -9
- package/src/components/Search.astro +62 -0
- package/src/components/Section.astro +274 -0
- package/src/components/Select.astro +144 -0
- package/src/components/Sidebar.astro +71 -0
- package/src/components/{structure/Split.astro → Split.astro} +6 -9
- package/src/components/{structure/Spread.astro → Spread.astro} +6 -9
- package/src/components/Switch.astro +114 -0
- package/src/components/Table.astro +121 -0
- package/src/components/Tagline.astro +35 -0
- package/src/components/Text.astro +43 -0
- package/src/components/Textarea.astro +105 -0
- package/src/components/Toc.astro +52 -0
- package/src/components/{structure/Wrap.astro → Wrap.astro} +5 -10
- package/src/components/docs/DecorativeBox.astro +15 -0
- package/src/components/docs/PropsTable.astro +95 -0
- package/src/components/experimental/Channel.astro +15 -10
- package/src/components/experimental/Form.astro +34 -0
- package/src/components/experimental/Gallery.astro +180 -0
- package/src/components/experimental/GalleryVertical.astro +161 -0
- package/src/components/{base → experimental}/Logo.astro +3 -5
- package/src/components/experimental/Price.astro +17 -17
- package/src/components/experimental/Prose.astro +154 -0
- package/src/components/{base → experimental}/Video.astro +1 -1
- package/src/components/experimental/Window.astro +173 -0
- package/src/content/config.ts +16 -13
- package/src/content/pages/_changelog.mdx +10 -0
- package/src/content/pages/_segment/footer.mdx +244 -0
- package/src/content/pages/_segment/header.mdx +210 -0
- package/src/content/pages/base/_dialog.mdx +17 -0
- package/src/content/pages/base/_drawer.mdx +17 -0
- package/src/content/pages/base/_image.mdx +14 -0
- package/src/content/pages/base/_switch.mdx +33 -0
- package/src/content/pages/base/badge.mdx +70 -0
- package/src/content/pages/base/button.mdx +71 -0
- package/src/content/pages/base/card.mdx +114 -0
- package/src/content/pages/base/checkbox.mdx +43 -0
- package/src/content/pages/base/icon.mdx +54 -0
- package/src/content/pages/base/input.mdx +67 -0
- package/src/content/pages/base/rating.mdx +66 -0
- package/src/content/pages/base/section.mdx +79 -0
- package/src/content/pages/base/select.mdx +77 -0
- package/src/content/pages/base/table.mdx +133 -0
- package/src/content/pages/base/textarea.mdx +73 -0
- package/src/content/pages/blocks/_banner.mdx +13 -0
- package/src/content/pages/blocks/_categories.mdx +149 -0
- package/src/content/pages/blocks/_jobs.mdx +37 -0
- package/src/content/pages/blocks/_product.mdx +29 -0
- package/src/content/pages/blocks/_products.mdx +55 -0
- package/src/content/pages/blocks/_stats.mdx +34 -0
- package/src/content/pages/blocks/colleagues.mdx +42 -0
- package/src/content/pages/blocks/content.mdx +101 -0
- package/src/content/pages/blocks/cta.mdx +192 -0
- package/src/content/pages/blocks/features.mdx +134 -0
- package/src/content/pages/blocks/footer.mdx +71 -0
- package/src/content/pages/blocks/header.mdx +192 -0
- package/src/content/pages/blocks/hero.mdx +97 -0
- package/src/content/pages/blocks/intro.mdx +132 -0
- package/src/content/pages/blocks/posts.mdx +40 -0
- package/src/content/pages/blocks/prices.mdx +126 -0
- package/src/content/pages/blocks/reviews.mdx +249 -0
- package/src/content/pages/blocks.mdx +10 -0
- package/src/content/pages/index.mdx +65 -0
- package/src/content/pages/overview/frameworks.mdx +180 -0
- package/src/content/pages/overview/installation.mdx +20 -0
- package/src/content/pages/overview/integration.mdx +37 -0
- package/src/content/pages/overview/introduction.mdx +20 -0
- package/src/content/pages/overview/theming.mdx +83 -0
- package/src/content/pages/structure/_row.mdx +23 -0
- package/src/content/pages/structure/_wrap.mdx +25 -0
- package/src/content/pages/structure/carousel.mdx +31 -0
- package/src/content/pages/structure/column.mdx +21 -0
- package/src/content/pages/structure/grid.mdx +26 -0
- package/src/content/pages/structure/masonry.mdx +32 -0
- package/src/content/pages/structure/split.mdx +21 -0
- package/src/content/pages/structure/spread.mdx +21 -0
- package/src/content/pages/typography/_tagline.mdx +36 -0
- package/src/content/pages/typography/heading.mdx +74 -0
- package/src/content/pages/typography/label.mdx +42 -0
- package/src/content/pages/typography/link.mdx +63 -0
- package/src/content/pages/typography/list.mdx +52 -0
- package/src/content/pages/typography/text.mdx +62 -0
- package/src/content/records/record.yml +1 -0
- package/src/content/settings/base.yml +48 -0
- package/src/content/settings/components.yml +27 -0
- package/src/css/color.css +6 -67
- package/src/css/custom.css +59 -0
- package/src/css/size.css +130 -0
- package/src/css/space.css +47 -26
- package/src/css/styles.css +4 -2
- package/src/env.d.ts +1 -1
- package/src/integration/generate-colors.ts +637 -0
- package/src/integration/index.ts +158 -0
- package/src/integration/tailwind-plugin.ts +80 -0
- package/src/integration/unocss-preset.ts +84 -0
- package/src/layouts/BlockLayout.astro +24 -0
- package/src/layouts/BlockOverviewLayout.astro +39 -0
- package/src/layouts/ComponentLayout.astro +23 -0
- package/src/layouts/JobsLayout.astro +40 -0
- package/src/layouts/Layout.astro +168 -0
- package/src/layouts/OverviewLayout.astro +45 -0
- package/src/layouts/PageLayout.astro +32 -0
- package/src/layouts/PostLayout.astro +32 -0
- package/src/layouts/ProductLayout.astro +31 -0
- package/src/pages/[...page].astro +41 -0
- package/src/schemas/base.ts +81 -0
- package/src/schemas/block.ts +15 -0
- package/src/schemas/card.ts +3 -0
- package/src/schemas/page.ts +43 -0
- package/src/schemas/utils.ts +22 -0
- package/src/utils/mergeEntries.ts +28 -0
- package/tsconfig.json +10 -1
- package/.astro/settings.json +0 -5
- package/.astro/types.d.ts +0 -147
- package/.env +0 -1
- package/astro.config.mjs +0 -6
- package/src/components/_Block.astro +0 -20
- package/src/components/_Blocks.astro +0 -11
- package/src/components/_Children.astro +0 -31
- package/src/components/_archive/Body.astro +0 -37
- package/src/components/_archive/Main.astro +0 -28
- package/src/components/_archive/Nav.astro +0 -50
- package/src/components/_todo/Form.astro +0 -36
- package/src/components/_todo/Prose.astro +0 -139
- package/src/components/_todo/Writeup.astro +0 -24
- package/src/components/base/Button.astro +0 -123
- package/src/components/base/Rating.astro +0 -47
- package/src/components/base/checkbox/Checkbox.astro +0 -52
- package/src/components/base/checkbox/CheckboxElement.astro +0 -31
- package/src/components/base/input/Input.astro +0 -79
- package/src/components/base/input/InputElement.astro +0 -69
- package/src/components/base/radio/Radio.astro +0 -66
- package/src/components/base/radio/RadioElement.astro +0 -34
- package/src/components/base/select/Select.astro +0 -90
- package/src/components/base/select/SelectElement.astro +0 -56
- package/src/components/base/select/SelectOption.astro +0 -32
- package/src/components/base/switch/Switch.astro +0 -55
- package/src/components/base/switch/SwitchElement.astro +0 -84
- package/src/components/base/table/Table.astro +0 -57
- package/src/components/base/table/TableBody.astro +0 -38
- package/src/components/base/table/TableCell.astro +0 -30
- package/src/components/base/table/TableFooter.astro +0 -48
- package/src/components/base/table/TableHead.astro +0 -31
- package/src/components/base/table/TableHeader.astro +0 -44
- package/src/components/base/table/TableRow.astro +0 -46
- package/src/components/base/textarea/Textarea.astro +0 -79
- package/src/components/base/textarea/TextareaElement.astro +0 -68
- package/src/components/segment/Box.astro +0 -46
- package/src/components/segment/Card.astro +0 -114
- package/src/components/segment/Footer.astro +0 -94
- package/src/components/segment/Header.astro +0 -100
- package/src/components/segment/Section.astro +0 -103
- package/src/components/segment/_regels.md +0 -32
- package/src/components/typography/Heading.astro +0 -66
- package/src/components/typography/List.astro +0 -47
- package/src/components/typography/ListItem.astro +0 -36
- package/src/components/typography/Paragraph.astro +0 -36
- package/src/components/typography/Tagline.astro +0 -36
- package/src/components/typography/Text.astro +0 -37
- package/src/components/utility/Head.astro +0 -83
- package/src/components/utility/Layout.astro +0 -46
- package/src/content/pages/index.md +0 -2
- package/src/css/color.scss +0 -289
- package/src/css/size.scss +0 -296
- package/src/css/utils.scss +0 -16
- package/src/index.ts +0 -71
- package/src/integration/integration.ts +0 -88
- package/src/integration/tailwind.ts +0 -34
- package/src/integration/unocss.ts +0 -38
- /package/src/{_archive → utils/_archive}/Childmorphic.ts +0 -0
- /package/src/{_archive → utils/_archive}/getAllCollections.ts +0 -0
- /package/src/{_archive → utils/_archive}/getCollectionCascade.ts +0 -0
- /package/src/{_archive → utils/_archive}/getPathname.ts +0 -0
- /package/src/{_archive → utils/_archive}/staticPageSchema.ts +0 -0
- /package/src/{_archive → utils/_archive}/transform/transform.ts +0 -0
- /package/src/{_archive → utils/_archive}/transform/transformCasing.ts +0 -0
- /package/src/{_archive → utils/_archive}/transform/transformReferences.ts +0 -0
- /package/src/{_archive → utils/_archive}/transform/transformSelfs.ts +0 -0
- /package/src/{_archive → utils/_archive}/transform/transformUnderscores.ts +0 -0
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
---
|
|
2
|
+
_layout: ComponentLayout
|
|
3
|
+
settings: components
|
|
4
|
+
|
|
5
|
+
title: Wrap
|
|
6
|
+
description: Structures children onto one line or can wrap onto multiple lines.
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
```astro live
|
|
10
|
+
---
|
|
11
|
+
import DecorativeBox from 'fulldev-ui/components/docs/DecorativeBox.astro'
|
|
12
|
+
import Wrap from 'fulldev-ui/components/Wrap.astro'
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
<Wrap>
|
|
16
|
+
<DecorativeBox />
|
|
17
|
+
<DecorativeBox />
|
|
18
|
+
<DecorativeBox />
|
|
19
|
+
<DecorativeBox />
|
|
20
|
+
<DecorativeBox />
|
|
21
|
+
<DecorativeBox />
|
|
22
|
+
<DecorativeBox />
|
|
23
|
+
<DecorativeBox />
|
|
24
|
+
</Wrap>
|
|
25
|
+
```
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
---
|
|
2
|
+
_layout: BlockLayout
|
|
3
|
+
settings: components
|
|
4
|
+
|
|
5
|
+
title: Carousel
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
```astro live
|
|
9
|
+
---
|
|
10
|
+
import Carousel from 'fulldev-ui/components/Carousel.astro'
|
|
11
|
+
import DecorativeBox from 'fulldev-ui/components/docs/DecorativeBox.astro'
|
|
12
|
+
import Section from 'fulldev-ui/components/Section.astro'
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
<Section>
|
|
16
|
+
<Carousel position="inset">
|
|
17
|
+
<DecorativeBox />
|
|
18
|
+
<DecorativeBox />
|
|
19
|
+
<DecorativeBox />
|
|
20
|
+
<DecorativeBox />
|
|
21
|
+
<DecorativeBox />
|
|
22
|
+
<DecorativeBox />
|
|
23
|
+
<DecorativeBox />
|
|
24
|
+
<DecorativeBox />
|
|
25
|
+
<DecorativeBox />
|
|
26
|
+
<DecorativeBox />
|
|
27
|
+
<DecorativeBox />
|
|
28
|
+
<DecorativeBox />
|
|
29
|
+
</Carousel>
|
|
30
|
+
</Section>
|
|
31
|
+
```
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
---
|
|
2
|
+
_layout: BlockLayout
|
|
3
|
+
settings: components
|
|
4
|
+
|
|
5
|
+
title: Column
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
```astro live
|
|
9
|
+
---
|
|
10
|
+
import Column from 'fulldev-ui/components/Column.astro'
|
|
11
|
+
import DecorativeBox from 'fulldev-ui/components/docs/DecorativeBox.astro'
|
|
12
|
+
import Section from 'fulldev-ui/components/Section.astro'
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
<Section>
|
|
16
|
+
<Column>
|
|
17
|
+
<DecorativeBox />
|
|
18
|
+
<DecorativeBox />
|
|
19
|
+
</Column>
|
|
20
|
+
</Section>
|
|
21
|
+
```
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
---
|
|
2
|
+
_layout: BlockLayout
|
|
3
|
+
settings: components
|
|
4
|
+
|
|
5
|
+
title: Grid
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
```astro live
|
|
9
|
+
---
|
|
10
|
+
import DecorativeBox from 'fulldev-ui/components/docs/DecorativeBox.astro'
|
|
11
|
+
import Grid from 'fulldev-ui/components/Grid.astro'
|
|
12
|
+
import Section from 'fulldev-ui/components/Section.astro'
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
<Section>
|
|
16
|
+
<Grid>
|
|
17
|
+
<DecorativeBox />
|
|
18
|
+
<DecorativeBox />
|
|
19
|
+
<DecorativeBox />
|
|
20
|
+
<DecorativeBox />
|
|
21
|
+
<DecorativeBox />
|
|
22
|
+
<DecorativeBox />
|
|
23
|
+
<DecorativeBox />
|
|
24
|
+
</Grid>
|
|
25
|
+
</Section>
|
|
26
|
+
```
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
---
|
|
2
|
+
_layout: BlockLayout
|
|
3
|
+
settings: components
|
|
4
|
+
|
|
5
|
+
title: Masonry
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
```astro live
|
|
9
|
+
---
|
|
10
|
+
import DecorativeBox from 'fulldev-ui/components/docs/DecorativeBox.astro'
|
|
11
|
+
import Masonry from 'fulldev-ui/components/Masonry.astro'
|
|
12
|
+
import Section from 'fulldev-ui/components/Section.astro'
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
<Section>
|
|
16
|
+
<Masonry>
|
|
17
|
+
<DecorativeBox style={{ height: '150px' }} />
|
|
18
|
+
<DecorativeBox style={{ height: '150px' }} />
|
|
19
|
+
<DecorativeBox />
|
|
20
|
+
<DecorativeBox style={{ height: '150px' }} />
|
|
21
|
+
<DecorativeBox />
|
|
22
|
+
<DecorativeBox style={{ height: '150px' }} />
|
|
23
|
+
<DecorativeBox style={{ height: '150px' }} />
|
|
24
|
+
<DecorativeBox />
|
|
25
|
+
<DecorativeBox />
|
|
26
|
+
<DecorativeBox style={{ height: '150px' }} />
|
|
27
|
+
<DecorativeBox />
|
|
28
|
+
<DecorativeBox style={{ height: '150px' }} />
|
|
29
|
+
<DecorativeBox />
|
|
30
|
+
</Masonry>
|
|
31
|
+
</Section>
|
|
32
|
+
```
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
---
|
|
2
|
+
_layout: BlockLayout
|
|
3
|
+
settings: components
|
|
4
|
+
|
|
5
|
+
title: Split
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
```astro live
|
|
9
|
+
---
|
|
10
|
+
import DecorativeBox from 'fulldev-ui/components/docs/DecorativeBox.astro'
|
|
11
|
+
import Section from 'fulldev-ui/components/Section.astro'
|
|
12
|
+
import Split from 'fulldev-ui/components/Split.astro'
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
<Section>
|
|
16
|
+
<Split>
|
|
17
|
+
<DecorativeBox />
|
|
18
|
+
<DecorativeBox />
|
|
19
|
+
</Split>
|
|
20
|
+
</Section>
|
|
21
|
+
```
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
---
|
|
2
|
+
_layout: BlockLayout
|
|
3
|
+
settings: components
|
|
4
|
+
|
|
5
|
+
title: Spread
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
```astro live
|
|
9
|
+
---
|
|
10
|
+
import DecorativeBox from 'fulldev-ui/components/docs/DecorativeBox.astro'
|
|
11
|
+
import Section from 'fulldev-ui/components/Section.astro'
|
|
12
|
+
import Spread from 'fulldev-ui/components/Spread.astro'
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
<Section>
|
|
16
|
+
<Spread>
|
|
17
|
+
<DecorativeBox />
|
|
18
|
+
<DecorativeBox />
|
|
19
|
+
</Spread>
|
|
20
|
+
</Section>
|
|
21
|
+
```
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
---
|
|
2
|
+
_layout: ComponentLayout
|
|
3
|
+
settings: components
|
|
4
|
+
|
|
5
|
+
title: Tagline
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
```astro live
|
|
9
|
+
---
|
|
10
|
+
import Tagline from 'fulldev-ui/components/Tagline.astro'
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
<Tagline size="sm">This is a tagline</Tagline>
|
|
14
|
+
<Tagline size="md">This is a tagline</Tagline>
|
|
15
|
+
<Tagline size="lg">This is a tagline</Tagline>
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
```astro live
|
|
19
|
+
---
|
|
20
|
+
import Tagline from 'fulldev-ui/components/Tagline.astro'
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
<Tagline color="base">The quick brown fox jumps</Tagline>
|
|
24
|
+
<Tagline color="brand">The quick brown fox jumps</Tagline>
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
Set to `true` by default on Headings, which you can override by setting it to `false`.
|
|
28
|
+
|
|
29
|
+
```astro live
|
|
30
|
+
---
|
|
31
|
+
import Tagline from 'fulldev-ui/components/Tagline.astro'
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
<Tagline contrast={true}>The quick brown fox jumps</Tagline>
|
|
35
|
+
<Tagline contrast={false}>The quick brown fox jumps</Tagline>
|
|
36
|
+
```
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
---
|
|
2
|
+
_layout: ComponentLayout
|
|
3
|
+
settings: components
|
|
4
|
+
|
|
5
|
+
title: Heading
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Heading
|
|
9
|
+
|
|
10
|
+
import PropsTable from 'fulldev-ui/components/docs/PropsTable.astro'
|
|
11
|
+
|
|
12
|
+
```astro live
|
|
13
|
+
---
|
|
14
|
+
import Heading from 'fulldev-ui/components/Heading.astro'
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
<Heading>The quick brown fox jumps</Heading>
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## Props
|
|
21
|
+
|
|
22
|
+
<PropsTable />
|
|
23
|
+
|
|
24
|
+
## Examples
|
|
25
|
+
|
|
26
|
+
```astro live
|
|
27
|
+
---
|
|
28
|
+
import Heading from 'fulldev-ui/components/Heading.astro'
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
<Heading level={1}>The quick brown fox jumps</Heading>
|
|
32
|
+
<Heading level={2}>The quick brown fox jumps</Heading>
|
|
33
|
+
<Heading level={3}>The quick brown fox jumps</Heading>
|
|
34
|
+
<Heading level={4}>The quick brown fox jumps</Heading>
|
|
35
|
+
<Heading level={5}>The quick brown fox jumps</Heading>
|
|
36
|
+
<Heading level={6}>The quick brown fox jumps</Heading>
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
```astro live
|
|
40
|
+
---
|
|
41
|
+
import Heading from 'fulldev-ui/components/Heading.astro'
|
|
42
|
+
---
|
|
43
|
+
|
|
44
|
+
<Heading size="sm">The quick brown fox jumps</Heading>
|
|
45
|
+
<Heading size="md">The quick brown fox jumps</Heading>
|
|
46
|
+
<Heading size="lg">The quick brown fox jumps</Heading>
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
```astro live
|
|
50
|
+
---
|
|
51
|
+
import Heading from 'fulldev-ui/components/Heading.astro'
|
|
52
|
+
---
|
|
53
|
+
|
|
54
|
+
<Heading>The quick brown fox jumps</Heading>
|
|
55
|
+
<Heading contrast={false}>The quick brown fox jumps</Heading>
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
```astro live
|
|
59
|
+
---
|
|
60
|
+
import Heading from 'fulldev-ui/components/Heading.astro'
|
|
61
|
+
---
|
|
62
|
+
|
|
63
|
+
<Heading color="base">The quick brown fox jumps</Heading>
|
|
64
|
+
<Heading color="brand">The quick brown fox jumps</Heading>
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
```astro live
|
|
68
|
+
---
|
|
69
|
+
import Heading from 'fulldev-ui/components/Heading.astro'
|
|
70
|
+
---
|
|
71
|
+
|
|
72
|
+
<Heading contrast={false} color="base">The quick brown fox jumps</Heading>
|
|
73
|
+
<Heading contrast={false} color="brand">The quick brown fox jumps</Heading>
|
|
74
|
+
```
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
---
|
|
2
|
+
_layout: ComponentLayout
|
|
3
|
+
settings: components
|
|
4
|
+
|
|
5
|
+
title: Label
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Label
|
|
9
|
+
|
|
10
|
+
import PropsTable from 'fulldev-ui/components/docs/PropsTable.astro'
|
|
11
|
+
|
|
12
|
+
```astro live
|
|
13
|
+
---
|
|
14
|
+
import Label from 'fulldev-ui/components/Label.astro'
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
<Label>Label</Label>
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## Props
|
|
21
|
+
|
|
22
|
+
<PropsTable />
|
|
23
|
+
|
|
24
|
+
## Examples
|
|
25
|
+
|
|
26
|
+
```astro live
|
|
27
|
+
---
|
|
28
|
+
import Label from 'fulldev-ui/components/Label.astro'
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
<Label color="base">Label</Label>
|
|
32
|
+
<Label color="brand">Label</Label>
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
```astro live
|
|
36
|
+
---
|
|
37
|
+
import Label from 'fulldev-ui/components/Label.astro'
|
|
38
|
+
---
|
|
39
|
+
|
|
40
|
+
<Label>Label</Label>
|
|
41
|
+
<Label contrast>Label</Label>
|
|
42
|
+
```
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
---
|
|
2
|
+
_layout: ComponentLayout
|
|
3
|
+
settings: components
|
|
4
|
+
|
|
5
|
+
title: Link
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Link
|
|
9
|
+
|
|
10
|
+
import PropsTable from 'fulldev-ui/components/docs/PropsTable.astro'
|
|
11
|
+
|
|
12
|
+
```astro live
|
|
13
|
+
---
|
|
14
|
+
import Link from 'fulldev-ui/components/Link.astro'
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
<Link href="/base/link">Link</Link>
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## Props
|
|
21
|
+
|
|
22
|
+
<PropsTable />
|
|
23
|
+
|
|
24
|
+
## Examples
|
|
25
|
+
|
|
26
|
+
```astro live
|
|
27
|
+
---
|
|
28
|
+
import Link from 'fulldev-ui/components/Link.astro'
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
<Link href="/base/link" size="sm">Link</Link>
|
|
32
|
+
<Link href="/base/link" size="md">Link</Link>
|
|
33
|
+
<Link href="/base/link" size="lg">Link</Link>
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
```astro live
|
|
37
|
+
---
|
|
38
|
+
import Link from 'fulldev-ui/components/Link.astro'
|
|
39
|
+
---
|
|
40
|
+
|
|
41
|
+
<Link href="/base/link" underline="auto">Link</Link>
|
|
42
|
+
<Link href="/base/link" underline="always">Link</Link>
|
|
43
|
+
<Link href="/base/link" underline="hover">Link</Link>
|
|
44
|
+
<Link href="/base/link" underline="none">Link</Link>
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
```astro live
|
|
48
|
+
---
|
|
49
|
+
import Link from 'fulldev-ui/components/Link.astro'
|
|
50
|
+
---
|
|
51
|
+
|
|
52
|
+
<Link href="#">Link</Link>
|
|
53
|
+
<Link href="#" contrast>Link</Link>
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
```astro live
|
|
57
|
+
---
|
|
58
|
+
import Link from 'fulldev-ui/components/Link.astro'
|
|
59
|
+
---
|
|
60
|
+
|
|
61
|
+
<Link color="base">Link</Link>
|
|
62
|
+
<Link color="brand">Link</Link>
|
|
63
|
+
```
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
---
|
|
2
|
+
_layout: ComponentLayout
|
|
3
|
+
settings: components
|
|
4
|
+
|
|
5
|
+
title: List
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# List
|
|
9
|
+
|
|
10
|
+
import PropsTable from 'fulldev-ui/components/docs/PropsTable.astro'
|
|
11
|
+
|
|
12
|
+
```astro live
|
|
13
|
+
---
|
|
14
|
+
import List from 'fulldev-ui/components/List.astro'
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
<List items={['Item 1', 'Item 2']} />
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## Props
|
|
21
|
+
|
|
22
|
+
<PropsTable />
|
|
23
|
+
|
|
24
|
+
## Examples
|
|
25
|
+
|
|
26
|
+
```astro live
|
|
27
|
+
---
|
|
28
|
+
import List from 'fulldev-ui/components/List.astro'
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
<List size="sm" items={['Item 1', 'Item 2']} />
|
|
32
|
+
<List size="md" items={['Item 1', 'Item 2']} />
|
|
33
|
+
<List size="lg" items={['Item 1', 'Item 2']} />
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
```astro live
|
|
37
|
+
---
|
|
38
|
+
import List from 'fulldev-ui/components/List.astro'
|
|
39
|
+
---
|
|
40
|
+
|
|
41
|
+
<List color="base" items={['Item 1', 'Item 2']} />
|
|
42
|
+
<List color="brand" items={['Item 1', 'Item 2']} />
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
```astro live
|
|
46
|
+
---
|
|
47
|
+
import List from 'fulldev-ui/components/List.astro'
|
|
48
|
+
---
|
|
49
|
+
|
|
50
|
+
<List items={['Item 1', 'Item 2']} />
|
|
51
|
+
<List contrast items={['Item 1', 'Item 2']} />
|
|
52
|
+
```
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
---
|
|
2
|
+
_layout: ComponentLayout
|
|
3
|
+
settings: components
|
|
4
|
+
|
|
5
|
+
title: Text
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Text
|
|
9
|
+
|
|
10
|
+
import PropsTable from 'fulldev-ui/components/docs/PropsTable.astro'
|
|
11
|
+
|
|
12
|
+
```astro live
|
|
13
|
+
---
|
|
14
|
+
import Text from 'fulldev-ui/components/Text.astro'
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
<Text>The quick brown fox jumps over the lazy dog</Text>
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## Props
|
|
21
|
+
|
|
22
|
+
<PropsTable />
|
|
23
|
+
|
|
24
|
+
## Examples
|
|
25
|
+
|
|
26
|
+
```astro live
|
|
27
|
+
---
|
|
28
|
+
import Text from 'fulldev-ui/components/Text.astro'
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
<Text size="sm">The quick brown fox jumps over the lazy dog</Text>
|
|
32
|
+
<Text size="md">The quick brown fox jumps over the lazy dog</Text>
|
|
33
|
+
<Text size="lg">The quick brown fox jumps over the lazy dog</Text>
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
```astro live
|
|
37
|
+
---
|
|
38
|
+
import Text from 'fulldev-ui/components/Text.astro'
|
|
39
|
+
---
|
|
40
|
+
|
|
41
|
+
<Text lead size="sm">The quick brown fox jumps over the lazy dog</Text>
|
|
42
|
+
<Text lead size="md">The quick brown fox jumps over the lazy dog</Text>
|
|
43
|
+
<Text lead size="lg">The quick brown fox jumps over the lazy dog</Text>
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
```astro live
|
|
47
|
+
---
|
|
48
|
+
import Text from 'fulldev-ui/components/Text.astro'
|
|
49
|
+
---
|
|
50
|
+
|
|
51
|
+
<Text color="base">The quick brown fox jumps</Text>
|
|
52
|
+
<Text color="brand">The quick brown fox jumps</Text>
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
```astro live
|
|
56
|
+
---
|
|
57
|
+
import Text from 'fulldev-ui/components/Text.astro'
|
|
58
|
+
---
|
|
59
|
+
|
|
60
|
+
<Text>The quick brown fox jumps</Text>
|
|
61
|
+
<Text contrast>The quick brown fox jumps</Text>
|
|
62
|
+
```
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
title: Test
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
header:
|
|
2
|
+
heading: Fulldev UI
|
|
3
|
+
variant: base
|
|
4
|
+
links:
|
|
5
|
+
- text: Docs
|
|
6
|
+
href: /overview/introduction
|
|
7
|
+
- text: Components
|
|
8
|
+
href: /typography/heading
|
|
9
|
+
- text: Blocks
|
|
10
|
+
href: /blocks
|
|
11
|
+
search:
|
|
12
|
+
icon: search
|
|
13
|
+
variant: soft
|
|
14
|
+
buttons:
|
|
15
|
+
- href: https://github.com/fulldotdev/ui
|
|
16
|
+
target: _blank
|
|
17
|
+
aria-label: GitHub
|
|
18
|
+
icon: brand-github
|
|
19
|
+
- href: https://discord.gg/vXZqMbadm8
|
|
20
|
+
target: _blank
|
|
21
|
+
aria-label: Discord
|
|
22
|
+
icon: brand-discord
|
|
23
|
+
drawer:
|
|
24
|
+
- links:
|
|
25
|
+
- text: Docs
|
|
26
|
+
href: /overview/introduction
|
|
27
|
+
- text: Components
|
|
28
|
+
href: /typography/heading
|
|
29
|
+
- text: Blocks
|
|
30
|
+
href: /blocks
|
|
31
|
+
- heading: Overview
|
|
32
|
+
links:
|
|
33
|
+
- text: Introduction
|
|
34
|
+
href: /overview/introduction
|
|
35
|
+
- text: Installation
|
|
36
|
+
href: /overview/installation
|
|
37
|
+
- text: Integration
|
|
38
|
+
href: /overview/integration
|
|
39
|
+
- text: Theming
|
|
40
|
+
href: /overview/theming
|
|
41
|
+
- text: Frameworks
|
|
42
|
+
href: /overview/frameworks
|
|
43
|
+
- heading: Typography
|
|
44
|
+
folder: typography
|
|
45
|
+
- heading: Base
|
|
46
|
+
folder: base
|
|
47
|
+
- heading: Structure
|
|
48
|
+
folder: structure
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
sidebar:
|
|
2
|
+
- heading: Overview
|
|
3
|
+
links:
|
|
4
|
+
- text: Introduction
|
|
5
|
+
href: /overview/introduction
|
|
6
|
+
- text: Installation
|
|
7
|
+
href: /overview/installation
|
|
8
|
+
- text: Integration
|
|
9
|
+
href: /overview/integration
|
|
10
|
+
- text: Theming
|
|
11
|
+
href: /overview/theming
|
|
12
|
+
- text: Frameworks
|
|
13
|
+
href: /overview/frameworks
|
|
14
|
+
- heading: Typography
|
|
15
|
+
folder: typography
|
|
16
|
+
- heading: Base
|
|
17
|
+
folder: base
|
|
18
|
+
- heading: Structure
|
|
19
|
+
folder: structure
|
|
20
|
+
|
|
21
|
+
toc:
|
|
22
|
+
- heading: On this page
|
|
23
|
+
links:
|
|
24
|
+
- text: Props
|
|
25
|
+
href: /overview/introduction
|
|
26
|
+
- text: Examples
|
|
27
|
+
href: /overview/installation
|
package/src/css/color.css
CHANGED
|
@@ -1,71 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
[data-theme='light'] {
|
|
4
|
-
--brand-1: #fbf9f8;
|
|
5
|
-
--brand-2: #fff1ec;
|
|
6
|
-
--brand-3: #ffe6db;
|
|
7
|
-
--brand-4: #ffd3c2;
|
|
8
|
-
--brand-5: #ffc4ad;
|
|
9
|
-
--brand-6: #ffb397;
|
|
10
|
-
--brand-7: #ff9e7e;
|
|
11
|
-
--brand-8: #f5845f;
|
|
12
|
-
--brand-9: #f50;
|
|
13
|
-
--brand-10: #ed4d00;
|
|
14
|
-
--brand-11: #ca4900;
|
|
15
|
-
--brand-12: #5b2a1a;
|
|
16
|
-
--brand-contrast: #fff;
|
|
17
|
-
--brand-background: #fbf9f8;
|
|
18
|
-
|
|
19
|
-
--base-1: #f9f9fa;
|
|
20
|
-
--base-2: #f5f6f8;
|
|
21
|
-
--base-3: #ececf0;
|
|
22
|
-
--base-4: #e3e4e9;
|
|
23
|
-
--base-5: #dcdde2;
|
|
24
|
-
--base-6: #d4d5dc;
|
|
25
|
-
--base-7: #c8cad2;
|
|
26
|
-
--base-8: #b5b7c2;
|
|
27
|
-
--base-9: #878994;
|
|
28
|
-
--base-10: #7c7e89;
|
|
29
|
-
--base-11: #5e6068;
|
|
30
|
-
--base-12: #1e1f24;
|
|
31
|
-
--base-contrast: #ffffff;
|
|
32
|
-
--base-background: #f9f9fa;
|
|
33
|
-
|
|
1
|
+
.theme-light,
|
|
2
|
+
.theme-light * {
|
|
34
3
|
color-scheme: light;
|
|
35
4
|
}
|
|
36
5
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
--brand-1: #160f0d;
|
|
40
|
-
--brand-2: #201511;
|
|
41
|
-
--brand-3: #38190f;
|
|
42
|
-
--brand-4: #4f1602;
|
|
43
|
-
--brand-5: #5e1e07;
|
|
44
|
-
--brand-6: #6f2c15;
|
|
45
|
-
--brand-7: #873c23;
|
|
46
|
-
--brand-8: #ae4d2c;
|
|
47
|
-
--brand-9: #f50;
|
|
48
|
-
--brand-10: #ed4d00;
|
|
49
|
-
--brand-11: #ff976f;
|
|
50
|
-
--brand-12: #ffd8c9;
|
|
51
|
-
--brand-contrast: #fff;
|
|
52
|
-
--brand-background: #160f0d;
|
|
53
|
-
|
|
54
|
-
--base-1: #101113;
|
|
55
|
-
--base-2: #18191b;
|
|
56
|
-
--base-3: #212225;
|
|
57
|
-
--base-4: #282a2d;
|
|
58
|
-
--base-5: #2e3135;
|
|
59
|
-
--base-6: #373a3f;
|
|
60
|
-
--base-7: #44474e;
|
|
61
|
-
--base-8: #5c616a;
|
|
62
|
-
--base-9: #696e77;
|
|
63
|
-
--base-10: #777b84;
|
|
64
|
-
--base-11: #b0b4ba;
|
|
65
|
-
--base-12: #edeef0;
|
|
66
|
-
--base-contrast: #ffffff;
|
|
67
|
-
--base-background: #101113;
|
|
68
|
-
|
|
6
|
+
.theme-dark,
|
|
7
|
+
.theme-dark * {
|
|
69
8
|
color-scheme: dark;
|
|
70
9
|
}
|
|
71
10
|
|
|
@@ -146,7 +85,7 @@
|
|
|
146
85
|
--color-contrast: var(--color-1);
|
|
147
86
|
}
|
|
148
87
|
|
|
149
|
-
:where(:root),
|
|
88
|
+
/* :where(:root),
|
|
150
89
|
:where(.theme-light),
|
|
151
90
|
:where(.theme-dark),
|
|
152
91
|
:where(.color-base),
|
|
@@ -226,4 +165,4 @@
|
|
|
226
165
|
--border: transparent;
|
|
227
166
|
--border-hover: transparent;
|
|
228
167
|
--text: var(--color-contrast);
|
|
229
|
-
}
|
|
168
|
+
} */
|