this.gui 1.0.15 → 1.0.17
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/README.md +178 -49
- package/dist/style.css +1 -1
- package/dist/this-gui.es.js +4645 -1922
- package/dist/this-gui.umd.js +34 -22
- package/package.json +14 -14
- package/src/App.jsx +53 -21
- package/src/Page.jsx +28 -0
- package/src/SiteBuilder.jsx +39 -0
- package/src/example.json +43 -0
- package/src/index.mdx +10 -0
- package/src/main.jsx +11 -14
- package/src/scripts/ComponentRegistry.js +70 -0
- package/src/scripts/postinstall.js +40 -1
- package/src/scripts/renderComponents.js +11 -0
- package/src/stories/Atoms/Alert/Alert.css +196 -14
- package/src/stories/Atoms/Alert/Alert.jsx +43 -28
- package/src/stories/Atoms/Alert/Alert.stories.jsx +154 -28
- package/src/stories/Atoms/Audio/Audio.css +246 -16
- package/src/stories/Atoms/Audio/Audio.jsx +204 -29
- package/src/stories/Atoms/Audio/Audio.stories.jsx +178 -28
- package/src/stories/Atoms/Badge/Badge.css +235 -15
- package/src/stories/Atoms/Badge/Badge.jsx +44 -31
- package/src/stories/Atoms/Badge/Badge.stories.jsx +109 -29
- package/src/stories/Atoms/Button/Button.css +106 -45
- package/src/stories/Atoms/Button/Button.jsx +31 -82
- package/src/stories/Atoms/Button/Button.stories.jsx +170 -40
- package/src/stories/Atoms/Caption/Caption.css +156 -16
- package/src/stories/Atoms/Caption/Caption.jsx +62 -31
- package/src/stories/Atoms/Caption/Caption.stories.jsx +194 -28
- package/src/stories/Atoms/Checkbox/Checkbox.css +168 -15
- package/src/stories/Atoms/Checkbox/Checkbox.jsx +73 -31
- package/src/stories/Atoms/Checkbox/Checkbox.stories.jsx +98 -27
- package/src/stories/Atoms/Container/Container.css +75 -15
- package/src/stories/Atoms/Container/Container.jsx +41 -28
- package/src/stories/Atoms/Container/Container.stories.jsx +92 -29
- package/src/stories/Atoms/Divider/Divider.css +131 -13
- package/src/stories/Atoms/Divider/Divider.jsx +54 -33
- package/src/stories/Atoms/Divider/Divider.stories.jsx +93 -29
- package/src/stories/Atoms/Grid/Grid.css +160 -0
- package/src/stories/Atoms/Grid/Grid.jsx +43 -0
- package/src/stories/Atoms/Grid/Grid.stories.jsx +84 -0
- package/src/stories/Atoms/Heading/Heading.css +99 -16
- package/src/stories/Atoms/Heading/Heading.jsx +57 -29
- package/src/stories/Atoms/Heading/Heading.stories.jsx +117 -28
- package/src/stories/Atoms/Icon/Icon.css +219 -27
- package/src/stories/Atoms/Icon/Icon.jsx +67 -38
- package/src/stories/Atoms/Icon/Icon.stories.jsx +156 -51
- package/src/stories/Atoms/Image/Image.css +231 -15
- package/src/stories/Atoms/Image/Image.jsx +166 -32
- package/src/stories/Atoms/Image/Image.stories.jsx +319 -28
- package/src/stories/Atoms/Label/Label.css +158 -16
- package/src/stories/Atoms/Label/Label.jsx +61 -31
- package/src/stories/Atoms/Label/Label.stories.jsx +167 -28
- package/src/stories/Atoms/Link/Link.css +58 -16
- package/src/stories/Atoms/Link/Link.jsx +73 -32
- package/src/stories/Atoms/Link/Link.stories.jsx +141 -29
- package/src/stories/Atoms/Loader/Loader.css +93 -16
- package/src/stories/Atoms/Loader/Loader.jsx +47 -30
- package/src/stories/Atoms/Loader/Loader.stories.jsx +86 -28
- package/src/stories/Atoms/Logo/Logo.css +94 -0
- package/src/stories/Atoms/Logo/Logo.jsx +53 -0
- package/src/stories/Atoms/Logo/Logo.stories.jsx +120 -0
- package/src/stories/Atoms/Paragraph/Paragraph.css +167 -16
- package/src/stories/Atoms/Paragraph/Paragraph.jsx +67 -31
- package/src/stories/Atoms/Paragraph/Paragraph.stories.jsx +130 -28
- package/src/stories/Atoms/ProgressBar/ProgressBar.css +115 -17
- package/src/stories/Atoms/ProgressBar/ProgressBar.jsx +30 -31
- package/src/stories/Atoms/ProgressBar/ProgressBar.stories.jsx +72 -27
- package/src/stories/Atoms/RadioButton/RadioButton.css +118 -17
- package/src/stories/Atoms/RadioButton/RadioButton.jsx +77 -31
- package/src/stories/Atoms/RadioButton/RadioButton.stories.jsx +99 -27
- package/src/stories/Atoms/Range/Range.css +169 -0
- package/src/stories/Atoms/Range/Range.jsx +87 -0
- package/src/stories/Atoms/Range/Range.stories.jsx +110 -0
- package/src/stories/Atoms/Section/Section.css +268 -0
- package/src/stories/Atoms/Section/Section.jsx +63 -0
- package/src/stories/Atoms/Section/Section.stories.jsx +46 -0
- package/src/stories/Atoms/Select/Select.css +74 -16
- package/src/stories/Atoms/Select/Select.jsx +62 -30
- package/src/stories/Atoms/Select/Select.stories.jsx +95 -27
- package/src/stories/Atoms/Slider/Slider.css +77 -16
- package/src/stories/Atoms/Slider/Slider.jsx +119 -31
- package/src/stories/Atoms/Slider/Slider.stories.jsx +77 -28
- package/src/stories/Atoms/Snackbar/Snackbar.css +297 -13
- package/src/stories/Atoms/Snackbar/Snackbar.jsx +62 -31
- package/src/stories/Atoms/Snackbar/Snackbar.stories.jsx +63 -26
- package/src/stories/Atoms/Spacer/Spacer.css +101 -16
- package/src/stories/Atoms/Spacer/Spacer.jsx +26 -32
- package/src/stories/Atoms/Spacer/Spacer.stories.jsx +50 -30
- package/src/stories/Atoms/Spinner/Spinner.css +97 -16
- package/src/stories/Atoms/Spinner/Spinner.jsx +50 -26
- package/src/stories/Atoms/Spinner/Spinner.stories.jsx +47 -30
- package/src/stories/Atoms/Tag/Tag.css +97 -14
- package/src/stories/Atoms/Tag/Tag.jsx +58 -24
- package/src/stories/Atoms/Tag/Tag.stories.jsx +55 -29
- package/src/stories/Atoms/TextArea/TextArea.css +85 -15
- package/src/stories/Atoms/TextArea/TextArea.jsx +108 -31
- package/src/stories/Atoms/TextArea/TextArea.stories.jsx +25 -30
- package/src/stories/Atoms/TextInput/TextInput.css +90 -17
- package/src/stories/Atoms/TextInput/TextInput.jsx +119 -27
- package/src/stories/Atoms/TextInput/TextInput.stories.jsx +53 -25
- package/src/stories/Atoms/Toggle/Toggle.css +106 -17
- package/src/stories/Atoms/Toggle/Toggle.jsx +56 -28
- package/src/stories/Atoms/Toggle/Toggle.stories.jsx +24 -30
- package/src/stories/Atoms/Tooltip/Tooltip.css +368 -14
- package/src/stories/Atoms/Tooltip/Tooltip.jsx +33 -28
- package/src/stories/Atoms/Tooltip/Tooltip.stories.jsx +42 -31
- package/src/stories/Atoms/Video/Video.css +28 -18
- package/src/stories/Atoms/Video/Video.jsx +66 -29
- package/src/stories/Atoms/Video/Video.stories.jsx +30 -30
- package/src/stories/Atoms/index.js +9 -2
- package/src/stories/Atoms/meta_Atoms.js +6 -1
- package/src/stories/Layouts/Accordion/Accordion.css +293 -0
- package/src/stories/Layouts/Accordion/Accordion.jsx +74 -0
- package/src/stories/Layouts/Accordion/Accordion.stories.jsx +39 -0
- package/src/stories/Layouts/Flexbox/Flexbox.css +16 -0
- package/src/stories/Layouts/Flexbox/Flexbox.jsx +11 -0
- package/src/stories/Layouts/Flexbox/Flexbox.stories.jsx +28 -0
- package/src/stories/Layouts/Footer/Footer.css +16 -0
- package/src/stories/Layouts/Footer/Footer.jsx +31 -0
- package/src/stories/Layouts/Footer/Footer.stories.jsx +28 -0
- package/src/stories/Layouts/Header/Header.css +16 -0
- package/src/stories/Layouts/Header/Header.jsx +31 -0
- package/src/stories/Layouts/Header/Header.stories.jsx +28 -0
- package/src/stories/Layouts/HeroBanner/HeroBanner.css +16 -0
- package/src/stories/Layouts/HeroBanner/HeroBanner.jsx +31 -0
- package/src/stories/Layouts/HeroBanner/HeroBanner.stories.jsx +28 -0
- package/src/stories/Layouts/HeroImageVideo/HeroImageVideo.css +16 -0
- package/src/stories/Layouts/HeroImageVideo/HeroImageVideo.jsx +31 -0
- package/src/stories/Layouts/HeroImageVideo/HeroImageVideo.stories.jsx +28 -0
- package/src/stories/Layouts/Pagination/Pagination.css +16 -0
- package/src/stories/Layouts/Pagination/Pagination.jsx +31 -0
- package/src/stories/Layouts/Pagination/Pagination.stories.jsx +28 -0
- package/src/stories/Layouts/Sidebar/Sidebar.css +16 -0
- package/src/stories/Layouts/Sidebar/Sidebar.jsx +71 -0
- package/src/stories/Layouts/Sidebar/Sidebar.stories.jsx +28 -0
- package/src/stories/Layouts/Tabs/Tabs.css +16 -0
- package/src/stories/Layouts/Tabs/Tabs.jsx +31 -0
- package/src/stories/Layouts/Tabs/Tabs.stories.jsx +28 -0
- package/src/stories/Layouts/index.js +25 -0
- package/src/stories/Layouts/meta_Layouts.js +28 -0
- package/src/stories/Molecules/Accordion/Accordion.css +1 -1
- package/src/stories/Molecules/Accordion/Accordion.jsx +1 -1
- package/src/stories/Molecules/Accordion/Accordion.stories.jsx +1 -1
- package/src/stories/Molecules/AudioPlayer/AudioPlayer.css +95 -2
- package/src/stories/Molecules/AudioPlayer/AudioPlayer.jsx +232 -13
- package/src/stories/Molecules/AudioPlayer/AudioPlayer.stories.jsx +46 -11
- package/src/stories/Molecules/AvatarWithName/AvatarWithName.css +128 -2
- package/src/stories/Molecules/AvatarWithName/AvatarWithName.jsx +69 -14
- package/src/stories/Molecules/AvatarWithName/AvatarWithName.stories.jsx +12 -12
- package/src/stories/Molecules/Breadcrumbs/Breadcrumbs.css +145 -2
- package/src/stories/Molecules/Breadcrumbs/Breadcrumbs.jsx +39 -13
- package/src/stories/Molecules/Breadcrumbs/Breadcrumbs.stories.jsx +27 -11
- package/src/stories/Molecules/ButtonGroup/ButtonGroup.css +463 -2
- package/src/stories/Molecules/ButtonGroup/ButtonGroup.jsx +34 -12
- package/src/stories/Molecules/ButtonGroup/ButtonGroup.stories.jsx +36 -12
- package/src/stories/Molecules/Card/Card.css +39 -2
- package/src/stories/Molecules/Card/Card.jsx +80 -13
- package/src/stories/Molecules/Card/Card.stories.jsx +27 -13
- package/src/stories/Molecules/ComparisonTable/ComparisonTable.css +33 -2
- package/src/stories/Molecules/ComparisonTable/ComparisonTable.jsx +91 -12
- package/src/stories/Molecules/ComparisonTable/ComparisonTable.stories.jsx +73 -12
- package/src/stories/Molecules/Dropdown/Dropdown.css +192 -0
- package/src/stories/Molecules/Dropdown/Dropdown.jsx +96 -0
- package/src/stories/Molecules/Dropdown/Dropdown.stories.jsx +45 -0
- package/src/stories/Molecules/Navbar/Navbar.css +63 -59
- package/src/stories/Molecules/Navbar/Navbar.jsx +43 -48
- package/src/stories/Molecules/Navbar/Navbar.stories.jsx +58 -8
- package/src/stories/Molecules/SearchBar/SearchBar.css +66 -1
- package/src/stories/Molecules/SearchBar/SearchBar.jsx +59 -11
- package/src/stories/Molecules/SearchBar/SearchBar.stories.jsx +16 -7
- package/src/stories/Molecules/SelectTheme/SelectTheme.jsx +16 -38
- package/src/stories/Molecules/SelectTheme/SelectTheme.stories.jsx +1 -2
- package/src/stories/Molecules/Sidebar/Sidebar.css +65 -2
- package/src/stories/Molecules/Sidebar/Sidebar.jsx +66 -11
- package/src/stories/Molecules/Sidebar/Sidebar.stories.jsx +20 -5
- package/src/stories/Molecules/index.js +2 -1
- package/src/stories/Molecules/{Molecules.js → meta_Molecules.js} +6 -3
- package/src/stories/Templates/AdminDashboard/AdminDashboard.css +7 -0
- package/src/stories/Templates/AdminDashboard/AdminDashboard.jsx +24 -0
- package/src/stories/Templates/AdminDashboard/AdminDashboard.stories.jsx +20 -0
- package/src/stories/Templates/CallToAction/CallToAction.css +7 -0
- package/src/stories/Templates/CallToAction/CallToAction.jsx +24 -0
- package/src/stories/Templates/CallToAction/CallToAction.stories.jsx +20 -0
- package/src/stories/Templates/FeaturesList/FeaturesList.css +7 -0
- package/src/stories/Templates/FeaturesList/FeaturesList.jsx +24 -0
- package/src/stories/Templates/FeaturesList/FeaturesList.stories.jsx +20 -0
- package/src/stories/Templates/FormSection/FormSection.css +7 -0
- package/src/stories/Templates/FormSection/FormSection.jsx +24 -0
- package/src/stories/Templates/FormSection/FormSection.stories.jsx +20 -0
- package/src/stories/Templates/HeroSection/HeroSection.css +7 -0
- package/src/stories/Templates/HeroSection/HeroSection.jsx +24 -0
- package/src/stories/Templates/HeroSection/HeroSection.stories.jsx +20 -0
- package/src/stories/Templates/LocationInfo/LocationInfo.css +7 -0
- package/src/stories/Templates/LocationInfo/LocationInfo.jsx +24 -0
- package/src/stories/Templates/LocationInfo/LocationInfo.stories.jsx +20 -0
- package/src/stories/Templates/ProductPage/ProductPage.css +7 -0
- package/src/stories/Templates/ProductPage/ProductPage.jsx +24 -0
- package/src/stories/Templates/ProductPage/ProductPage.stories.jsx +20 -0
- package/src/stories/Templates/RegistrationPage/RegistrationPage.css +7 -0
- package/src/stories/Templates/RegistrationPage/RegistrationPage.jsx +24 -0
- package/src/stories/Templates/RegistrationPage/RegistrationPage.stories.jsx +20 -0
- package/src/stories/Templates/ShoppingCart/ShoppingCart.css +7 -0
- package/src/stories/Templates/ShoppingCart/ShoppingCart.jsx +24 -0
- package/src/stories/Templates/ShoppingCart/ShoppingCart.stories.jsx +20 -0
- package/src/stories/Templates/SidebarTopNav/SidebarTopNav.css +7 -0
- package/src/stories/Templates/SidebarTopNav/SidebarTopNav.jsx +24 -0
- package/src/stories/Templates/SidebarTopNav/SidebarTopNav.stories.jsx +20 -0
- package/src/stories/Templates/SignInPage/SignInPage.css +7 -0
- package/src/stories/Templates/SignInPage/SignInPage.jsx +24 -0
- package/src/stories/Templates/SignInPage/SignInPage.stories.jsx +20 -0
- package/src/stories/Templates/SocialMediaLinks/SocialMediaLinks.css +7 -0
- package/src/stories/Templates/SocialMediaLinks/SocialMediaLinks.jsx +24 -0
- package/src/stories/Templates/SocialMediaLinks/SocialMediaLinks.stories.jsx +20 -0
- package/src/stories/Templates/Testimonials/Testimonials.css +7 -0
- package/src/stories/Templates/Testimonials/Testimonials.jsx +24 -0
- package/src/stories/Templates/Testimonials/Testimonials.stories.jsx +20 -0
- package/src/stories/Templates/index.js +33 -0
- package/src/stories/Templates/{Templates.js → meta_Templates.js} +3 -1
- package/src/stories/assets/logo.png +0 -0
- package/src/stories/assets/logo.svg +106 -0
- package/src/stories/assets/test.svg +3 -0
- package/src/themes/README_Styles.md +301 -0
- package/src/themes/ThemeProvider.jsx +47 -22
- package/src/themes/styles/dracula/dark.css +0 -0
- package/src/themes/styles/dracula/light.css +0 -0
- package/src/themes/styles/github/dark.css +0 -0
- package/src/themes/styles/github/light.css +0 -0
- package/src/themes/styles/neurons/dark.css +247 -0
- package/src/themes/styles/neurons/light.css +280 -0
- package/dist/Styles.md +0 -446
- package/dist/context.md +0 -942
- package/dist/github-3688a83a.js +0 -5
- package/dist/gothic-94a7ecd6.js +0 -5
- package/dist/newsprint-32bf94d9.js +0 -5
- package/dist/night-4a954853.js +0 -5
- package/dist/pixyll-94de4610.js +0 -5
- package/dist/whitey-db68723e.js +0 -5
- package/src/MDXEditor.jsx +0 -32
- package/src/Theme.jsx +0 -28
- package/src/components/CodeBlock.jsx +0 -22
- package/src/components/ComponentFactory.jsx +0 -36
- package/src/components/ComponentRegistry.js +0 -21
- package/src/scripts/generateComponents.js +0 -166
- package/src/scripts/verifyMolecules.js +0 -158
- package/src/scripts/verify_and_install_atoms.js +0 -211
- package/src/stories/Atoms/RangeInput/RangeInput.css +0 -29
- package/src/stories/Atoms/RangeInput/RangeInput.jsx +0 -41
- package/src/stories/Atoms/RangeInput/RangeInput.stories.jsx +0 -41
- package/src/stories/Components.md +0 -189
- package/src/stories/Layouts/Grid/Grid.css +0 -4
- package/src/stories/Layouts/Grid/Grid.jsx +0 -15
- package/src/stories/Layouts/Grid/Grid.stories.jsx +0 -26
- package/src/stories/Layouts/Layout.js +0 -28
- package/src/styles/Header.modules.css +0 -32
- package/src/styles/global.css +0 -59
- package/src/themes/Themes.js +0 -44
- package/src/themes/dark.js +0 -22
- package/src/themes/light.js +0 -22
- package/src/themes/typ/Readme.md +0 -4
- package/src/themes/typ/github/open-sans-v17-latin-ext_latin-700.woff2 +0 -0
- package/src/themes/typ/github/open-sans-v17-latin-ext_latin-700italic.woff2 +0 -0
- package/src/themes/typ/github/open-sans-v17-latin-ext_latin-italic.woff2 +0 -0
- package/src/themes/typ/github/open-sans-v17-latin-ext_latin-regular.woff2 +0 -0
- package/src/themes/typ/github.css +0 -416
- package/src/themes/typ/gothic/GUST e-foundry License.txt +0 -29
- package/src/themes/typ/gothic/didact-gothic-c-ext.woff2 +0 -0
- package/src/themes/typ/gothic/didact-gothic-c.woff2 +0 -0
- package/src/themes/typ/gothic/texgyreadventor-bold.woff +0 -0
- package/src/themes/typ/gothic/texgyreadventor-bolditalic.woff +0 -0
- package/src/themes/typ/gothic/texgyreadventor-italic.woff +0 -0
- package/src/themes/typ/gothic/texgyreadventor-regular.woff +0 -0
- package/src/themes/typ/gothic.css +0 -410
- package/src/themes/typ/newsprint/pt-serif-v11-latin-700.woff2 +0 -0
- package/src/themes/typ/newsprint/pt-serif-v11-latin-700italic.woff2 +0 -0
- package/src/themes/typ/newsprint/pt-serif-v11-latin-italic.woff2 +0 -0
- package/src/themes/typ/newsprint/pt-serif-v11-latin-regular.woff2 +0 -0
- package/src/themes/typ/newsprint.css +0 -622
- package/src/themes/typ/night/codeblock.dark.css +0 -113
- package/src/themes/typ/night/credit.html +0 -1
- package/src/themes/typ/night/cursor.png +0 -0
- package/src/themes/typ/night/cursor@2x.png +0 -0
- package/src/themes/typ/night/mermaid.dark.css +0 -7
- package/src/themes/typ/night/sourcemode.dark.css +0 -38
- package/src/themes/typ/night.css +0 -1032
- package/src/themes/typ/pixyll/lato-v14-latin-300.woff +0 -0
- package/src/themes/typ/pixyll/lato-v14-latin-300italic.woff +0 -0
- package/src/themes/typ/pixyll/lato-v14-latin-900.woff +0 -0
- package/src/themes/typ/pixyll/lato-v14-latin-900italic.woff +0 -0
- package/src/themes/typ/pixyll/merriweather-v19-latin-300.woff +0 -0
- package/src/themes/typ/pixyll/merriweather-v19-latin-300italic.woff +0 -0
- package/src/themes/typ/pixyll/merriweather-v19-latin-700.woff +0 -0
- package/src/themes/typ/pixyll/merriweather-v19-latin-700italic.woff +0 -0
- package/src/themes/typ/pixyll.css +0 -528
- package/src/themes/typ/whitey.css +0 -299
- /package/src/stories/Organisms/{Organisms.js → meta_Organisms.js} +0 -0
|
@@ -1,41 +1,35 @@
|
|
|
1
|
-
|
|
1
|
+
// src/stories/Atoms/Spacer/Spacer.jsx
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
|
+
import classNames from 'classnames';
|
|
4
5
|
import './Spacer.css';
|
|
5
6
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
7
|
+
export const Spacer = ({
|
|
8
|
+
size = 'md', // Default size is medium (16px)
|
|
9
|
+
direction = 'vertical', // Can be 'vertical' or 'horizontal'
|
|
10
|
+
className = '',
|
|
11
|
+
responsive = true, // Responsive spacer
|
|
12
|
+
}) => {
|
|
13
|
+
const spacerClasses = classNames(
|
|
14
|
+
'spacer',
|
|
15
|
+
`spacer--${size}`,
|
|
16
|
+
`spacer--${direction}`,
|
|
17
|
+
{
|
|
18
|
+
'spacer--responsive': responsive,
|
|
19
|
+
},
|
|
20
|
+
className
|
|
18
21
|
);
|
|
19
|
-
};
|
|
20
22
|
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* Is this the primary style for the component?
|
|
24
|
-
*/
|
|
25
|
-
primary: PropTypes.bool,
|
|
26
|
-
/**
|
|
27
|
-
* Size of the component
|
|
28
|
-
*/
|
|
29
|
-
size: PropTypes.oneOf(['small', 'medium', 'large']),
|
|
30
|
-
/**
|
|
31
|
-
* Content to be rendered inside the component
|
|
32
|
-
*/
|
|
33
|
-
children: PropTypes.node.isRequired,
|
|
23
|
+
return <div className={spacerClasses} aria-hidden="true" />;
|
|
34
24
|
};
|
|
35
25
|
|
|
36
|
-
Spacer.
|
|
37
|
-
|
|
38
|
-
size: '
|
|
26
|
+
Spacer.propTypes = {
|
|
27
|
+
/** Spacer size: 'xs', 'sm', 'md', 'lg', 'xl' */
|
|
28
|
+
size: PropTypes.oneOf(['xs', 'sm', 'md', 'lg', 'xl']),
|
|
29
|
+
/** Direction of the space: 'vertical' or 'horizontal' */
|
|
30
|
+
direction: PropTypes.oneOf(['vertical', 'horizontal']),
|
|
31
|
+
/** Custom class name for the spacer */
|
|
32
|
+
className: PropTypes.string,
|
|
33
|
+
/** Whether the spacer should adjust responsively */
|
|
34
|
+
responsive: PropTypes.bool,
|
|
39
35
|
};
|
|
40
|
-
|
|
41
|
-
export default Spacer;
|
|
@@ -1,41 +1,61 @@
|
|
|
1
|
-
|
|
1
|
+
// src/stories/Atoms/Spacer/Spacer.stories.jsx
|
|
2
|
+
import React from 'react';
|
|
2
3
|
import { Spacer } from './Spacer';
|
|
3
4
|
|
|
4
|
-
// Storybook configuration for Spacer component
|
|
5
5
|
export default {
|
|
6
|
-
title: 'Atoms/
|
|
6
|
+
title: 'Atoms/Layout/Spacer',
|
|
7
7
|
component: Spacer,
|
|
8
|
-
parameters: {
|
|
9
|
-
layout: 'centered',
|
|
10
|
-
},
|
|
11
8
|
argTypes: {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
9
|
+
size: {
|
|
10
|
+
control: { type: 'select', options: ['xs', 'sm', 'md', 'lg', 'xl'] },
|
|
11
|
+
description: 'Controls the size of the space (width or height)',
|
|
12
|
+
defaultValue: 'md',
|
|
13
|
+
},
|
|
14
|
+
direction: {
|
|
15
|
+
control: { type: 'select', options: ['vertical', 'horizontal'] },
|
|
16
|
+
description: 'Direction of the spacer (vertical or horizontal)',
|
|
17
|
+
defaultValue: 'vertical',
|
|
18
|
+
},
|
|
19
|
+
responsive: {
|
|
20
|
+
control: { type: 'boolean' },
|
|
21
|
+
description: 'Make the spacer responsive to screen sizes',
|
|
22
|
+
defaultValue: true,
|
|
23
|
+
},
|
|
24
|
+
className: {
|
|
25
|
+
control: 'text',
|
|
26
|
+
description: 'Custom CSS class for additional styling',
|
|
27
|
+
},
|
|
20
28
|
},
|
|
21
29
|
};
|
|
22
30
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
31
|
+
const Template = (args) => (
|
|
32
|
+
<div>
|
|
33
|
+
{/* Vertical Spacer Example */}
|
|
34
|
+
<div style={{ backgroundColor: '#e0e0e0', padding: '10px' }}>
|
|
35
|
+
Content Before Vertical Spacer
|
|
36
|
+
</div>
|
|
37
|
+
<Spacer {...args} />
|
|
38
|
+
<div style={{ backgroundColor: '#e0e0e0', padding: '10px' }}>
|
|
39
|
+
Content After Vertical Spacer
|
|
40
|
+
</div>
|
|
28
41
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
}
|
|
42
|
+
{/* Horizontal Spacer Example */}
|
|
43
|
+
<div style={{ display: 'flex', alignItems: 'center', marginTop: '20px' }}>
|
|
44
|
+
<div style={{ backgroundColor: '#e0e0e0', padding: '10px' }}>
|
|
45
|
+
Left Content
|
|
46
|
+
</div>
|
|
47
|
+
<Spacer {...args} direction="horizontal" />
|
|
48
|
+
<div style={{ backgroundColor: '#e0e0e0', padding: '10px' }}>
|
|
49
|
+
Right Content
|
|
50
|
+
</div>
|
|
51
|
+
</div>
|
|
52
|
+
</div>
|
|
53
|
+
);
|
|
35
54
|
|
|
36
|
-
export const
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
55
|
+
export const InteractiveSpacer = Template.bind({});
|
|
56
|
+
InteractiveSpacer.args = {
|
|
57
|
+
size: 'md',
|
|
58
|
+
direction: 'vertical',
|
|
59
|
+
responsive: true,
|
|
41
60
|
};
|
|
61
|
+
InteractiveSpacer.storyName = 'Interactive Spacer';
|
|
@@ -1,29 +1,110 @@
|
|
|
1
|
+
/* src/stories/Atoms/Spinner/Spinner.css */
|
|
1
2
|
|
|
2
3
|
.spinner {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
align-items: center;
|
|
7
|
+
justify-content: center;
|
|
7
8
|
}
|
|
8
9
|
|
|
9
|
-
.
|
|
10
|
-
|
|
11
|
-
border
|
|
10
|
+
.spinner__icon {
|
|
11
|
+
border-radius: 50%;
|
|
12
|
+
border: 4px solid rgba(0, 0, 0, 0.1);
|
|
13
|
+
border-top-color: var(--spinner-color, var(--primary-color));
|
|
14
|
+
animation: spin var(--spinner-speed, 1s) linear infinite;
|
|
12
15
|
}
|
|
13
16
|
|
|
14
|
-
.spinner--
|
|
15
|
-
|
|
16
|
-
|
|
17
|
+
.spinner--small .spinner__icon {
|
|
18
|
+
width: 24px;
|
|
19
|
+
height: 24px;
|
|
17
20
|
}
|
|
18
21
|
|
|
19
|
-
.spinner--
|
|
20
|
-
|
|
22
|
+
.spinner--medium .spinner__icon {
|
|
23
|
+
width: 40px;
|
|
24
|
+
height: 40px;
|
|
21
25
|
}
|
|
22
26
|
|
|
23
|
-
.spinner--
|
|
24
|
-
|
|
27
|
+
.spinner--large .spinner__icon {
|
|
28
|
+
width: 64px;
|
|
29
|
+
height: 64px;
|
|
25
30
|
}
|
|
26
31
|
|
|
27
|
-
.spinner--
|
|
28
|
-
|
|
32
|
+
.spinner--full-screen {
|
|
33
|
+
position: fixed;
|
|
34
|
+
top: 0;
|
|
35
|
+
left: 0;
|
|
36
|
+
width: 100vw;
|
|
37
|
+
height: 100vh;
|
|
38
|
+
display: flex;
|
|
39
|
+
justify-content: center;
|
|
40
|
+
align-items: center;
|
|
41
|
+
background-color: rgba(255, 255, 255, 0.8);
|
|
42
|
+
z-index: 1000;
|
|
29
43
|
}
|
|
44
|
+
|
|
45
|
+
.spinner__text {
|
|
46
|
+
margin-top: 10px;
|
|
47
|
+
text-align: center;
|
|
48
|
+
color: var(--text-color, #000);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/* Colors */
|
|
52
|
+
.spinner--primary .spinner__icon {
|
|
53
|
+
border-top-color: var(--primary-color);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.spinner--secondary .spinner__icon {
|
|
57
|
+
border-top-color: var(--secondary-color);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.spinner--info .spinner__icon {
|
|
61
|
+
border-top-color: var(--info-color);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.spinner--warning .spinner__icon {
|
|
65
|
+
border-top-color: var(--warning-color);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.spinner--alert .spinner__icon {
|
|
69
|
+
border-top-color: var(--alert-color);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.spinner--success .spinner__icon {
|
|
73
|
+
border-top-color: var(--success-color);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.spinner--neutral .spinner__icon {
|
|
77
|
+
border-top-color: var(--neutral-color);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.spinner--dark .spinner__icon {
|
|
81
|
+
border-top-color: var(--dark-color);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
/* Additional colors from design tokens */
|
|
85
|
+
.spinner--classy-color-1 .spinner__icon { border-top-color: var(--classy-color-1); }
|
|
86
|
+
.spinner--classy-color-2 .spinner__icon { border-top-color: var(--classy-color-2); }
|
|
87
|
+
.spinner--classy-color-3 .spinner__icon { border-top-color: var(--classy-color-3); }
|
|
88
|
+
.spinner--classy-color-4 .spinner__icon { border-top-color: var(--classy-color-4); }
|
|
89
|
+
.spinner--classy-color-5 .spinner__icon { border-top-color: var(--classy-color-5); }
|
|
90
|
+
|
|
91
|
+
.spinner--small-switch-color-1 .spinner__icon { border-top-color: var(--small-switch-color-1); }
|
|
92
|
+
.spinner--small-switch-color-2 .spinner__icon { border-top-color: var(--small-switch-color-2); }
|
|
93
|
+
|
|
94
|
+
.spinner--natural-color-1 .spinner__icon { border-top-color: var(--natural-color-1); }
|
|
95
|
+
.spinner--natural-color-2 .spinner__icon { border-top-color: var(--natural-color-2); }
|
|
96
|
+
.spinner--natural-color-3 .spinner__icon { border-top-color: var(--natural-color-3); }
|
|
97
|
+
|
|
98
|
+
.spinner--grey-friend-1 .spinner__icon { border-top-color: var(--grey-friend-1); }
|
|
99
|
+
.spinner--grey-friend-2 .spinner__icon { border-top-color: var(--grey-friend-2); }
|
|
100
|
+
|
|
101
|
+
.spinner--shade-1 .spinner__icon { border-top-color: var(--shade-1); }
|
|
102
|
+
.spinner--shade-2 .spinner__icon { border-top-color: var(--shade-2); }
|
|
103
|
+
.spinner--shade-3 .spinner__icon { border-top-color: var(--shade-3); }
|
|
104
|
+
.spinner--shade-4 .spinner__icon { border-top-color: var(--shade-4); }
|
|
105
|
+
|
|
106
|
+
/* Keyframes */
|
|
107
|
+
@keyframes spin {
|
|
108
|
+
0% { transform: rotate(0deg); }
|
|
109
|
+
100% { transform: rotate(360deg); }
|
|
110
|
+
}
|
|
@@ -1,41 +1,65 @@
|
|
|
1
|
-
|
|
1
|
+
// src/stories/Atoms/Spinner/Spinner.jsx
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
|
+
import classNames from 'classnames';
|
|
4
5
|
import './Spinner.css';
|
|
5
6
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
export const Spinner = ({
|
|
8
|
+
size = 'medium',
|
|
9
|
+
color = 'primary', // Ensure this prop is passed correctly
|
|
10
|
+
loading = true,
|
|
11
|
+
label = 'Loading...',
|
|
12
|
+
speed = '1s',
|
|
13
|
+
thickness = '4px',
|
|
14
|
+
variant = 'circle',
|
|
15
|
+
fullScreen = false,
|
|
16
|
+
text = '',
|
|
17
|
+
className = '',
|
|
18
|
+
style = {},
|
|
19
|
+
...props
|
|
20
|
+
}) => {
|
|
21
|
+
if (!loading) return null;
|
|
22
|
+
|
|
23
|
+
const spinnerClasses = classNames(
|
|
24
|
+
'spinner',
|
|
25
|
+
`spinner--${variant}`,
|
|
26
|
+
`spinner--${color}`, // This maps the color prop to the correct CSS class
|
|
27
|
+
{
|
|
28
|
+
'spinner--full-screen': fullScreen,
|
|
29
|
+
[`spinner--${size}`]: size,
|
|
30
|
+
},
|
|
31
|
+
className
|
|
32
|
+
);
|
|
33
|
+
|
|
11
34
|
return (
|
|
12
35
|
<div
|
|
13
|
-
className={
|
|
36
|
+
className={spinnerClasses}
|
|
37
|
+
style={{ animationDuration: speed, borderWidth: thickness, ...style }}
|
|
38
|
+
role="status"
|
|
39
|
+
aria-label={label}
|
|
14
40
|
{...props}
|
|
15
41
|
>
|
|
16
|
-
|
|
42
|
+
<div className="spinner__icon"></div>
|
|
43
|
+
{text && <span className="spinner__text">{text}</span>}
|
|
17
44
|
</div>
|
|
18
45
|
);
|
|
19
46
|
};
|
|
20
47
|
|
|
21
48
|
Spinner.propTypes = {
|
|
22
|
-
/**
|
|
23
|
-
* Is this the primary style for the component?
|
|
24
|
-
*/
|
|
25
|
-
primary: PropTypes.bool,
|
|
26
|
-
/**
|
|
27
|
-
* Size of the component
|
|
28
|
-
*/
|
|
29
49
|
size: PropTypes.oneOf(['small', 'medium', 'large']),
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
50
|
+
color: PropTypes.oneOf([
|
|
51
|
+
'primary', 'secondary', 'info', 'warning', 'alert', 'success', 'neutral', 'dark',
|
|
52
|
+
'classy-color-1', 'classy-color-2', 'classy-color-3', 'classy-color-4', 'classy-color-5',
|
|
53
|
+
'small-switch-color-1', 'small-switch-color-2', 'natural-color-1', 'natural-color-2', 'natural-color-3',
|
|
54
|
+
'grey-friend-1', 'grey-friend-2', 'shade-1', 'shade-2', 'shade-3', 'shade-4',
|
|
55
|
+
]),
|
|
56
|
+
loading: PropTypes.bool,
|
|
57
|
+
label: PropTypes.string,
|
|
58
|
+
speed: PropTypes.string,
|
|
59
|
+
thickness: PropTypes.string,
|
|
60
|
+
variant: PropTypes.oneOf(['circle', 'dots', 'bars']),
|
|
61
|
+
fullScreen: PropTypes.bool,
|
|
62
|
+
text: PropTypes.string,
|
|
63
|
+
className: PropTypes.string,
|
|
64
|
+
style: PropTypes.object,
|
|
34
65
|
};
|
|
35
|
-
|
|
36
|
-
Spinner.defaultProps = {
|
|
37
|
-
primary: false,
|
|
38
|
-
size: 'medium',
|
|
39
|
-
};
|
|
40
|
-
|
|
41
|
-
export default Spinner;
|
|
@@ -1,41 +1,58 @@
|
|
|
1
|
-
|
|
1
|
+
// src/stories/Atoms/Spinner/Spinner.stories.jsx
|
|
2
|
+
import React from 'react';
|
|
2
3
|
import { Spinner } from './Spinner';
|
|
3
4
|
|
|
4
|
-
// Storybook configuration for Spinner component
|
|
5
5
|
export default {
|
|
6
6
|
title: 'Atoms/Feedback/Spinner',
|
|
7
7
|
component: Spinner,
|
|
8
|
-
parameters: {
|
|
9
|
-
layout: 'centered',
|
|
10
|
-
},
|
|
11
8
|
argTypes: {
|
|
12
|
-
|
|
9
|
+
size: {
|
|
10
|
+
control: { type: 'select', options: ['small', 'medium', 'large'] },
|
|
11
|
+
description: 'Size of the spinner',
|
|
12
|
+
defaultValue: 'medium',
|
|
13
|
+
},
|
|
14
|
+
color: {
|
|
15
|
+
control: { type: 'select', options: [
|
|
16
|
+
'primary', 'secondary', 'info', 'warning', 'alert', 'success', 'neutral', 'dark',
|
|
17
|
+
'classy-color-1', 'classy-color-2', 'classy-color-3', 'classy-color-4', 'classy-color-5',
|
|
18
|
+
'small-switch-color-1', 'small-switch-color-2', 'natural-color-1', 'natural-color-2', 'natural-color-3',
|
|
19
|
+
'grey-friend-1', 'grey-friend-2', 'shade-1', 'shade-2', 'shade-3', 'shade-4',
|
|
20
|
+
]},
|
|
21
|
+
description: 'Spinner color',
|
|
22
|
+
defaultValue: 'primary',
|
|
23
|
+
},
|
|
24
|
+
variant: {
|
|
25
|
+
control: { type: 'select', options: ['circle', 'dots', 'bars'] },
|
|
26
|
+
description: 'Spinner variant',
|
|
27
|
+
defaultValue: 'circle',
|
|
28
|
+
},
|
|
29
|
+
speed: {
|
|
30
|
+
control: { type: 'text' },
|
|
31
|
+
description: 'Speed of the spinner animation (e.g., "1s")',
|
|
32
|
+
defaultValue: '1s',
|
|
33
|
+
},
|
|
34
|
+
text: {
|
|
35
|
+
control: 'text',
|
|
36
|
+
description: 'Optional loading text',
|
|
37
|
+
defaultValue: 'Loading...',
|
|
38
|
+
},
|
|
39
|
+
fullScreen: {
|
|
40
|
+
control: 'boolean',
|
|
41
|
+
description: 'Display spinner in full-screen mode',
|
|
42
|
+
defaultValue: false,
|
|
43
|
+
},
|
|
13
44
|
},
|
|
14
45
|
};
|
|
15
46
|
|
|
16
|
-
|
|
17
|
-
args: {
|
|
18
|
-
primary: true,
|
|
19
|
-
children: 'This is a primary Spinner',
|
|
20
|
-
},
|
|
21
|
-
};
|
|
47
|
+
const Template = (args) => <Spinner {...args} />;
|
|
22
48
|
|
|
23
|
-
export const
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
size: 'large',
|
|
32
|
-
children: 'This is a large Spinner',
|
|
33
|
-
},
|
|
34
|
-
};
|
|
35
|
-
|
|
36
|
-
export const Small = {
|
|
37
|
-
args: {
|
|
38
|
-
size: 'small',
|
|
39
|
-
children: 'This is a small Spinner',
|
|
40
|
-
},
|
|
49
|
+
export const InteractiveSpinner = Template.bind({});
|
|
50
|
+
InteractiveSpinner.args = {
|
|
51
|
+
size: 'medium',
|
|
52
|
+
color: 'primary',
|
|
53
|
+
variant: 'circle',
|
|
54
|
+
speed: '1s',
|
|
55
|
+
text: 'Loading...',
|
|
56
|
+
fullScreen: false,
|
|
41
57
|
};
|
|
58
|
+
InteractiveSpinner.storyName = 'Interactive Spinner';
|
|
@@ -1,29 +1,112 @@
|
|
|
1
|
+
/* src/stories/Atoms/Tag/Tag.css */
|
|
1
2
|
|
|
2
3
|
.tag {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
border:
|
|
4
|
+
display: inline-flex;
|
|
5
|
+
align-items: center;
|
|
6
|
+
padding: 0.5rem 1rem;
|
|
7
|
+
border-radius: 12px;
|
|
8
|
+
font-size: 0.875rem;
|
|
9
|
+
cursor: pointer;
|
|
10
|
+
transition: background-color 0.3s ease, border-color 0.3s ease;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.tag--small {
|
|
14
|
+
padding: 0.25rem 0.5rem;
|
|
15
|
+
font-size: 0.75rem;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.tag--large {
|
|
19
|
+
padding: 0.75rem 1.25rem;
|
|
20
|
+
font-size: 1rem;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.tag--filled {
|
|
24
|
+
background-color: var(--tag-bg-color, #1F877D);
|
|
25
|
+
color: #fff;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.tag--outlined {
|
|
29
|
+
background-color: transparent;
|
|
30
|
+
border: 1px solid var(--tag-border-color, #1F877D);
|
|
31
|
+
color: var(--tag-border-color, #1F877D);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.tag--disabled {
|
|
35
|
+
opacity: 0.6;
|
|
36
|
+
cursor: not-allowed;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.tag__remove {
|
|
40
|
+
background: none;
|
|
41
|
+
border: none;
|
|
42
|
+
font-size: 1rem;
|
|
43
|
+
color: inherit;
|
|
44
|
+
cursor: pointer;
|
|
45
|
+
margin-left: 0.5rem;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.tag__icon {
|
|
49
|
+
margin-right: 0.5rem;
|
|
7
50
|
}
|
|
8
51
|
|
|
9
52
|
.tag--primary {
|
|
10
|
-
|
|
11
|
-
border-color:
|
|
53
|
+
--tag-bg-color: var(--primary-color);
|
|
54
|
+
--tag-border-color: var(--primary-color);
|
|
12
55
|
}
|
|
13
56
|
|
|
14
57
|
.tag--secondary {
|
|
15
|
-
|
|
16
|
-
border-color:
|
|
58
|
+
--tag-bg-color: var(--secondary-color);
|
|
59
|
+
--tag-border-color: var(--secondary-color);
|
|
17
60
|
}
|
|
18
61
|
|
|
19
|
-
.tag--
|
|
20
|
-
|
|
62
|
+
.tag--info {
|
|
63
|
+
--tag-bg-color: var(--info-color);
|
|
64
|
+
--tag-border-color: var(--info-color);
|
|
21
65
|
}
|
|
22
66
|
|
|
23
|
-
.tag--
|
|
24
|
-
|
|
67
|
+
.tag--warning {
|
|
68
|
+
--tag-bg-color: var(--warning-color);
|
|
69
|
+
--tag-border-color: var(--warning-color);
|
|
25
70
|
}
|
|
26
71
|
|
|
27
|
-
.tag--
|
|
28
|
-
|
|
72
|
+
.tag--alert {
|
|
73
|
+
--tag-bg-color: var(--alert-color);
|
|
74
|
+
--tag-border-color: var(--alert-color);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.tag--success {
|
|
78
|
+
--tag-bg-color: var(--success-color);
|
|
79
|
+
--tag-border-color: var(--success-color);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.tag--neutral {
|
|
83
|
+
--tag-bg-color: var(--neutral-color);
|
|
84
|
+
--tag-border-color: var(--neutral-color);
|
|
29
85
|
}
|
|
86
|
+
|
|
87
|
+
.tag--dark {
|
|
88
|
+
--tag-bg-color: var(--dark-color);
|
|
89
|
+
--tag-border-color: var(--dark-color);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/* Additional colors */
|
|
93
|
+
.tag--classy-color-1 { --tag-bg-color: var(--classy-color-1); --tag-border-color: var(--classy-color-1); }
|
|
94
|
+
.tag--classy-color-2 { --tag-bg-color: var(--classy-color-2); --tag-border-color: var(--classy-color-2); }
|
|
95
|
+
.tag--classy-color-3 { --tag-bg-color: var(--classy-color-3); --tag-border-color: var(--classy-color-3); }
|
|
96
|
+
.tag--classy-color-4 { --tag-bg-color: var(--classy-color-4); --tag-border-color: var(--classy-color-4); }
|
|
97
|
+
.tag--classy-color-5 { --tag-bg-color: var(--classy-color-5); --tag-border-color: var(--classy-color-5); }
|
|
98
|
+
|
|
99
|
+
.tag--small-switch-color-1 { --tag-bg-color: var(--small-switch-color-1); --tag-border-color: var(--small-switch-color-1); }
|
|
100
|
+
.tag--small-switch-color-2 { --tag-bg-color: var(--small-switch-color-2); --tag-border-color: var(--small-switch-color-2); }
|
|
101
|
+
|
|
102
|
+
.tag--natural-color-1 { --tag-bg-color: var(--natural-color-1); --tag-border-color: var(--natural-color-1); }
|
|
103
|
+
.tag--natural-color-2 { --tag-bg-color: var(--natural-color-2); --tag-border-color: var(--natural-color-2); }
|
|
104
|
+
.tag--natural-color-3 { --tag-bg-color: var(--natural-color-3); --tag-border-color: var(--natural-color-3); }
|
|
105
|
+
|
|
106
|
+
.tag--grey-friend-1 { --tag-bg-color: var(--grey-friend-1); --tag-border-color: var(--grey-friend-1); }
|
|
107
|
+
.tag--grey-friend-2 { --tag-bg-color: var(--grey-friend-2); --tag-border-color: var(--grey-friend-2); }
|
|
108
|
+
|
|
109
|
+
.tag--shade-1 { --tag-bg-color: var(--shade-1); --tag-border-color: var(--shade-1); }
|
|
110
|
+
.tag--shade-2 { --tag-bg-color: var(--shade-2); --tag-border-color: var(--shade-2); }
|
|
111
|
+
.tag--shade-3 { --tag-bg-color: var(--shade-3); --tag-border-color: var(--shade-3); }
|
|
112
|
+
.tag--shade-4 { --tag-bg-color: var(--shade-4); --tag-border-color: var(--shade-4); }
|