@profiq/ui 0.1.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/README.md +36 -0
- package/dist/components/custom/basic/accordion.d.ts +31 -0
- package/dist/components/custom/basic/accordion.d.ts.map +1 -0
- package/dist/components/custom/basic/accordion.js +68 -0
- package/dist/components/custom/basic/button.d.ts +16 -0
- package/dist/components/custom/basic/button.d.ts.map +1 -0
- package/dist/components/custom/basic/button.js +46 -0
- package/dist/components/custom/basic/input.d.ts +22 -0
- package/dist/components/custom/basic/input.d.ts.map +1 -0
- package/dist/components/custom/basic/input.js +106 -0
- package/dist/components/custom/basic/select.d.ts +18 -0
- package/dist/components/custom/basic/select.d.ts.map +1 -0
- package/dist/components/custom/basic/select.js +67 -0
- package/dist/components/custom/basic/slider.d.ts +24 -0
- package/dist/components/custom/basic/slider.d.ts.map +1 -0
- package/dist/components/custom/basic/slider.js +54 -0
- package/dist/components/custom/basic/switch.d.ts +17 -0
- package/dist/components/custom/basic/switch.d.ts.map +1 -0
- package/dist/components/custom/basic/switch.js +105 -0
- package/dist/components/custom/basic/table.d.ts +9 -0
- package/dist/components/custom/basic/table.d.ts.map +1 -0
- package/dist/components/custom/basic/table.js +74 -0
- package/dist/components/custom/basic/text.d.ts +10 -0
- package/dist/components/custom/basic/text.d.ts.map +1 -0
- package/dist/components/custom/basic/text.js +26 -0
- package/dist/components/custom/basic/textarea.d.ts +7 -0
- package/dist/components/custom/basic/textarea.d.ts.map +1 -0
- package/dist/components/custom/basic/textarea.js +24 -0
- package/dist/components/custom/icons/Backpack.d.ts +3 -0
- package/dist/components/custom/icons/Backpack.d.ts.map +1 -0
- package/dist/components/custom/icons/Backpack.js +28 -0
- package/dist/components/custom/icons/CaretDown.d.ts +3 -0
- package/dist/components/custom/icons/CaretDown.d.ts.map +1 -0
- package/dist/components/custom/icons/CaretDown.js +20 -0
- package/dist/components/custom/icons/CaretUp.d.ts +3 -0
- package/dist/components/custom/icons/CaretUp.d.ts.map +1 -0
- package/dist/components/custom/icons/CaretUp.js +20 -0
- package/dist/components/custom/icons/DotsVertical.d.ts +3 -0
- package/dist/components/custom/icons/DotsVertical.d.ts.map +1 -0
- package/dist/components/custom/icons/DotsVertical.js +28 -0
- package/dist/components/custom/icons/HamburgerMenu.d.ts +3 -0
- package/dist/components/custom/icons/HamburgerMenu.d.ts.map +1 -0
- package/dist/components/custom/icons/HamburgerMenu.js +28 -0
- package/dist/components/custom/icons/Home.d.ts +3 -0
- package/dist/components/custom/icons/Home.d.ts.map +1 -0
- package/dist/components/custom/icons/Home.js +28 -0
- package/dist/components/custom/icons/Icons.d.ts +27 -0
- package/dist/components/custom/icons/Icons.d.ts.map +1 -0
- package/dist/components/custom/icons/Icons.js +23 -0
- package/dist/components/custom/icons/MagnifyingGlass.d.ts +3 -0
- package/dist/components/custom/icons/MagnifyingGlass.d.ts.map +1 -0
- package/dist/components/custom/icons/MagnifyingGlass.js +24 -0
- package/dist/components/custom/icons/Moon.d.ts +3 -0
- package/dist/components/custom/icons/Moon.d.ts.map +1 -0
- package/dist/components/custom/icons/Moon.js +28 -0
- package/dist/components/custom/icons/Sun.d.ts +3 -0
- package/dist/components/custom/icons/Sun.d.ts.map +1 -0
- package/dist/components/custom/icons/Sun.js +28 -0
- package/dist/components/custom/icons/logo/Profiq.d.ts +6 -0
- package/dist/components/custom/icons/logo/Profiq.d.ts.map +1 -0
- package/dist/components/custom/icons/logo/Profiq.js +92 -0
- package/dist/components/custom/icons/logo/logoVariations.d.ts +10 -0
- package/dist/components/custom/icons/logo/logoVariations.d.ts.map +1 -0
- package/dist/components/custom/icons/logo/logoVariations.js +65 -0
- package/dist/components/ui/accordion.d.ts +8 -0
- package/dist/components/ui/accordion.d.ts.map +1 -0
- package/dist/components/ui/accordion.js +65 -0
- package/dist/components/ui/button.d.ts +8 -0
- package/dist/components/ui/button.d.ts.map +1 -0
- package/dist/components/ui/button.js +29 -0
- package/dist/components/ui/buttonVariants.d.ts +5 -0
- package/dist/components/ui/buttonVariants.d.ts.map +1 -0
- package/dist/components/ui/buttonVariants.js +33 -0
- package/dist/components/ui/field.d.ts +25 -0
- package/dist/components/ui/field.d.ts.map +1 -0
- package/dist/components/ui/field.js +221 -0
- package/dist/components/ui/input.d.ts +4 -0
- package/dist/components/ui/input.d.ts.map +1 -0
- package/dist/components/ui/input.js +22 -0
- package/dist/components/ui/label.d.ts +5 -0
- package/dist/components/ui/label.d.ts.map +1 -0
- package/dist/components/ui/label.js +23 -0
- package/dist/components/ui/select.d.ts +16 -0
- package/dist/components/ui/select.d.ts.map +1 -0
- package/dist/components/ui/select.js +181 -0
- package/dist/components/ui/separator.d.ts +5 -0
- package/dist/components/ui/separator.d.ts.map +1 -0
- package/dist/components/ui/separator.js +27 -0
- package/dist/components/ui/slider.d.ts +13 -0
- package/dist/components/ui/slider.d.ts.map +1 -0
- package/dist/components/ui/slider.js +101 -0
- package/dist/components/ui/switch.d.ts +8 -0
- package/dist/components/ui/switch.d.ts.map +1 -0
- package/dist/components/ui/switch.js +36 -0
- package/dist/components/ui/table.d.ts +11 -0
- package/dist/components/ui/table.d.ts.map +1 -0
- package/dist/components/ui/table.js +115 -0
- package/dist/components/ui/textarea.d.ts +4 -0
- package/dist/components/ui/textarea.d.ts.map +1 -0
- package/dist/components/ui/textarea.js +19 -0
- package/dist/components/ui/tooltip.d.ts +10 -0
- package/dist/components/ui/tooltip.d.ts.map +1 -0
- package/dist/components/ui/tooltip.js +66 -0
- package/dist/fonts/Franklin_Gothic/FRANKGO.ttf +0 -0
- package/dist/fonts/Franklin_Gothic/Franklin Gothic Condensed.ttf +0 -0
- package/dist/fonts/Franklin_Gothic/FranklinGothic.ttf +0 -0
- package/dist/fonts/Franklin_Gothic/FranklinGothicITALIC.ttf +0 -0
- package/dist/fonts/Franklin_Gothic/fgwo____.ttf +0 -0
- package/dist/fonts/Roboto_Slab/LICENSE.txt +202 -0
- package/dist/fonts/Roboto_Slab/README.txt +71 -0
- package/dist/fonts/Roboto_Slab/RobotoSlab-VariableFont_wght.ttf +0 -0
- package/dist/fonts/Roboto_Slab/static/RobotoSlab-Black.ttf +0 -0
- package/dist/fonts/Roboto_Slab/static/RobotoSlab-Bold.ttf +0 -0
- package/dist/fonts/Roboto_Slab/static/RobotoSlab-ExtraBold.ttf +0 -0
- package/dist/fonts/Roboto_Slab/static/RobotoSlab-ExtraLight.ttf +0 -0
- package/dist/fonts/Roboto_Slab/static/RobotoSlab-Light.ttf +0 -0
- package/dist/fonts/Roboto_Slab/static/RobotoSlab-Medium.ttf +0 -0
- package/dist/fonts/Roboto_Slab/static/RobotoSlab-Regular.ttf +0 -0
- package/dist/fonts/Roboto_Slab/static/RobotoSlab-SemiBold.ttf +0 -0
- package/dist/fonts/Roboto_Slab/static/RobotoSlab-Thin.ttf +0 -0
- package/dist/index.css +571 -0
- package/dist/index.js +11 -0
- package/dist/lib/baseProps.d.ts +9 -0
- package/dist/lib/baseProps.d.ts.map +1 -0
- package/dist/lib/baseProps.js +13 -0
- package/dist/lib/buttonVariants.d.ts +3 -0
- package/dist/lib/buttonVariants.d.ts.map +1 -0
- package/dist/lib/hooks/useMakeTestId.d.ts +34 -0
- package/dist/lib/hooks/useMakeTestId.d.ts.map +1 -0
- package/dist/lib/hooks/useMakeTestId.js +26 -0
- package/dist/lib/index.d.ts +6 -0
- package/dist/lib/index.d.ts.map +1 -0
- package/dist/lib/text.types.d.ts +6 -0
- package/dist/lib/text.types.d.ts.map +1 -0
- package/dist/lib/text.types.js +17 -0
- package/dist/lib/utils.d.ts +3 -0
- package/dist/lib/utils.d.ts.map +1 -0
- package/dist/lib/utils.js +8 -0
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +532 -0
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +402 -0
- package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +208 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +136 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +130 -0
- package/dist/node_modules/@radix-ui/number/dist/index.js +6 -0
- package/dist/node_modules/@radix-ui/primitive/dist/index.js +9 -0
- package/dist/node_modules/@radix-ui/react-accordion/dist/index.js +235 -0
- package/dist/node_modules/@radix-ui/react-accordion/node_modules/@radix-ui/react-primitive/dist/index.js +32 -0
- package/dist/node_modules/@radix-ui/react-accordion/node_modules/@radix-ui/react-slot/dist/index.js +49 -0
- package/dist/node_modules/@radix-ui/react-arrow/dist/index.js +24 -0
- package/dist/node_modules/@radix-ui/react-arrow/node_modules/@radix-ui/react-primitive/dist/index.js +32 -0
- package/dist/node_modules/@radix-ui/react-arrow/node_modules/@radix-ui/react-slot/dist/index.js +49 -0
- package/dist/node_modules/@radix-ui/react-collapsible/dist/index.js +120 -0
- package/dist/node_modules/@radix-ui/react-collapsible/node_modules/@radix-ui/react-primitive/dist/index.js +32 -0
- package/dist/node_modules/@radix-ui/react-collapsible/node_modules/@radix-ui/react-slot/dist/index.js +49 -0
- package/dist/node_modules/@radix-ui/react-collection/dist/index.js +50 -0
- package/dist/node_modules/@radix-ui/react-collection/node_modules/@radix-ui/react-slot/dist/index.js +49 -0
- package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.js +29 -0
- package/dist/node_modules/@radix-ui/react-context/dist/index.js +53 -0
- package/dist/node_modules/@radix-ui/react-direction/dist/index.js +10 -0
- package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +127 -0
- package/dist/node_modules/@radix-ui/react-dismissable-layer/node_modules/@radix-ui/react-primitive/dist/index.js +36 -0
- package/dist/node_modules/@radix-ui/react-dismissable-layer/node_modules/@radix-ui/react-slot/dist/index.js +49 -0
- package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.js +17 -0
- package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.js +136 -0
- package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-primitive/dist/index.js +32 -0
- package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-slot/dist/index.js +49 -0
- package/dist/node_modules/@radix-ui/react-id/dist/index.js +13 -0
- package/dist/node_modules/@radix-ui/react-label/dist/index.js +19 -0
- package/dist/node_modules/@radix-ui/react-popper/dist/index.js +219 -0
- package/dist/node_modules/@radix-ui/react-popper/node_modules/@radix-ui/react-primitive/dist/index.js +32 -0
- package/dist/node_modules/@radix-ui/react-popper/node_modules/@radix-ui/react-slot/dist/index.js +49 -0
- package/dist/node_modules/@radix-ui/react-portal/dist/index.js +15 -0
- package/dist/node_modules/@radix-ui/react-portal/node_modules/@radix-ui/react-primitive/dist/index.js +32 -0
- package/dist/node_modules/@radix-ui/react-portal/node_modules/@radix-ui/react-slot/dist/index.js +49 -0
- package/dist/node_modules/@radix-ui/react-presence/dist/index.js +70 -0
- package/dist/node_modules/@radix-ui/react-primitive/dist/index.js +32 -0
- package/dist/node_modules/@radix-ui/react-select/dist/index.js +848 -0
- package/dist/node_modules/@radix-ui/react-select/node_modules/@radix-ui/react-primitive/dist/index.js +32 -0
- package/dist/node_modules/@radix-ui/react-select/node_modules/@radix-ui/react-slot/dist/index.js +49 -0
- package/dist/node_modules/@radix-ui/react-separator/dist/index.js +24 -0
- package/dist/node_modules/@radix-ui/react-slider/dist/index.js +436 -0
- package/dist/node_modules/@radix-ui/react-slider/node_modules/@radix-ui/react-primitive/dist/index.js +32 -0
- package/dist/node_modules/@radix-ui/react-slider/node_modules/@radix-ui/react-slot/dist/index.js +49 -0
- package/dist/node_modules/@radix-ui/react-slot/dist/index.js +61 -0
- package/dist/node_modules/@radix-ui/react-switch/dist/index.js +132 -0
- package/dist/node_modules/@radix-ui/react-switch/node_modules/@radix-ui/react-primitive/dist/index.js +32 -0
- package/dist/node_modules/@radix-ui/react-switch/node_modules/@radix-ui/react-slot/dist/index.js +49 -0
- package/dist/node_modules/@radix-ui/react-tooltip/dist/index.js +338 -0
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-primitive/dist/index.js +32 -0
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-slot/dist/index.js +55 -0
- package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +10 -0
- package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +52 -0
- package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +14 -0
- package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +6 -0
- package/dist/node_modules/@radix-ui/react-use-previous/dist/index.js +8 -0
- package/dist/node_modules/@radix-ui/react-use-size/dist/index.js +27 -0
- package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.js +32 -0
- package/dist/node_modules/@radix-ui/react-visually-hidden/node_modules/@radix-ui/react-primitive/dist/index.js +32 -0
- package/dist/node_modules/@radix-ui/react-visually-hidden/node_modules/@radix-ui/react-slot/dist/index.js +49 -0
- package/dist/node_modules/@tanstack/react-table/build/lib/index.js +88 -0
- package/dist/node_modules/@tanstack/table-core/build/lib/index.js +1667 -0
- package/dist/node_modules/aria-hidden/dist/es2015/index.js +52 -0
- package/dist/node_modules/class-variance-authority/dist/index.js +35 -0
- package/dist/node_modules/clsx/dist/clsx.js +16 -0
- package/dist/node_modules/get-nonce/dist/es2015/index.js +7 -0
- package/dist/node_modules/lucide-react/dist/esm/Icon.js +36 -0
- package/dist/node_modules/lucide-react/dist/esm/createLucideIcon.js +23 -0
- package/dist/node_modules/lucide-react/dist/esm/defaultAttributes.js +14 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/check.js +6 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-down.js +6 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-up.js +6 -0
- package/dist/node_modules/lucide-react/dist/esm/shared/src/utils/hasA11yProp.js +9 -0
- package/dist/node_modules/lucide-react/dist/esm/shared/src/utils/mergeClasses.js +4 -0
- package/dist/node_modules/lucide-react/dist/esm/shared/src/utils/toCamelCase.js +7 -0
- package/dist/node_modules/lucide-react/dist/esm/shared/src/utils/toKebabCase.js +4 -0
- package/dist/node_modules/lucide-react/dist/esm/shared/src/utils/toPascalCase.js +8 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.js +11 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +115 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js +31 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +16 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +68 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/medium.js +5 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.js +7 -0
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.js +71 -0
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +7 -0
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +25 -0
- package/dist/node_modules/react-style-singleton/dist/es2015/component.js +11 -0
- package/dist/node_modules/react-style-singleton/dist/es2015/hook.js +15 -0
- package/dist/node_modules/react-style-singleton/dist/es2015/singleton.js +30 -0
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +2924 -0
- package/dist/node_modules/tslib/tslib.es6.js +27 -0
- package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.js +6 -0
- package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +26 -0
- package/dist/node_modules/use-callback-ref/dist/es2015/useRef.js +25 -0
- package/dist/node_modules/use-sidecar/dist/es2015/exports.js +18 -0
- package/dist/node_modules/use-sidecar/dist/es2015/medium.js +67 -0
- package/package.json +124 -0
package/dist/index.css
ADDED
|
@@ -0,0 +1,571 @@
|
|
|
1
|
+
@import "tailwindcss";
|
|
2
|
+
@import "tw-animate-css";
|
|
3
|
+
|
|
4
|
+
:root {
|
|
5
|
+
--breakpoint-xs: 400px;
|
|
6
|
+
--breakpoint-sm: 600px;
|
|
7
|
+
|
|
8
|
+
--radius: 0.625rem;
|
|
9
|
+
|
|
10
|
+
--brand-blue: #002c62;
|
|
11
|
+
--brand-green: #8ec549;
|
|
12
|
+
--brand-grey: #c3c6c8;
|
|
13
|
+
--brand-teal: #006986;
|
|
14
|
+
--brand-gradient: linear-gradient(
|
|
15
|
+
30deg,
|
|
16
|
+
var(--brand-teal),
|
|
17
|
+
var(--brand-blue)
|
|
18
|
+
);
|
|
19
|
+
--brand-grey: #c3c6c8;
|
|
20
|
+
--brand-teal: #006986;
|
|
21
|
+
--brand-gradient: linear-gradient(
|
|
22
|
+
30deg,
|
|
23
|
+
var(--brand-teal),
|
|
24
|
+
var(--brand-blue)
|
|
25
|
+
);
|
|
26
|
+
|
|
27
|
+
--font: "Roboto Slab";
|
|
28
|
+
--font-alt: "Franklin Gothic";
|
|
29
|
+
|
|
30
|
+
--background: #ffffff;
|
|
31
|
+
--foreground: var(--brand-blue);
|
|
32
|
+
|
|
33
|
+
--card: #ffffff;
|
|
34
|
+
--card-foreground: var(--brand-blue);
|
|
35
|
+
|
|
36
|
+
--popover: #ffffff;
|
|
37
|
+
--popover-foreground: var(--brand-blue);
|
|
38
|
+
|
|
39
|
+
--primary: var(--brand-green);
|
|
40
|
+
--primary-foreground: var(--brand-blue);
|
|
41
|
+
|
|
42
|
+
--secondary: var(--brand-grey);
|
|
43
|
+
--secondary-foreground: var(--brand-blue);
|
|
44
|
+
|
|
45
|
+
--muted: color-mix(in srgb, var(--brand-grey) 35%, white);
|
|
46
|
+
--muted-foreground: color-mix(in srgb, #ffffff 70%, black);
|
|
47
|
+
|
|
48
|
+
--input: var(--brand-gray);
|
|
49
|
+
--accent: var(--brand-green);
|
|
50
|
+
--accent-foreground: #002000;
|
|
51
|
+
|
|
52
|
+
--destructive: #dc2626;
|
|
53
|
+
--destructive-foreground: #ffffff;
|
|
54
|
+
|
|
55
|
+
--sidebar: #ffffff;
|
|
56
|
+
--sidebar-foreground: var(--brand-blue);
|
|
57
|
+
--sidebar-primary: var(--brand-blue);
|
|
58
|
+
--sidebar-primary-foreground: #ffffff;
|
|
59
|
+
--sidebar-accent: color-mix(in srgb, var(--brand-green) 18%, white);
|
|
60
|
+
--sidebar-accent-foreground: var(--brand-blue);
|
|
61
|
+
--sidebar-border: var(--border);
|
|
62
|
+
--sidebar-ring: var(--ring);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.profiq {
|
|
66
|
+
--background: #ffffff;
|
|
67
|
+
--foreground: var(--brand-blue);
|
|
68
|
+
|
|
69
|
+
--card: #ffffff;
|
|
70
|
+
--card-foreground: var(--brand-blue);
|
|
71
|
+
|
|
72
|
+
--popover: #ffffff;
|
|
73
|
+
--popover-foreground: var(--brand-blue);
|
|
74
|
+
|
|
75
|
+
--primary: var(--brand-green);
|
|
76
|
+
--primary-foreground: var(--brand-blue);
|
|
77
|
+
|
|
78
|
+
--secondary: var(--brand-grey);
|
|
79
|
+
--secondary-foreground: var(--brand-blue);
|
|
80
|
+
|
|
81
|
+
--muted: color-mix(in srgb, var(--brand-grey) 35%, white);
|
|
82
|
+
--muted-foreground: color-mix(in srgb, #ffffff 70%, black);
|
|
83
|
+
|
|
84
|
+
--input: var(--brand-gray);
|
|
85
|
+
--accent: var(--brand-green);
|
|
86
|
+
--accent-foreground: #002000;
|
|
87
|
+
|
|
88
|
+
--destructive: #dc2626;
|
|
89
|
+
--destructive-foreground: #ffffff;
|
|
90
|
+
|
|
91
|
+
--sidebar: #ffffff;
|
|
92
|
+
--sidebar-foreground: var(--brand-blue);
|
|
93
|
+
--sidebar-primary: var(--brand-blue);
|
|
94
|
+
--sidebar-primary-foreground: #ffffff;
|
|
95
|
+
--sidebar-accent: color-mix(in srgb, var(--brand-green) 18%, white);
|
|
96
|
+
--sidebar-accent-foreground: var(--brand-blue);
|
|
97
|
+
--sidebar-border: var(--border);
|
|
98
|
+
--sidebar-ring: var(--ring);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.shadcn {
|
|
102
|
+
--radius: 0.625rem;
|
|
103
|
+
--background: oklch(1 0 0);
|
|
104
|
+
--foreground: oklch(0.145 0 0);
|
|
105
|
+
--card: oklch(1 0 0);
|
|
106
|
+
--card-foreground: oklch(0.145 0 0);
|
|
107
|
+
--popover: oklch(1 0 0);
|
|
108
|
+
--popover-foreground: oklch(0.145 0 0);
|
|
109
|
+
--primary: oklch(0.205 0 0);
|
|
110
|
+
--primary-foreground: oklch(0.985 0 0);
|
|
111
|
+
--secondary: oklch(0.97 0 0);
|
|
112
|
+
--secondary-foreground: oklch(0.205 0 0);
|
|
113
|
+
--muted: oklch(0.97 0 0);
|
|
114
|
+
--muted-foreground: oklch(0.556 0 0);
|
|
115
|
+
--accent: oklch(0.97 0 0);
|
|
116
|
+
--accent-foreground: oklch(0.205 0 0);
|
|
117
|
+
--destructive: oklch(0.577 0.245 27.325);
|
|
118
|
+
--destructive-foreground: oklch(0.985 0 0);
|
|
119
|
+
--border: oklch(0.922 0 0);
|
|
120
|
+
--input: oklch(0.922 0 0);
|
|
121
|
+
--ring: oklch(0.708 0 0);
|
|
122
|
+
--chart-1: oklch(0.646 0.222 41.116);
|
|
123
|
+
--chart-2: oklch(0.6 0.118 184.704);
|
|
124
|
+
--chart-3: oklch(0.398 0.07 227.392);
|
|
125
|
+
--chart-4: oklch(0.828 0.189 84.429);
|
|
126
|
+
--chart-5: oklch(0.769 0.188 70.08);
|
|
127
|
+
--sidebar: oklch(0.985 0 0);
|
|
128
|
+
--sidebar-foreground: oklch(0.145 0 0);
|
|
129
|
+
--sidebar-primary: oklch(0.205 0 0);
|
|
130
|
+
--sidebar-primary-foreground: oklch(0.985 0 0);
|
|
131
|
+
--sidebar-accent: oklch(0.97 0 0);
|
|
132
|
+
--sidebar-accent-foreground: oklch(0.205 0 0);
|
|
133
|
+
--sidebar-border: oklch(0.922 0 0);
|
|
134
|
+
--sidebar-ring: oklch(0.708 0 0);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.profiq-dark {
|
|
138
|
+
--background: var(--brand-gradient);
|
|
139
|
+
--foreground: #ffffff;
|
|
140
|
+
--card: #0f172a;
|
|
141
|
+
--card-foreground: #ffffff;
|
|
142
|
+
--popover: #0f172a;
|
|
143
|
+
--popover-foreground: #ffffff;
|
|
144
|
+
--primary: var(--brand-green);
|
|
145
|
+
--primary-foreground: #ffffff;
|
|
146
|
+
--secondary: color-mix(in srgb, var(--brand-grey) 25%, #0f172a);
|
|
147
|
+
--secondary-foreground: #ffffff;
|
|
148
|
+
--muted: #111827;
|
|
149
|
+
--muted-foreground: color-mix(in srgb, white 75%, var(--brand-grey));
|
|
150
|
+
--accent: color-mix(in srgb, var(--brand-green) 70%, #0b1220);
|
|
151
|
+
--accent-foreground: #ffffff;
|
|
152
|
+
--destructive: #ef4444;
|
|
153
|
+
--destructive-foreground: #0b1220;
|
|
154
|
+
--border: color-mix(in srgb, white 12%, #0f172a);
|
|
155
|
+
--input: color-mix(in srgb, white 14%, #0f172a);
|
|
156
|
+
--ring: color-mix(in srgb, var(--brand-green) 45%, white);
|
|
157
|
+
--sidebar: #0f172a;
|
|
158
|
+
--sidebar-foreground: #ffffff;
|
|
159
|
+
--sidebar-primary: var(--brand-green);
|
|
160
|
+
--sidebar-primary-foreground: #0b1220;
|
|
161
|
+
--sidebar-accent: #111827;
|
|
162
|
+
--sidebar-accent-foreground: #ffffff;
|
|
163
|
+
--sidebar-border: var(--border);
|
|
164
|
+
--sidebar-ring: var(--ring);
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.shadcn-dark {
|
|
168
|
+
--background: oklch(0.145 0 0);
|
|
169
|
+
--foreground: oklch(0.985 0 0);
|
|
170
|
+
--card: oklch(0.205 0 0);
|
|
171
|
+
--card-foreground: oklch(0.985 0 0);
|
|
172
|
+
--popover: oklch(0.269 0 0);
|
|
173
|
+
--popover-foreground: oklch(0.985 0 0);
|
|
174
|
+
--primary: oklch(0.922 0 0);
|
|
175
|
+
--primary-foreground: oklch(0.205 0 0);
|
|
176
|
+
--secondary: oklch(0.269 0 0);
|
|
177
|
+
--secondary-foreground: oklch(0.985 0 0);
|
|
178
|
+
--muted: oklch(0.269 0 0);
|
|
179
|
+
--muted-foreground: oklch(0.708 0 0);
|
|
180
|
+
--accent: oklch(0.371 0 0);
|
|
181
|
+
--accent-foreground: oklch(0.985 0 0);
|
|
182
|
+
--destructive: oklch(0.704 0.191 22.216);
|
|
183
|
+
--destructive-foreground: oklch(0.985 0 0);
|
|
184
|
+
--border: oklch(1 0 0 / 10%);
|
|
185
|
+
--input: oklch(1 0 0 / 15%);
|
|
186
|
+
--ring: oklch(0.556 0 0);
|
|
187
|
+
--chart-1: oklch(0.488 0.243 264.376);
|
|
188
|
+
--chart-2: oklch(0.696 0.17 162.48);
|
|
189
|
+
--chart-3: oklch(0.769 0.188 70.08);
|
|
190
|
+
--chart-4: oklch(0.627 0.265 303.9);
|
|
191
|
+
--chart-5: oklch(0.645 0.246 16.439);
|
|
192
|
+
--sidebar: oklch(0.205 0 0);
|
|
193
|
+
--sidebar-foreground: oklch(0.985 0 0);
|
|
194
|
+
--sidebar-primary: oklch(0.488 0.243 264.376);
|
|
195
|
+
--sidebar-primary-foreground: oklch(0.985 0 0);
|
|
196
|
+
--sidebar-accent: oklch(0.269 0 0);
|
|
197
|
+
--sidebar-accent-foreground: oklch(0.985 0 0);
|
|
198
|
+
--sidebar-border: oklch(1 0 0 / 10%);
|
|
199
|
+
--sidebar-ring: oklch(0.439 0 0);
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.lightGreen {
|
|
203
|
+
--background: oklch(0.9892 0.0054 117.9205);
|
|
204
|
+
--foreground: oklch(0.2077 0.0398 265.7549);
|
|
205
|
+
--card: oklch(1 0 0);
|
|
206
|
+
--card-foreground: oklch(0.2077 0.0398 265.7549);
|
|
207
|
+
--popover: oklch(1 0 0);
|
|
208
|
+
--popover-foreground: oklch(0.2077 0.0398 265.7549);
|
|
209
|
+
--primary: oklch(0.8871 0.2122 128.5041);
|
|
210
|
+
--primary-foreground: oklch(0 0 0);
|
|
211
|
+
--secondary: oklch(0.3717 0.0392 257.287);
|
|
212
|
+
--secondary-foreground: oklch(0.9842 0.0034 247.8575);
|
|
213
|
+
--muted: oklch(0.9683 0.0069 247.8956);
|
|
214
|
+
--muted-foreground: oklch(0.5544 0.0407 257.4166);
|
|
215
|
+
--accent: oklch(0.9819 0.0181 155.8263);
|
|
216
|
+
--accent-foreground: oklch(0.4479 0.1083 151.3277);
|
|
217
|
+
--destructive: oklch(0.6368 0.2078 25.3313);
|
|
218
|
+
--destructive-foreground: oklch(1 0 0);
|
|
219
|
+
--border: oklch(0.9288 0.0126 255.5078);
|
|
220
|
+
--input: oklch(0.9288 0.0126 255.5078);
|
|
221
|
+
--ring: oklch(0.8871 0.2122 128.5041);
|
|
222
|
+
--chart-1: oklch(0.8871 0.2122 128.5041);
|
|
223
|
+
--chart-2: oklch(0.3717 0.0392 257.287);
|
|
224
|
+
--chart-3: oklch(0.7227 0.192 149.5793);
|
|
225
|
+
--chart-4: oklch(0.5544 0.0407 257.4166);
|
|
226
|
+
--chart-5: oklch(0.7107 0.0351 256.7878);
|
|
227
|
+
--sidebar: oklch(1 0 0);
|
|
228
|
+
--sidebar-foreground: oklch(0.2077 0.0398 265.7549);
|
|
229
|
+
--sidebar-primary: oklch(0.8871 0.2122 128.5041);
|
|
230
|
+
--sidebar-primary-foreground: oklch(0 0 0);
|
|
231
|
+
--sidebar-accent: oklch(0.9842 0.0034 247.8575);
|
|
232
|
+
--sidebar-accent-foreground: oklch(0.2077 0.0398 265.7549);
|
|
233
|
+
--sidebar-border: oklch(0.9683 0.0069 247.8956);
|
|
234
|
+
--sidebar-ring: oklch(0.8871 0.2122 128.5041);
|
|
235
|
+
--font-sans: Inter, system-ui, sans-serif;
|
|
236
|
+
--font-serif: Georgia, serif;
|
|
237
|
+
--font-mono: JetBrains Mono, monospace;
|
|
238
|
+
--radius: 1rem;
|
|
239
|
+
--shadow-x: 0px;
|
|
240
|
+
--shadow-y: 8px;
|
|
241
|
+
--shadow-blur: 20px;
|
|
242
|
+
--shadow-spread: 0px;
|
|
243
|
+
--shadow-opacity: 0.05;
|
|
244
|
+
--shadow-color: #000000;
|
|
245
|
+
--shadow-2xs: 0px 8px 20px 0px hsl(0 0% 0% / 0.03);
|
|
246
|
+
--shadow-xs: 0px 8px 20px 0px hsl(0 0% 0% / 0.03);
|
|
247
|
+
--shadow-sm:
|
|
248
|
+
0px 8px 20px 0px hsl(0 0% 0% / 0.05), 0px 1px 2px -1px hsl(0 0% 0% / 0.05);
|
|
249
|
+
--shadow:
|
|
250
|
+
0px 8px 20px 0px hsl(0 0% 0% / 0.05), 0px 1px 2px -1px hsl(0 0% 0% / 0.05);
|
|
251
|
+
--shadow-md:
|
|
252
|
+
0px 8px 20px 0px hsl(0 0% 0% / 0.05), 0px 2px 4px -1px hsl(0 0% 0% / 0.05);
|
|
253
|
+
--shadow-lg:
|
|
254
|
+
0px 8px 20px 0px hsl(0 0% 0% / 0.05), 0px 4px 6px -1px hsl(0 0% 0% / 0.05);
|
|
255
|
+
--shadow-xl:
|
|
256
|
+
0px 8px 20px 0px hsl(0 0% 0% / 0.05), 0px 8px 10px -1px hsl(0 0% 0% / 0.05);
|
|
257
|
+
--shadow-2xl: 0px 8px 20px 0px hsl(0 0% 0% / 0.13);
|
|
258
|
+
--tracking-normal: -0.01em;
|
|
259
|
+
--spacing: 0.25rem;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
.lightGreen-dark {
|
|
263
|
+
--background: oklch(0.1288 0.0406 264.6952);
|
|
264
|
+
--foreground: oklch(0.9842 0.0034 247.8575);
|
|
265
|
+
--card: oklch(0.2077 0.0398 265.7549);
|
|
266
|
+
--card-foreground: oklch(0.9842 0.0034 247.8575);
|
|
267
|
+
--popover: oklch(0.2077 0.0398 265.7549);
|
|
268
|
+
--popover-foreground: oklch(0.9842 0.0034 247.8575);
|
|
269
|
+
--primary: oklch(0.8871 0.2122 128.5041);
|
|
270
|
+
--primary-foreground: oklch(0 0 0);
|
|
271
|
+
--secondary: oklch(0.2795 0.0368 260.031);
|
|
272
|
+
--secondary-foreground: oklch(0.9842 0.0034 247.8575);
|
|
273
|
+
--muted: oklch(0.2795 0.0368 260.031);
|
|
274
|
+
--muted-foreground: oklch(0.7107 0.0351 256.7878);
|
|
275
|
+
--accent: oklch(0.3925 0.0896 152.5353);
|
|
276
|
+
--accent-foreground: oklch(0.8871 0.2122 128.5041);
|
|
277
|
+
--destructive: oklch(0.4437 0.1613 26.8994);
|
|
278
|
+
--destructive-foreground: oklch(1 0 0);
|
|
279
|
+
--border: oklch(0.2795 0.0368 260.031);
|
|
280
|
+
--input: oklch(0.2795 0.0368 260.031);
|
|
281
|
+
--ring: oklch(0.8871 0.2122 128.5041);
|
|
282
|
+
--chart-1: oklch(0.8871 0.2122 128.5041);
|
|
283
|
+
--chart-2: oklch(0.6231 0.188 259.8145);
|
|
284
|
+
--chart-3: oklch(0.7227 0.192 149.5793);
|
|
285
|
+
--chart-4: oklch(0.6268 0.2325 303.9004);
|
|
286
|
+
--chart-5: oklch(0.7686 0.1647 70.0804);
|
|
287
|
+
--sidebar: oklch(0.1288 0.0406 264.6952);
|
|
288
|
+
--sidebar-foreground: oklch(0.9842 0.0034 247.8575);
|
|
289
|
+
--sidebar-primary: oklch(0.8871 0.2122 128.5041);
|
|
290
|
+
--sidebar-primary-foreground: oklch(0 0 0);
|
|
291
|
+
--sidebar-accent: oklch(0.2795 0.0368 260.031);
|
|
292
|
+
--sidebar-accent-foreground: oklch(0.9842 0.0034 247.8575);
|
|
293
|
+
--sidebar-border: oklch(0.2795 0.0368 260.031);
|
|
294
|
+
--sidebar-ring: oklch(0.8871 0.2122 128.5041);
|
|
295
|
+
--font-sans: Inter, system-ui, sans-serif;
|
|
296
|
+
--font-serif: Georgia, serif;
|
|
297
|
+
--font-mono: JetBrains Mono, monospace;
|
|
298
|
+
--radius: 1rem;
|
|
299
|
+
--shadow-x: 0px;
|
|
300
|
+
--shadow-y: 10px;
|
|
301
|
+
--shadow-blur: 25px;
|
|
302
|
+
--shadow-spread: 0px;
|
|
303
|
+
--shadow-opacity: 0.4;
|
|
304
|
+
--shadow-color: #000000;
|
|
305
|
+
--shadow-2xs: 0px 10px 25px 0px hsl(0 0% 0% / 0.2);
|
|
306
|
+
--shadow-xs: 0px 10px 25px 0px hsl(0 0% 0% / 0.2);
|
|
307
|
+
--shadow-sm:
|
|
308
|
+
0px 10px 25px 0px hsl(0 0% 0% / 0.4), 0px 1px 2px -1px hsl(0 0% 0% / 0.4);
|
|
309
|
+
--shadow:
|
|
310
|
+
0px 10px 25px 0px hsl(0 0% 0% / 0.4), 0px 1px 2px -1px hsl(0 0% 0% / 0.4);
|
|
311
|
+
--shadow-md:
|
|
312
|
+
0px 10px 25px 0px hsl(0 0% 0% / 0.4), 0px 2px 4px -1px hsl(0 0% 0% / 0.4);
|
|
313
|
+
--shadow-lg:
|
|
314
|
+
0px 10px 25px 0px hsl(0 0% 0% / 0.4), 0px 4px 6px -1px hsl(0 0% 0% / 0.4);
|
|
315
|
+
--shadow-xl:
|
|
316
|
+
0px 10px 25px 0px hsl(0 0% 0% / 0.4), 0px 8px 10px -1px hsl(0 0% 0% / 0.4);
|
|
317
|
+
--shadow-2xl: 0px 10px 25px 0px hsl(0 0% 0% / 1);
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
.alpine {
|
|
321
|
+
--background: oklch(0.9761 0.0079 357.7954);
|
|
322
|
+
--foreground: oklch(0.2151 0.0518 259.4035);
|
|
323
|
+
--card: oklch(1 0 0);
|
|
324
|
+
--card-foreground: oklch(0.2151 0.0518 259.4035);
|
|
325
|
+
--popover: oklch(1 0 0);
|
|
326
|
+
--popover-foreground: oklch(0.2151 0.0518 259.4035);
|
|
327
|
+
--primary: oklch(0.4284 0.172 259.7023);
|
|
328
|
+
--primary-foreground: oklch(1 0 0);
|
|
329
|
+
--secondary: oklch(0.6785 0.2131 14.7192);
|
|
330
|
+
--secondary-foreground: oklch(1 0 0);
|
|
331
|
+
--muted: oklch(0.9365 0.0158 266.2758);
|
|
332
|
+
--muted-foreground: oklch(0.4474 0.0343 261.3244);
|
|
333
|
+
--accent: oklch(0.8422 0.09 7.0366);
|
|
334
|
+
--accent-foreground: oklch(0.2151 0.0518 259.4035);
|
|
335
|
+
--destructive: oklch(0.5858 0.222 17.5846);
|
|
336
|
+
--destructive-foreground: oklch(1 0 0);
|
|
337
|
+
--border: oklch(0.869 0.0198 252.8943);
|
|
338
|
+
--input: oklch(1 0 0);
|
|
339
|
+
--ring: oklch(0.4284 0.172 259.7023);
|
|
340
|
+
--chart-1: oklch(0.4284 0.172 259.7023);
|
|
341
|
+
--chart-2: oklch(0.6785 0.2131 14.7192);
|
|
342
|
+
--chart-3: oklch(0.7909 0.125 39.5147);
|
|
343
|
+
--chart-4: oklch(0.2853 0.1242 261.1229);
|
|
344
|
+
--chart-5: oklch(0.7325 0.169 10.5065);
|
|
345
|
+
--sidebar: oklch(0.2151 0.0518 259.4035);
|
|
346
|
+
--sidebar-foreground: oklch(0.9842 0.0034 247.8575);
|
|
347
|
+
--sidebar-primary: oklch(0.4284 0.172 259.7023);
|
|
348
|
+
--sidebar-primary-foreground: oklch(1 0 0);
|
|
349
|
+
--sidebar-accent: oklch(0.2795 0.0368 260.031);
|
|
350
|
+
--sidebar-accent-foreground: oklch(0.9842 0.0034 247.8575);
|
|
351
|
+
--sidebar-border: oklch(0.2795 0.0368 260.031);
|
|
352
|
+
--sidebar-ring: oklch(0.4284 0.172 259.7023);
|
|
353
|
+
--font-sans: "Montserrat", sans-serif;
|
|
354
|
+
--font-serif: "Playfair Display", serif;
|
|
355
|
+
--font-mono: "Fira Code", monospace;
|
|
356
|
+
--radius: 0.75rem;
|
|
357
|
+
--shadow-x: 0px;
|
|
358
|
+
--shadow-y: 4px;
|
|
359
|
+
--shadow-blur: 10px;
|
|
360
|
+
--shadow-spread: 0px;
|
|
361
|
+
--shadow-opacity: 0.05;
|
|
362
|
+
--shadow-color: #000000;
|
|
363
|
+
--shadow-2xs: 0px 4px 10px 0px hsl(0 0% 0% / 0.03);
|
|
364
|
+
--shadow-xs: 0px 4px 10px 0px hsl(0 0% 0% / 0.03);
|
|
365
|
+
--shadow-sm:
|
|
366
|
+
0px 4px 10px 0px hsl(0 0% 0% / 0.05), 0px 1px 2px -1px hsl(0 0% 0% / 0.05);
|
|
367
|
+
--shadow:
|
|
368
|
+
0px 4px 10px 0px hsl(0 0% 0% / 0.05), 0px 1px 2px -1px hsl(0 0% 0% / 0.05);
|
|
369
|
+
--shadow-md:
|
|
370
|
+
0px 4px 10px 0px hsl(0 0% 0% / 0.05), 0px 2px 4px -1px hsl(0 0% 0% / 0.05);
|
|
371
|
+
--shadow-lg:
|
|
372
|
+
0px 4px 10px 0px hsl(0 0% 0% / 0.05), 0px 4px 6px -1px hsl(0 0% 0% / 0.05);
|
|
373
|
+
--shadow-xl:
|
|
374
|
+
0px 4px 10px 0px hsl(0 0% 0% / 0.05), 0px 8px 10px -1px hsl(0 0% 0% / 0.05);
|
|
375
|
+
--shadow-2xl: 0px 4px 10px 0px hsl(0 0% 0% / 0.13);
|
|
376
|
+
--tracking-normal: 0.02em;
|
|
377
|
+
--spacing: 0.25rem;
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
.alpine-dark {
|
|
381
|
+
--background: oklch(0.1107 0.0274 244.1227);
|
|
382
|
+
--foreground: oklch(1 0 0);
|
|
383
|
+
--card: oklch(0.1728 0.0527 252.6119);
|
|
384
|
+
--card-foreground: oklch(1 0 0);
|
|
385
|
+
--popover: oklch(0.1107 0.0274 244.1227);
|
|
386
|
+
--popover-foreground: oklch(1 0 0);
|
|
387
|
+
--primary: oklch(0.7222 0.1514 248.5089);
|
|
388
|
+
--primary-foreground: oklch(0.1107 0.0274 244.1227);
|
|
389
|
+
--secondary: oklch(0.6785 0.2131 14.7192);
|
|
390
|
+
--secondary-foreground: oklch(1 0 0);
|
|
391
|
+
--muted: oklch(0.2254 0.08 257.0037);
|
|
392
|
+
--muted-foreground: oklch(0.869 0.0198 252.8943);
|
|
393
|
+
--accent: oklch(0.5673 0.1955 16.2602);
|
|
394
|
+
--accent-foreground: oklch(1 0 0);
|
|
395
|
+
--destructive: oklch(0.6489 0.237 26.9728);
|
|
396
|
+
--destructive-foreground: oklch(1 0 0);
|
|
397
|
+
--border: oklch(0.2364 0.084 258.6542);
|
|
398
|
+
--input: oklch(0.2254 0.08 257.0037);
|
|
399
|
+
--ring: oklch(0.7222 0.1514 248.5089);
|
|
400
|
+
--chart-1: oklch(0.7222 0.1514 248.5089);
|
|
401
|
+
--chart-2: oklch(0.6785 0.2131 14.7192);
|
|
402
|
+
--chart-3: oklch(0.8422 0.09 7.0366);
|
|
403
|
+
--chart-4: oklch(0.787 0.1124 249.7946);
|
|
404
|
+
--chart-5: oklch(0.6307 0.2549 23.6145);
|
|
405
|
+
--sidebar: oklch(0.0812 0.0193 242.2089);
|
|
406
|
+
--sidebar-foreground: oklch(1 0 0);
|
|
407
|
+
--sidebar-primary: oklch(0.7222 0.1514 248.5089);
|
|
408
|
+
--sidebar-primary-foreground: oklch(0.1107 0.0274 244.1227);
|
|
409
|
+
--sidebar-accent: oklch(0.2254 0.08 257.0037);
|
|
410
|
+
--sidebar-accent-foreground: oklch(1 0 0);
|
|
411
|
+
--sidebar-border: oklch(0.3233 0.1025 253.8852);
|
|
412
|
+
--sidebar-ring: oklch(0.7222 0.1514 248.5089);
|
|
413
|
+
--font-sans: "Montserrat", sans-serif;
|
|
414
|
+
--font-serif: "Playfair Display", serif;
|
|
415
|
+
--font-mono: "Fira Code", monospace;
|
|
416
|
+
--radius: 0.75rem;
|
|
417
|
+
--shadow-x: 0px;
|
|
418
|
+
--shadow-y: 12px;
|
|
419
|
+
--shadow-blur: 25px;
|
|
420
|
+
--shadow-spread: 0px;
|
|
421
|
+
--shadow-opacity: 0.6;
|
|
422
|
+
--shadow-color: #000000;
|
|
423
|
+
--shadow-2xs: 0px 12px 25px 0px hsl(0 0% 0% / 0.3);
|
|
424
|
+
--shadow-xs: 0px 12px 25px 0px hsl(0 0% 0% / 0.3);
|
|
425
|
+
--shadow-sm:
|
|
426
|
+
0px 12px 25px 0px hsl(0 0% 0% / 0.6), 0px 1px 2px -1px hsl(0 0% 0% / 0.6);
|
|
427
|
+
--shadow:
|
|
428
|
+
0px 12px 25px 0px hsl(0 0% 0% / 0.6), 0px 1px 2px -1px hsl(0 0% 0% / 0.6);
|
|
429
|
+
--shadow-md:
|
|
430
|
+
0px 12px 25px 0px hsl(0 0% 0% / 0.6), 0px 2px 4px -1px hsl(0 0% 0% / 0.6);
|
|
431
|
+
--shadow-lg:
|
|
432
|
+
0px 12px 25px 0px hsl(0 0% 0% / 0.6), 0px 4px 6px -1px hsl(0 0% 0% / 0.6);
|
|
433
|
+
--shadow-xl:
|
|
434
|
+
0px 12px 25px 0px hsl(0 0% 0% / 0.6), 0px 8px 10px -1px hsl(0 0% 0% / 0.6);
|
|
435
|
+
--shadow-2xl: 0px 12px 25px 0px hsl(0 0% 0% / 1.5);
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
@theme inline {
|
|
439
|
+
--radius-sm: calc(var(--radius) - 4px);
|
|
440
|
+
--radius-md: calc(var(--radius) - 2px);
|
|
441
|
+
--radius-lg: var(--radius);
|
|
442
|
+
--radius-xl: calc(var(--radius) + 4px);
|
|
443
|
+
--radius-2xl: calc(var(--radius) + 8px);
|
|
444
|
+
--radius-3xl: calc(var(--radius) + 12px);
|
|
445
|
+
--radius-4xl: calc(var(--radius) + 16px);
|
|
446
|
+
|
|
447
|
+
--color-background: var(--background);
|
|
448
|
+
--color-foreground: var(--foreground);
|
|
449
|
+
|
|
450
|
+
--color-card: var(--card);
|
|
451
|
+
--color-card-foreground: var(--card-foreground);
|
|
452
|
+
|
|
453
|
+
--color-popover: var(--popover);
|
|
454
|
+
--color-popover-foreground: var(--popover-foreground);
|
|
455
|
+
|
|
456
|
+
--color-primary: var(--primary);
|
|
457
|
+
--color-primary-foreground: var(--primary-foreground);
|
|
458
|
+
|
|
459
|
+
--color-secondary: var(--secondary);
|
|
460
|
+
--color-secondary-foreground: var(--secondary-foreground);
|
|
461
|
+
|
|
462
|
+
--color-muted: var(--muted);
|
|
463
|
+
--color-muted-foreground: var(--muted-foreground);
|
|
464
|
+
|
|
465
|
+
--color-accent: var(--accent);
|
|
466
|
+
--color-accent-foreground: var(--accent-foreground);
|
|
467
|
+
|
|
468
|
+
--color-destructive: var(--destructive);
|
|
469
|
+
--color-destructive-foreground: var(--destructive-foreground);
|
|
470
|
+
|
|
471
|
+
--color-border: var(--border);
|
|
472
|
+
--color-input: var(--input);
|
|
473
|
+
--color-ring: var(--ring);
|
|
474
|
+
|
|
475
|
+
--color-chart-1: var(--chart-1);
|
|
476
|
+
--color-chart-2: var(--chart-2);
|
|
477
|
+
--color-chart-3: var(--chart-3);
|
|
478
|
+
--color-chart-4: var(--chart-4);
|
|
479
|
+
--color-chart-5: var(--chart-5);
|
|
480
|
+
|
|
481
|
+
--color-sidebar: var(--sidebar);
|
|
482
|
+
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
483
|
+
--color-sidebar-primary: var(--sidebar-primary);
|
|
484
|
+
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
|
485
|
+
--color-sidebar-accent: var(--sidebar-accent);
|
|
486
|
+
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
|
487
|
+
--color-sidebar-border: var(--sidebar-border);
|
|
488
|
+
--color-sidebar-ring: var(--sidebar-ring);
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
.clickable {
|
|
492
|
+
@apply cursor-pointer;
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
@layer base {
|
|
496
|
+
* {
|
|
497
|
+
border-color: hsl(var(--border));
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
html {
|
|
501
|
+
font-family: var(--font);
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
body {
|
|
505
|
+
@apply bg-background text-foreground;
|
|
506
|
+
font-family: var(--font);
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
h1,
|
|
510
|
+
h2,
|
|
511
|
+
h3,
|
|
512
|
+
h4,
|
|
513
|
+
h5,
|
|
514
|
+
h6 {
|
|
515
|
+
@apply text-foreground;
|
|
516
|
+
font-family: var(--font);
|
|
517
|
+
font-weight: 700;
|
|
518
|
+
|
|
519
|
+
margin: 0;
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
h1 {
|
|
523
|
+
@apply text-4xl sm:text-5xl text-[800];
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
h2 {
|
|
527
|
+
@apply text-3xl sm:text-4xl text-[var(--secondary)];
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
h3 {
|
|
531
|
+
@apply text-2xl sm:text-3xl;
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
h4 {
|
|
535
|
+
@apply text-xl sm:text-2xl;
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
h5 {
|
|
539
|
+
@apply text-lg sm:text-xl;
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
h6 {
|
|
543
|
+
@apply text-base sm:text-lg;
|
|
544
|
+
}
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
@font-face {
|
|
548
|
+
font-family: "Roboto Slab";
|
|
549
|
+
src: url("/fonts/Roboto_Slab/RobotoSlab-VariableFont_wght.ttf")
|
|
550
|
+
format("truetype");
|
|
551
|
+
font-weight: 100 900;
|
|
552
|
+
font-style: normal;
|
|
553
|
+
font-display: swap;
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
@font-face {
|
|
557
|
+
font-family: "Franklin Gothic";
|
|
558
|
+
src: url("/fonts/Franklin_Gothic/FranklinGothic.ttf") format("truetype");
|
|
559
|
+
font-weight: 400;
|
|
560
|
+
font-style: normal;
|
|
561
|
+
font-display: swap;
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
@font-face {
|
|
565
|
+
font-family: "Franklin Gothic";
|
|
566
|
+
src: url("./assets/fonts/Franklin_Gothic/FranklinGothicITALIC.ttf")
|
|
567
|
+
format("truetype");
|
|
568
|
+
font-weight: 400;
|
|
569
|
+
font-style: italic;
|
|
570
|
+
font-display: swap;
|
|
571
|
+
}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { themes as o } from "./lib/baseProps.js";
|
|
2
|
+
import { useMakeTestId as t } from "./lib/hooks/useMakeTestId.js";
|
|
3
|
+
import { cn as f } from "./lib/utils.js";
|
|
4
|
+
import { sizeClasses as x, weightClasses as a } from "./lib/text.types.js";
|
|
5
|
+
export {
|
|
6
|
+
f as cn,
|
|
7
|
+
x as sizeClasses,
|
|
8
|
+
o as themes,
|
|
9
|
+
t as useMakeTestId,
|
|
10
|
+
a as weightClasses
|
|
11
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export type BaseProps = {
|
|
2
|
+
dataTestId?: string;
|
|
3
|
+
theme?: Theme;
|
|
4
|
+
ariaLabel?: string;
|
|
5
|
+
className?: string;
|
|
6
|
+
};
|
|
7
|
+
export type Theme = "profiq" | "profiq-dark" | "shadcn" | "shadcn-dark" | "lightGreen" | "lightGreen-dark" | "alpine" | "alpine-dark";
|
|
8
|
+
export declare const themes: readonly ["profiq", "profiq-dark", "shadcn", "shadcn-dark", "lightGreen", "lightGreen-dark", "alpine", "alpine-dark"];
|
|
9
|
+
//# sourceMappingURL=baseProps.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"baseProps.d.ts","sourceRoot":"","sources":["../../src/lib/baseProps.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GAAG;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,KAAK,GACb,QAAQ,GACR,aAAa,GACb,QAAQ,GACR,aAAa,GACb,YAAY,GACZ,iBAAiB,GACjB,QAAQ,GACR,aAAa,CAAC;AAElB,eAAO,MAAM,MAAM,uHASkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"buttonVariants.d.ts","sourceRoot":"","sources":["../../src/lib/buttonVariants.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,KAAK,GACb,SAAS,GACT,aAAa,GACb,SAAS,GACT,WAAW,GACX,OAAO,GACP,MAAM,CAAC;AAEX,MAAM,MAAM,KAAK,GACb,SAAS,GACT,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,MAAM,GACN,SAAS,GACT,SAAS,GACT,SAAS,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export type MakeTestId = (suffix?: string) => string;
|
|
2
|
+
/**
|
|
3
|
+
* Config options for useMakeTestId
|
|
4
|
+
*/
|
|
5
|
+
type Options = {
|
|
6
|
+
/**
|
|
7
|
+
* String used to join the base and suffixes
|
|
8
|
+
* @defaultValue "-"
|
|
9
|
+
*/
|
|
10
|
+
separator?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Boolean whether or not to normalize the individual segments
|
|
13
|
+
* Normalization just trims whitespaces and removes empty segments
|
|
14
|
+
* @defaultValue true
|
|
15
|
+
*/
|
|
16
|
+
normalize?: boolean;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* A hook that generates a "data-testid" string from provided base and optional suffixes.
|
|
20
|
+
* WIf no suffix is provided, it returns the base test id.
|
|
21
|
+
* If a suffix is provided, it is appended using the configured separator in Options.
|
|
22
|
+
*
|
|
23
|
+
* The hook creates a stable base test id from the scope and optional parent data-testid, then returns a helper function for appending suffixes
|
|
24
|
+
* The function is preserved across re-renders with useMemo
|
|
25
|
+
*
|
|
26
|
+
* @param scope - Local scope name for the component
|
|
27
|
+
* @param dataTestId - Optional parent data-testid used as prefix to the scope
|
|
28
|
+
* @param options - Optional config
|
|
29
|
+
*
|
|
30
|
+
* @returns Function that generates "data-testid strings, optionally suffixed further"
|
|
31
|
+
*/
|
|
32
|
+
export declare function useMakeTestId(scope: string, dataTestId?: string, options?: Options): MakeTestId;
|
|
33
|
+
export {};
|
|
34
|
+
//# sourceMappingURL=useMakeTestId.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useMakeTestId.d.ts","sourceRoot":"","sources":["../../../src/lib/hooks/useMakeTestId.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,UAAU,GAAG,CAAC,MAAM,CAAC,EAAE,MAAM,KAAK,MAAM,CAAC;AAErD;;GAEG;AAEH,KAAK,OAAO,GAAG;IACb;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAWF;;;;;;;;;;;;;GAaG;AAEH,wBAAgB,aAAa,CAC3B,KAAK,EAAE,MAAM,EACb,UAAU,CAAC,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,OAAO,GAChB,UAAU,CAyBZ"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { useMemo as c, useCallback as f } from "react";
|
|
2
|
+
const m = {
|
|
3
|
+
separator: "-",
|
|
4
|
+
normalize: !0
|
|
5
|
+
};
|
|
6
|
+
function u(r) {
|
|
7
|
+
return r.trim();
|
|
8
|
+
}
|
|
9
|
+
function z(r, s, l) {
|
|
10
|
+
const { separator: t, normalize: e } = { ...m, ...l }, n = c(() => {
|
|
11
|
+
const o = [s, r].filter(Boolean);
|
|
12
|
+
return (e ? o.map(u).filter(Boolean) : o).join(t);
|
|
13
|
+
}, [s, r, t, e]);
|
|
14
|
+
return f(
|
|
15
|
+
(o) => {
|
|
16
|
+
const a = o ?? "";
|
|
17
|
+
if (!a) return n;
|
|
18
|
+
const i = e ? u(a) : a;
|
|
19
|
+
return i ? `${n}${t}${i}` : n;
|
|
20
|
+
},
|
|
21
|
+
[n, t, e]
|
|
22
|
+
);
|
|
23
|
+
}
|
|
24
|
+
export {
|
|
25
|
+
z as useMakeTestId
|
|
26
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { type Theme, themes } from './baseProps';
|
|
2
|
+
export { type types, type sizes } from './buttonVariants';
|
|
3
|
+
export { useMakeTestId } from './hooks/useMakeTestId';
|
|
4
|
+
export { cn } from './utils';
|
|
5
|
+
export { type TextAs, type TextSize, type TextWeight, sizeClasses, weightClasses, } from './text.types';
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/lib/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,EAAE,KAAK,KAAK,EAAE,KAAK,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AAEjC,OAAO,EACL,KAAK,MAAM,EACX,KAAK,QAAQ,EACb,KAAK,UAAU,EACf,WAAW,EACX,aAAa,GACd,MAAM,kBAAkB,CAAC"}
|