Skip to content

Commit dd77c4c

Browse files
amberkamboj77HVish
andauthored
feat: auth0 ul theme tokens, tailwind-merge utility addition (#19)
* feat: auth0 ul theme tokens, tailwind-merge utility addition * fix: addition of legacy variables * fix: themeEngine utility documentation update Co-authored-by: Vishnu Singh <vishnusingh1729@gmail.com> --------- Co-authored-by: Vishnu Singh <vishnusingh1729@gmail.com>
1 parent 32b8f9f commit dd77c4c

File tree

24 files changed

+337
-300
lines changed

24 files changed

+337
-300
lines changed

.github/config/deploy_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# when the workflow is run without specific overriding inputs.
55

66
default_screen_deployment_status:
7-
"login-id": false
7+
"login-id": true
88

99
# All other valid screens (commented out by default):
1010
# "email-identifier-challenge": true

src/assets/icons/EyeIcon.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export const EyeIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => (
1313
fillRule="evenodd"
1414
clipRule="evenodd"
1515
d="M19 10.5C16.6667 6.16667 13.6667 4 10 4C6.33333 4 3.33333 6.16667 1 10.5C3.33333 14.8333 6.33333 17 10 17C13.6667 17 16.6667 14.8333 19 10.5ZM17.8564 10.5C15.7316 14.2118 13.1305 16 10 16C6.86955 16 4.2684 14.2118 2.14364 10.5C4.2684 6.78816 6.86955 5 10 5C13.1305 5 15.7316 6.78816 17.8564 10.5ZM10 13C11.3807 13 12.5 11.8807 12.5 10.5C12.5 9.11929 11.3807 8 10 8C8.61929 8 7.5 9.11929 7.5 10.5C7.5 11.8807 8.61929 13 10 13ZM6.5 10.5C6.5 12.433 8.067 14 10 14C11.933 14 13.5 12.433 13.5 10.5C13.5 8.567 11.933 7 10 7C8.067 7 6.5 8.567 6.5 10.5Z"
16-
fill="#686868"
16+
fill="currentColor"
1717
/>
1818
</svg>
1919
);

src/assets/icons/EyeSlashIcon.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export const EyeSlashIcon: React.FC<React.SVGProps<SVGSVGElement>> = (
1515
fillRule="evenodd"
1616
clipRule="evenodd"
1717
d="M3.31263 17.3903L16.8903 3.81263C17.0479 3.6163 17.0357 3.32859 16.8536 3.14645C16.6583 2.95118 16.3417 2.95118 16.1464 3.14645L14.1906 5.10226C12.9068 4.36742 11.5099 4 10 4C6.33333 4 3.33333 6.16667 1 10.5C2.00694 12.37 3.13804 13.8366 4.3933 14.8996L2.64645 16.6464C2.45118 16.8417 2.45118 17.1583 2.64645 17.3536C2.82859 17.5357 3.1163 17.5479 3.31263 17.3903ZM6.81988 15.2972C7.81285 15.7679 8.87207 16 10 16C13.1305 16 15.7316 14.2118 17.8564 10.5C17.0188 9.03678 16.1072 7.87249 15.1183 6.99884L15.8259 6.29124C16.994 7.33651 18.052 8.73943 19 10.5C16.6667 14.8333 13.6667 17 10 17C8.59318 17 7.2845 16.681 6.07396 16.0431L6.81988 15.2972ZM13.1482 8.96889C13.3736 9.43138 13.5 9.95092 13.5 10.5C13.5 12.433 11.933 14 10 14C9.45092 14 8.93138 13.8736 8.46889 13.6482L9.236 12.8811C9.47682 12.9583 9.73354 13 10 13C11.3807 13 12.5 11.8807 12.5 10.5C12.5 10.2335 12.4583 9.97682 12.3811 9.736L13.1482 8.96889ZM13.4536 5.8393C12.3822 5.27701 11.2321 5 10 5C6.86955 5 4.2684 6.78816 2.14364 10.5C3.04321 12.0715 4.02817 13.2982 5.10254 14.1904L6.99591 12.297C6.68102 11.7717 6.5 11.157 6.5 10.5C6.5 8.567 8.067 7 10 7C10.657 7 11.2717 7.18102 11.797 7.49591L13.4536 5.8393ZM10 8C10.3783 8 10.737 8.08403 11.0584 8.23446L7.73446 11.5584C7.58403 11.237 7.5 10.8783 7.5 10.5C7.5 9.11929 8.61929 8 10 8Z"
18-
fill="#686868"
18+
fill="currentColor"
1919
/>
2020
</svg>
2121
);

src/common/Alert/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from "react";
22
import Icon from "@/common/Icon";
3-
import { cn } from "@/utils/helpers/cn";
3+
import { cn } from "@/lib/utils";
44

55
export interface ErrorMessage {
66
message: string;

src/common/Button/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { forwardRef } from "react";
2-
import { cn } from "@/utils/helpers/cn";
2+
import { cn } from "@/lib/utils";
33
import type { IconProps } from "@/common/Icon";
44

55
export interface ButtonProps

src/common/CaptchaBox/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import FormField from "@/common/FormField";
22
import type { InputProps } from "@/common/Input";
33
import type { LabelProps } from "@/common/Label";
4-
import { cn } from "@/utils/helpers/cn";
4+
import { cn } from "@/lib/utils";
55

66
export interface CaptchaBoxProps {
77
label: string;

src/common/Card/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from "react";
2-
import { cn } from "@/utils/helpers/cn";
2+
import { cn } from "@/lib/utils";
33

44
export interface CardProps extends React.HTMLAttributes<HTMLDivElement> {
55
/**

src/common/FormField/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import Input from "@/common/Input";
55
import type { InputProps } from "@/common/Input";
66
import Icon from "@/common/Icon";
77
import { ExclamationCircleIcon } from "@/assets/icons";
8-
import { cn } from "@/utils/helpers/cn";
8+
import { cn } from "@/lib/utils";
99

1010
export interface FormFieldProps {
1111
labelProps: LabelProps;

src/common/Input/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { forwardRef } from "react";
2-
import { cn } from "@/utils/helpers/cn";
2+
import { cn } from "@/lib/utils";
33

44
export interface InputProps
55
extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size"> {

src/common/Label/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from "react";
2-
import { cn } from "@/utils/helpers/cn";
2+
import { cn } from "@/lib/utils";
33

44
export interface LabelProps
55
extends React.LabelHTMLAttributes<HTMLLabelElement> {

0 commit comments

Comments
 (0)