@sikka/hawa 0.0.170 → 0.0.172

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.
Files changed (52) hide show
  1. package/dist/styles.css +10 -14
  2. package/es/blocks/Misc/Testimonial.d.ts +6 -0
  3. package/es/blocks/Misc/index.d.ts +1 -0
  4. package/es/blocks/index.d.ts +1 -0
  5. package/es/index.es.js +1 -1
  6. package/lib/blocks/Misc/Testimonial.d.ts +6 -0
  7. package/lib/blocks/Misc/index.d.ts +1 -0
  8. package/lib/blocks/index.d.ts +1 -0
  9. package/lib/index.js +1 -1
  10. package/package.json +1 -1
  11. package/src/blocks/Misc/Newsletter.tsx +1 -1
  12. package/src/blocks/Misc/Testimonial.tsx +52 -0
  13. package/src/blocks/Misc/index.ts +2 -0
  14. package/src/blocks/Pricing/ComparingPlans.tsx +5 -5
  15. package/src/blocks/Pricing/PricingPlans.tsx +2 -2
  16. package/src/blocks/Referral/ReferralAccount.tsx +4 -3
  17. package/src/blocks/Referral/ReferralSettlement.tsx +2 -2
  18. package/src/blocks/Referral/ReferralStats.tsx +3 -3
  19. package/src/blocks/index.ts +1 -0
  20. package/src/elements/DragDropImages.tsx +3 -3
  21. package/src/elements/DraggableCard.tsx +2 -2
  22. package/src/elements/HawaAccordian.tsx +2 -2
  23. package/src/elements/HawaAdCard.tsx +4 -4
  24. package/src/elements/HawaAlert.tsx +1 -1
  25. package/src/elements/HawaButton.tsx +1 -1
  26. package/src/elements/HawaCardInput.tsx +5 -5
  27. package/src/elements/HawaChip.tsx +1 -1
  28. package/src/elements/HawaItemCard.tsx +2 -2
  29. package/src/elements/HawaLogoButton.tsx +1 -1
  30. package/src/elements/HawaMenu.tsx +4 -4
  31. package/src/elements/HawaModal.tsx +2 -2
  32. package/src/elements/HawaPanelTabs.tsx +1 -1
  33. package/src/elements/HawaPhoneInput.tsx +2 -2
  34. package/src/elements/HawaPricingCard.tsx +4 -4
  35. package/src/elements/HawaRadio.tsx +3 -3
  36. package/src/elements/HawaRange.tsx +1 -1
  37. package/src/elements/HawaSelect.tsx +3 -3
  38. package/src/elements/HawaSettingsRow.tsx +1 -1
  39. package/src/elements/HawaSnackbar.tsx +2 -2
  40. package/src/elements/HawaStats.tsx +1 -1
  41. package/src/elements/HawaTable.tsx +1 -1
  42. package/src/elements/HawaTabs.tsx +6 -6
  43. package/src/elements/HawaTextField.tsx +3 -3
  44. package/src/elements/HawaTimeline.tsx +5 -5
  45. package/src/elements/HawaTooltip.tsx +4 -8
  46. package/src/layout/HawaAppLayout.tsx +11 -11
  47. package/src/layout/HawaBottomAppBar.tsx +2 -2
  48. package/src/layout/HawaContainer.tsx +1 -1
  49. package/src/layout/HawaSiteLayout.tsx +5 -5
  50. package/src/styles.css +10 -14
  51. package/src/tailwind.css +2 -0
  52. package/tailwind.config.js +3 -0
@@ -20,24 +20,24 @@ export const HawaTabs: React.FunctionComponent<TabsTypes> = ({
20
20
  vertical:
21
21
  "inline-block py-2 px-4 text-white bg-buttonPrimary-default active",
22
22
  horizontal:
23
- "inline-block py-2 px-4 text-white bg-buttonPrimary-default rounded-lg rounded-br-none rounded-bl-none active",
23
+ "inline-block py-2 px-4 text-white bg-buttonPrimary-default rounded rounded-br-none rounded-bl-none active",
24
24
  }
25
25
  let inactiveTabStyle = {
26
26
  vertical:
27
27
  "inline-block py-2 px-4 rounded-none rounded-br-none rounded-tl-none hover:text-gray-900 hover:bg-gray-100 dark:hover:bg-gray-800 dark:hover:text-white",
28
28
  horizontal:
29
- "inline-block py-2 px-4 rounded-lg rounded-br-none rounded-bl-none hover:text-gray-900 hover:bg-gray-100 dark:hover:bg-gray-800 dark:hover:text-white",
29
+ "inline-block py-2 px-4 rounded rounded-br-none rounded-bl-none hover:text-gray-900 hover:bg-gray-100 dark:hover:bg-gray-800 dark:hover:text-white",
30
30
  }
31
31
  console.log("selected i : ", selectedOption)
32
32
  console.log("selected object : ", props.options[selectedOption])
33
33
  let orientationStyle = {
34
34
  vertical: {
35
35
  container: "flex flex-row",
36
- tabs: "flex flex-col w-fit flex-wrap rounded-lg border-b-primary-500 bg-gray-100 text-center text-sm font-medium text-gray-500 dark:text-gray-400",
36
+ tabs: "flex flex-col w-fit flex-wrap rounded border-b-primary-500 bg-gray-100 text-center text-sm font-medium text-gray-500 dark:text-gray-400",
37
37
  },
38
38
  horizontal: {
39
39
  container: "",
40
- tabs: "flex w-fit flex-wrap rounded-lg rounded-br-none rounded-bl-none border-b-primary-500 bg-gray-100 text-center text-sm font-medium text-gray-500 dark:text-gray-400",
40
+ tabs: "flex w-fit flex-wrap rounded rounded-br-none rounded-bl-none border-b-primary-500 bg-gray-100 text-center text-sm font-medium text-gray-500 dark:text-gray-400",
41
41
  },
42
42
  }
43
43
  let containerStyle = {
@@ -46,9 +46,9 @@ export const HawaTabs: React.FunctionComponent<TabsTypes> = ({
46
46
  }
47
47
  let tabsStyle = {
48
48
  vertical:
49
- "sticky top-2 h-fit flex flex-col w-fit flex-wrap rounded-lg border-b-primary-500 bg-gray-100 text-center text-sm font-medium text-gray-500 dark:text-gray-400",
49
+ "sticky top-2 h-fit flex flex-col w-fit flex-wrap rounded border-b-primary-500 bg-gray-100 text-center text-sm font-medium text-gray-500 dark:text-gray-400",
50
50
  horizontal:
51
- "flex w-fit flex-wrap rounded-lg rounded-br-none rounded-bl-none border-b-primary-500 bg-gray-100 text-center text-sm font-medium text-gray-500 dark:text-gray-400",
51
+ "flex w-fit flex-wrap rounded rounded-br-none rounded-bl-none border-b-primary-500 bg-gray-100 text-center text-sm font-medium text-gray-500 dark:text-gray-400",
52
52
  }
53
53
  return (
54
54
  <div
@@ -53,7 +53,7 @@ export const HawaTextField: React.FunctionComponent<TextFieldTypes> = ({
53
53
  <textarea
54
54
  id="message"
55
55
  rows={4}
56
- className="block w-full rounded-lg border border-gray-300 bg-gray-50 p-2.5 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"
56
+ className="block w-full rounded border border-gray-300 bg-gray-50 p-2.5 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"
57
57
  onChange={props.onChange}
58
58
  type={props.type}
59
59
  aria-label={props.label}
@@ -69,7 +69,7 @@ export const HawaTextField: React.FunctionComponent<TextFieldTypes> = ({
69
69
  </div>
70
70
  <input
71
71
  {...props}
72
- className="mb-0 block w-full rounded-lg border border-gray-300 bg-gray-50 p-2.5 pl-10 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"
72
+ className="mb-0 block w-full rounded border border-gray-300 bg-gray-50 p-2.5 pl-10 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"
73
73
  />
74
74
  </div>
75
75
  ) : (
@@ -81,7 +81,7 @@ export const HawaTextField: React.FunctionComponent<TextFieldTypes> = ({
81
81
  placeholder={props.placeholder}
82
82
  defaultValue={props.defaultValue}
83
83
  value={props.value}
84
- className="mb-0 block w-full rounded-lg border border-gray-300 bg-gray-50 p-2.5 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"
84
+ className="mb-0 block w-full rounded border border-gray-300 bg-gray-50 p-2.5 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"
85
85
  />
86
86
  </div>
87
87
  )}
@@ -17,12 +17,12 @@ export const HawaTimeline: React.FunctionComponent<THawaTimeline> = ({
17
17
  }
18
18
  let lineStyles = {
19
19
  vertical: {
20
- default: "w-1 h-32 rounded-lg bg-buttonPrimary-default ml-6 my-2",
21
- selected: "w-1 h-32 rounded-lg bg-buttonPrimary-default ml-6 my-2",
20
+ default: "w-1 h-32 rounded bg-buttonPrimary-default ml-6 my-2",
21
+ selected: "w-1 h-32 rounded bg-buttonPrimary-default ml-6 my-2",
22
22
  },
23
23
  horizontal: {
24
- default: "h-0.5 w-full rounded-lg bg-buttonPrimary-default",
25
- selected: "h-0.5 w-full rounded-lg bg-buttonPrimary-default",
24
+ default: "h-0.5 w-full rounded bg-buttonPrimary-default",
25
+ selected: "h-0.5 w-full rounded bg-buttonPrimary-default",
26
26
  },
27
27
  }
28
28
  return (
@@ -71,7 +71,7 @@ const TimelineStep = (props) => (
71
71
  >
72
72
  <div
73
73
  className={clsx(
74
- "m-2 mr-4 flex h-10 w-10 items-center justify-center rounded-xl ring-2 ring-primary-200 ring-offset-2",
74
+ "m-2 mr-4 flex h-10 w-10 items-center justify-center rounded ring-2 ring-primary-200 ring-offset-2",
75
75
  props.current ? "bg-buttonPrimary-default text-white" : "bg-primary-200"
76
76
  )}
77
77
  >
@@ -29,12 +29,8 @@ export const HawaTooltip: React.FunctionComponent<THawaToolTip> = ({
29
29
  setTooltipHeight(tooltipRef.current?.getBoundingClientRect().height)
30
30
  setTooltipWidth(tooltipRef.current?.getBoundingClientRect().width)
31
31
  if (attachedElement) {
32
- attachedElement?.addEventListener("mouseenter", () =>
33
- setHovered(!hovered)
34
- )
35
- attachedElement?.addEventListener("mouseleave", () =>
36
- setHovered(!hovered)
37
- )
32
+ attachedElement?.addEventListener("mouseenter", () => setHovered(true))
33
+ attachedElement?.addEventListener("mouseleave", () => setHovered(false))
38
34
  // console.log("dcnode", attachedElement?.getBoundingClientRect())
39
35
  let pos = attachedElement?.getBoundingClientRect()
40
36
  setRefHeight(pos.height)
@@ -52,8 +48,8 @@ export const HawaTooltip: React.FunctionComponent<THawaToolTip> = ({
52
48
 
53
49
  let tooltipStyles = {
54
50
  default:
55
- "absolute opacity-0 z-10 inline-block w-fit max-w-xs rounded-lg bg-gray-900 text-center text-sm font-medium text-white opacity-100 shadow-sm transition-all duration-300 dark:bg-gray-700",
56
- hovered: `absolute opacity-100 z-10 inline-block w-fit max-w-xs rounded-lg bg-gray-900 text-center text-sm font-medium text-white opacity-100 shadow-sm transition-all duration-300 dark:bg-gray-700`,
51
+ "absolute opacity-0 z-10 inline-block w-fit max-w-xs rounded bg-gray-900 text-center text-sm font-medium text-white opacity-100 shadow-sm transition-all duration-300 dark:bg-gray-700",
52
+ hovered: `absolute opacity-100 z-10 inline-block w-fit max-w-xs rounded bg-gray-900 text-center text-sm font-medium text-white opacity-100 shadow-sm transition-all duration-300 dark:bg-gray-700`,
57
53
  }
58
54
 
59
55
  let sizeStyles = {
@@ -32,6 +32,8 @@ type MenuItems = {
32
32
  ) => void
33
33
  isButton?: boolean
34
34
  }
35
+
36
+ // TODO: fix the drawer top when no topbar
35
37
  export const HawaAppLayout: React.FunctionComponent<HawaAppLayoutTypes> = ({
36
38
  direction = "rtl",
37
39
  ...props
@@ -69,7 +71,7 @@ export const HawaAppLayout: React.FunctionComponent<HawaAppLayoutTypes> = ({
69
71
  //less than 600
70
72
  //as nothing and expands as button is clicked
71
73
  let ltrDrawerStyle = [
72
- " fixed top-3 left-0 z-40 flex h-full flex-col justify-between overflow-x-clip bg-layoutPrimary-default transition-all",
74
+ " fixed top-0 left-0 z-40 flex h-full flex-col justify-between overflow-x-clip bg-layoutPrimary-default transition-all",
73
75
  size > 600 ? "w-14 hover:w-40" : "w-0",
74
76
  openSideMenu ? "w-40" : "w-14",
75
77
  ]
@@ -122,7 +124,7 @@ export const HawaAppLayout: React.FunctionComponent<HawaAppLayoutTypes> = ({
122
124
  <div className="flex items-center justify-center">
123
125
  <div
124
126
  onClick={() => setOpenSideMenu(true)}
125
- className=" mr-2 cursor-pointer rounded-lg p-2 transition-all hover:bg-gray-100"
127
+ className=" mr-2 cursor-pointer rounded p-2 transition-all hover:bg-gray-100"
126
128
  >
127
129
  <HiMenu size={25} />
128
130
  </div>
@@ -170,7 +172,7 @@ export const HawaAppLayout: React.FunctionComponent<HawaAppLayoutTypes> = ({
170
172
  >
171
173
  <div
172
174
  className={clsx(
173
- // "overflow-hidden",
175
+ props.topBar ? "" : "mt-2",
174
176
  openSideMenu ? "overflow-auto" : "overflow-hidden"
175
177
  )}
176
178
  >
@@ -182,7 +184,7 @@ export const HawaAppLayout: React.FunctionComponent<HawaAppLayoutTypes> = ({
182
184
  >
183
185
  <img
184
186
  className={clsx(
185
- "fixed top-2 h-9 transition-all",
187
+ "fixed top-2.5 h-9 transition-all",
186
188
  direction === "rtl" ? "right-2.5" : "left-2.5",
187
189
  !openSideMenu ? "invisible opacity-0" : "visible opacity-100"
188
190
  )}
@@ -220,17 +222,15 @@ export const HawaAppLayout: React.FunctionComponent<HawaAppLayoutTypes> = ({
220
222
  : null
221
223
  }
222
224
  onClick={() => {
223
- // if()
224
- const { offsetTop } = drawerItemRef.current
225
- ref.current.scrollTop = offsetTop - 100
226
-
225
+ ref.current.scrollTop =
226
+ drawerItemRef.current?.offsetTop - 100
227
227
  dItem.action()
228
228
  }}
229
229
  className={clsx(
230
230
  props.currentPage === dItem.slug
231
231
  ? "bg-buttonPrimary-default text-white"
232
232
  : "hover:bg-buttonPrimary-lighter",
233
- "m-2 flex cursor-pointer flex-row items-center overflow-x-clip rounded-lg p-2 pl-3 transition-all ",
233
+ "m-2 flex cursor-pointer flex-row items-center overflow-x-clip rounded p-2 pl-3 transition-all ",
234
234
  direction === "rtl" ? "flex-row-reverse pr-3" : ""
235
235
  )}
236
236
  >
@@ -286,7 +286,7 @@ export const HawaAppLayout: React.FunctionComponent<HawaAppLayoutTypes> = ({
286
286
  className={clsx(
287
287
  keepOpen ? "rotate-180" : "",
288
288
  direction === "rtl" ? "rotate-180" : "",
289
- "w-fit cursor-pointer rounded-lg bg-gray-300 p-1 transition-all"
289
+ "w-fit cursor-pointer rounded bg-gray-300 p-1 transition-all"
290
290
  )}
291
291
  >
292
292
  <FaChevronRight />
@@ -298,7 +298,7 @@ export const HawaAppLayout: React.FunctionComponent<HawaAppLayoutTypes> = ({
298
298
  className={clsx(
299
299
  openSideMenu ? "visible" : "invisible",
300
300
  direction === "rtl" ? "rotate-180" : "",
301
- "w-fit cursor-pointer rounded-lg bg-gray-300 p-1 transition-all"
301
+ "w-fit cursor-pointer rounded bg-gray-300 p-1 transition-all"
302
302
  )}
303
303
  >
304
304
  <FaChevronLeft />
@@ -21,12 +21,12 @@ export const HawaBottomAppBar: React.FunctionComponent<BottomAppBarTypes> = (
21
21
  // alignContent: "center",
22
22
  // padding: 10,
23
23
  // }}
24
- className="flex w-full flex-row items-center justify-evenly rounded-lg bg-gray-200"
24
+ className="flex w-full flex-row items-center justify-evenly rounded bg-gray-200"
25
25
  // variant="outlined"
26
26
  >
27
27
  {props.appBarContent.map((singleContent: any) => (
28
28
  <div
29
- className="m-1 flex h-full w-full flex-col items-center justify-center rounded-lg p-2 transition-all hover:cursor-pointer hover:bg-buttonPrimary-darker hover:text-white"
29
+ className="m-1 flex h-full w-full flex-col items-center justify-center rounded p-2 transition-all hover:cursor-pointer hover:bg-buttonPrimary-darker hover:text-white"
30
30
  onClick={singleContent.action}
31
31
  >
32
32
  <div
@@ -13,7 +13,7 @@ export const HawaContainer: React.FunctionComponent<ContainerTypes> = ({
13
13
  centered = false,
14
14
  ...props
15
15
  }) => {
16
- let defaultStyle = "flex w-full flex-col rounded-xl p-4"
16
+ let defaultStyle = "flex w-full flex-col rounded p-4"
17
17
  let maxWidthStyles: any = {
18
18
  full: "md:max-w-xl",
19
19
  small: "md:max-w-sm w-1/3 min-w-min",
@@ -9,7 +9,7 @@ const MenuButton = ({ handleClick }) => {
9
9
  aria-controls="drawer-navigation"
10
10
  type="button"
11
11
  onClick={handleClick()}
12
- className="inline-flex items-center rounded-lg p-2 text-sm text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-600"
12
+ className="inline-flex items-center rounded p-2 text-sm text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-600"
13
13
  >
14
14
  {/* <span className="sr-only">Open main menu</span> */}
15
15
  <svg
@@ -111,7 +111,7 @@ const CloseButton = () => {
111
111
  type="button"
112
112
  data-drawer-dismiss="drawer-navigation"
113
113
  aria-controls="drawer-navigation"
114
- className="absolute top-2.5 right-2.5 inline-flex items-center rounded-lg bg-transparent p-1.5 text-sm text-gray-400 hover:bg-gray-200 hover:text-gray-900 dark:hover:bg-gray-600 dark:hover:text-white"
114
+ className="absolute top-2.5 right-2.5 inline-flex items-center rounded bg-transparent p-1.5 text-sm text-gray-400 hover:bg-gray-200 hover:text-gray-900 dark:hover:bg-gray-600 dark:hover:text-white"
115
115
  >
116
116
  <svg
117
117
  aria-hidden="true"
@@ -173,7 +173,7 @@ export const HawaSiteLayout: React.FunctionComponent<LayoutTypes> = (
173
173
  setOpenSideMenu(true)
174
174
  console.log("opening side menu")
175
175
  }}
176
- className="inline-flex items-center rounded-lg p-2 text-sm text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-600"
176
+ className="inline-flex items-center rounded p-2 text-sm text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-600"
177
177
  >
178
178
  <svg
179
179
  aria-hidden="true"
@@ -217,7 +217,7 @@ export const HawaSiteLayout: React.FunctionComponent<LayoutTypes> = (
217
217
  onClick={() => setOpenSideMenu(false)}
218
218
  data-drawer-dismiss="drawer-navigation"
219
219
  aria-controls="drawer-navigation"
220
- className="absolute top-2.5 right-2.5 inline-flex items-center rounded-lg bg-transparent p-1.5 text-sm text-gray-400 hover:bg-gray-200 hover:text-gray-900 dark:hover:bg-gray-600 dark:hover:text-white"
220
+ className="absolute top-2.5 right-2.5 inline-flex items-center rounded bg-transparent p-1.5 text-sm text-gray-400 hover:bg-gray-200 hover:text-gray-900 dark:hover:bg-gray-600 dark:hover:text-white"
221
221
  >
222
222
  <svg
223
223
  aria-hidden="true"
@@ -275,7 +275,7 @@ const AppLayoutNav = (props) => (
275
275
  aria-controls="drawer-navigation"
276
276
  type="button"
277
277
  onClick={() => props.handleClick()}
278
- className="inline-flex items-center rounded-lg p-2 text-sm text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-600"
278
+ className="inline-flex items-center rounded p-2 text-sm text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-600"
279
279
  >
280
280
  <svg
281
281
  aria-hidden="true"
package/src/styles.css CHANGED
@@ -383,6 +383,8 @@ video {
383
383
 
384
384
  --button-secondary: #ffc011;
385
385
  --button-secondary-darker: #b48d24;
386
+
387
+ --border-radius: 8px;
386
388
  }
387
389
  input[type="number"]::-webkit-inner-spin-button,
388
390
  input[type="number"]::-webkit-outer-spin-button {
@@ -620,9 +622,6 @@ video {
620
622
  .left-8 {
621
623
  left: 2rem;
622
624
  }
623
- .top-3 {
624
- top: 0.75rem;
625
- }
626
625
  .left-14 {
627
626
  left: 3.5rem;
628
627
  }
@@ -641,6 +640,9 @@ video {
641
640
  .-left-1 {
642
641
  left: -0.25rem;
643
642
  }
643
+ .top-2\.5 {
644
+ top: 0.625rem;
645
+ }
644
646
  .right-2\.5 {
645
647
  right: 0.625rem;
646
648
  }
@@ -650,9 +652,6 @@ video {
650
652
  .left-2 {
651
653
  left: 0.5rem;
652
654
  }
653
- .top-2\.5 {
654
- top: 0.625rem;
655
- }
656
655
  .bottom-2 {
657
656
  bottom: 0.5rem;
658
657
  }
@@ -1215,15 +1214,12 @@ video {
1215
1214
  .whitespace-nowrap {
1216
1215
  white-space: nowrap;
1217
1216
  }
1217
+ .rounded {
1218
+ border-radius: var(--border-radius);
1219
+ }
1218
1220
  .rounded-lg {
1219
1221
  border-radius: 0.5rem;
1220
1222
  }
1221
- .rounded-xl {
1222
- border-radius: 0.75rem;
1223
- }
1224
- .rounded {
1225
- border-radius: 0.25rem;
1226
- }
1227
1223
  .rounded-full {
1228
1224
  border-radius: 9999px;
1229
1225
  }
@@ -1254,8 +1250,8 @@ video {
1254
1250
  border-bottom-left-radius: 0.5rem;
1255
1251
  }
1256
1252
  .rounded-t {
1257
- border-top-left-radius: 0.25rem;
1258
- border-top-right-radius: 0.25rem;
1253
+ border-top-left-radius: var(--border-radius);
1254
+ border-top-right-radius: var(--border-radius);
1259
1255
  }
1260
1256
  .rounded-l-none {
1261
1257
  border-top-left-radius: 0px;
package/src/tailwind.css CHANGED
@@ -12,6 +12,8 @@
12
12
 
13
13
  --button-secondary: #ffc011;
14
14
  --button-secondary-darker: #b48d24;
15
+
16
+ --border-radius: 8px;
15
17
  }
16
18
  input[type="number"]::-webkit-inner-spin-button,
17
19
  input[type="number"]::-webkit-outer-spin-button {
@@ -74,6 +74,9 @@ module.exports = {
74
74
  expandDown: "expandDown 500ms ease-in-out",
75
75
  expandUp: "expandUp 100ms ease-in-out"
76
76
  },
77
+ borderRadius: {
78
+ DEFAULT: "var(--border-radius)"
79
+ },
77
80
  colors: {
78
81
  // #f6f5fe
79
82
  // #edebfd lighter