fulldev-ui 0.3.35 → 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} +18 -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} +9 -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 -15
- 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,59 @@
|
|
|
1
|
+
.hero:not(.window .hero)::before {
|
|
2
|
+
position: absolute;
|
|
3
|
+
top: -80%;
|
|
4
|
+
left: 0;
|
|
5
|
+
z-index: -1;
|
|
6
|
+
background: radial-gradient(
|
|
7
|
+
ellipse closest-side,
|
|
8
|
+
rgba(255, 85, 0, 0.1),
|
|
9
|
+
#f500 90%
|
|
10
|
+
);
|
|
11
|
+
width: 100%;
|
|
12
|
+
height: 170%;
|
|
13
|
+
content: '';
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.header:not(.window .header) {
|
|
17
|
+
backdrop-filter: blur(10px);
|
|
18
|
+
border-color: var(--base-a6) !important;
|
|
19
|
+
background-color: rgba(17, 17, 16, 0.2) !important;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.cta:not(.window .cta) {
|
|
23
|
+
backdrop-filter: blur(10px);
|
|
24
|
+
border-color: var(--base-a6) !important;
|
|
25
|
+
background-color: rgba(17, 17, 16, 0.2) !important;
|
|
26
|
+
overflow: visible;
|
|
27
|
+
|
|
28
|
+
&::before {
|
|
29
|
+
position: absolute;
|
|
30
|
+
top: -30%;
|
|
31
|
+
left: 0;
|
|
32
|
+
z-index: -1;
|
|
33
|
+
background: radial-gradient(
|
|
34
|
+
ellipse closest-side,
|
|
35
|
+
rgba(255, 85, 0, 0.06),
|
|
36
|
+
#f500 90%
|
|
37
|
+
);
|
|
38
|
+
width: 100%;
|
|
39
|
+
height: 160%;
|
|
40
|
+
content: '';
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
mark {
|
|
45
|
+
background-color: var(--brand-12) !important;
|
|
46
|
+
color: var(--brand-1) !important;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.astro-code {
|
|
50
|
+
margin: 0;
|
|
51
|
+
border: 1px solid var(--base-6);
|
|
52
|
+
border-radius: var(--radius-2);
|
|
53
|
+
background-color: var(--base-2) !important;
|
|
54
|
+
padding: var(--space-5);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
a {
|
|
58
|
+
color: var(--primary-5);
|
|
59
|
+
}
|
package/src/css/size.css
ADDED
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--space-sm-1: 4px;
|
|
3
|
+
--space-sm-2: 6px;
|
|
4
|
+
--space-sm-3: 8px;
|
|
5
|
+
--space-sm-4: 12px;
|
|
6
|
+
--space-sm-5: 20px;
|
|
7
|
+
--space-sm-6: 40px;
|
|
8
|
+
--space-sm-7: 60px;
|
|
9
|
+
|
|
10
|
+
--space-md-1: 5px;
|
|
11
|
+
--space-md-2: 8px;
|
|
12
|
+
--space-md-3: 11px;
|
|
13
|
+
--space-md-4: 14px;
|
|
14
|
+
--space-md-5: 28px;
|
|
15
|
+
--space-md-6: 56px;
|
|
16
|
+
--space-md-7: 84px;
|
|
17
|
+
|
|
18
|
+
--space-lg-1: 6px;
|
|
19
|
+
--space-lg-2: 10px;
|
|
20
|
+
--space-lg-3: 14px;
|
|
21
|
+
--space-lg-4: 18px;
|
|
22
|
+
--space-lg-5: 36px;
|
|
23
|
+
--space-lg-6: 72px;
|
|
24
|
+
--space-lg-7: 120px;
|
|
25
|
+
|
|
26
|
+
--text-sm-1: 12px;
|
|
27
|
+
--text-sm-2: 14px;
|
|
28
|
+
--text-sm-3: 14px;
|
|
29
|
+
--text-sm-4: 16px;
|
|
30
|
+
--text-sm-5: 18px;
|
|
31
|
+
--text-sm-6: 20px;
|
|
32
|
+
--text-sm-7: 24px;
|
|
33
|
+
--text-sm-8: 30px;
|
|
34
|
+
|
|
35
|
+
--text-md-1: 12px;
|
|
36
|
+
--text-md-2: 14px;
|
|
37
|
+
--text-md-3: 16px;
|
|
38
|
+
--text-md-4: 18px;
|
|
39
|
+
--text-md-5: 20px;
|
|
40
|
+
--text-md-6: 24px;
|
|
41
|
+
--text-md-7: 30px;
|
|
42
|
+
--text-md-8: 36px;
|
|
43
|
+
|
|
44
|
+
--text-lg-1: 14px;
|
|
45
|
+
--text-lg-2: 14px;
|
|
46
|
+
--text-lg-3: 18px;
|
|
47
|
+
--text-lg-4: 20px;
|
|
48
|
+
--text-lg-5: 24px;
|
|
49
|
+
--text-lg-6: 30px;
|
|
50
|
+
--text-lg-7: 36px;
|
|
51
|
+
--text-lg-8: 48px;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
@media (min-width: 768px) {
|
|
55
|
+
:root {
|
|
56
|
+
--text-sm-8: 36px;
|
|
57
|
+
--text-md-8: 48px;
|
|
58
|
+
--text-lg-8: 60px;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.size-sm {
|
|
63
|
+
--space-1: var(--space-sm-1);
|
|
64
|
+
--space-2: var(--space-sm-2);
|
|
65
|
+
--space-3: var(--space-sm-3);
|
|
66
|
+
--space-4: var(--space-sm-4);
|
|
67
|
+
--space-5: var(--space-sm-5);
|
|
68
|
+
--space-6: var(--space-sm-6);
|
|
69
|
+
--space-7: var(--space-sm-7);
|
|
70
|
+
|
|
71
|
+
--radius-1: calc(var(--border-radius, 1) * var(--space-sm-1));
|
|
72
|
+
--radius-2: calc(var(--border-radius, 1) * var(--space-sm-2));
|
|
73
|
+
--radius-3: calc(var(--border-radius, 1) * var(--space-sm-3));
|
|
74
|
+
|
|
75
|
+
--text-1: var(--text-sm-1);
|
|
76
|
+
--text-2: var(--text-sm-2);
|
|
77
|
+
--text-3: var(--text-sm-3);
|
|
78
|
+
--text-4: var(--text-sm-4);
|
|
79
|
+
--text-5: var(--text-sm-5);
|
|
80
|
+
--text-6: var(--text-sm-6);
|
|
81
|
+
--text-7: var(--text-sm-7);
|
|
82
|
+
--text-8: var(--text-sm-8);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
:root,
|
|
86
|
+
.size-md {
|
|
87
|
+
--space-1: var(--space-md-1);
|
|
88
|
+
--space-2: var(--space-md-2);
|
|
89
|
+
--space-3: var(--space-md-3);
|
|
90
|
+
--space-4: var(--space-md-4);
|
|
91
|
+
--space-5: var(--space-md-5);
|
|
92
|
+
--space-6: var(--space-md-6);
|
|
93
|
+
--space-7: var(--space-md-7);
|
|
94
|
+
|
|
95
|
+
--radius-1: calc(var(--border-radius, 1) * var(--space-md-1));
|
|
96
|
+
--radius-2: calc(var(--border-radius, 1) * var(--space-md-2));
|
|
97
|
+
--radius-3: calc(var(--border-radius, 1) * var(--space-md-3));
|
|
98
|
+
|
|
99
|
+
--text-1: var(--text-md-1);
|
|
100
|
+
--text-2: var(--text-md-2);
|
|
101
|
+
--text-3: var(--text-md-3);
|
|
102
|
+
--text-4: var(--text-md-4);
|
|
103
|
+
--text-5: var(--text-md-5);
|
|
104
|
+
--text-6: var(--text-md-6);
|
|
105
|
+
--text-7: var(--text-md-7);
|
|
106
|
+
--text-8: var(--text-md-8);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.size-lg {
|
|
110
|
+
--space-1: var(--space-lg-1);
|
|
111
|
+
--space-2: var(--space-lg-2);
|
|
112
|
+
--space-3: var(--space-lg-3);
|
|
113
|
+
--space-4: var(--space-lg-4);
|
|
114
|
+
--space-5: var(--space-lg-5);
|
|
115
|
+
--space-6: var(--space-lg-6);
|
|
116
|
+
--space-7: var(--space-lg-7);
|
|
117
|
+
|
|
118
|
+
--radius-1: calc(var(--border-radius, 1) * var(--space-lg-1));
|
|
119
|
+
--radius-2: calc(var(--border-radius, 1) * var(--space-lg-2));
|
|
120
|
+
--radius-3: calc(var(--border-radius, 1) * var(--space-lg-3));
|
|
121
|
+
|
|
122
|
+
--text-1: var(--text-lg-1);
|
|
123
|
+
--text-2: var(--text-lg-2);
|
|
124
|
+
--text-3: var(--text-lg-3);
|
|
125
|
+
--text-4: var(--text-lg-4);
|
|
126
|
+
--text-5: var(--text-lg-5);
|
|
127
|
+
--text-6: var(--text-lg-6);
|
|
128
|
+
--text-7: var(--text-lg-7);
|
|
129
|
+
--text-8: var(--text-lg-8);
|
|
130
|
+
}
|
package/src/css/space.css
CHANGED
|
@@ -1,32 +1,49 @@
|
|
|
1
|
-
.
|
|
2
|
-
.
|
|
3
|
-
.
|
|
4
|
-
.
|
|
5
|
-
.image + .
|
|
6
|
-
.icon + .
|
|
1
|
+
.root + .root,
|
|
2
|
+
.root + .box,
|
|
3
|
+
.root + .masonry,
|
|
4
|
+
.root + .carousel,
|
|
5
|
+
.image + .root,
|
|
6
|
+
.icon + .root {
|
|
7
7
|
--space-auto: var(--space-6);
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
.
|
|
11
|
-
.
|
|
12
|
-
.
|
|
13
|
-
.
|
|
14
|
-
.
|
|
15
|
-
.
|
|
10
|
+
.root + .group,
|
|
11
|
+
.root + .row,
|
|
12
|
+
.root + .wrap,
|
|
13
|
+
.root + .button,
|
|
14
|
+
.root + .price,
|
|
15
|
+
.root + .switch {
|
|
16
16
|
--space-auto: var(--space-5);
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
.
|
|
20
|
-
|
|
21
|
-
.
|
|
22
|
-
.
|
|
23
|
-
.
|
|
24
|
-
.
|
|
25
|
-
.
|
|
26
|
-
.
|
|
27
|
-
.
|
|
28
|
-
.
|
|
29
|
-
.
|
|
19
|
+
.card
|
|
20
|
+
:is(
|
|
21
|
+
.root + .root,
|
|
22
|
+
.root + .box,
|
|
23
|
+
.root + .masonry,
|
|
24
|
+
.root + .carousel,
|
|
25
|
+
.image + .root,
|
|
26
|
+
.icon + .root,
|
|
27
|
+
.root + .group,
|
|
28
|
+
.root + .row,
|
|
29
|
+
.root + .wrap,
|
|
30
|
+
.root + .button,
|
|
31
|
+
.root + .price,
|
|
32
|
+
.root + .switch
|
|
33
|
+
) {
|
|
34
|
+
--space-auto: var(--space-4);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.root + .heading,
|
|
38
|
+
.root + .link,
|
|
39
|
+
.root + .paragraph,
|
|
40
|
+
.root + .text,
|
|
41
|
+
.root + .tagline,
|
|
42
|
+
.root + .input,
|
|
43
|
+
.root + .textarea,
|
|
44
|
+
.root + .select,
|
|
45
|
+
.root + .badge,
|
|
46
|
+
.root + .rating {
|
|
30
47
|
--space-auto: var(--space-4);
|
|
31
48
|
}
|
|
32
49
|
|
|
@@ -37,7 +54,7 @@
|
|
|
37
54
|
--space-auto: var(--space-3);
|
|
38
55
|
}
|
|
39
56
|
|
|
40
|
-
.
|
|
57
|
+
.root + .label,
|
|
41
58
|
.label + .input,
|
|
42
59
|
.label + .textarea,
|
|
43
60
|
.label + .select,
|
|
@@ -50,11 +67,15 @@
|
|
|
50
67
|
--space-auto: var(--space-1);
|
|
51
68
|
}
|
|
52
69
|
|
|
53
|
-
.image + .
|
|
54
|
-
.icon + .
|
|
70
|
+
.image + .root,
|
|
71
|
+
.icon + .root {
|
|
55
72
|
--space-auto: var(--space-6);
|
|
56
73
|
}
|
|
57
74
|
|
|
75
|
+
.link + .heading {
|
|
76
|
+
--space-auto: var(--space-5);
|
|
77
|
+
}
|
|
78
|
+
|
|
58
79
|
/* // .button:not(.variant-link) + .button:not(.variant-link) {
|
|
59
80
|
// margin-top: var(--space-3);
|
|
60
81
|
// }
|
package/src/css/styles.css
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
@import url(https://fonts.bunny.net/css?family=inter:100,200,300,400,500,600,700,800,900);
|
|
2
|
+
|
|
1
3
|
:root,
|
|
2
|
-
.
|
|
4
|
+
.root {
|
|
3
5
|
--transition: cubic-bezier(0.4, 0, 0.2, 1) 0.15s;
|
|
4
6
|
|
|
5
|
-
--font-family: '
|
|
7
|
+
--font-family: 'Inter', sans-serif;
|
|
6
8
|
--font-weight: 400;
|
|
7
9
|
|
|
8
10
|
--text-heading-font-family: var(--font-family);
|
package/src/env.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/// <reference types="astro/client" />
|
|
2
|
-
/// <reference path="../.astro/types.d.ts" />
|
|
2
|
+
/// <reference path="../.astro/types.d.ts" />
|