get-elementa-ui 1.5.0 → 1.7.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/dist/components/separator.js +8 -0
- package/dist/components/skeleton.js +6 -0
- package/dist/hooks/use-mobile.js +15 -0
- package/dist/index.esm.js +1 -1
- package/dist/index.js +4 -0
- package/dist/types/components/separator.d.ts +4 -0
- package/dist/types/components/skeleton.d.ts +2 -0
- package/dist/types/hooks/use-mobile.d.ts +1 -0
- package/dist/types/index.d.ts +4 -0
- package/package.json +2 -4
- package/src/index.ts +4 -0
- package/src/styles/globals.css +251 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
import { Separator as SeparatorPrimitive } from 'radix-ui';
|
|
4
|
+
import { cn } from '@/src/lib/utils';
|
|
5
|
+
function Separator({ className, orientation = 'horizontal', decorative = true, ...props }) {
|
|
6
|
+
return (_jsx(SeparatorPrimitive.Root, { "data-slot": "separator", decorative: decorative, orientation: orientation, className: cn('bg-border shrink-0 data-horizontal:h-px data-horizontal:w-full data-vertical:w-px data-vertical:self-stretch', className), ...props }));
|
|
7
|
+
}
|
|
8
|
+
export { Separator };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { cn } from '@/src/lib/utils';
|
|
3
|
+
function Skeleton({ className, ...props }) {
|
|
4
|
+
return (_jsx("div", { "data-slot": "skeleton", className: cn('bg-muted rounded-md animate-pulse', className), ...props }));
|
|
5
|
+
}
|
|
6
|
+
export { Skeleton };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
const MOBILE_BREAKPOINT = 768;
|
|
3
|
+
export function useIsMobile() {
|
|
4
|
+
const [isMobile, setIsMobile] = React.useState(undefined);
|
|
5
|
+
React.useEffect(() => {
|
|
6
|
+
const mql = window.matchMedia(`(max-width: ${MOBILE_BREAKPOINT - 1}px)`);
|
|
7
|
+
const onChange = () => {
|
|
8
|
+
setIsMobile(window.innerWidth < MOBILE_BREAKPOINT);
|
|
9
|
+
};
|
|
10
|
+
mql.addEventListener('change', onChange);
|
|
11
|
+
setIsMobile(window.innerWidth < MOBILE_BREAKPOINT);
|
|
12
|
+
return () => mql.removeEventListener('change', onChange);
|
|
13
|
+
}, []);
|
|
14
|
+
return !!isMobile;
|
|
15
|
+
}
|
package/dist/index.esm.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as e,jsxs as t}from"react/jsx-runtime";import{cva as a}from"class-variance-authority";import{Slot as r,Checkbox as i,Select as n}from"radix-ui";import{clsx as
|
|
1
|
+
import{jsx as e,jsxs as t}from"react/jsx-runtime";import{cva as a}from"class-variance-authority";import{Slot as r,Checkbox as i,Select as n,Separator as o}from"radix-ui";import{clsx as s}from"clsx";import{twMerge as d}from"tailwind-merge";import{CheckIcon as l,ChevronDownIcon as c,ChevronUpIcon as u}from"lucide-react";import{useState as p,useEffect as g}from"react";function m(...e){return d(s(e))}const v=a("focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:aria-invalid:border-destructive/50 rounded-lg border border-transparent bg-clip-padding text-sm font-medium focus-visible:ring-3 aria-invalid:ring-3 [&_svg:not([class*='size-'])]:size-4 inline-flex items-center justify-center whitespace-nowrap transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none shrink-0 [&_svg]:shrink-0 outline-none group/button select-none",{variants:{variant:{default:"bg-primary text-primary-foreground [a]:hover:bg-primary/80",outline:"border-border bg-background hover:bg-muted hover:text-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50 aria-expanded:bg-muted aria-expanded:text-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80 aria-expanded:bg-secondary aria-expanded:text-secondary-foreground",ghost:"hover:bg-muted hover:text-foreground dark:hover:bg-muted/50 aria-expanded:bg-muted aria-expanded:text-foreground",destructive:"bg-destructive/10 hover:bg-destructive/20 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/20 text-destructive focus-visible:border-destructive/40 dark:hover:bg-destructive/30",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-8 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",xs:"h-6 gap-1 rounded-[min(var(--radius-md),10px)] px-2 text-xs in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3",sm:"h-7 gap-1 rounded-[min(var(--radius-md),12px)] px-2.5 text-[0.8rem] in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3.5",lg:"h-9 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-3 has-data-[icon=inline-start]:pl-3",icon:"size-8","icon-xs":"size-6 rounded-[min(var(--radius-md),10px)] in-data-[slot=button-group]:rounded-lg [&_svg:not([class*='size-'])]:size-3","icon-sm":"size-7 rounded-[min(var(--radius-md),12px)] in-data-[slot=button-group]:rounded-lg","icon-lg":"size-9"}},defaultVariants:{variant:"default",size:"default"}});function f({className:t,variant:a="default",size:i="default",asChild:n=!1,...o}){const s=n?r.Root:"button";return e(s,{"data-slot":"button","data-variant":a,"data-size":i,className:m(v({variant:a,size:i,className:t})),...o})}function b({className:t,...a}){return e(i.Root,{"data-slot":"checkbox",className:m("border-input dark:bg-input/30 data-checked:bg-primary data-checked:text-primary-foreground dark:data-checked:bg-primary data-checked:border-primary aria-invalid:aria-checked:border-primary aria-invalid:border-destructive dark:aria-invalid:border-destructive/50 focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 flex size-4 items-center justify-center rounded-[4px] border transition-colors group-has-disabled/field:opacity-50 focus-visible:ring-3 aria-invalid:ring-3 peer relative shrink-0 outline-none after:absolute after:-inset-x-3 after:-inset-y-2 disabled:cursor-not-allowed disabled:opacity-50",t),...a,children:e(i.Indicator,{"data-slot":"checkbox-indicator",className:"[&>svg]:size-3.5 grid place-content-center text-current transition-none",children:e(l,{})})})}function h({...t}){return e(n.Root,{"data-slot":"select",...t})}function x({className:t,...a}){return e(n.Group,{"data-slot":"select-group",className:m("scroll-my-1 p-1",t),...a})}function y({...t}){return e(n.Value,{"data-slot":"select-value",...t})}function z({className:a,size:r="default",children:i,...o}){return t(n.Trigger,{"data-slot":"select-trigger","data-size":r,className:m("border-input data-placeholder:text-muted-foreground dark:bg-input/30 dark:hover:bg-input/50 focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:aria-invalid:border-destructive/50 gap-1.5 rounded-lg border bg-transparent py-2 pr-2 pl-2.5 text-sm transition-colors select-none focus-visible:ring-3 aria-invalid:ring-3 data-[size=default]:h-8 data-[size=sm]:h-7 data-[size=sm]:rounded-[min(var(--radius-md),10px)] *:data-[slot=select-value]:gap-1.5 [&_svg:not([class*='size-'])]:size-4 flex w-fit items-center justify-between whitespace-nowrap outline-none disabled:cursor-not-allowed disabled:opacity-50 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center [&_svg]:pointer-events-none [&_svg]:shrink-0",a),...o,children:[i,e(n.Icon,{asChild:!0,children:e(c,{className:"text-muted-foreground size-4 pointer-events-none"})})]})}function k({className:a,children:r,position:i="item-aligned",align:o="center",...s}){return e(n.Portal,{children:t(n.Content,{"data-slot":"select-content","data-align-trigger":"item-aligned"===i,className:m("bg-popover text-popover-foreground data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 min-w-36 rounded-lg shadow-md ring-1 duration-100 relative z-50 max-h-(--radix-select-content-available-height) origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto data-[align-trigger=true]:animate-none","popper"===i&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",a),position:i,align:o,...s,children:[e(_,{}),e(n.Viewport,{"data-position":i,className:m("data-[position=popper]:h-(--radix-select-trigger-height) data-[position=popper]:w-full data-[position=popper]:min-w-(--radix-select-trigger-width)","popper"===i&&""),children:r}),e(B,{})]})})}function N({className:t,...a}){return e(n.Label,{"data-slot":"select-label",className:m("text-muted-foreground px-1.5 py-1 text-xs",t),...a})}function w({className:a,children:r,...i}){return t(n.Item,{"data-slot":"select-item",className:m("focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground gap-1.5 rounded-md py-1 pr-8 pl-1.5 text-sm [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2 relative flex w-full cursor-default items-center outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",a),...i,children:[e("span",{className:"pointer-events-none absolute right-2 flex size-4 items-center justify-center",children:e(n.ItemIndicator,{children:e(l,{className:"pointer-events-none"})})}),e(n.ItemText,{children:r})]})}function H({className:t,...a}){return e(n.Separator,{"data-slot":"select-separator",className:m("bg-border -mx-1 my-1 h-px pointer-events-none",t),...a})}function _({className:t,...a}){return e(n.ScrollUpButton,{"data-slot":"select-scroll-up-button",className:m("bg-popover z-10 flex cursor-default items-center justify-center py-1 [&_svg:not([class*='size-'])]:size-4",t),...a,children:e(u,{})})}function B({className:t,...a}){return e(n.ScrollDownButton,{"data-slot":"select-scroll-down-button",className:m("bg-popover z-10 flex cursor-default items-center justify-center py-1 [&_svg:not([class*='size-'])]:size-4",t),...a,children:e(c,{})})}function S({className:t,orientation:a="horizontal",decorative:r=!0,...i}){return e(o.Root,{"data-slot":"separator",decorative:r,orientation:a,className:m("bg-border shrink-0 data-horizontal:h-px data-horizontal:w-full data-vertical:w-px data-vertical:self-stretch",t),...i})}function C({className:t,...a}){return e("div",{"data-slot":"skeleton",className:m("bg-muted rounded-md animate-pulse",t),...a})}var j;function I({variant:t=j.Body,color:a,children:r}){const[i,n]=p("");return g(()=>{n(m((e=>{switch(e){case j.H1:return"text-[61px] font-heading";case j.H2:return"text-[48px] font-heading";case j.H3:return"text-[39px] font-heading";case j.H4:return"text-[31px] font-bold font-heading";case j.H5:return"text-[25px] font-bold font-heading";case j.H6:return"text-[20px] font-bold font-heading";case j.Body:return"text-[16px] font-body";case j.Button:return"text-[16px] font-bold font-body";default:return"text-[16px] font-body"}})(t),a))},[t,a]),e("p",{className:i,children:r})}!function(e){e[e.H1=0]="H1",e[e.H2=1]="H2",e[e.H3=2]="H3",e[e.H4=3]="H4",e[e.H5=4]="H5",e[e.H6=5]="H6",e[e.Body=6]="Body",e[e.Button=7]="Button",e[e.Subtitle1=8]="Subtitle1",e[e.Subtitle2=9]="Subtitle2",e[e.Caption=10]="Caption",e[e.Custom=11]="Custom"}(j||(j={}));export{f as Button,b as Checkbox,h as Select,k as SelectContent,x as SelectGroup,w as SelectItem,N as SelectLabel,B as SelectScrollDownButton,_ as SelectScrollUpButton,H as SelectSeparator,z as SelectTrigger,y as SelectValue,S as Separator,C as Skeleton,I as Text};
|
package/dist/index.js
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import { Button } from '@/src/components/button';
|
|
2
2
|
import { Checkbox } from '@/src/components/checkbox';
|
|
3
3
|
import { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue } from '@/src/components/select';
|
|
4
|
+
import { Separator } from '@/src/components/separator';
|
|
5
|
+
import { Skeleton } from '@/src/components/skeleton';
|
|
4
6
|
import { Text } from '@/src/components/text';
|
|
5
7
|
export { Button };
|
|
6
8
|
export { Checkbox };
|
|
7
9
|
export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue };
|
|
10
|
+
export { Separator };
|
|
11
|
+
export { Skeleton };
|
|
8
12
|
export { Text };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Separator as SeparatorPrimitive } from 'radix-ui';
|
|
3
|
+
declare function Separator({ className, orientation, decorative, ...props }: React.ComponentProps<typeof SeparatorPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export { Separator };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function useIsMobile(): boolean;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import { Button } from '@/src/components/button';
|
|
2
2
|
import { Checkbox } from '@/src/components/checkbox';
|
|
3
3
|
import { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue } from '@/src/components/select';
|
|
4
|
+
import { Separator } from '@/src/components/separator';
|
|
5
|
+
import { Skeleton } from '@/src/components/skeleton';
|
|
4
6
|
import { Text } from '@/src/components/text';
|
|
5
7
|
export { Button };
|
|
6
8
|
export { Checkbox };
|
|
7
9
|
export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue };
|
|
10
|
+
export { Separator };
|
|
11
|
+
export { Skeleton };
|
|
8
12
|
export { Text };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "get-elementa-ui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.0",
|
|
4
4
|
"description": "Elementa UI components library.",
|
|
5
5
|
"homepage": "https://deriva.xyz/branding",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
},
|
|
19
19
|
"files": [
|
|
20
20
|
"dist/**/*",
|
|
21
|
+
"./src/styles/globals.css",
|
|
21
22
|
"src/index.ts",
|
|
22
23
|
"README.md",
|
|
23
24
|
"LICENSE"
|
|
@@ -90,9 +91,6 @@
|
|
|
90
91
|
"ts-node": "^10.9.2",
|
|
91
92
|
"tw-animate-css": "^1.4.0"
|
|
92
93
|
},
|
|
93
|
-
"exports": {
|
|
94
|
-
"./theme.css": "./src/styles/globals.css"
|
|
95
|
-
},
|
|
96
94
|
"resolutions": {
|
|
97
95
|
"@types/minimatch": "5.1.2"
|
|
98
96
|
}
|
package/src/index.ts
CHANGED
|
@@ -12,6 +12,8 @@ import {
|
|
|
12
12
|
SelectTrigger,
|
|
13
13
|
SelectValue
|
|
14
14
|
} from '@/src/components/select';
|
|
15
|
+
import { Separator } from '@/src/components/separator';
|
|
16
|
+
import { Skeleton } from '@/src/components/skeleton';
|
|
15
17
|
import { Text } from '@/src/components/text';
|
|
16
18
|
|
|
17
19
|
export { Button };
|
|
@@ -28,4 +30,6 @@ export {
|
|
|
28
30
|
SelectTrigger,
|
|
29
31
|
SelectValue
|
|
30
32
|
};
|
|
33
|
+
export { Separator };
|
|
34
|
+
export { Skeleton };
|
|
31
35
|
export { Text };
|
|
@@ -0,0 +1,251 @@
|
|
|
1
|
+
/* 1. Fraunces */
|
|
2
|
+
@font-face {
|
|
3
|
+
font-family: 'Fraunces';
|
|
4
|
+
src: url('./../assets/fonts/fraunces/Fraunces-Regular.ttf') format('truetype');
|
|
5
|
+
font-weight: 400;
|
|
6
|
+
font-style: normal;
|
|
7
|
+
font-display: swap;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
@font-face {
|
|
11
|
+
font-family: 'Fraunces';
|
|
12
|
+
src: url('./../assets/fonts/fraunces/Fraunces-Bold.ttf') format('truetype');
|
|
13
|
+
font-weight: 700;
|
|
14
|
+
font-style: normal;
|
|
15
|
+
font-display: swap;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
/* 2. Satoshi */
|
|
19
|
+
@font-face {
|
|
20
|
+
font-family: 'Satoshi';
|
|
21
|
+
src: url('./../assets/fonts/satoshi/Satoshi-Light.otf') format('opentype');
|
|
22
|
+
font-weight: 300;
|
|
23
|
+
font-style: normal;
|
|
24
|
+
font-display: swap;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
@font-face {
|
|
28
|
+
font-family: 'Satoshi';
|
|
29
|
+
src: url('./../assets/fonts/satoshi/Satoshi-Regular.otf') format('opentype');
|
|
30
|
+
font-weight: 400;
|
|
31
|
+
font-style: normal;
|
|
32
|
+
font-display: swap;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
@font-face {
|
|
36
|
+
font-family: 'Satoshi';
|
|
37
|
+
src: url('./../assets/fonts/satoshi/Satoshi-Medium.otf') format('opentype');
|
|
38
|
+
font-weight: 500;
|
|
39
|
+
font-style: normal;
|
|
40
|
+
font-display: swap;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
@font-face {
|
|
44
|
+
font-family: 'Satoshi';
|
|
45
|
+
src: url('./../assets/fonts/satoshi/Satoshi-Bold.otf') format('opentype');
|
|
46
|
+
font-weight: 700;
|
|
47
|
+
font-style: normal;
|
|
48
|
+
font-display: swap;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
@font-face {
|
|
52
|
+
font-family: 'Satoshi';
|
|
53
|
+
src: url('./../assets/fonts/satoshi/Satoshi-Black.otf') format('opentype');
|
|
54
|
+
font-weight: 900;
|
|
55
|
+
font-style: normal;
|
|
56
|
+
font-display: swap;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
@import "tailwindcss";
|
|
60
|
+
@import "tw-animate-css";
|
|
61
|
+
@import "shadcn/tailwind.css";
|
|
62
|
+
|
|
63
|
+
@custom-variant dark (&:is(.dark *));
|
|
64
|
+
|
|
65
|
+
@theme inline {
|
|
66
|
+
--color-background: var(--background);
|
|
67
|
+
--color-foreground: var(--foreground);
|
|
68
|
+
--color-card: var(--card);
|
|
69
|
+
--color-card-foreground: var(--card-foreground);
|
|
70
|
+
--color-popover: var(--popover);
|
|
71
|
+
--color-popover-foreground: var(--popover-foreground);
|
|
72
|
+
--color-primary: var(--primary);
|
|
73
|
+
--color-primary-foreground: var(--primary-foreground);
|
|
74
|
+
--color-secondary: var(--secondary);
|
|
75
|
+
--color-secondary-foreground: var(--secondary-foreground);
|
|
76
|
+
--color-muted: var(--muted);
|
|
77
|
+
--color-muted-foreground: var(--muted-foreground);
|
|
78
|
+
--color-accent: var(--accent);
|
|
79
|
+
--color-accent-foreground: var(--accent-foreground);
|
|
80
|
+
--color-destructive: var(--destructive);
|
|
81
|
+
--color-destructive-foreground: var(--destructive-foreground);
|
|
82
|
+
--color-border: var(--border);
|
|
83
|
+
--color-input: var(--input);
|
|
84
|
+
--color-ring: var(--ring);
|
|
85
|
+
--color-chart-1: var(--chart-1);
|
|
86
|
+
--color-chart-2: var(--chart-2);
|
|
87
|
+
--color-chart-3: var(--chart-3);
|
|
88
|
+
--color-chart-4: var(--chart-4);
|
|
89
|
+
--color-chart-5: var(--chart-5);
|
|
90
|
+
--radius-sm: calc(var(--radius) - 4px);
|
|
91
|
+
--radius-md: calc(var(--radius) - 2px);
|
|
92
|
+
--radius-lg: var(--radius);
|
|
93
|
+
--radius-xl: calc(var(--radius) + 4px);
|
|
94
|
+
--color-sidebar: var(--sidebar);
|
|
95
|
+
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
96
|
+
--color-sidebar-primary: var(--sidebar-primary);
|
|
97
|
+
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
|
98
|
+
--color-sidebar-accent: var(--sidebar-accent);
|
|
99
|
+
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
|
100
|
+
--color-sidebar-border: var(--sidebar-border);
|
|
101
|
+
--color-sidebar-ring: var(--sidebar-ring);
|
|
102
|
+
--breakpoint-3xl: 1920px;
|
|
103
|
+
--color-electric-violet-100: #F5F0FE;
|
|
104
|
+
--color-electric-violet-200: #E1D3FB;
|
|
105
|
+
--color-electric-violet-300: #CDB6F9;
|
|
106
|
+
--color-electric-violet-400: #B999F6;
|
|
107
|
+
--color-electric-violet-500: #A57CF3;
|
|
108
|
+
--color-electric-violet-600: #9B6DF2;
|
|
109
|
+
--color-electric-violet-700: #8C62DA;
|
|
110
|
+
--color-electric-violet-800: #6D4CA9;
|
|
111
|
+
--color-electric-violet-900: #4E3779;
|
|
112
|
+
--color-electric-violet-1000: #2E2149;
|
|
113
|
+
--color-electric-violet-1100: #0F0B18;
|
|
114
|
+
--color-hot-pink-100: #FEEFF5;
|
|
115
|
+
--color-hot-pink-200: #FDCEE2;
|
|
116
|
+
--color-hot-pink-300: #FBAECF;
|
|
117
|
+
--color-hot-pink-400: #F98EBB;
|
|
118
|
+
--color-hot-pink-500: #F86DA8;
|
|
119
|
+
--color-hot-pink-600: #F75D9E;
|
|
120
|
+
--color-hot-pink-700: #DE548E;
|
|
121
|
+
--color-hot-pink-800: #AD416F;
|
|
122
|
+
--color-hot-pink-900: #7C2F4F;
|
|
123
|
+
--color-hot-pink-1000: #4A1C2F;
|
|
124
|
+
--color-hot-pink-1100: #190910;
|
|
125
|
+
--color-acid-lime-100: #FBFEED;
|
|
126
|
+
--color-acid-lime-200: #F2FBCA;
|
|
127
|
+
--color-acid-lime-300: #EAF8A6;
|
|
128
|
+
--color-acid-lime-400: #E2F582;
|
|
129
|
+
--color-acid-lime-500: #D9F25F;
|
|
130
|
+
--color-acid-lime-600: #D5F14D;
|
|
131
|
+
--color-acid-lime-700: #C0D945;
|
|
132
|
+
--color-acid-lime-800: #95A936;
|
|
133
|
+
--color-acid-lime-900: #6B7927;
|
|
134
|
+
--color-acid-lime-1000: #404817;
|
|
135
|
+
--color-acid-lime-1100: #151808;
|
|
136
|
+
--color-aqua-mint-100: #F1FDF9;
|
|
137
|
+
--color-aqua-mint-200: #D5FAEE;
|
|
138
|
+
--color-aqua-mint-300: #B9F6E2;
|
|
139
|
+
--color-aqua-mint-400: #9CF2D6;
|
|
140
|
+
--color-aqua-mint-500: #80EFCB;
|
|
141
|
+
--color-aqua-mint-600: #72EDC5;
|
|
142
|
+
--color-aqua-mint-700: #67D5B1;
|
|
143
|
+
--color-aqua-mint-800: #50A68A;
|
|
144
|
+
--color-aqua-mint-900: #397763;
|
|
145
|
+
--color-aqua-mint-1000: #22473B;
|
|
146
|
+
--color-aqua-mint-1100: #0B1814;
|
|
147
|
+
--color-gun-metal-100: #D3D7D9;
|
|
148
|
+
--color-gun-metal-200: #B5BDC0;
|
|
149
|
+
--color-gun-metal-300: #919CA1;
|
|
150
|
+
--color-gun-metal-400: #6C7A82;
|
|
151
|
+
--color-gun-metal-500: #475962;
|
|
152
|
+
--color-gun-metal-600: #223843;
|
|
153
|
+
--color-gun-metal-700: #1C2F38;
|
|
154
|
+
--color-gun-metal-800: #17252D;
|
|
155
|
+
--color-gun-metal-900: #111C22;
|
|
156
|
+
--color-gun-metal-1000: #0B1316;
|
|
157
|
+
--color-gun-metal-1100: #070B0D;
|
|
158
|
+
--color-amber-white-100: #FCFCFD;
|
|
159
|
+
--color-amber-white-200: #FAFAFB;
|
|
160
|
+
--color-amber-white-300: #F7F8F9;
|
|
161
|
+
--color-amber-white-400: #F4F6F7;
|
|
162
|
+
--color-amber-white-500: #F2F3F5;
|
|
163
|
+
--color-amber-white-600: #EFF1F3;
|
|
164
|
+
--color-amber-white-700: #C7C9CB;
|
|
165
|
+
--color-amber-white-800: #9FA1A2;
|
|
166
|
+
--color-amber-white-900: #78797A;
|
|
167
|
+
--color-amber-white-1000: #505051;
|
|
168
|
+
--color-amber-white-1100: #303031;
|
|
169
|
+
--font-heading: 'Fraunces', sans-serif;
|
|
170
|
+
--font-body: 'Satoshi', sans-serif;
|
|
171
|
+
--font-heading: var(--font-fraunces), serif;
|
|
172
|
+
--font-body: var(--font-satoshi), sans-serif;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
:root {
|
|
176
|
+
--radius: 0.625rem;
|
|
177
|
+
--background: oklch(1 0 0);
|
|
178
|
+
--foreground: oklch(0.145 0 0);
|
|
179
|
+
--card: oklch(1 0 0);
|
|
180
|
+
--card-foreground: oklch(0.145 0 0);
|
|
181
|
+
--popover: oklch(1 0 0);
|
|
182
|
+
--popover-foreground: oklch(0.145 0 0);
|
|
183
|
+
--primary: oklch(0.205 0 0);
|
|
184
|
+
--primary-foreground: oklch(0.985 0 0);
|
|
185
|
+
--secondary: oklch(0.97 0 0);
|
|
186
|
+
--secondary-foreground: oklch(0.205 0 0);
|
|
187
|
+
--muted: oklch(0.97 0 0);
|
|
188
|
+
--muted-foreground: oklch(0.556 0 0);
|
|
189
|
+
--accent: oklch(0.97 0 0);
|
|
190
|
+
--accent-foreground: oklch(0.205 0 0);
|
|
191
|
+
--destructive: oklch(0.577 0.245 27.325);
|
|
192
|
+
--border: oklch(0.922 0 0);
|
|
193
|
+
--input: oklch(0.922 0 0);
|
|
194
|
+
--ring: oklch(0.708 0 0);
|
|
195
|
+
--chart-1: oklch(0.646 0.222 41.116);
|
|
196
|
+
--chart-2: oklch(0.6 0.118 184.704);
|
|
197
|
+
--chart-3: oklch(0.398 0.07 227.392);
|
|
198
|
+
--chart-4: oklch(0.828 0.189 84.429);
|
|
199
|
+
--chart-5: oklch(0.769 0.188 70.08);
|
|
200
|
+
--sidebar: oklch(0.985 0 0);
|
|
201
|
+
--sidebar-foreground: oklch(0.145 0 0);
|
|
202
|
+
--sidebar-primary: oklch(0.205 0 0);
|
|
203
|
+
--sidebar-primary-foreground: oklch(0.985 0 0);
|
|
204
|
+
--sidebar-accent: oklch(0.97 0 0);
|
|
205
|
+
--sidebar-accent-foreground: oklch(0.205 0 0);
|
|
206
|
+
--sidebar-border: oklch(0.922 0 0);
|
|
207
|
+
--sidebar-ring: oklch(0.708 0 0);
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
.dark {
|
|
211
|
+
--background: oklch(0.145 0 0);
|
|
212
|
+
--foreground: oklch(0.985 0 0);
|
|
213
|
+
--card: oklch(0.205 0 0);
|
|
214
|
+
--card-foreground: oklch(0.985 0 0);
|
|
215
|
+
--popover: oklch(0.205 0 0);
|
|
216
|
+
--popover-foreground: oklch(0.985 0 0);
|
|
217
|
+
--primary: oklch(0.922 0 0);
|
|
218
|
+
--primary-foreground: oklch(0.205 0 0);
|
|
219
|
+
--secondary: oklch(0.269 0 0);
|
|
220
|
+
--secondary-foreground: oklch(0.985 0 0);
|
|
221
|
+
--muted: oklch(0.269 0 0);
|
|
222
|
+
--muted-foreground: oklch(0.708 0 0);
|
|
223
|
+
--accent: oklch(0.269 0 0);
|
|
224
|
+
--accent-foreground: oklch(0.985 0 0);
|
|
225
|
+
--destructive: oklch(0.704 0.191 22.216);
|
|
226
|
+
--border: oklch(1 0 0 / 10%);
|
|
227
|
+
--input: oklch(1 0 0 / 15%);
|
|
228
|
+
--ring: oklch(0.556 0 0);
|
|
229
|
+
--chart-1: oklch(0.488 0.243 264.376);
|
|
230
|
+
--chart-2: oklch(0.696 0.17 162.48);
|
|
231
|
+
--chart-3: oklch(0.769 0.188 70.08);
|
|
232
|
+
--chart-4: oklch(0.627 0.265 303.9);
|
|
233
|
+
--chart-5: oklch(0.645 0.246 16.439);
|
|
234
|
+
--sidebar: oklch(0.205 0 0);
|
|
235
|
+
--sidebar-foreground: oklch(0.985 0 0);
|
|
236
|
+
--sidebar-primary: oklch(0.488 0.243 264.376);
|
|
237
|
+
--sidebar-primary-foreground: oklch(0.985 0 0);
|
|
238
|
+
--sidebar-accent: oklch(0.269 0 0);
|
|
239
|
+
--sidebar-accent-foreground: oklch(0.985 0 0);
|
|
240
|
+
--sidebar-border: oklch(1 0 0 / 10%);
|
|
241
|
+
--sidebar-ring: oklch(0.556 0 0);
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
@layer base {
|
|
245
|
+
* {
|
|
246
|
+
@apply border-border outline-ring/50;
|
|
247
|
+
}
|
|
248
|
+
body {
|
|
249
|
+
@apply bg-background text-foreground;
|
|
250
|
+
}
|
|
251
|
+
}
|