@sikka/hawa 0.0.276 → 0.0.278

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sikka/hawa",
3
- "version": "0.0.276",
3
+ "version": "0.0.278",
4
4
  "description": "SaaS Oriented UI Kit",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.es.js",
@@ -69,7 +69,7 @@
69
69
  "react-dom": "^18.2.0",
70
70
  "react-hook-form": "^7.28.0",
71
71
  "react-phone-input-2": "^2.15.1",
72
- "react-select": "^5.3.2",
72
+ "react-select": "^5.7.4",
73
73
  "react-transition-group": "^4.4.2",
74
74
  "rollup": "^2.38.4",
75
75
  "rollup-plugin-cleaner": "^1.0.0",
@@ -20,7 +20,6 @@ export const UserProfileForm: FC<UserProfileFormTypes> = (props) => {
20
20
 
21
21
  return (
22
22
  <HawaContainer>
23
- {" "}
24
23
  <FormProvider {...methods}>
25
24
  <form onSubmit={handleSubmit((e) => props.handleUpdateProfile(e))}>
26
25
  <Controller
@@ -1,4 +1,5 @@
1
1
  import React, { FC } from "react"
2
+ import { HawaContainer } from "../../layout"
2
3
 
3
4
  type UserSettingsFormTypes = {
4
5
  children: any
@@ -9,7 +10,7 @@ type UserSettingsFormTypes = {
9
10
 
10
11
  export const UserSettingsForm: FC<UserSettingsFormTypes> = (props) => {
11
12
  return (
12
- <div>
13
+ <HawaContainer>
13
14
  <div className="mb-2 text-sm font-bold">{props.blockTitle}</div>
14
15
  <div className="flex flex-col gap-4 rounded bg-white p-2">
15
16
  {props.children}
@@ -23,6 +24,6 @@ export const UserSettingsForm: FC<UserSettingsFormTypes> = (props) => {
23
24
  >
24
25
  {props.saveSettingsText}
25
26
  </HawaButton> */}
26
- </div>
27
+ </HawaContainer>
27
28
  )
28
29
  }
@@ -33,11 +33,11 @@ export const CodeConfirmation: FC<TConfirmation> = (props) => {
33
33
  severity="error"
34
34
  />
35
35
  )}
36
- <div className="mb-4">
36
+ <div className="mb-4 dark:text-white">
37
37
  <div className="text-lg font-bold">
38
38
  {props.texts.checkYourPhone ?? "Please check your phone"}
39
39
  </div>
40
- <div className="text-gray-500">
40
+ <div className="text-muted-foreground">
41
41
  <span>{props.texts.weSentCode ?? "We've sent a code to "}</span>
42
42
  <span>{props.phoneNumber}</span>
43
43
  </div>{" "}
@@ -51,7 +51,7 @@ export const CodeConfirmation: FC<TConfirmation> = (props) => {
51
51
  }}
52
52
  >
53
53
  <HawaPinInput width="full" digits={6} getPins={(e) => setPins(e)} />
54
- <div className=" py-2 text-center text-xs">
54
+ <div className=" py-2 text-center text-xs text-muted-foreground">
55
55
  <span>{props.texts.didntGetCode ?? "Didn't get the code?"}</span>{" "}
56
56
  <span className="cursor-pointer text-buttonPrimary-500">
57
57
  {props.texts.resendCode ?? "Click to resend"}
@@ -287,7 +287,7 @@ export const SignUpForm: FC<SignUpFormTypes> = (props) => {
287
287
  </HawaButton>
288
288
  </form>
289
289
  </FormProvider>
290
- <div className="flex flex-row items-center justify-center gap-1 p-3 text-center text-sm font-semibold">
290
+ <div className="flex flex-row items-center justify-center gap-1 p-3 text-center text-sm font-semibold dark:text-white">
291
291
  <span>{props.texts.existingUserText}</span>
292
292
  <span
293
293
  onClick={props.handleRouteToSignIn}
@@ -60,7 +60,7 @@ export const CheckoutForm: FC<CheckoutFormTypes> = (props) => {
60
60
  return (
61
61
  <HawaContainer>
62
62
  <div>
63
- <div className="mb-2 text-center text-xl font-semibold">
63
+ <div className="mb-2 text-center text-xl font-semibold dark:text-white">
64
64
  {props.texts.orderDetails}
65
65
  </div>
66
66
  <div className="rounded border border-gray-300">
@@ -79,7 +79,7 @@ export const CheckoutForm: FC<CheckoutFormTypes> = (props) => {
79
79
  </div>
80
80
  </div>
81
81
  <div>
82
- <div className="my-2 text-center text-xl font-semibold">
82
+ <div className="my-2 text-center text-xl font-semibold dark:text-white">
83
83
  {props.texts.billingAddress}
84
84
  </div>
85
85
 
@@ -10,8 +10,6 @@ type ConfirmationPageTypes = {
10
10
  successMessage: string
11
11
  orderDetails: string
12
12
  fasterPaymentNote: string
13
- billingAddress: string
14
- payNow: string
15
13
  yourOrderNumber: string
16
14
  emailLabel: string
17
15
  emailRequiredText: string
@@ -46,10 +44,10 @@ export const ConfirmationPage: FC<ConfirmationPageTypes> = (props) => {
46
44
  return (
47
45
  <HawaContainer>
48
46
  {" "}
49
- <div className="py-5 text-center text-3xl font-bold">
47
+ <div className="py-5 text-center text-3xl font-bold dark:text-white">
50
48
  {props.confirmationTitle}
51
49
  </div>
52
- <div className="py-5">
50
+ <div className="py-5 dark:text-white">
53
51
  <div className="mb-2 text-center">
54
52
  {props.texts.successMessage} <strong>{props.userEmail}</strong>
55
53
  </div>
@@ -81,11 +79,11 @@ export const ConfirmationPage: FC<ConfirmationPageTypes> = (props) => {
81
79
  <HawaButton color="primary" width="full" onClick={props.handleHome}>
82
80
  {props.texts.homePage}
83
81
  </HawaButton>
84
- <div className="mb-5 mt-5 text-center text-sm">
82
+ <div className="mb-5 mt-5 text-center text-sm dark:text-white">
85
83
  {props.texts.fasterPaymentNote}
86
84
  </div>
87
85
  <a
88
- className="w-fit cursor-pointer text-center text-xs font-normal"
86
+ className="w-fit cursor-pointer text-center text-xs font-normal dark:text-white"
89
87
  onClick={props.handleRefundPolicyLink}
90
88
  >
91
89
  {props.texts.refundPolicy}
@@ -71,7 +71,7 @@ const colorStyles = {
71
71
  dark: "text-neutral-900 bg-gray-200 hover:bg-gray-300",
72
72
  },
73
73
  outlined: {
74
- default: "text-gray-600 border-gray-600 hover:bg-gray-200 dark:text-white",
74
+ default: "text-gray-600 border-gray-600 hover:bg-gray-200 dark:hover:bg-gray-800 dark:text-white",
75
75
  primary: "text-black hover:bg-gray-50 dark:text-white",
76
76
  secondary:
77
77
  " dark:text-white text-secondary-800 border-secondary-800 hover:bg-buttonSecondary-700 hover:text-white",
@@ -147,7 +147,7 @@ export const HawaLogoButton: FC<LogoButtonTypes> = (props) => {
147
147
  <button
148
148
  style={{ direction: isArabic ? "rtl" : "ltr" }}
149
149
  onClick={props.onClick}
150
- className="my-2 flex h-11 w-full flex-row justify-center rounded bg-white align-middle transition-all hover:ring-1 hover:ring-buttonPrimary-500 hover:brightness-90"
150
+ className="my-2 border flex h-11 w-full flex-row justify-center rounded bg-white align-middle transition-all hover:ring-1 hover:ring-buttonPrimary-500 hover:brightness-90"
151
151
  >
152
152
  <div className="flex h-full flex-row items-center justify-end">
153
153
  {logoElement}
@@ -1,7 +1,35 @@
1
1
  import React, { useState, FC } from "react"
2
2
  import Countries from "../countries"
3
3
  import Select from "react-select"
4
-
4
+ type MenuTypes = {
5
+ cx: any
6
+ children: any
7
+ getStyles: any
8
+ innerProps: any
9
+ innerRef: any
10
+ }
11
+ const Menu: FC<MenuTypes> = ({
12
+ cx,
13
+ children,
14
+ getStyles,
15
+ innerProps,
16
+ innerRef,
17
+ ...props
18
+ }) => {
19
+ return (
20
+ <div
21
+ // width: 190,
22
+ // borderRadius: "0.5rem",
23
+ className="absolute z-50 w-[190px] rounded border bg-background"
24
+ // "absolute z-10 mt-2 flex w-full flex-col justify-start rounded bg-white p-1 px-1.5 ring-1 ring-blue-200"
25
+ ref={innerRef}
26
+ {...innerProps}
27
+ // {...props}
28
+ >
29
+ {children}
30
+ </div>
31
+ )
32
+ }
5
33
  type OptionTypes = {
6
34
  cx: any
7
35
  data: any
@@ -20,7 +48,7 @@ const Option: FC<OptionTypes> = ({
20
48
  }) => (
21
49
  <div
22
50
  ref={innerRef}
23
- className="m-2 flex flex-row items-center justify-between rounded p-1 px-2 hover:bg-blue-200"
51
+ className="m-2 flex cursor-pointer flex-row items-center justify-between rounded-inner p-1 px-2 hover:bg-buttonPrimary-500/30 dark:text-white dark:hover:bg-buttonPrimary-500/60"
24
52
  {...innerProps}
25
53
  >
26
54
  <div className="flex flex-row items-center justify-center gap-1">
@@ -45,45 +73,69 @@ export const HawaPhoneInput: FC<HawaPhoneInputTypes> = (props) => {
45
73
  return (
46
74
  <div className="mb-3 flex flex-col">
47
75
  {props.label && (
48
- <label className="mb-2 block text-sm font-medium text-gray-900 dark:text-gray-300">
76
+ <label className="mb-2 block text-sm font-medium text-gray-900 dark:text-white">
49
77
  {props.label}
50
78
  </label>
51
79
  )}
52
- <div dir="ltr" className="flex flex-row">
80
+ <div dir="ltr" className="flex flex-row ">
53
81
  <Select
82
+ classNames={{
83
+ control: () => "w-[64px] border rounded-l bg-background text-right pr-2",
84
+ placeholder: (state) => "text-muted-foreground text-right pr-2",
85
+ input: (state) =>
86
+ "bg-transparent text-white p-2 rounded-l text-[0.875rem]",
87
+ valueContainer: () => " rounded-l h-auto text-[0.875rem]",
88
+ // container: () => "bg-orange-400 border-none",
89
+ // control: () => "bg-blue-500",
90
+ // menu: () => "bg-red-900",
91
+ }}
54
92
  styles={{
55
- input: (base) => ({
56
- ...base,
57
- fontSize: "0.875rem",
58
- "input:focus": {
59
- boxShadow: "none",
60
- },
61
- lineHeight: "1.25rem",
62
- padding: "0.37rem",
63
- paddingLeft: 0,
64
- }),
65
- singleValue: (base) => ({
93
+ // input: (base) => ({
94
+ // ...base,
95
+ // fontSize: "0.875rem",
96
+ // "input:focus": {
97
+ // boxShadow: "none",
98
+ // },
99
+ // lineHeight: "1.25rem",
100
+ // padding: "0.37rem",
101
+ // paddingLeft: 0,
102
+ // textAlign: "right",
103
+ // direction: "ltr",
104
+ // }),
105
+ // singleValue: (base) => ({
106
+ // ...base,
107
+ // fontSize: "0.875rem",
108
+ // // textAlign: "right",
109
+ // }),
110
+ placeholder: (base) => ({
66
111
  ...base,
67
112
  fontSize: "0.875rem",
68
113
  textAlign: "right",
69
114
  }),
70
- control: (base) => ({
71
- ...base,
72
- width: 64,
73
- borderRadius: "0.5rem",
74
- borderTopRightRadius: 0,
75
- borderBottomRightRadius: 0,
76
- }),
77
- menu: (base) => ({
78
- ...base,
79
- width: 190,
80
- borderRadius: "0.5rem",
81
- }),
115
+ // control: (base) => ({
116
+ // ...base,
117
+ // width: 64,
118
+ // borderRadius: "0.5rem",
119
+ // borderTopRightRadius: 0,
120
+ // borderBottomRightRadius: 0,
121
+ // }),
122
+ // menu: (base) => ({
123
+ // ...base,
124
+ // width: 190,
125
+ // borderRadius: "0.5rem",
126
+ // }),
82
127
  }}
83
128
  components={{
84
129
  Option,
130
+ Menu,
131
+ // SelectContainer,
85
132
  DropdownIndicator: () => null,
86
133
  IndicatorSeparator: () => null,
134
+ // Placeholder: () => <div className="bg-red-400">test</div>,
135
+ // SelectContainer:
136
+ // () =>
137
+ // ({ innerProps, innerRef }) =>
138
+ // <div ref={innerRef} {...innerProps} />,
87
139
  }}
88
140
  // className="bg-red-500"
89
141
 
@@ -92,6 +144,7 @@ export const HawaPhoneInput: FC<HawaPhoneInputTypes> = (props) => {
92
144
  isSearchable={true}
93
145
  isClearable={false}
94
146
  placeholder="+966"
147
+ unstyled
95
148
  defaultValue={props.preferredCountry}
96
149
  value={selectedCountry}
97
150
  onChange={(newValue, action) => setSelectedCountry(newValue)}
@@ -100,7 +153,10 @@ export const HawaPhoneInput: FC<HawaPhoneInputTypes> = (props) => {
100
153
  onChange={props.handleChange}
101
154
  type="number"
102
155
  placeholder="531045453"
103
- className="block w-full appearance-none rounded rounded-l-none border border-l-0 border-gray-300 bg-gray-50 p-2.5 text-[0.875rem] text-gray-900 focus:border-blue-500 focus:ring-blue-500 dark:border-gray-600 dark:bg-gray-700 dark:text-white dark:placeholder-gray-400 dark:focus:border-blue-500 dark:focus:ring-blue-500"
156
+ // text-gray-900 dark:text-gray-300
157
+ // dark:border-gray-600 dark:bg-gray-700 dark:text-white dark:placeholder-gray-400 dark:focus:border-blue-500 dark:focus:ring-blue-500
158
+ className="block w-full appearance-none rounded rounded-l-none border border-l-0
159
+ bg-background p-2 text-[0.875rem] text-gray-900 focus:border-blue-500 focus:ring-blue-500 dark:text-white "
104
160
  />
105
161
  {props.helperText && (
106
162
  <p className="mb-1 mt-1 text-xs text-red-600 dark:text-red-500">
@@ -64,7 +64,7 @@ export const HawaPinInput: FC<PinInputTypes> = ({
64
64
  id={`input-${index}`}
65
65
  pattern="[0-9]*"
66
66
  className={clsx(
67
- "h-10 rounded bg-white text-center",
67
+ "h-10 rounded border bg-background text-center",
68
68
  width === "full" ? "w-full" : "w-10"
69
69
  )}
70
70
  onChange={(e) => handleChange(e, index)}
@@ -31,7 +31,7 @@ const Control: FC<ControlTypes> = ({
31
31
  ref={innerRef}
32
32
  className={clsx(
33
33
  sizeStyles[size],
34
- "flex w-full rounded border border-gray-300 bg-gray-50 text-gray-900 focus:border-blue-500 focus:ring-blue-500 dark:border-gray-600 dark:bg-gray-700 dark:text-white dark:placeholder-gray-400 dark:focus:border-blue-500 dark:focus:ring-blue-500"
34
+ "flex w-full rounded border bg-background text-gray-900 focus:border-blue-500 focus:ring-blue-500 dark:focus:ring-blue-500"
35
35
  )}
36
36
  {...innerProps}
37
37
  // {...props}
@@ -58,7 +58,7 @@ const Menu: FC<MenuTypes> = ({
58
58
  }) => {
59
59
  return (
60
60
  <div
61
- className="absolute z-10 mt-2 flex w-full flex-col justify-start rounded bg-white p-1 px-1.5 ring-1 ring-blue-200"
61
+ className="absolute z-10 mt-2 flex w-full flex-col justify-start rounded border bg-background p-1 px-1.5"
62
62
  ref={innerRef}
63
63
  {...innerProps}
64
64
  // {...props}
@@ -87,7 +87,7 @@ const Option: FC<OptionTypes> = ({
87
87
  }) => (
88
88
  <div
89
89
  ref={innerRef}
90
- className="flex flex-row items-center justify-between rounded p-1 px-2 hover:bg-buttonPrimary-500 hover:text-white"
90
+ className="flex flex-row items-center justify-between rounded-inner p-1 px-2 hover:bg-buttonPrimary-500/50 hover:text-white"
91
91
  {...innerProps}
92
92
  >
93
93
  {children}
@@ -116,7 +116,7 @@ type SelectTypes = {
116
116
  }
117
117
  export const HawaSelect: FC<SelectTypes> = (props) => {
118
118
  return (
119
- <div>
119
+ <div className=" w-96">
120
120
  {props.label && (
121
121
  <div className="mb-2 block text-sm font-medium text-gray-900 dark:text-gray-300">
122
122
  {props.label}
@@ -124,6 +124,15 @@ export const HawaSelect: FC<SelectTypes> = (props) => {
124
124
  )}
125
125
  {!props.isCreatable && (
126
126
  <Select
127
+ classNames={{
128
+ // control: () => "text-white",
129
+ placeholder: (state) => "px-2 text-muted-foreground",
130
+ input: (state) => "text-white px-2",
131
+ valueContainer: () => "text-white dark:text-muted-foreground",
132
+ singleValue: () => "text-black dark:text-white px-2",
133
+ indicatorsContainer: () => " px-2 cursor-pointer text-muted-foreground",
134
+ }}
135
+ unstyled
127
136
  isDisabled={props.disabled}
128
137
  options={props.options}
129
138
  isClearable={props.isClearable}
@@ -52,7 +52,7 @@ export const HawaTextField: FC<TextFieldTypes> = ({
52
52
 
53
53
  let defaultStyle = "flex max-h-fit flex-col justify-center"
54
54
  let defaultInputStyle =
55
- "block w-full rounded outline outline-1 outline-gray-300 bg-white p-2 text-sm text-gray-900 focus:border-blue-500 focus:ring-blue-500 dark:border-gray-600 dark:bg-gray-700 dark:text-white dark:placeholder-gray-400 dark:focus:border-blue-500 dark:focus:ring-blue-500"
55
+ "block w-full rounded border bg-background p-2 text-sm text-gray-900 focus:border-blue-500 focus:ring-blue-500"
56
56
  let previewInputStyle =
57
57
  "block w-full rounded bg-gray-50 p-2 text-sm text-gray-900 focus:border-blue-500 focus:ring-blue-500 dark:border-gray-600 dark:bg-gray-700 dark:text-white dark:placeholder-gray-400 dark:focus:border-blue-500 dark:focus:ring-blue-500"
58
58
  // "mb-0 block w-full rounded border border-gray-300 bg-gray-50 p-2 text-gray-900 focus:border-blue-500 focus:ring-blue-500 dark:border-gray-600 dark:bg-gray-700 dark:text-white dark:placeholder-gray-400 dark:focus:border-blue-500 dark:focus:ring-blue-500",
@@ -22,8 +22,8 @@ export const HawaContainer: React.FunctionComponent<ContainerTypes> = ({
22
22
  normal: "max-w-sm md:max-w-md",
23
23
  }
24
24
  let variantStyles = {
25
- contained: "bg-layoutPrimary-500 dark:bg-layoutPrimary-dark",
26
- outlined: "bg-transparent border-2 border-black w-fit",
25
+ contained: "bg-background border",
26
+ outlined: "bg-transparent border border-black w-fit",
27
27
  neobrutalism: "shadow-neobrutalism border-4 border-black bg-white",
28
28
  }
29
29
 
package/src/styles.css CHANGED
@@ -388,6 +388,7 @@ video {
388
388
  :root {
389
389
  --background: 0 0% 100%;
390
390
  --foreground: 240 10% 3.9%;
391
+ --border: 240 5.9% 90%;
391
392
 
392
393
  --layout-primary-700: #b7aff7;
393
394
  /* --layout-primary-500: #dfdcfc; */
@@ -397,9 +398,9 @@ video {
397
398
 
398
399
  --layout-secondary: #d2cdfa;
399
400
 
400
- --button-primary-300: #6555e3;
401
- --button-primary-500: #4c37eb;
402
- --button-primary-700: #2e1dac;
401
+ --button-primary-300: 247 72% 61%;
402
+ --button-primary-500: 247 82% 57%;
403
+ --button-primary-700: 247 71% 39%;
403
404
 
404
405
  --button-secondary-500: #ffc011;
405
406
  --button-secondary-700: #b48d24;
@@ -528,6 +529,14 @@ video {
528
529
  display: block;
529
530
  background: var(--button-primary-500);
530
531
  }
532
+ * {
533
+ border-color: hsl(var(--border));
534
+ }
535
+ body {
536
+ background-color: hsl(var(--background));
537
+ color: hsl(var(--foreground));
538
+ font-feature-settings: "rlig" 1, "calt" 1;
539
+ }
531
540
 
532
541
  *, ::before, ::after {
533
542
  --tw-border-spacing-x: 0;
@@ -1204,9 +1213,15 @@ video {
1204
1213
  .w-9 {
1205
1214
  width: 2.25rem;
1206
1215
  }
1216
+ .w-96 {
1217
+ width: 24rem;
1218
+ }
1207
1219
  .w-\[12px\] {
1208
1220
  width: 12px;
1209
1221
  }
1222
+ .w-\[190px\] {
1223
+ width: 190px;
1224
+ }
1210
1225
  .w-\[25px\] {
1211
1226
  width: 25px;
1212
1227
  }
@@ -1216,6 +1231,9 @@ video {
1216
1231
  .w-\[400px\] {
1217
1232
  width: 400px;
1218
1233
  }
1234
+ .w-\[64px\] {
1235
+ width: 64px;
1236
+ }
1219
1237
  .w-\[calc\(1\%\)\] {
1220
1238
  width: calc(1%);
1221
1239
  }
@@ -1738,10 +1756,10 @@ video {
1738
1756
  border-color: rgb(37 99 235 / var(--tw-border-opacity));
1739
1757
  }
1740
1758
  .border-buttonPrimary-500 {
1741
- border-color: var(--button-primary-500);
1759
+ border-color: hsl(var(--button-primary-500));
1742
1760
  }
1743
1761
  .border-buttonPrimary-700 {
1744
- border-color: var(--button-primary-700);
1762
+ border-color: hsl(var(--button-primary-700));
1745
1763
  }
1746
1764
  .border-gray-100 {
1747
1765
  --tw-border-opacity: 1;
@@ -1783,7 +1801,10 @@ video {
1783
1801
  border-color: rgb(253 224 71 / var(--tw-border-opacity));
1784
1802
  }
1785
1803
  .border-b-buttonPrimary-500 {
1786
- border-bottom-color: var(--button-primary-500);
1804
+ border-bottom-color: hsl(var(--button-primary-500));
1805
+ }
1806
+ .bg-background {
1807
+ background-color: hsl(var(--background));
1787
1808
  }
1788
1809
  .bg-black {
1789
1810
  --tw-bg-opacity: 1;
@@ -1810,10 +1831,10 @@ video {
1810
1831
  background-color: rgb(59 130 246 / var(--tw-bg-opacity));
1811
1832
  }
1812
1833
  .bg-buttonPrimary-300 {
1813
- background-color: var(--button-primary-300);
1834
+ background-color: hsl(var(--button-primary-300));
1814
1835
  }
1815
1836
  .bg-buttonPrimary-500 {
1816
- background-color: var(--button-primary-500);
1837
+ background-color: hsl(var(--button-primary-500));
1817
1838
  }
1818
1839
  .bg-buttonSecondary-500 {
1819
1840
  background-color: var(--button-secondary-500);
@@ -1882,6 +1903,10 @@ video {
1882
1903
  .bg-layoutPrimary-600 {
1883
1904
  background-color: var(--layout-primary-600);
1884
1905
  }
1906
+ .bg-orange-400 {
1907
+ --tw-bg-opacity: 1;
1908
+ background-color: rgb(251 146 60 / var(--tw-bg-opacity));
1909
+ }
1885
1910
  .bg-red-100 {
1886
1911
  --tw-bg-opacity: 1;
1887
1912
  background-color: rgb(254 226 226 / var(--tw-bg-opacity));
@@ -1906,6 +1931,10 @@ video {
1906
1931
  --tw-bg-opacity: 1;
1907
1932
  background-color: rgb(185 28 28 / var(--tw-bg-opacity));
1908
1933
  }
1934
+ .bg-red-900 {
1935
+ --tw-bg-opacity: 1;
1936
+ background-color: rgb(127 29 29 / var(--tw-bg-opacity));
1937
+ }
1909
1938
  .bg-slate-600 {
1910
1939
  --tw-bg-opacity: 1;
1911
1940
  background-color: rgb(71 85 105 / var(--tw-bg-opacity));
@@ -1943,7 +1972,7 @@ video {
1943
1972
  background-image: none;
1944
1973
  }
1945
1974
  .fill-buttonPrimary-500 {
1946
- fill: var(--button-primary-500);
1975
+ fill: hsl(var(--button-primary-500));
1947
1976
  }
1948
1977
  .fill-gray-200 {
1949
1978
  fill: #e5e7eb;
@@ -2256,7 +2285,7 @@ video {
2256
2285
  color: rgb(30 64 175 / var(--tw-text-opacity));
2257
2286
  }
2258
2287
  .text-buttonPrimary-500 {
2259
- color: var(--button-primary-500);
2288
+ color: hsl(var(--button-primary-500));
2260
2289
  }
2261
2290
  .text-card-foreground {
2262
2291
  color: hsl(var(--card-foreground));
@@ -2436,7 +2465,7 @@ video {
2436
2465
  --tw-ring-color: rgb(191 219 254 / var(--tw-ring-opacity));
2437
2466
  }
2438
2467
  .ring-buttonPrimary-500 {
2439
- --tw-ring-color: var(--button-primary-500);
2468
+ --tw-ring-color: hsl(var(--button-primary-500));
2440
2469
  }
2441
2470
  .ring-offset-1 {
2442
2471
  --tw-ring-offset-width: 1px;
@@ -2639,10 +2668,6 @@ body {
2639
2668
  .hover\:cursor-pointer:hover {
2640
2669
  cursor: pointer;
2641
2670
  }
2642
- .hover\:bg-blue-200:hover {
2643
- --tw-bg-opacity: 1;
2644
- background-color: rgb(191 219 254 / var(--tw-bg-opacity));
2645
- }
2646
2671
  .hover\:bg-blue-300:hover {
2647
2672
  --tw-bg-opacity: 1;
2648
2673
  background-color: rgb(147 197 253 / var(--tw-bg-opacity));
@@ -2652,10 +2677,16 @@ body {
2652
2677
  background-color: rgb(59 130 246 / var(--tw-bg-opacity));
2653
2678
  }
2654
2679
  .hover\:bg-buttonPrimary-500:hover {
2655
- background-color: var(--button-primary-500);
2680
+ background-color: hsl(var(--button-primary-500));
2681
+ }
2682
+ .hover\:bg-buttonPrimary-500\/30:hover {
2683
+ background-color: hsl(var(--button-primary-500) / 0.3);
2684
+ }
2685
+ .hover\:bg-buttonPrimary-500\/50:hover {
2686
+ background-color: hsl(var(--button-primary-500) / 0.5);
2656
2687
  }
2657
2688
  .hover\:bg-buttonPrimary-700:hover {
2658
- background-color: var(--button-primary-700);
2689
+ background-color: hsl(var(--button-primary-700));
2659
2690
  }
2660
2691
  .hover\:bg-buttonSecondary-700:hover {
2661
2692
  background-color: var(--button-secondary-700);
@@ -2717,7 +2748,7 @@ body {
2717
2748
  color: rgb(37 99 235 / var(--tw-text-opacity));
2718
2749
  }
2719
2750
  .hover\:text-buttonPrimary-500:hover {
2720
- color: var(--button-primary-500);
2751
+ color: hsl(var(--button-primary-500));
2721
2752
  }
2722
2753
  .hover\:text-gray-400:hover {
2723
2754
  --tw-text-opacity: 1;
@@ -2756,7 +2787,7 @@ body {
2756
2787
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
2757
2788
  }
2758
2789
  .hover\:ring-buttonPrimary-500:hover {
2759
- --tw-ring-color: var(--button-primary-500);
2790
+ --tw-ring-color: hsl(var(--button-primary-500));
2760
2791
  }
2761
2792
  .hover\:brightness-90:hover {
2762
2793
  --tw-brightness: brightness(.9);
@@ -2824,7 +2855,7 @@ body {
2824
2855
  border-color: rgb(37 99 235 / var(--tw-border-opacity));
2825
2856
  }
2826
2857
  .peer:checked ~ .peer-checked\:bg-buttonPrimary-500 {
2827
- background-color: var(--button-primary-500);
2858
+ background-color: hsl(var(--button-primary-500));
2828
2859
  }
2829
2860
  .peer:checked ~ .peer-checked\:text-blue-600 {
2830
2861
  --tw-text-opacity: 1;
@@ -3034,10 +3065,6 @@ body {
3034
3065
  --tw-bg-opacity: 1;
3035
3066
  background-color: rgb(187 247 208 / var(--tw-bg-opacity));
3036
3067
  }
3037
- :is(.dark .dark\:bg-layoutPrimary-dark) {
3038
- --tw-bg-opacity: 1;
3039
- background-color: rgb(37 27 115 / var(--tw-bg-opacity));
3040
- }
3041
3068
  :is(.dark .dark\:bg-red-200) {
3042
3069
  --tw-bg-opacity: 1;
3043
3070
  background-color: rgb(254 202 202 / var(--tw-bg-opacity));
@@ -3086,6 +3113,9 @@ body {
3086
3113
  --tw-text-opacity: 1;
3087
3114
  color: rgb(22 101 52 / var(--tw-text-opacity));
3088
3115
  }
3116
+ :is(.dark .dark\:text-muted-foreground) {
3117
+ color: hsl(var(--muted-foreground));
3118
+ }
3089
3119
  :is(.dark .dark\:text-red-500) {
3090
3120
  --tw-text-opacity: 1;
3091
3121
  color: rgb(239 68 68 / var(--tw-text-opacity));
@@ -3118,8 +3148,11 @@ body {
3118
3148
  --tw-border-opacity: 1;
3119
3149
  border-color: rgb(55 65 81 / var(--tw-border-opacity));
3120
3150
  }
3151
+ :is(.dark .dark\:hover\:bg-buttonPrimary-500\/60:hover) {
3152
+ background-color: hsl(var(--button-primary-500) / 0.6);
3153
+ }
3121
3154
  :is(.dark .dark\:hover\:bg-buttonPrimary-700:hover) {
3122
- background-color: var(--button-primary-700);
3155
+ background-color: hsl(var(--button-primary-700));
3123
3156
  }
3124
3157
  :is(.dark .dark\:hover\:bg-gray-500:hover) {
3125
3158
  --tw-bg-opacity: 1;
@@ -3169,7 +3202,7 @@ body {
3169
3202
  --tw-ring-color: rgb(37 99 235 / var(--tw-ring-opacity));
3170
3203
  }
3171
3204
  :is(.dark .dark\:focus\:ring-buttonPrimary-500:focus) {
3172
- --tw-ring-color: var(--button-primary-500);
3205
+ --tw-ring-color: hsl(var(--button-primary-500));
3173
3206
  }
3174
3207
  :is(.dark .dark\:focus\:ring-gray-600:focus) {
3175
3208
  --tw-ring-opacity: 1;
@@ -3188,7 +3221,7 @@ body {
3188
3221
  color: rgb(59 130 246 / var(--tw-text-opacity));
3189
3222
  }
3190
3223
  :is(.dark .peer:focus ~ .dark\:peer-focus\:ring-buttonPrimary-700) {
3191
- --tw-ring-color: var(--button-primary-700);
3224
+ --tw-ring-color: hsl(var(--button-primary-700));
3192
3225
  }
3193
3226
  @media (min-width: 440px) {
3194
3227