diff --git a/README.md b/README.md index 5ada2f11..d6348c93 100644 --- a/README.md +++ b/README.md @@ -58,8 +58,8 @@ function MyComponent() { label="password" hint="password must be between 6 to 30 character" /> - - + + ) } diff --git a/apps/docs/content/getting-started/cra.mdx b/apps/docs/content/getting-started/cra.mdx index 6d0eec0b..0ffda728 100644 --- a/apps/docs/content/getting-started/cra.mdx +++ b/apps/docs/content/getting-started/cra.mdx @@ -53,18 +53,18 @@ By adhering to this guideline, you can ensure a cohesive and intuitive user inte ```css :root { - --pri-l-1: hsl(225deg 60% 99.4%); - --pri-l-2: hsl(223deg 100% 98.6%); + --Pl-1: hsl(225deg 60% 99.4%); + --Pl-2: hsl(223deg 100% 98.6%); /* ... */ - --pri-l-11: hsl(226deg 55% 45%); - --pri-l-12: hsl(226dg 62% 17%); + --Pl-11: hsl(226deg 55% 45%); + --Pl-12: hsl(226dg 62% 17%); /* dark colors */ - --pri-d-1: hsl(229deg 24% 10%); - --pri-d-2: hsl(230deg 36.4% 12.9%); + --Pd-1: hsl(229deg 24% 10%); + --Pd-2: hsl(230deg 36.4% 12.9%); /* ... */ - --pri-d-11: hsl(228deg 100% 75.9%); - --pri-d-12: hsl(226deg 8% 96.3%); + --Pd-11: hsl(228deg 100% 75.9%); + --Pd-12: hsl(226deg 8% 96.3%); } /* Add dark mode custom properties here */ ``` diff --git a/apps/docs/content/getting-started/next.mdx b/apps/docs/content/getting-started/next.mdx index 239b9e6b..ef3af51d 100644 --- a/apps/docs/content/getting-started/next.mdx +++ b/apps/docs/content/getting-started/next.mdx @@ -53,18 +53,18 @@ By adhering to this guideline, you can ensure a cohesive and intuitive user inte ```css :root { - --pri-l-1: hsl(225deg 60% 99.4%); - --pri-l-2: hsl(223deg 100% 98.6%); + --Pl-1: hsl(225deg 60% 99.4%); + --Pl-2: hsl(223deg 100% 98.6%); /* ... */ - --pri-l-11: hsl(226deg 55% 45%); - --pri-l-12: hsl(226dg 62% 17%); + --Pl-11: hsl(226deg 55% 45%); + --Pl-12: hsl(226dg 62% 17%); /* dark colors */ - --pri-d-1: hsl(229deg 24% 10%); - --pri-d-2: hsl(230deg 36.4% 12.9%); + --Pd-1: hsl(229deg 24% 10%); + --Pd-2: hsl(230deg 36.4% 12.9%); /* ... */ - --pri-d-11: hsl(228deg 100% 75.9%); - --pri-d-12: hsl(226deg 8% 96.3%); + --Pd-11: hsl(228deg 100% 75.9%); + --Pd-12: hsl(226deg 8% 96.3%); } /* Add dark mode custom properties here */ ``` diff --git a/apps/docs/content/getting-started/remix.mdx b/apps/docs/content/getting-started/remix.mdx index 772803ed..7784ff7a 100644 --- a/apps/docs/content/getting-started/remix.mdx +++ b/apps/docs/content/getting-started/remix.mdx @@ -53,18 +53,18 @@ By adhering to this guideline, you can ensure a cohesive and intuitive user inte ```css :root { - --pri-l-1: hsl(225deg 60% 99.4%); - --pri-l-2: hsl(223deg 100% 98.6%); + --Pl-1: hsl(225deg 60% 99.4%); + --Pl-2: hsl(223deg 100% 98.6%); /* ... */ - --pri-l-11: hsl(226deg 55% 45%); - --pri-l-12: hsl(226dg 62% 17%); + --Pl-11: hsl(226deg 55% 45%); + --Pl-12: hsl(226dg 62% 17%); /* dark colors */ - --pri-d-1: hsl(229deg 24% 10%); - --pri-d-2: hsl(230deg 36.4% 12.9%); + --Pd-1: hsl(229deg 24% 10%); + --Pd-2: hsl(230deg 36.4% 12.9%); /* ... */ - --pri-d-11: hsl(228deg 100% 75.9%); - --pri-d-12: hsl(226deg 8% 96.3%); + --Pd-11: hsl(228deg 100% 75.9%); + --Pd-12: hsl(226deg 8% 96.3%); } /* Add dark mode custom properties here */ ``` diff --git a/apps/docs/content/getting-started/vite.mdx b/apps/docs/content/getting-started/vite.mdx index 7f4cdd18..a4582c55 100644 --- a/apps/docs/content/getting-started/vite.mdx +++ b/apps/docs/content/getting-started/vite.mdx @@ -53,18 +53,18 @@ By adhering to this guideline, you can ensure a cohesive and intuitive user inte ```css :root { - --pri-l-1: hsl(225deg 60% 99.4%); - --pri-l-2: hsl(223deg 100% 98.6%); + --Pl-1: hsl(225deg 60% 99.4%); + --Pl-2: hsl(223deg 100% 98.6%); /* ... */ - --pri-l-11: hsl(226deg 55% 45%); - --pri-l-12: hsl(226dg 62% 17%); + --Pl-11: hsl(226deg 55% 45%); + --Pl-12: hsl(226dg 62% 17%); /* dark colors */ - --pri-d-1: hsl(229deg 24% 10%); - --pri-d-2: hsl(230deg 36.4% 12.9%); + --Pd-1: hsl(229deg 24% 10%); + --Pd-2: hsl(230deg 36.4% 12.9%); /* ... */ - --pri-d-11: hsl(228deg 100% 75.9%); - --pri-d-12: hsl(226deg 8% 96.3%); + --Pd-11: hsl(228deg 100% 75.9%); + --Pd-12: hsl(226deg 8% 96.3%); } /* Add dark mode custom properties here */ ``` diff --git a/apps/docs/content/themes/color.mdx b/apps/docs/content/themes/color.mdx index 277b4378..9fe35c6c 100644 --- a/apps/docs/content/themes/color.mdx +++ b/apps/docs/content/themes/color.mdx @@ -19,37 +19,37 @@ The Pillar UI color theme provides a set of default colors that can be easily ap Primary Colors - `--pri-*` + `--P*` Highlight important elements; range from light to dark. Secondary Colors - `--sec-*` + `--Se*` Complement primary colors; offer visual variation. Danger Colors - `--dan-*` + `--D*` Signal critical or error-related elements in your UI. Warning Colors - `--war-*` + `--W*` Convey cautionary information or warnings. Success Colors - `--suc-*` + `--S*` Represent successful or positive elements in your UI. Opacity Colors - `--opa-*` + `--O*` Provide varying transparency levels to UI elements. bg Colors - `--bg-*` + `--B*` Serve as background colors for bgs or containers. diff --git a/apps/docs/content/themes/font.mdx b/apps/docs/content/themes/font.mdx index ea29762c..3f4f8f16 100644 --- a/apps/docs/content/themes/font.mdx +++ b/apps/docs/content/themes/font.mdx @@ -12,7 +12,7 @@ publishedAt: '2024-05-03T05:35:07.322Z' The font size variables, defined within the `:root` CSS selector, ensure accessibility throughout your CSS stylesheets. @@ -21,23 +21,23 @@ These gradient variables are available for usage when applying themes to your CS Description - `--suc-gradient` + `--Sgradient` Gradient variable for success-related elements. - `--sec-gradient` + `--Segradient` Gradient variable for secondary elements. - `--dan-gradient` + `--Dgradient` Gradient variable for elements associated with danger or errors. - `--war-gradient` + `--Wgradient` Gradient variable for warning-related elements. - `--bg-gradient` + `--Bgradient` Gradient variable for bg elements. @@ -62,11 +62,11 @@ These gradient variables are available for usage when applying themes to your CS The gradient variables define different gradients for various color combinations. Each variable represents a specific gradient style: -- **--suc-gradient**: Gradient variable for success-related elements. -- **--sec-gradient**: Gradient variable for secondary elements. -- **--dan-gradient**: Gradient variable for elements associated with danger or errors. -- **--war-gradient**: Gradient variable for warning-related elements. -- **--bg-gradient**: Gradient variable for bg elements. +- **--Sgradient**: Gradient variable for success-related elements. +- **--Segradient**: Gradient variable for secondary elements. +- **--Dgradient**: Gradient variable for elements associated with danger or errors. +- **--Wgradient**: Gradient variable for warning-related elements. +- **--Bgradient**: Gradient variable for bg elements. - **--mixed1-gradient**: Customizable gradient variable for mixed color combination 1. - **--mixed2-gradient**: Customizable gradient variable for mixed color combination 2. - **--mixed3-gradient**: Customizable gradient variable for mixed color combination 3. @@ -76,15 +76,15 @@ The gradient variables define different gradients for various color combinations If you'd like to customize the gradient styles beyond the default values, you have the flexibility to do so. Simply override the existing gradient variables with your preferred gradient styles. -For instance, if you want to modify the gradient colors for the `--suc-gradient`, you can achieve this by assigning a new `linear-gradient` value to the `--suc-gradient-custom` variable: +For instance, if you want to modify the gradient colors for the `--Sgradient`, you can achieve this by assigning a new `linear-gradient` value to the `--Sgradient-custom` variable: ```css showLineNumbers title="themes.css" :root { - --suc-gradient-custom: linear-gradient(to right, #00ff00, #ff0000); + --Sgradient-custom: linear-gradient(to right, #00ff00, #ff0000); } ``` -In this example, we're customizing the --pri-gradient-custom and --sec-gradient-custom properties to define our own gradient styles for primary and secondary elements, respectively. +In this example, we're customizing the --Pgradient-custom and --Segradient-custom properties to define our own gradient styles for primary and secondary elements, respectively. By updating these gradient variables, you can create unique gradient styles for different components and elements in your project. diff --git a/apps/docs/src/app/_components/_icon.scss b/apps/docs/src/app/_components/_icon.scss index 7ff8224e..73de1112 100644 --- a/apps/docs/src/app/_components/_icon.scss +++ b/apps/docs/src/app/_components/_icon.scss @@ -1,4 +1,4 @@ .icons-scroll { overflow-x: auto; - border: 1px solid var(--bg-4); + border: 1px solid var(--B4); } diff --git a/apps/docs/src/app/_components/aside/_aside.scss b/apps/docs/src/app/_components/aside/_aside.scss index 9b3154b5..8f4eb139 100644 --- a/apps/docs/src/app/_components/aside/_aside.scss +++ b/apps/docs/src/app/_components/aside/_aside.scss @@ -5,12 +5,12 @@ top: 4rem; overflow-y: auto; max-height: calc(100vh - 4rem); - background: var(--bg-1); + background: var(--B1); z-index: 50; } .toc-wrapper { - border-inline-start: 1px solid var(--bg-4); + border-inline-start: 1px solid var(--B4); } .as-icon { @@ -46,8 +46,8 @@ border-inline-start: 3px solid transparent; &[data-active='true'] { - background: var(--pri-3); - border-color: var(--pri-9); + background: var(--P3); + border-color: var(--P9); } } @@ -57,7 +57,7 @@ justify-content: space-between; width: 100%; font-size: var(--f-xs); - color: var(--bg-11); + color: var(--B11); outline: none; } diff --git a/apps/docs/src/app/_components/code/_index.scss b/apps/docs/src/app/_components/code/_index.scss index db7e5ad5..aed59630 100644 --- a/apps/docs/src/app/_components/code/_index.scss +++ b/apps/docs/src/app/_components/code/_index.scss @@ -1,18 +1,18 @@ .prose { --sha-rad: 0.5rem; - --sh-class: var(--pri-11); - --sh-identifier: var(--suc-11); - --sh-sign: var(--bg-11); - --sh-property: var(--sec-11); - --sh-entity: var(--war-11); - --sh-jsxliterals: var(--bg-12); - --sh-string: var(--suc-10); - --sh-keyword: var(--dan-11); - --sh-comment: var(--bg-9); + --sh-class: var(--P11); + --sh-identifier: var(--S11); + --sh-sign: var(--B11); + --sh-property: var(--Se11); + --sh-entity: var(--W11); + --sh-jsxliterals: var(--B12); + --sh-string: var(--S10); + --sh-keyword: var(--D11); + --sh-comment: var(--B9); & li::marker { - color: var(--bg-11); + color: var(--B11); font-size: 0.85rem; } @@ -34,9 +34,9 @@ } .code--section { - background-color: var(--bg-3); + background-color: var(--B3); border-radius: var(--sha-rad); - border: 1px solid var(--bg-6); + border: 1px solid var(--B6); & > * { padding: 0.375rem 1rem; @@ -79,7 +79,7 @@ } .playground { - border: 1px solid var(--bg-6); + border: 1px solid var(--B6); padding: 1.5rem; gap: 1.5rem; display: flex; @@ -99,13 +99,13 @@ display: flex; align-items: center; justify-content: space-between; - border-bottom: 1px solid var(--opa-4); + border-bottom: 1px solid var(--O4); } .dot { width: 0.5rem; height: 0.5rem; - background: var(--dan-9); + background: var(--D9); border-radius: 50%; position: relative; @@ -115,14 +115,14 @@ position: absolute; width: 100%; height: 100%; - background-color: var(--war-9); + background-color: var(--W9); top: 0; left: 0.75rem; border-radius: inherit; } &:after { - background-color: var(--suc-9); + background-color: var(--S9); left: 1.5rem; } } diff --git a/apps/docs/src/app/_components/colors/colors.tsx b/apps/docs/src/app/_components/colors/colors.tsx index 628ac440..73858417 100644 --- a/apps/docs/src/app/_components/colors/colors.tsx +++ b/apps/docs/src/app/_components/colors/colors.tsx @@ -18,7 +18,7 @@ function ColorItem({ item, value }: ColorItem) {
{Array.from({ length: 12 }, (_, index) => ( - + {index + 1} ))} diff --git a/apps/docs/src/app/_components/docHeader/index.tsx b/apps/docs/src/app/_components/docHeader/index.tsx index 454455e1..93152be3 100644 --- a/apps/docs/src/app/_components/docHeader/index.tsx +++ b/apps/docs/src/app/_components/docHeader/index.tsx @@ -9,14 +9,14 @@ export const DocHeader = ({ title, type, items, root, excerpt, slug, directory } return ( {title} - + {excerpt} {type === 'core' && ( <> - + Components: @@ -24,14 +24,14 @@ export const DocHeader = ({ title, type, items, root, excerpt, slug, directory } )} - + Type {typeName} <> - + import diff --git a/apps/docs/src/app/_components/footer/footer.tsx b/apps/docs/src/app/_components/footer/footer.tsx index 2b374f02..986a3e82 100644 --- a/apps/docs/src/app/_components/footer/footer.tsx +++ b/apps/docs/src/app/_components/footer/footer.tsx @@ -45,7 +45,7 @@ const footer = () => {
- + Your comprehensive solution for modern web development. Reusable UI components, React hooks, icons, and tools designed with accessibility and scalability in mind. Empower your web applications effortlessly diff --git a/apps/docs/src/app/_components/header/_header.scss b/apps/docs/src/app/_components/header/_header.scss index 0be81383..0a0a3a1b 100644 --- a/apps/docs/src/app/_components/header/_header.scss +++ b/apps/docs/src/app/_components/header/_header.scss @@ -1,6 +1,6 @@ .header { padding: 0 1rem; - border-bottom: 1px solid var(--bg-4); + border-bottom: 1px solid var(--B4); position: sticky; top: 0; left: 0; @@ -21,7 +21,7 @@ .header--input-search { position: absolute; inset: 0; - background-color: var(--bg-1); + background-color: var(--B1); visibility: hidden; z-index: 1; &[data-show='true'] { diff --git a/apps/docs/src/app/_components/home/_home.scss b/apps/docs/src/app/_components/home/_home.scss index 5bdc5eb6..d622be9c 100644 --- a/apps/docs/src/app/_components/home/_home.scss +++ b/apps/docs/src/app/_components/home/_home.scss @@ -16,7 +16,7 @@ } .hero-svg { - stroke: var(--pri-9); + stroke: var(--P9); position: absolute; left: -10%; width: 115%; @@ -26,7 +26,7 @@ .hero-txt { font-size: max(2.5vw, 1.75rem); line-height: 1.25; - color: var(--bg-11); + color: var(--B11); } // Here we go @@ -38,7 +38,7 @@ z-index: 1; max-width: 100%; &:nth-child(even) { - background: var(--bg-2); + background: var(--B2); } } .rtl--support { @@ -59,7 +59,7 @@ } .feature--item { - border: 1px solid var(--bg-5); + border: 1px solid var(--B5); padding: 0.75rem; border-radius: 0.75rem; } @@ -73,15 +73,15 @@ } .article--item { padding: 1.25rem; - border: 1px solid var(--bg-4); + border: 1px solid var(--B4); position: relative; z-index: 1; border-radius: 0.5rem; - background-color: var(--bg-1); + background-color: var(--B1); } .article--icon-container { - background-color: var(--pri-4); + background-color: var(--P4); width: 48px; height: 48px; border-radius: 50%; @@ -149,9 +149,9 @@ .user--article, .get-started { padding: 0.75rem; - border: 1px solid var(--bg-4); + border: 1px solid var(--B4); border-radius: 0.5rem; - background-color: var(--bg-3); + background-color: var(--B3); height: fit-content; } diff --git a/apps/docs/src/app/_components/home/accessible.tsx b/apps/docs/src/app/_components/home/accessible.tsx index dbd5a11f..d3ec92fd 100644 --- a/apps/docs/src/app/_components/home/accessible.tsx +++ b/apps/docs/src/app/_components/home/accessible.tsx @@ -18,7 +18,7 @@ export function Accessible() { {title} - + {description}! diff --git a/apps/docs/src/app/_components/home/customTheme.tsx b/apps/docs/src/app/_components/home/customTheme.tsx index 49a9dfb1..6039081b 100644 --- a/apps/docs/src/app/_components/home/customTheme.tsx +++ b/apps/docs/src/app/_components/home/customTheme.tsx @@ -9,11 +9,11 @@ export function CustomTheme() {
- + Customize your interface to showcase your personal flair. Adjust CSS variables for colors, fonts, and layouts to craft a design that’s unmistakably your own. - + In the theme settings, you can enhance your user experience by customizing various elements. This includes adjusting the size, corner details, and text transformations. You can select specific areas within the entire tree structure to apply these style changes, ensuring a consistent and personalized look. diff --git a/apps/docs/src/app/_components/home/darkMode.tsx b/apps/docs/src/app/_components/home/darkMode.tsx index e03dea7a..685c4bda 100644 --- a/apps/docs/src/app/_components/home/darkMode.tsx +++ b/apps/docs/src/app/_components/home/darkMode.tsx @@ -8,11 +8,11 @@ export function DarkMode() {
- + Switch to dark mode with ease. Our useDarkMode hook ensures a smooth, flicker-free experience, compatible with major frameworks. - + Our styles are dark mode-ready from the start. Simply add class="dark" to your elements, and watch them transform. diff --git a/apps/docs/src/app/_components/home/data.tsx b/apps/docs/src/app/_components/home/data.tsx index d282a779..57144e07 100644 --- a/apps/docs/src/app/_components/home/data.tsx +++ b/apps/docs/src/app/_components/home/data.tsx @@ -72,49 +72,49 @@ export const ACCESSIBILITY = [ title: 'Support Windows High Contrast', description: 'Our UI library supports windows high contrast mode out of the box without any additional configuration.', - icon: , + icon: , }, { id: 'color-contrast', title: 'Color Contrast', description: 'Meets WCAG contrast guidelines for readability by all users.', - icon: , + icon: , }, { id: 'reduce-animation', title: 'Reduce Motion', description: 'Option to minimize animations for users with motion sensitivity.', - icon: , + icon: , }, { id: 'Keyboard Navigation', title: 'Keyboard Navigation', description: 'Full keyboard support for users who cannot use a mouse.', - icon: , + icon: , }, { id: 'Text Resizing', title: 'Text Resizing', description: 'Supports text resizing for users with low vision.', - icon: , + icon: , }, { id: 'Focus Indicators', title: 'Focus Indicators', description: 'Clear focus indicators for keyboard navigation.', - icon: , + icon: , }, { id: 'Semantic Markup', title: 'Semantic Markup', description: 'Uses semantic HTML for accessibility and structure.', - icon: , + icon: , }, { id: 'colorblind-friendly', title: 'Color blind Friendly Design', description: 'Does not rely on color alone to convey information, ensuring accessibility for colorblind users.', - icon: , // You might want a more suitable icon here. + icon: , // You might want a more suitable icon here. }, ] @@ -195,7 +195,7 @@ export const SUPPORTED = [ slug: 'remix', title: 'Remix', icon: ( - + ), @@ -204,7 +204,7 @@ export const SUPPORTED = [ slug: 'next', title: 'Next', icon: ( - + ), @@ -243,7 +243,7 @@ export const SUPPORTED = [ icon: ( - + When building this library, we focused on two key aspects: accessibility and performance. You can assess the library's size and compare it to other libraries to see the difference.{' '} @@ -39,16 +39,16 @@ export function Hero() { Get Started - }> + }> Donation - } /> - } /> - } /> - } /> + } /> + } /> + } /> + } /> ) diff --git a/apps/docs/src/app/_components/home/rtl.tsx b/apps/docs/src/app/_components/home/rtl.tsx index 602e8e54..11c36c16 100644 --- a/apps/docs/src/app/_components/home/rtl.tsx +++ b/apps/docs/src/app/_components/home/rtl.tsx @@ -11,7 +11,7 @@ function Article({ type = 'en' }: { type?: 'ar' | 'en' }) {
{fullName} - + {jobTitle}
@@ -19,7 +19,7 @@ function Article({ type = 'en' }: { type?: 'ar' | 'en' }) {
- + {description}
@@ -54,7 +54,7 @@ export function RTLSupport() { />
- + Our UI library ensures a welcoming experience for users worldwide.
diff --git a/apps/docs/src/app/_components/home/simpleDev.tsx b/apps/docs/src/app/_components/home/simpleDev.tsx index 42bcd343..78db9082 100644 --- a/apps/docs/src/app/_components/home/simpleDev.tsx +++ b/apps/docs/src/app/_components/home/simpleDev.tsx @@ -12,7 +12,7 @@ export function SimplifyDevelopment() { {SIMPLE_DEVELOPMENT.map(({ title, id, description }) => (
{title} - + {description}
diff --git a/apps/docs/src/app/_components/home/support.tsx b/apps/docs/src/app/_components/home/support.tsx index 601ee5ab..32dce6a8 100644 --- a/apps/docs/src/app/_components/home/support.tsx +++ b/apps/docs/src/app/_components/home/support.tsx @@ -12,7 +12,7 @@ export function PillarSupport() { > - + Pillar UI adapts to your workflow, enhancing your projects with ease. Stay ahead of the curve with support for emerging technologies. @@ -33,7 +33,7 @@ export function PillarSupport() { Lets Getting Start - + Build faster and lighter. Experience the power of our streamlined design system. @@ -42,7 +42,7 @@ export function PillarSupport() { Community - + Get involved in our community. Everyone is welcome! diff --git a/apps/docs/src/app/_components/logo.tsx b/apps/docs/src/app/_components/logo.tsx index 9a6c2071..6d9ca02c 100644 --- a/apps/docs/src/app/_components/logo.tsx +++ b/apps/docs/src/app/_components/logo.tsx @@ -5,46 +5,22 @@ const logo = (props: SvgType) => { return ( - - - - - - - - - + + + + + + + + + ) } diff --git a/apps/docs/src/app/_components/playground/alert/alertColor.tsx b/apps/docs/src/app/_components/playground/alert/alertColor.tsx index 40d2f18d..10444fb6 100644 --- a/apps/docs/src/app/_components/playground/alert/alertColor.tsx +++ b/apps/docs/src/app/_components/playground/alert/alertColor.tsx @@ -3,12 +3,12 @@ import { Alert } from '@pillar-ui/core' export const AlertColor = () => { return ( <> - - - - - - + + + + + + ) } diff --git a/apps/docs/src/app/_components/playground/avatar/avatarColor.tsx b/apps/docs/src/app/_components/playground/avatar/avatarColor.tsx index 08911cfa..15a368e9 100644 --- a/apps/docs/src/app/_components/playground/avatar/avatarColor.tsx +++ b/apps/docs/src/app/_components/playground/avatar/avatarColor.tsx @@ -4,13 +4,13 @@ export const AvatarColor = () => { return ( <> - - - - - - - + + + + + + + ) } diff --git a/apps/docs/src/app/_components/playground/avatar/avatarGroupContext.tsx b/apps/docs/src/app/_components/playground/avatar/avatarGroupContext.tsx index 1a94ded9..e6cc45b4 100644 --- a/apps/docs/src/app/_components/playground/avatar/avatarGroupContext.tsx +++ b/apps/docs/src/app/_components/playground/avatar/avatarGroupContext.tsx @@ -18,7 +18,7 @@ export function AvatarGroupContext() { - + diff --git a/apps/docs/src/app/_components/playground/badge/badgeColor.tsx b/apps/docs/src/app/_components/playground/badge/badgeColor.tsx index 4d47779f..445ceaa2 100644 --- a/apps/docs/src/app/_components/playground/badge/badgeColor.tsx +++ b/apps/docs/src/app/_components/playground/badge/badgeColor.tsx @@ -5,33 +5,33 @@ export const BadgeColor = () => { return ( <> - - - - - - - + + + + + + + - } /> - } /> - } /> - } /> - } /> - } /> - } /> + } /> + } /> + } /> + } /> + } /> + } /> + } /> } /> - - - - - - - + + + + + + + diff --git a/apps/docs/src/app/_components/playground/badge/badgeCorner.tsx b/apps/docs/src/app/_components/playground/badge/badgeCorner.tsx index 105b8145..cd784982 100644 --- a/apps/docs/src/app/_components/playground/badge/badgeCorner.tsx +++ b/apps/docs/src/app/_components/playground/badge/badgeCorner.tsx @@ -5,31 +5,31 @@ export const BadgeCorner = () => { return ( <> - - - - - - - + + + + + + + - } corner="sharp" color="dan" /> - } corner="xs" color="suc" /> - } corner="sm" color="war" /> - } corner="md" color="sec" /> - } corner="lg" color="sec" /> - } corner="circle" color="pri" /> - } corner="full" color="bg" /> + } corner="sharp" color="d" /> + } corner="xs" color="s" /> + } corner="sm" color="w" /> + } corner="md" color="se" /> + } corner="lg" color="se" /> + } corner="circle" color="p" /> + } corner="full" color="b" /> - - - - - - - + + + + + + + ) diff --git a/apps/docs/src/app/_components/playground/badge/badgeDot.tsx b/apps/docs/src/app/_components/playground/badge/badgeDot.tsx index 4cf66aa8..8ad1b36a 100644 --- a/apps/docs/src/app/_components/playground/badge/badgeDot.tsx +++ b/apps/docs/src/app/_components/playground/badge/badgeDot.tsx @@ -3,15 +3,15 @@ import { Badge } from '@pillar-ui/core' export const BadgeDot = () => { return ( <> - - - - - - - - - + + + + + + + + + ) } diff --git a/apps/docs/src/app/_components/playground/badge/badgeIcon.tsx b/apps/docs/src/app/_components/playground/badge/badgeIcon.tsx index 71ea9887..353faeb5 100644 --- a/apps/docs/src/app/_components/playground/badge/badgeIcon.tsx +++ b/apps/docs/src/app/_components/playground/badge/badgeIcon.tsx @@ -4,15 +4,15 @@ import { Check, Eye, Plus, Radar, User, Verified, Window, AspectRatio } from '@p export const BadgeIcon = () => { return ( <> - } color="dan" /> - } color="suc" /> - } color="war" /> - } color="pri" /> - } color="dan" /> - } color="sec" /> - } color="pri" /> - } color="sec" /> - } color="bg" /> + } color="d" /> + } color="s" /> + } color="w" /> + } color="p" /> + } color="d" /> + } color="se" /> + } color="p" /> + } color="se" /> + } color="b" /> ) } diff --git a/apps/docs/src/app/_components/playground/badge/badgeNumeric.tsx b/apps/docs/src/app/_components/playground/badge/badgeNumeric.tsx index b8062554..3f2835e2 100644 --- a/apps/docs/src/app/_components/playground/badge/badgeNumeric.tsx +++ b/apps/docs/src/app/_components/playground/badge/badgeNumeric.tsx @@ -3,12 +3,12 @@ import { Badge } from '@pillar-ui/core' export const BadgeNumeric = () => { return ( <> - - - - - - + + + + + + ) } diff --git a/apps/docs/src/app/_components/playground/badge/badgeVariant.tsx b/apps/docs/src/app/_components/playground/badge/badgeVariant.tsx index 0c397b2f..1370e30c 100644 --- a/apps/docs/src/app/_components/playground/badge/badgeVariant.tsx +++ b/apps/docs/src/app/_components/playground/badge/badgeVariant.tsx @@ -5,15 +5,15 @@ export const BadgeVariant = () => { return ( <> - - - } color="dan" /> + + + } color="d" /> - - - } color="dan" /> + + + } color="d" /> ) diff --git a/apps/docs/src/app/_components/playground/blockquote/blockquoteCite.tsx b/apps/docs/src/app/_components/playground/blockquote/blockquoteCite.tsx index a4c7ada4..cb5b41e5 100644 --- a/apps/docs/src/app/_components/playground/blockquote/blockquoteCite.tsx +++ b/apps/docs/src/app/_components/playground/blockquote/blockquoteCite.tsx @@ -3,14 +3,14 @@ import { Blockquote, Text } from '@pillar-ui/core' export const BlockquoteCite = () => { return (
-
+
Lorem ipsum dolor sit amet consectetur, adipisicing elit. Porro corporis autem minima animi, sequi exercitationem fugit mollitia ducimus consequatur praesentium, inventore laudantium ullam aliquam saepe? Repellat libero quibusdam repellendus quisquam? Hamza Miloud Amar
-
+
Lorem ipsum dolor sit amet consectetur, adipisicing elit. Porro corporis autem minima animi, sequi exercitationem fugit mollitia ducimus consequatur praesentium, inventore laudantium ullam aliquam saepe? Repellat libero quibusdam repellendus quisquam? @@ -19,7 +19,7 @@ export const BlockquoteCite = () => {
-
+
Lorem ipsum dolor sit amet consectetur, adipisicing elit. Porro corporis autem minima animi, sequi exercitationem fugit mollitia ducimus consequatur praesentium, inventore laudantium ullam aliquam saepe? Repellat libero quibusdam repellendus quisquam? diff --git a/apps/docs/src/app/_components/playground/blockquote/blockquoteColor.tsx b/apps/docs/src/app/_components/playground/blockquote/blockquoteColor.tsx index b1f51df2..7380f192 100644 --- a/apps/docs/src/app/_components/playground/blockquote/blockquoteColor.tsx +++ b/apps/docs/src/app/_components/playground/blockquote/blockquoteColor.tsx @@ -3,22 +3,22 @@ import { Blockquote } from '@pillar-ui/core' export const BlockquoteColor = () => { return ( <> -
+
This is the quoted text.
-
+
This is the quoted text.
-
+
This is the quoted text.
-
+
This is the quoted text.
-
+
This is the quoted text.
-
+
This is the quoted text.
diff --git a/apps/docs/src/app/_components/playground/breadcrumb/breadcrumbColor.tsx b/apps/docs/src/app/_components/playground/breadcrumb/breadcrumbColor.tsx index 77af6cd9..837cf120 100644 --- a/apps/docs/src/app/_components/playground/breadcrumb/breadcrumbColor.tsx +++ b/apps/docs/src/app/_components/playground/breadcrumb/breadcrumbColor.tsx @@ -10,7 +10,7 @@ const breadcrumbsItems = [ export const BreadcrumbColor = () => { return ( <> - + {breadcrumbsItems.map(({ name, link, current }) => ( {name} @@ -18,7 +18,7 @@ export const BreadcrumbColor = () => { ))} - + {breadcrumbsItems.map(({ name, link, current }) => ( {name} @@ -26,7 +26,7 @@ export const BreadcrumbColor = () => { ))} - + {breadcrumbsItems.map(({ name, link, current }) => ( {name} @@ -34,7 +34,7 @@ export const BreadcrumbColor = () => { ))} - + {breadcrumbsItems.map(({ name, link, current }) => ( {name} @@ -42,7 +42,7 @@ export const BreadcrumbColor = () => { ))} - + {breadcrumbsItems.map(({ name, link, current }) => ( {name} diff --git a/apps/docs/src/app/_components/playground/button/buttonColor.tsx b/apps/docs/src/app/_components/playground/button/buttonColor.tsx index 91758949..1d6a19a3 100644 --- a/apps/docs/src/app/_components/playground/button/buttonColor.tsx +++ b/apps/docs/src/app/_components/playground/button/buttonColor.tsx @@ -5,21 +5,21 @@ export function ButtonColor() { return ( <> - - - - - + + + + + - } color="dan" /> - } color="war" /> - } color="suc" /> - } color="pri" /> - } color="sec" /> - } color="bg" /> + } color="d" /> + } color="w" /> + } color="s" /> + } color="p" /> + } color="se" /> + } color="b" /> ) diff --git a/apps/docs/src/app/_components/playground/button/buttonFluid.tsx b/apps/docs/src/app/_components/playground/button/buttonFluid.tsx index 33872be7..6a0cc47c 100644 --- a/apps/docs/src/app/_components/playground/button/buttonFluid.tsx +++ b/apps/docs/src/app/_components/playground/button/buttonFluid.tsx @@ -3,19 +3,19 @@ import { Button } from '@pillar-ui/core' export function ButtonFluid() { return ( <> - - - - - - - diff --git a/apps/docs/src/app/_components/playground/button/buttonVariant.tsx b/apps/docs/src/app/_components/playground/button/buttonVariant.tsx index cc8bca37..341e03a9 100644 --- a/apps/docs/src/app/_components/playground/button/buttonVariant.tsx +++ b/apps/docs/src/app/_components/playground/button/buttonVariant.tsx @@ -4,48 +4,48 @@ export function ButtonVariant() { return ( <> <> - - - - - - - <> - - - - - - - diff --git a/apps/docs/src/app/_components/playground/checkbox/checkboxColor.tsx b/apps/docs/src/app/_components/playground/checkbox/checkboxColor.tsx index c3abe664..d11535f6 100644 --- a/apps/docs/src/app/_components/playground/checkbox/checkboxColor.tsx +++ b/apps/docs/src/app/_components/playground/checkbox/checkboxColor.tsx @@ -4,12 +4,12 @@ export const CheckboxColor = () => { return ( <> - - - - - - + + + + + + ) } diff --git a/apps/docs/src/app/_components/playground/checkbox/checkboxDefaultChecked.tsx b/apps/docs/src/app/_components/playground/checkbox/checkboxDefaultChecked.tsx index cb09d438..ae142dae 100644 --- a/apps/docs/src/app/_components/playground/checkbox/checkboxDefaultChecked.tsx +++ b/apps/docs/src/app/_components/playground/checkbox/checkboxDefaultChecked.tsx @@ -3,12 +3,12 @@ import { Checkbox } from '@pillar-ui/core' export const CheckboxDefaultChecked = () => { return ( <> - - - - - - + + + + + + ) } diff --git a/apps/docs/src/app/_components/playground/checkbox/checkboxDisabled.tsx b/apps/docs/src/app/_components/playground/checkbox/checkboxDisabled.tsx index 01bd49f4..596102c3 100644 --- a/apps/docs/src/app/_components/playground/checkbox/checkboxDisabled.tsx +++ b/apps/docs/src/app/_components/playground/checkbox/checkboxDisabled.tsx @@ -4,20 +4,20 @@ export const CheckboxDisabled = () => { return ( <> - - - - - - + + + + + + - - - - - - + + + + + + ) diff --git a/apps/docs/src/app/_components/playground/chips/chipsColor.tsx b/apps/docs/src/app/_components/playground/chips/chipsColor.tsx index e9f0ae4e..006c914d 100644 --- a/apps/docs/src/app/_components/playground/chips/chipsColor.tsx +++ b/apps/docs/src/app/_components/playground/chips/chipsColor.tsx @@ -3,11 +3,11 @@ import { Chips } from '@pillar-ui/core' export const ChipsColor = () => { return ( <> - Hello - Hello - Hello - Hello - Hello + Hello + Hello + Hello + Hello + Hello Hello ) diff --git a/apps/docs/src/app/_components/playground/code/codeColor.tsx b/apps/docs/src/app/_components/playground/code/codeColor.tsx index a4ae63e5..d40dc964 100644 --- a/apps/docs/src/app/_components/playground/code/codeColor.tsx +++ b/apps/docs/src/app/_components/playground/code/codeColor.tsx @@ -3,12 +3,12 @@ import { Code } from '@pillar-ui/core' export const CodeColor = () => { return ( <> - {`console.log('Hello world Every thing is OK')`} - {`console.log('Hello world Every thing is OK')`} - {`console.log('Hello world Every thing is OK')`} - {`console.log('Hello world Every thing is OK')`} + {`console.log('Hello world Every thing is OK')`} + {`console.log('Hello world Every thing is OK')`} + {`console.log('Hello world Every thing is OK')`} + {`console.log('Hello world Every thing is OK')`} {`console.log('Hello world Every thing is OK')`} - {`console.log('Hello world Every thing is OK')`} + {`console.log('Hello world Every thing is OK')`} ) } diff --git a/apps/docs/src/app/_components/playground/form/FormGroup.tsx b/apps/docs/src/app/_components/playground/form/FormGroup.tsx index b700bdf3..6e0d5169 100644 --- a/apps/docs/src/app/_components/playground/form/FormGroup.tsx +++ b/apps/docs/src/app/_components/playground/form/FormGroup.tsx @@ -29,17 +29,17 @@ export const FormGroupTitle = () => { export const FormGroupColors = () => { return ( <> - + - + - + diff --git a/apps/docs/src/app/_components/playground/form/input/inputColor.tsx b/apps/docs/src/app/_components/playground/form/input/inputColor.tsx index 0d96298b..f3b04398 100644 --- a/apps/docs/src/app/_components/playground/form/input/inputColor.tsx +++ b/apps/docs/src/app/_components/playground/form/input/inputColor.tsx @@ -4,13 +4,13 @@ import { User } from '@pillar-ui/icons' export const InputColor = () => { return ( <> - - - - - } placeholder="Placeholder" /> + + + + + } placeholder="Placeholder" /> { return ( <> - - - - + + + + ) } diff --git a/apps/docs/src/app/_components/playground/form/inputNumber/inputNumberColor.tsx b/apps/docs/src/app/_components/playground/form/inputNumber/inputNumberColor.tsx index cca9e267..97a2550b 100644 --- a/apps/docs/src/app/_components/playground/form/inputNumber/inputNumberColor.tsx +++ b/apps/docs/src/app/_components/playground/form/inputNumber/inputNumberColor.tsx @@ -4,17 +4,11 @@ import { User } from '@pillar-ui/icons' export const InputNumberColor = () => { return ( <> - - - - - } - placeholder="Placeholder" - /> + + + + + } placeholder="Placeholder" /> ) } diff --git a/apps/docs/src/app/_components/playground/form/inputPassword/inputPasswordColor.tsx b/apps/docs/src/app/_components/playground/form/inputPassword/inputPasswordColor.tsx index 8c2226cb..6dfd2f57 100644 --- a/apps/docs/src/app/_components/playground/form/inputPassword/inputPasswordColor.tsx +++ b/apps/docs/src/app/_components/playground/form/inputPassword/inputPasswordColor.tsx @@ -4,12 +4,12 @@ import { User } from '@pillar-ui/icons' export const InputPasswordColor = () => { return ( <> - - - - + + + + } diff --git a/apps/docs/src/app/_components/playground/form/inputSearch/inputSearchColor.tsx b/apps/docs/src/app/_components/playground/form/inputSearch/inputSearchColor.tsx index 0ef545da..6925a74e 100644 --- a/apps/docs/src/app/_components/playground/form/inputSearch/inputSearchColor.tsx +++ b/apps/docs/src/app/_components/playground/form/inputSearch/inputSearchColor.tsx @@ -4,17 +4,11 @@ import { User } from '@pillar-ui/icons' export const InputSearchColor = () => { return ( <> - - - - - } - placeholder="Placeholder" - /> + + + + + } placeholder="Placeholder" /> ) } diff --git a/apps/docs/src/app/_components/playground/form/pinInput/pinInputColor.tsx b/apps/docs/src/app/_components/playground/form/pinInput/pinInputColor.tsx index d646cd50..1699393f 100644 --- a/apps/docs/src/app/_components/playground/form/pinInput/pinInputColor.tsx +++ b/apps/docs/src/app/_components/playground/form/pinInput/pinInputColor.tsx @@ -3,10 +3,10 @@ import { PinInput } from '@pillar-ui/core' export const PinInputColor = () => { return ( <> - - - - + + + + ) } diff --git a/apps/docs/src/app/_components/playground/form/select/selectColor.tsx b/apps/docs/src/app/_components/playground/form/select/selectColor.tsx index 616395cd..dde7bbcb 100644 --- a/apps/docs/src/app/_components/playground/form/select/selectColor.tsx +++ b/apps/docs/src/app/_components/playground/form/select/selectColor.tsx @@ -14,19 +14,19 @@ const Options = () => { export const SelectColor = () => { return ( <> - - - - -