@bccampus/ui-components 0.9.19 → 0.9.21

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.
@@ -23,42 +23,42 @@ const overlayVariants = cva("absolute w-fit h-fit z-1 overflow-hidden p-0", {
23
23
  {
24
24
  position: "tl",
25
25
  rounded: true,
26
- className: "rounded-br-lg"
26
+ className: "rounded-tl-lg"
27
27
  },
28
28
  {
29
29
  position: "tr",
30
30
  rounded: true,
31
- className: "rounded-bl-lg"
31
+ className: "rounded-tr-lg"
32
32
  },
33
33
  {
34
34
  position: "bl",
35
35
  rounded: true,
36
- className: "rounded-tr-lg"
36
+ className: "rounded-bl-lg"
37
37
  },
38
38
  {
39
39
  position: "br",
40
40
  rounded: true,
41
- className: "rounded-tl-lg"
41
+ className: "rounded-br-lg"
42
42
  },
43
43
  {
44
44
  position: "t",
45
45
  rounded: true,
46
- className: "rounded-b-lg"
46
+ className: "rounded-t-lg"
47
47
  },
48
48
  {
49
49
  position: "b",
50
50
  rounded: true,
51
- className: "rounded-t-lg"
51
+ className: "rounded-b-lg"
52
52
  },
53
53
  {
54
54
  position: "l",
55
55
  rounded: true,
56
- className: "rounded-r-lg"
56
+ className: "rounded-l-lg"
57
57
  },
58
58
  {
59
59
  position: "r",
60
60
  rounded: true,
61
- className: "rounded-l-lg"
61
+ className: "rounded-r-lg"
62
62
  },
63
63
  {
64
64
  position: "c",
@@ -3,7 +3,7 @@ import { S as Slot } from "../../_chunks/index.js";
3
3
  import { c as cva } from "../../_chunks/index2.js";
4
4
  import { c as cn } from "../../_chunks/utils.js";
5
5
  const tagVariants = cva(
6
- "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-sm text-sm bg-complement-3 text-white [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0",
6
+ "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-sm font-sans-accent text-sm bg-complement-3 text-white [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0",
7
7
  {
8
8
  variants: {
9
9
  variant: {
@@ -12,8 +12,8 @@ const tagVariants = cva(
12
12
  },
13
13
  size: {
14
14
  default: "h-8 px-4 py-1.5 has-[>svg]:px-3",
15
- sm: "h-6 gap-1 px-3 has-[>svg]:px-2.5",
16
- lg: "scroll-mr-6 text-xl/5 font-medium h-16 px-8 has-[>svg]:px-4",
15
+ sm: "gap-1 px-4 py-1 has-[>svg]:px-2.5",
16
+ lg: "scroll-mr-6 text-xl/5 font-medium px-6 py-3 has-[>svg]:px-4",
17
17
  icon: "size-8"
18
18
  }
19
19
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bccampus/ui-components",
3
- "version": "0.9.19",
3
+ "version": "0.9.21",
4
4
  "description": "BCcampus React components",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",
@@ -1,81 +1,81 @@
1
- import { cn } from "@/lib/utils";
2
- import { cva, type VariantProps } from "class-variance-authority";
3
-
4
- export type OverlayVariantsProps = VariantProps<typeof overlayVariants>;
5
-
6
- export const overlayVariants = cva("absolute w-fit h-fit z-1 overflow-hidden p-0", {
7
- variants: {
8
- position: {
9
- t: "top-0 left-1/2 -translate-x-1/2",
10
- b: "bottom-0 left-1/2 -translate-x-1/2",
11
- l: "top-1/2 left-0 -translate-y-1/2",
12
- r: "top-1/2 right-0 -translate-y-1/2",
13
- tl: "top-0 left-0",
14
- tr: "top-0 right-0",
15
- bl: "bottom-0 left-0",
16
- br: "bottom-0 right-0",
17
- c: "top-1/2 left-1/2 -translate-1/2",
18
- },
19
- rounded: {
20
- true: null,
21
- false: null,
22
- },
23
- },
24
- compoundVariants: [
25
- {
26
- position: "tl",
27
- rounded: true,
28
- className: "rounded-br-lg",
29
- },
30
- {
31
- position: "tr",
32
- rounded: true,
33
- className: "rounded-bl-lg",
34
- },
35
- {
36
- position: "bl",
37
- rounded: true,
38
- className: "rounded-tr-lg",
39
- },
40
- {
41
- position: "br",
42
- rounded: true,
43
- className: "rounded-tl-lg",
44
- },
45
- {
46
- position: "t",
47
- rounded: true,
48
- className: "rounded-b-lg",
49
- },
50
- {
51
- position: "b",
52
- rounded: true,
53
- className: "rounded-t-lg",
54
- },
55
- {
56
- position: "l",
57
- rounded: true,
58
- className: "rounded-r-lg",
59
- },
60
- {
61
- position: "r",
62
- rounded: true,
63
- className: "rounded-l-lg",
64
- },
65
- {
66
- position: "c",
67
- rounded: true,
68
- className: "rounded-lg",
69
- },
70
- ],
71
- defaultVariants: {
72
- position: "br",
73
- rounded: false,
74
- },
75
- });
76
-
77
- export interface OverlayProps extends React.ComponentProps<"div">, OverlayVariantsProps {}
78
-
79
- export function Overlay({ className, position, rounded, ...props }: OverlayProps) {
80
- return <div className={cn(overlayVariants({ position, rounded }), className)} {...props} />;
81
- }
1
+ import { cn } from "@/lib/utils";
2
+ import { cva, type VariantProps } from "class-variance-authority";
3
+
4
+ export type OverlayVariantsProps = VariantProps<typeof overlayVariants>;
5
+
6
+ export const overlayVariants = cva("absolute w-fit h-fit z-1 overflow-hidden p-0", {
7
+ variants: {
8
+ position: {
9
+ t: "top-0 left-1/2 -translate-x-1/2",
10
+ b: "bottom-0 left-1/2 -translate-x-1/2",
11
+ l: "top-1/2 left-0 -translate-y-1/2",
12
+ r: "top-1/2 right-0 -translate-y-1/2",
13
+ tl: "top-0 left-0",
14
+ tr: "top-0 right-0",
15
+ bl: "bottom-0 left-0",
16
+ br: "bottom-0 right-0",
17
+ c: "top-1/2 left-1/2 -translate-1/2",
18
+ },
19
+ rounded: {
20
+ true: null,
21
+ false: null,
22
+ },
23
+ },
24
+ compoundVariants: [
25
+ {
26
+ position: "tl",
27
+ rounded: true,
28
+ className: "rounded-tl-lg",
29
+ },
30
+ {
31
+ position: "tr",
32
+ rounded: true,
33
+ className: "rounded-tr-lg",
34
+ },
35
+ {
36
+ position: "bl",
37
+ rounded: true,
38
+ className: "rounded-bl-lg",
39
+ },
40
+ {
41
+ position: "br",
42
+ rounded: true,
43
+ className: "rounded-br-lg",
44
+ },
45
+ {
46
+ position: "t",
47
+ rounded: true,
48
+ className: "rounded-t-lg",
49
+ },
50
+ {
51
+ position: "b",
52
+ rounded: true,
53
+ className: "rounded-b-lg",
54
+ },
55
+ {
56
+ position: "l",
57
+ rounded: true,
58
+ className: "rounded-l-lg",
59
+ },
60
+ {
61
+ position: "r",
62
+ rounded: true,
63
+ className: "rounded-r-lg",
64
+ },
65
+ {
66
+ position: "c",
67
+ rounded: true,
68
+ className: "rounded-lg",
69
+ },
70
+ ],
71
+ defaultVariants: {
72
+ position: "br",
73
+ rounded: false,
74
+ },
75
+ });
76
+
77
+ export interface OverlayProps extends React.ComponentProps<"div">, OverlayVariantsProps {}
78
+
79
+ export function Overlay({ className, position, rounded, ...props }: OverlayProps) {
80
+ return <div className={cn(overlayVariants({ position, rounded }), className)} {...props} />;
81
+ }
@@ -1,38 +1,38 @@
1
- import { Slot } from "@radix-ui/react-slot";
2
- import { cva, type VariantProps } from "class-variance-authority";
3
-
4
- import { cn } from "@/lib/utils";
5
-
6
- export type TagVariantsProps = VariantProps<typeof tagVariants>;
7
- export const tagVariants = cva(
8
- "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-sm text-sm bg-complement-3 text-white [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0",
9
- {
10
- variants: {
11
- variant: {
12
- default: "",
13
- button:
14
- "hover:bg-primary transition-all disabled:pointer-events-none disabled:opacity-50 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
15
- },
16
- size: {
17
- default: "h-8 px-4 py-1.5 has-[>svg]:px-3",
18
- sm: "h-6 gap-1 px-3 has-[>svg]:px-2.5",
19
- lg: "scroll-mr-6 text-xl/5 font-medium h-16 px-8 has-[>svg]:px-4",
20
- icon: "size-8",
21
- },
22
- },
23
- defaultVariants: {
24
- variant: "default",
25
- size: "default",
26
- },
27
- },
28
- );
29
-
30
- export interface TagProps extends React.ComponentProps<"div">, TagVariantsProps {
31
- asChild?: boolean;
32
- }
33
-
34
- export function Tag({ className, size, variant, asChild = false, ...props }: TagProps) {
35
- const Comp = asChild ? Slot : "div";
36
-
37
- return <Comp data-slot="tag" className={cn(tagVariants({ variant, size }), className)} {...props} />;
38
- }
1
+ import { Slot } from "@radix-ui/react-slot";
2
+ import { cva, type VariantProps } from "class-variance-authority";
3
+
4
+ import { cn } from "@/lib/utils";
5
+
6
+ export type TagVariantsProps = VariantProps<typeof tagVariants>;
7
+ export const tagVariants = cva(
8
+ "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-sm font-sans-accent text-sm bg-complement-3 text-white [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0",
9
+ {
10
+ variants: {
11
+ variant: {
12
+ default: "",
13
+ button:
14
+ "hover:bg-primary transition-all disabled:pointer-events-none disabled:opacity-50 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
15
+ },
16
+ size: {
17
+ default: "h-8 px-4 py-1.5 has-[>svg]:px-3",
18
+ sm: "gap-1 px-4 py-1 has-[>svg]:px-2.5",
19
+ lg: "scroll-mr-6 text-xl/5 font-medium px-6 py-3 has-[>svg]:px-4",
20
+ icon: "size-8",
21
+ },
22
+ },
23
+ defaultVariants: {
24
+ variant: "default",
25
+ size: "default",
26
+ },
27
+ },
28
+ );
29
+
30
+ export interface TagProps extends React.ComponentProps<"div">, TagVariantsProps {
31
+ asChild?: boolean;
32
+ }
33
+
34
+ export function Tag({ className, size, variant, asChild = false, ...props }: TagProps) {
35
+ const Comp = asChild ? Slot : "div";
36
+
37
+ return <Comp data-slot="tag" className={cn(tagVariants({ variant, size }), className)} {...props} />;
38
+ }
@@ -1,186 +1,186 @@
1
- @custom-variant dark (&:is(.dark *));
2
-
3
- @theme inline {
4
- --radius-sm: calc(var(--radius) - 4px);
5
- --radius-md: calc(var(--radius) - 2px);
6
- --radius-lg: var(--radius);
7
- --radius-xl: calc(var(--radius) + 4px);
8
- --radius-container: var(--radius);
9
- --color-background: var(--background);
10
- --color-foreground: var(--foreground);
11
- --color-card: var(--card);
12
- --color-card-foreground: var(--card-foreground);
13
- --color-popover: var(--popover);
14
- --color-popover-foreground: var(--popover-foreground);
15
- --color-primary: var(--primary);
16
- --color-primary-foreground: var(--primary-foreground);
17
- --color-secondary: var(--secondary);
18
- --color-secondary-foreground: var(--secondary-foreground);
19
- --color-muted: var(--muted);
20
- --color-muted-foreground: var(--muted-foreground);
21
- --color-accent: var(--accent);
22
- --color-accent-foreground: var(--accent-foreground);
23
- --color-destructive: var(--destructive);
24
- --color-border: var(--border);
25
- --color-input: var(--input);
26
- --color-ring: var(--ring);
27
- --color-chart-1: var(--chart-1);
28
- --color-chart-2: var(--chart-2);
29
- --color-chart-3: var(--chart-3);
30
- --color-chart-4: var(--chart-4);
31
- --color-chart-5: var(--chart-5);
32
- --color-sidebar: var(--sidebar);
33
- --color-sidebar-foreground: var(--sidebar-foreground);
34
- --color-sidebar-primary: var(--sidebar-primary);
35
- --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
36
- --color-sidebar-accent: var(--sidebar-accent);
37
- --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
38
- --color-sidebar-border: var(--sidebar-border);
39
- --color-sidebar-ring: var(--sidebar-ring);
40
-
41
- --breakpoint-clamp: 100rem;
42
-
43
- --container-clamp: 96rem;
44
- --spacing-clamp: calc((100dvw - var(--container-clamp)) / 2);
45
-
46
- --spacing-page-nav: --spacing(18);
47
-
48
- --spacing-section: var(--section-p);
49
- --spacing-section-sm: calc(var(--spacing-section) / 2);
50
- --spacing-section-lg: calc(var(--spacing-section) * 2);
51
- --spacing-section-xl: calc(var(--spacing-section) * 5);
52
-
53
- --spacing-card: var(--card-p);
54
- --spacing-card-sm: calc(var(--spacing-card) / 2);
55
- --spacing-card-lg: calc(var(--spacing-card) * 2);
56
- --spacing-card-xl: calc(var(--spacing-card) * 5);
57
-
58
- --gap-page: var(--page-gap);
59
- --gap-card: var(--card-gap);
60
- --gap-card-area: var(--card-area-gap);
61
- --gap-card-item-group: var(--card-item-group-gap);
62
- }
63
-
64
- :root {
65
- --radius: 0.625rem;
66
- --background: oklch(1 0 0);
67
- --foreground: oklch(0.141 0.005 285.823);
68
- --card: oklch(1 0 0);
69
- --card-foreground: oklch(0.3741 0.0774 245.65);
70
- --popover: oklch(1 0 0);
71
- --popover-foreground: oklch(0.3741 0.0774 245.65);
72
- --primary: oklch(0.3741 0.0774 245.65);
73
- --primary-foreground: oklch(0.985 0 0);
74
- --secondary: oklch(0.5393 0.0909 200);
75
- --secondary-foreground: oklch(0.985 0 0);
76
- --muted: oklch(0.967 0.001 286.375);
77
- --muted-foreground: oklch(0.45 0.0236 285.938);
78
- --accent: oklch(0.967 0.001 286.375);
79
- --accent-foreground: oklch(0.3741 0.0774 245.65);
80
- --destructive: oklch(0.577 0.245 27.325);
81
- --border: oklch(0.92 0.004 286.32);
82
- --input: oklch(0.92 0.004 286.32);
83
- --ring: var(--color-complement-1-200);
84
- --chart-1: oklch(0.646 0.222 41.116);
85
- --chart-2: oklch(0.6 0.118 184.704);
86
- --chart-3: oklch(0.398 0.07 227.392);
87
- --chart-4: oklch(0.828 0.189 84.429);
88
- --chart-5: oklch(0.769 0.188 70.08);
89
- --sidebar: oklch(0.985 0 0);
90
- --sidebar-foreground: oklch(0.3741 0.0774 245.65);
91
- --sidebar-primary: oklch(0.3741 0.0774 245.65);
92
- --sidebar-primary-foreground: oklch(0.985 0 0);
93
- --sidebar-accent: oklch(0.967 0.001 286.375);
94
- --sidebar-accent-foreground: oklch(0.3741 0.0774 245.65);
95
- --sidebar-border: oklch(0.92 0.004 286.32);
96
- --sidebar-ring: var(--color-complement-1-200);
97
-
98
- /* Responsive Layout Spacing */
99
- --section-p: --spacing(4);
100
- --card-p: --spacing(4);
101
- --page-gap: --spacing(0);
102
- --card-gap: --spacing(4);
103
- --card-area-gap: --spacing(4);
104
- --card-item-group-gap: --spacing(2);
105
-
106
- @media (width >= 40rem) {
107
- --section-p: --spacing(8);
108
- --card-p: --spacing(6);
109
- --page-gap: --spacing(4);
110
- --card-gap: --spacing(6);
111
- --card-area-gap: --spacing(6);
112
- --card-item-group-gap: --spacing(2);
113
- }
114
-
115
- @media (width >= 80rem) {
116
- --section-p: --spacing(12);
117
- --card-p: --spacing(6);
118
- --page-gap: --spacing(0);
119
- --card-gap: --spacing(6);
120
- --card-area-gap: --spacing(6);
121
- --card-item-group-gap: --spacing(2);
122
- }
123
- }
124
-
125
- .dark {
126
- --background: oklch(0.141 0.005 285.823);
127
- --foreground: oklch(0.985 0 0);
128
- --card: oklch(0.141 0.005 285.823);
129
- --card-foreground: oklch(0.985 0 0);
130
- --popover: oklch(0.141 0.005 285.823);
131
- --popover-foreground: oklch(0.985 0 0);
132
- --primary: oklch(0.985 0 0);
133
- --primary-foreground: oklch(0.3741 0.0774 245.65);
134
- --secondary: oklch(0.9156 0.0315 200);
135
- --secondary-foreground: oklch(0 0 0);
136
- --muted: oklch(0.274 0.006 286.033);
137
- --muted-foreground: oklch(0.705 0.015 286.067);
138
- --accent: oklch(0.274 0.006 286.033);
139
- --accent-foreground: oklch(0.985 0 0);
140
- --destructive: oklch(0.704 0.191 22.216);
141
- --border: oklch(1 0 0 / 10%);
142
- --input: oklch(1 0 0 / 15%);
143
- --ring: var(--color-complement-1-600);
144
- --chart-1: oklch(0.488 0.243 264.376);
145
- --chart-2: oklch(0.696 0.17 162.48);
146
- --chart-3: oklch(0.769 0.188 70.08);
147
- --chart-4: oklch(0.627 0.265 303.9);
148
- --chart-5: oklch(0.645 0.246 16.439);
149
- --sidebar: oklch(0.3741 0.0774 245.65);
150
- --sidebar-foreground: oklch(0.985 0 0);
151
- --sidebar-primary: oklch(0.3741 0.0774 245.65);
152
- --sidebar-primary-foreground: oklch(0.985 0 0);
153
- --sidebar-accent: oklch(0.274 0.006 286.033);
154
- --sidebar-accent-foreground: oklch(0.985 0 0);
155
- --sidebar-border: oklch(1 0 0 / 10%);
156
- --sidebar-ring: var(--color-complement-1-600);
157
- }
158
-
159
- @layer base {
160
- * {
161
- @apply border-border outline-ring/50;
162
- }
163
- body {
164
- @apply bg-background text-foreground;
165
- }
166
- }
167
-
168
- @utility scrollbar-hidden {
169
- -ms-overflow-style: none;
170
- scrollbar-width: none;
171
- &::-webkit-scrollbar {
172
- display: none;
173
- }
174
- }
175
-
176
- /* prettier-ignore */
177
- @utility areas-* {
178
- grid-template-areas: --value([*]);
179
- grid-template-columns: --modifier([*]);
180
- }
181
-
182
- @utility stick-to-page {
183
- position: sticky;
184
- top: calc(var(--spacing-section) + var(--spacing-page-nav));
185
- height: fit-content;
186
- }
1
+ @custom-variant dark (&:is(.dark *));
2
+
3
+ @theme inline {
4
+ --radius-sm: calc(var(--radius) - 4px);
5
+ --radius-md: calc(var(--radius) - 2px);
6
+ --radius-lg: var(--radius);
7
+ --radius-xl: calc(var(--radius) + 4px);
8
+ --radius-container: var(--radius);
9
+ --color-background: var(--background);
10
+ --color-foreground: var(--foreground);
11
+ --color-card: var(--card);
12
+ --color-card-foreground: var(--card-foreground);
13
+ --color-popover: var(--popover);
14
+ --color-popover-foreground: var(--popover-foreground);
15
+ --color-primary: var(--primary);
16
+ --color-primary-foreground: var(--primary-foreground);
17
+ --color-secondary: var(--secondary);
18
+ --color-secondary-foreground: var(--secondary-foreground);
19
+ --color-muted: var(--muted);
20
+ --color-muted-foreground: var(--muted-foreground);
21
+ --color-accent: var(--accent);
22
+ --color-accent-foreground: var(--accent-foreground);
23
+ --color-destructive: var(--destructive);
24
+ --color-border: var(--border);
25
+ --color-input: var(--input);
26
+ --color-ring: var(--ring);
27
+ --color-chart-1: var(--chart-1);
28
+ --color-chart-2: var(--chart-2);
29
+ --color-chart-3: var(--chart-3);
30
+ --color-chart-4: var(--chart-4);
31
+ --color-chart-5: var(--chart-5);
32
+ --color-sidebar: var(--sidebar);
33
+ --color-sidebar-foreground: var(--sidebar-foreground);
34
+ --color-sidebar-primary: var(--sidebar-primary);
35
+ --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
36
+ --color-sidebar-accent: var(--sidebar-accent);
37
+ --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
38
+ --color-sidebar-border: var(--sidebar-border);
39
+ --color-sidebar-ring: var(--sidebar-ring);
40
+
41
+ --breakpoint-clamp: 100rem;
42
+
43
+ --container-clamp: 96rem;
44
+ --spacing-clamp: calc((100dvw - var(--container-clamp)) / 2);
45
+
46
+ --spacing-page-nav: --spacing(18);
47
+
48
+ --spacing-section: var(--section-p);
49
+ --spacing-section-sm: calc(var(--spacing-section) / 2);
50
+ --spacing-section-lg: calc(var(--spacing-section) * 2);
51
+ --spacing-section-xl: calc(var(--spacing-section) * 5);
52
+
53
+ --spacing-card: var(--card-p);
54
+ --spacing-card-sm: calc(var(--spacing-card) / 2);
55
+ --spacing-card-lg: calc(var(--spacing-card) * 2);
56
+ --spacing-card-xl: calc(var(--spacing-card) * 5);
57
+
58
+ --gap-page: var(--page-gap);
59
+ --gap-card: var(--card-gap);
60
+ --gap-card-area: var(--card-area-gap);
61
+ --gap-card-item-group: var(--card-item-group-gap);
62
+ }
63
+
64
+ :root {
65
+ --radius: 0.625rem;
66
+ --background: oklch(1 0 0);
67
+ --foreground: oklch(0.141 0.005 285.823);
68
+ --card: oklch(1 0 0);
69
+ --card-foreground: oklch(0.3741 0.0774 245.65);
70
+ --popover: oklch(1 0 0);
71
+ --popover-foreground: oklch(0.3741 0.0774 245.65);
72
+ --primary: oklch(0.3741 0.0774 245.65);
73
+ --primary-foreground: oklch(0.985 0 0);
74
+ --secondary: oklch(0.5393 0.0909 200);
75
+ --secondary-foreground: oklch(0.985 0 0);
76
+ --muted: oklch(0.967 0.001 286.375);
77
+ --muted-foreground: oklch(0.45 0.0236 285.938);
78
+ --accent: oklch(0.967 0.001 286.375);
79
+ --accent-foreground: oklch(0.3741 0.0774 245.65);
80
+ --destructive: oklch(0.577 0.245 27.325);
81
+ --border: oklch(0.92 0.004 286.32);
82
+ --input: oklch(0.92 0.004 286.32);
83
+ --ring: var(--color-complement-1-200);
84
+ --chart-1: oklch(0.646 0.222 41.116);
85
+ --chart-2: oklch(0.6 0.118 184.704);
86
+ --chart-3: oklch(0.398 0.07 227.392);
87
+ --chart-4: oklch(0.828 0.189 84.429);
88
+ --chart-5: oklch(0.769 0.188 70.08);
89
+ --sidebar: oklch(0.985 0 0);
90
+ --sidebar-foreground: oklch(0.3741 0.0774 245.65);
91
+ --sidebar-primary: oklch(0.3741 0.0774 245.65);
92
+ --sidebar-primary-foreground: oklch(0.985 0 0);
93
+ --sidebar-accent: oklch(0.967 0.001 286.375);
94
+ --sidebar-accent-foreground: oklch(0.3741 0.0774 245.65);
95
+ --sidebar-border: oklch(0.92 0.004 286.32);
96
+ --sidebar-ring: var(--color-complement-1-200);
97
+
98
+ /* Responsive Layout Spacing */
99
+ --section-p: --spacing(4);
100
+ --card-p: --spacing(4);
101
+ --page-gap: --spacing(0);
102
+ --card-gap: --spacing(4);
103
+ --card-area-gap: --spacing(4);
104
+ --card-item-group-gap: --spacing(2);
105
+
106
+ @media (width >= 40rem) {
107
+ --section-p: --spacing(8);
108
+ --card-p: --spacing(6);
109
+ --page-gap: --spacing(4);
110
+ --card-gap: --spacing(6);
111
+ --card-area-gap: --spacing(6);
112
+ --card-item-group-gap: --spacing(2);
113
+ }
114
+
115
+ @media (width >= 80rem) {
116
+ --section-p: --spacing(12);
117
+ --card-p: --spacing(6);
118
+ --page-gap: --spacing(0);
119
+ --card-gap: --spacing(6);
120
+ --card-area-gap: --spacing(6);
121
+ --card-item-group-gap: --spacing(2);
122
+ }
123
+ }
124
+
125
+ .dark {
126
+ --background: oklch(0.141 0.005 285.823);
127
+ --foreground: oklch(0.985 0 0);
128
+ --card: oklch(0.141 0.005 285.823);
129
+ --card-foreground: oklch(0.985 0 0);
130
+ --popover: oklch(0.141 0.005 285.823);
131
+ --popover-foreground: oklch(0.985 0 0);
132
+ --primary: oklch(0.985 0 0);
133
+ --primary-foreground: oklch(0.3741 0.0774 245.65);
134
+ --secondary: oklch(0.9156 0.0315 200);
135
+ --secondary-foreground: oklch(0 0 0);
136
+ --muted: oklch(0.274 0.006 286.033);
137
+ --muted-foreground: oklch(0.705 0.015 286.067);
138
+ --accent: oklch(0.274 0.006 286.033);
139
+ --accent-foreground: oklch(0.985 0 0);
140
+ --destructive: oklch(0.704 0.191 22.216);
141
+ --border: oklch(1 0 0 / 10%);
142
+ --input: oklch(1 0 0 / 15%);
143
+ --ring: var(--color-complement-1-600);
144
+ --chart-1: oklch(0.488 0.243 264.376);
145
+ --chart-2: oklch(0.696 0.17 162.48);
146
+ --chart-3: oklch(0.769 0.188 70.08);
147
+ --chart-4: oklch(0.627 0.265 303.9);
148
+ --chart-5: oklch(0.645 0.246 16.439);
149
+ --sidebar: oklch(0.3741 0.0774 245.65);
150
+ --sidebar-foreground: oklch(0.985 0 0);
151
+ --sidebar-primary: oklch(0.3741 0.0774 245.65);
152
+ --sidebar-primary-foreground: oklch(0.985 0 0);
153
+ --sidebar-accent: oklch(0.274 0.006 286.033);
154
+ --sidebar-accent-foreground: oklch(0.985 0 0);
155
+ --sidebar-border: oklch(1 0 0 / 10%);
156
+ --sidebar-ring: var(--color-complement-1-600);
157
+ }
158
+
159
+ @layer base {
160
+ * {
161
+ @apply border-border outline-ring/50;
162
+ }
163
+ body {
164
+ @apply bg-background text-foreground;
165
+ }
166
+ }
167
+
168
+ @utility scrollbar-hidden {
169
+ -ms-overflow-style: none;
170
+ scrollbar-width: none;
171
+ &::-webkit-scrollbar {
172
+ display: none;
173
+ }
174
+ }
175
+
176
+ /* prettier-ignore */
177
+ @utility areas-* {
178
+ grid-template-areas: --value([*]);
179
+ grid-template-columns: --modifier([*]);
180
+ }
181
+
182
+ @utility stick-to-page {
183
+ position: sticky;
184
+ top: calc(var(--spacing-section) + var(--spacing-page-nav));
185
+ height: fit-content;
186
+ }
@@ -350,7 +350,7 @@
350
350
  }
351
351
  }
352
352
  & th {
353
- @apply bg-background text-foreground align-bottom font-sans-accent font-semibold border-b;
353
+ @apply bg-background text-foreground align-bottom font-sans-accent font-semibold;
354
354
  }
355
355
  }
356
356