From 1f06b67c66301b48be4a331a3b9314e77b10ec56 Mon Sep 17 00:00:00 2001 From: Aaryan Khandelwal <65252264+aaryan610@users.noreply.github.com> Date: Wed, 17 Dec 2025 16:28:22 +0530 Subject: [PATCH] regression: replace old css vars with the new design system tokens (#8354) * chore: replace old css vars * fix: replace shadow and primary colors * chore: remove hardcoded colors --- .../(dashboard)/sidebar-help-section.tsx | 2 +- apps/admin/styles/globals.css | 12 ++-- .../components/account/auth-forms/email.tsx | 2 +- .../account/auth-forms/password.tsx | 10 +-- .../account/auth-forms/unique-code.tsx | 2 +- .../core/components/common/powered-by.tsx | 2 +- .../issues/filters/helpers/dropdown.tsx | 2 +- .../components/issues/navbar/user-avatar.tsx | 2 +- apps/space/styles/globals.css | 10 +-- .../settings/account/security/page.tsx | 12 ++-- apps/web/app/(all)/profile/security/page.tsx | 12 ++-- apps/web/ce/components/issues/header.tsx | 2 +- .../ce/components/onboarding/tour/root.tsx | 2 +- .../ce/components/pages/editor/ai/menu.tsx | 2 +- .../editor/embed/issue-embed-upgrade-card.tsx | 2 +- .../components/account/auth-forms/email.tsx | 2 +- .../account/auth-forms/password.tsx | 10 +-- .../account/auth-forms/reset-password.tsx | 8 +-- .../account/auth-forms/set-password.tsx | 8 +-- .../account/auth-forms/unique-code.tsx | 2 +- .../base-layouts/layout-switcher.tsx | 2 +- .../components/core/content-overflow-HOC.tsx | 2 +- .../components/core/image-picker-popover.tsx | 2 +- .../cycles/list/cycle-list-item-action.tsx | 2 +- .../cycles/transfer-issues-modal.tsx | 2 +- .../dropdowns/cycle/cycle-options.tsx | 2 +- apps/web/core/components/dropdowns/date.tsx | 2 +- .../core/components/dropdowns/estimate.tsx | 2 +- .../dropdowns/intake-state/base.tsx | 2 +- .../dropdowns/member/member-options.tsx | 2 +- .../dropdowns/module/module-options.tsx | 2 +- .../core/components/dropdowns/priority.tsx | 2 +- .../components/dropdowns/project/base.tsx | 2 +- .../core/components/dropdowns/state/base.tsx | 2 +- .../editor/embeds/mentions/user.tsx | 2 +- .../editor/sticky-editor/color-palette.tsx | 2 +- .../icons/attachment/setting-icon.tsx | 2 +- .../label/select/label-select.tsx | 2 +- .../calendar/dropdowns/months-dropdown.tsx | 2 +- .../calendar/dropdowns/options-dropdown.tsx | 2 +- .../issue-layouts/calendar/issue-block.tsx | 2 +- .../issues/issue-layouts/list/list-group.tsx | 2 +- .../issue-layouts/quick-add/form/calendar.tsx | 2 +- .../issue-layouts/quick-add/form/gantt.tsx | 2 +- .../issue-layouts/quick-add/form/kanban.tsx | 2 +- .../issue-layouts/quick-add/form/list.tsx | 2 +- .../quick-add/form/spreadsheet.tsx | 2 +- .../issue-layouts/spreadsheet/issue-row.tsx | 2 +- .../components/issues/issue-modal/form.tsx | 2 +- .../components/issues/issue-update-status.tsx | 2 +- .../issues/layout-quick-actions.tsx | 4 +- .../components/issues/preview-card/root.tsx | 2 +- .../core/components/issues/select/base.tsx | 2 +- .../labels/create-update-label-inline.tsx | 2 +- .../components/onboarding/invite-members.tsx | 6 +- .../components/onboarding/profile-setup.tsx | 10 +-- .../onboarding/steps/profile/root.tsx | 2 +- .../components/onboarding/steps/team/root.tsx | 6 +- .../onboarding/switch-account-dropdown.tsx | 2 +- .../pages/editor/content-limit-banner.tsx | 11 +-- .../pages/editor/summary/content-browser.tsx | 2 +- .../pages/editor/toolbar/color-dropdown.tsx | 2 +- .../components/power-k/ui/modal/header.tsx | 2 +- .../profile/overview/state-distribution.tsx | 3 +- apps/web/core/components/profile/sidebar.tsx | 2 +- .../workspace/sidebar/workspace-menu-root.tsx | 2 +- apps/web/styles/emoji.css | 11 ++- apps/web/styles/globals.css | 68 ++----------------- packages/constants/src/graph.ts | 4 +- .../editors/document/page-renderer.tsx | 2 +- .../src/core/components/menus/block-menu.tsx | 2 +- .../menus/bubble-menu/color-selector.tsx | 2 +- .../menus/bubble-menu/link-selector.tsx | 2 +- .../menus/bubble-menu/node-selector.tsx | 2 +- .../components/menus/bubble-menu/root.tsx | 2 +- .../extensions/callout/color-selector.tsx | 2 +- .../emoji/components/emojis-list.tsx | 2 +- .../mentions/mentions-list-dropdown.tsx | 2 +- .../slash-commands/command-items-list.tsx | 2 +- .../slash-commands/command-menu.tsx | 2 +- .../drag-handles/column/drag-handle.tsx | 2 +- .../plugins/drag-handles/row/drag-handle.tsx | 2 +- .../src/core/extensions/table/table/icons.ts | 14 ++-- packages/editor/src/core/plugins/highlight.ts | 2 +- packages/editor/src/styles/drag-drop.css | 4 +- packages/editor/src/styles/editor.css | 2 +- packages/propel/src/card/helper.tsx | 2 +- packages/propel/src/charts/bar-chart/root.tsx | 2 +- packages/propel/src/charts/pie-chart/root.tsx | 2 +- .../design-system-philosophy.stories.tsx | 2 +- .../src/emoji-icon-picker/emoji/emoji.tsx | 2 +- .../src/emoji-icon-picker/icon/icon-root.tsx | 4 +- .../propel/src/icons/calendar-after-icon.tsx | 2 +- .../propel/src/icons/calendar-before-icon.tsx | 6 +- packages/propel/src/icons/github-icon.tsx | 2 +- packages/propel/src/icons/gitlab-icon.tsx | 2 +- packages/propel/src/menu/menu.stories.tsx | 4 +- packages/propel/src/menu/menu.tsx | 2 +- .../propel/src/spinners/circular-spinner.tsx | 2 +- packages/tailwind-config/AGENTS.md | 2 +- packages/tailwind-config/index.css | 10 +-- packages/ui/src/auth-form/auth-input.tsx | 2 +- packages/ui/src/card/helper.tsx | 2 +- packages/ui/src/drag-handle.tsx | 4 +- packages/ui/src/dropdown/multi-select.tsx | 2 +- packages/ui/src/dropdown/single-select.tsx | 2 +- packages/ui/src/form-fields/checkbox.tsx | 2 +- .../ui/src/form-fields/input-color-picker.tsx | 2 +- packages/ui/src/form-fields/textarea.tsx | 2 +- packages/ui/src/popovers/popover-menu.tsx | 2 +- packages/ui/src/spinners/circular-spinner.tsx | 2 +- 111 files changed, 180 insertions(+), 245 deletions(-) diff --git a/apps/admin/app/(all)/(dashboard)/sidebar-help-section.tsx b/apps/admin/app/(all)/(dashboard)/sidebar-help-section.tsx index 8d0b87ac9..3d8d0b77a 100644 --- a/apps/admin/app/(all)/(dashboard)/sidebar-help-section.tsx +++ b/apps/admin/app/(all)/(dashboard)/sidebar-help-section.tsx @@ -98,7 +98,7 @@ export const AdminSidebarHelpSection = observer(function AdminSidebarHelpSection
diff --git a/apps/admin/styles/globals.css b/apps/admin/styles/globals.css index 12417088e..7f7f2483a 100644 --- a/apps/admin/styles/globals.css +++ b/apps/admin/styles/globals.css @@ -11,12 +11,12 @@ /* progress bar */ .progress-bar { fill: currentColor; - color: rgba(var(--color-sidebar-background-100)); + color: var(--background-color-surface-1); } /* Progress Bar Styles */ :root { - --bprogress-color: rgb(var(--color-primary-100)) !important; + --bprogress-color: var(--background-color-accent-primary); --bprogress-height: 2.5px !important; } @@ -27,8 +27,8 @@ .bprogress .bar { background: linear-gradient( 90deg, - rgba(var(--color-primary-100), 0.8) 0%, - rgba(var(--color-primary-100), 1) 100% + --alpha(var(--background-color-accent-primary) / 80%) 0%, + --alpha(var(--background-color-accent-primary) / 100%) 100% ) !important; will-change: width, opacity; } @@ -36,7 +36,7 @@ .bprogress .peg { display: block; box-shadow: - 0 0 8px rgba(var(--color-primary-100), 0.6), - 0 0 4px rgba(var(--color-primary-100), 0.4) !important; + 0 0 8px --alpha(var(--background-color-accent-primary) / 60%), + 0 0 4px --alpha(var(--background-color-accent-primary) / 40%) !important; will-change: transform, opacity; } diff --git a/apps/space/core/components/account/auth-forms/email.tsx b/apps/space/core/components/account/auth-forms/email.tsx index f407219b0..46ecea0f0 100644 --- a/apps/space/core/components/account/auth-forms/email.tsx +++ b/apps/space/core/components/account/auth-forms/email.tsx @@ -83,7 +83,7 @@ export const AuthEmailForm = observer(function AuthEmailForm(props: TAuthEmailFo }} tabIndex={-1} > - + )}
diff --git a/apps/space/core/components/account/auth-forms/password.tsx b/apps/space/core/components/account/auth-forms/password.tsx index cf622f92f..7d265cee0 100644 --- a/apps/space/core/components/account/auth-forms/password.tsx +++ b/apps/space/core/components/account/auth-forms/password.tsx @@ -132,7 +132,7 @@ export const AuthPasswordForm = observer(function AuthPasswordForm(props: Props) /> {passwordFormData.email.length > 0 && ( )} @@ -158,12 +158,12 @@ export const AuthPasswordForm = observer(function AuthPasswordForm(props: Props) /> {showPassword?.password ? ( handleShowPassword("password")} /> ) : ( handleShowPassword("password")} /> )} @@ -189,12 +189,12 @@ export const AuthPasswordForm = observer(function AuthPasswordForm(props: Props) /> {showPassword?.retypePassword ? ( handleShowPassword("retypePassword")} /> ) : ( handleShowPassword("retypePassword")} /> )} diff --git a/apps/space/core/components/account/auth-forms/unique-code.tsx b/apps/space/core/components/account/auth-forms/unique-code.tsx index fd347bfd9..7e7543e56 100644 --- a/apps/space/core/components/account/auth-forms/unique-code.tsx +++ b/apps/space/core/components/account/auth-forms/unique-code.tsx @@ -96,7 +96,7 @@ export function AuthUniqueCodeForm(props: TAuthUniqueCodeForm) { /> {uniqueCodeFormData.email.length > 0 && ( )} diff --git a/apps/space/core/components/common/powered-by.tsx b/apps/space/core/components/common/powered-by.tsx index e43c27ca6..2edac3781 100644 --- a/apps/space/core/components/common/powered-by.tsx +++ b/apps/space/core/components/common/powered-by.tsx @@ -15,7 +15,7 @@ export function PoweredBy(props: TPoweredBy) { return ( diff --git a/apps/space/core/components/issues/filters/helpers/dropdown.tsx b/apps/space/core/components/issues/filters/helpers/dropdown.tsx index 032de9f1a..b4987a9df 100644 --- a/apps/space/core/components/issues/filters/helpers/dropdown.tsx +++ b/apps/space/core/components/issues/filters/helpers/dropdown.tsx @@ -46,7 +46,7 @@ export function FiltersDropdown(props: Props) { >
{showPassword?.oldPassword ? ( handleShowPassword("oldPassword")} /> ) : ( handleShowPassword("oldPassword")} /> )} @@ -187,12 +187,12 @@ function SecurityPage() { /> {showPassword?.password ? ( handleShowPassword("password")} /> ) : ( handleShowPassword("password")} /> )} @@ -227,12 +227,12 @@ function SecurityPage() { /> {showPassword?.confirmPassword ? ( handleShowPassword("confirmPassword")} /> ) : ( handleShowPassword("confirmPassword")} /> )} diff --git a/apps/web/app/(all)/profile/security/page.tsx b/apps/web/app/(all)/profile/security/page.tsx index f12188007..99f19bce8 100644 --- a/apps/web/app/(all)/profile/security/page.tsx +++ b/apps/web/app/(all)/profile/security/page.tsx @@ -147,12 +147,12 @@ function SecurityPage() { /> {showPassword?.oldPassword ? ( handleShowPassword("oldPassword")} /> ) : ( handleShowPassword("oldPassword")} /> )} @@ -185,12 +185,12 @@ function SecurityPage() { /> {showPassword?.password ? ( handleShowPassword("password")} /> ) : ( handleShowPassword("password")} /> )} @@ -225,12 +225,12 @@ function SecurityPage() { /> {showPassword?.confirmPassword ? ( handleShowPassword("confirmPassword")} /> ) : ( handleShowPassword("confirmPassword")} /> )} diff --git a/apps/web/ce/components/issues/header.tsx b/apps/web/ce/components/issues/header.tsx index 0953bc0bd..c42f42400 100644 --- a/apps/web/ce/components/issues/header.tsx +++ b/apps/web/ce/components/issues/header.tsx @@ -93,7 +93,7 @@ export const IssuesHeader = observer(function IssuesHeader() { target="_blank" rel="noopener noreferrer" > - + {t("workspace_projects.network.public.title")} diff --git a/apps/web/ce/components/onboarding/tour/root.tsx b/apps/web/ce/components/onboarding/tour/root.tsx index 08ab90be6..f5498b046 100644 --- a/apps/web/ce/components/onboarding/tour/root.tsx +++ b/apps/web/ce/components/onboarding/tour/root.tsx @@ -117,7 +117,7 @@ export const TourRoot = observer(function TourRoot(props: TOnboardingTourProps) )}
diff --git a/apps/web/core/components/account/auth-forms/password.tsx b/apps/web/core/components/account/auth-forms/password.tsx index 76c882600..9c71eb98b 100644 --- a/apps/web/core/components/account/auth-forms/password.tsx +++ b/apps/web/core/components/account/auth-forms/password.tsx @@ -203,7 +203,7 @@ export const AuthPasswordForm = observer(function AuthPasswordForm(props: Props) onClick={handleEmailClear} aria-label={t("aria_labels.auth_forms.clear_email")} > - + )}
@@ -236,9 +236,9 @@ export const AuthPasswordForm = observer(function AuthPasswordForm(props: Props) )} > {showPassword?.password ? ( - + ) : ( - + )}
@@ -273,9 +273,9 @@ export const AuthPasswordForm = observer(function AuthPasswordForm(props: Props) onClick={() => handleShowPassword("retypePassword")} > {showPassword?.retypePassword ? ( - + ) : ( - + )} diff --git a/apps/web/core/components/account/auth-forms/reset-password.tsx b/apps/web/core/components/account/auth-forms/reset-password.tsx index a5fbf9386..0e0256a24 100644 --- a/apps/web/core/components/account/auth-forms/reset-password.tsx +++ b/apps/web/core/components/account/auth-forms/reset-password.tsx @@ -143,12 +143,12 @@ export const ResetPasswordForm = observer(function ResetPasswordForm() { /> {showPassword.password ? ( handleShowPassword("password")} /> ) : ( handleShowPassword("password")} /> )} @@ -172,12 +172,12 @@ export const ResetPasswordForm = observer(function ResetPasswordForm() { /> {showPassword.retypePassword ? ( handleShowPassword("retypePassword")} /> ) : ( handleShowPassword("retypePassword")} /> )} diff --git a/apps/web/core/components/account/auth-forms/set-password.tsx b/apps/web/core/components/account/auth-forms/set-password.tsx index 701caed17..15005caf6 100644 --- a/apps/web/core/components/account/auth-forms/set-password.tsx +++ b/apps/web/core/components/account/auth-forms/set-password.tsx @@ -160,12 +160,12 @@ export const SetPasswordForm = observer(function SetPasswordForm() { /> {showPassword.password ? ( handleShowPassword("password")} /> ) : ( handleShowPassword("password")} /> )} @@ -189,12 +189,12 @@ export const SetPasswordForm = observer(function SetPasswordForm() { /> {showPassword.retypePassword ? ( handleShowPassword("retypePassword")} /> ) : ( handleShowPassword("retypePassword")} /> )} diff --git a/apps/web/core/components/account/auth-forms/unique-code.tsx b/apps/web/core/components/account/auth-forms/unique-code.tsx index 4c3583966..6d2b72337 100644 --- a/apps/web/core/components/account/auth-forms/unique-code.tsx +++ b/apps/web/core/components/account/auth-forms/unique-code.tsx @@ -137,7 +137,7 @@ export function AuthUniqueCodeForm(props: TAuthUniqueCodeForm) { aria-label={t("aria_labels.auth_forms.clear_email")} onClick={handleEmailClear} > - + )} diff --git a/apps/web/core/components/base-layouts/layout-switcher.tsx b/apps/web/core/components/base-layouts/layout-switcher.tsx index 63f48c837..a02745fda 100644 --- a/apps/web/core/components/base-layouts/layout-switcher.tsx +++ b/apps/web/core/components/base-layouts/layout-switcher.tsx @@ -29,7 +29,7 @@ export function LayoutSwitcher(props: Props) { {isOpen && ( -
+
{COLORS_LIST.map((color) => (
diff --git a/packages/propel/src/icons/calendar-after-icon.tsx b/packages/propel/src/icons/calendar-after-icon.tsx index 3cb03c116..3d1c133ce 100644 --- a/packages/propel/src/icons/calendar-after-icon.tsx +++ b/packages/propel/src/icons/calendar-after-icon.tsx @@ -8,7 +8,7 @@ export function CalendarAfterIcon({ className = "fill-current", ...rest }: ISvgI diff --git a/packages/propel/src/icons/calendar-before-icon.tsx b/packages/propel/src/icons/calendar-before-icon.tsx index d832ca9ad..7833b2ea7 100644 --- a/packages/propel/src/icons/calendar-before-icon.tsx +++ b/packages/propel/src/icons/calendar-before-icon.tsx @@ -8,13 +8,13 @@ export function CalendarBeforeIcon({ className = "fill-current", ...rest }: ISvg diff --git a/packages/propel/src/icons/github-icon.tsx b/packages/propel/src/icons/github-icon.tsx index 9ed2d8909..3307ccfc6 100644 --- a/packages/propel/src/icons/github-icon.tsx +++ b/packages/propel/src/icons/github-icon.tsx @@ -17,7 +17,7 @@ export function GithubIcon({ width = "24", height = "24", className, color }: IS fillRule="evenodd" clipRule="evenodd" d="M10 0C4.475 0 0 4.475 0 10C0 14.425 2.8625 18.1625 6.8375 19.4875C7.3375 19.575 7.525 19.275 7.525 19.0125C7.525 18.775 7.5125 17.9875 7.5125 17.15C5 17.6125 4.35 16.5375 4.15 15.975C4.0375 15.6875 3.55 14.8 3.125 14.5625C2.775 14.375 2.275 13.9125 3.1125 13.9C3.9 13.8875 4.4625 14.625 4.65 14.925C5.55 16.4375 6.9875 16.0125 7.5625 15.75C7.65 15.1 7.9125 14.6625 8.2 14.4125C5.975 14.1625 3.65 13.3 3.65 9.475C3.65 8.3875 4.0375 7.4875 4.675 6.7875C4.575 6.5375 4.225 5.5125 4.775 4.1375C4.775 4.1375 5.6125 3.875 7.525 5.1625C8.325 4.9375 9.175 4.825 10.025 4.825C10.875 4.825 11.725 4.9375 12.525 5.1625C14.4375 3.8625 15.275 4.1375 15.275 4.1375C15.825 5.5125 15.475 6.5375 15.375 6.7875C16.0125 7.4875 16.4 8.375 16.4 9.475C16.4 13.3125 14.0625 14.1625 11.8375 14.4125C12.2 14.725 12.5125 15.325 12.5125 16.2625C12.5125 17.6 12.5 18.675 12.5 19.0125C12.5 19.275 12.6875 19.5875 13.1875 19.4875C15.1726 18.8173 16.8976 17.5414 18.1197 15.8395C19.3418 14.1375 19.9994 12.0952 20 10C20 4.475 15.525 0 10 0Z" - fill={color ? color : "rgb(var(--color-text-200))"} + fill={color ? color : "var(--text-color-secondary)"} /> diff --git a/packages/propel/src/icons/gitlab-icon.tsx b/packages/propel/src/icons/gitlab-icon.tsx index ae29da747..41fa4aecf 100644 --- a/packages/propel/src/icons/gitlab-icon.tsx +++ b/packages/propel/src/icons/gitlab-icon.tsx @@ -17,7 +17,7 @@ export function GitlabIcon({ width = "24", height = "24", className, color }: IS fillRule="evenodd" clipRule="evenodd" d="M10 0C4.475 0 0 4.475 0 10C0 14.425 2.8625 18.1625 6.8375 19.4875C7.3375 19.575 7.525 19.275 7.525 19.0125C7.525 18.775 7.5125 17.9875 7.5125 17.15C5 17.6125 4.35 16.5375 4.15 15.975C4.0375 15.6875 3.55 14.8 3.125 14.5625C2.775 14.375 2.275 13.9125 3.1125 13.9C3.9 13.8875 4.4625 14.625 4.65 14.925C5.55 16.4375 6.9875 16.0125 7.5625 15.75C7.65 15.1 7.9125 14.6625 8.2 14.4125C5.975 14.1625 3.65 13.3 3.65 9.475C3.65 8.3875 4.0375 7.4875 4.675 6.7875C4.575 6.5375 4.225 5.5125 4.775 4.1375C4.775 4.1375 5.6125 3.875 7.525 5.1625C8.325 4.9375 9.175 4.825 10.025 4.825C10.875 4.825 11.725 4.9375 12.525 5.1625C14.4375 3.8625 15.275 4.1375 15.275 4.1375C15.825 5.5125 15.475 6.5375 15.375 6.7875C16.0125 7.4875 16.4 8.375 16.4 9.475C16.4 13.3125 14.0625 14.1625 11.8375 14.4125C12.2 14.725 12.5125 15.325 12.5125 16.2625C12.5125 17.6 12.5 18.675 12.5 19.0125C12.5 19.275 12.6875 19.5875 13.1875 19.4875C15.1726 18.8173 16.8976 17.5414 18.1197 15.8395C19.3418 14.1375 19.9994 12.0952 20 10C20 4.475 15.525 0 10 0Z" - fill={color ? color : "rgb(var(--color-text-200))"} + fill={color ? color : "var(--text-color-secondary)"} /> diff --git a/packages/propel/src/menu/menu.stories.tsx b/packages/propel/src/menu/menu.stories.tsx index 4b2261060..c23d01ad1 100644 --- a/packages/propel/src/menu/menu.stories.tsx +++ b/packages/propel/src/menu/menu.stories.tsx @@ -161,7 +161,7 @@ export const WithSubmenu: Story = { alert("Open")}>Open alert("Export as PDF")}>Export as PDF alert("Export as CSV")}>Export as CSV @@ -220,7 +220,7 @@ export const ComplexMenu: Story = { alert("General Settings")}>General alert("Privacy Settings")}>Privacy diff --git a/packages/propel/src/menu/menu.tsx b/packages/propel/src/menu/menu.tsx index 6b4d6da16..586b197be 100644 --- a/packages/propel/src/menu/menu.tsx +++ b/packages/propel/src/menu/menu.tsx @@ -180,7 +180,7 @@ function Menu(props: TMenuProps) { diff --git a/packages/tailwind-config/AGENTS.md b/packages/tailwind-config/AGENTS.md index 9a6ecdf50..57e4876ae 100644 --- a/packages/tailwind-config/AGENTS.md +++ b/packages/tailwind-config/AGENTS.md @@ -478,7 +478,7 @@ Use semantic text colors that match the hierarchy:

Title

Description text

Metadata - + ``` diff --git a/packages/tailwind-config/index.css b/packages/tailwind-config/index.css index 2111e0343..ecebd1a56 100644 --- a/packages/tailwind-config/index.css +++ b/packages/tailwind-config/index.css @@ -34,13 +34,13 @@ body { /* progress bar */ @utility progress-bar { fill: currentColor; - color: rgba(var(--color-sidebar-background-100)); + color: var(--text-color-secondary); } ::-webkit-input-placeholder, ::placeholder, :-ms-input-placeholder { - color: rgb(var(--color-text-400)); + @apply text-placeholder; } @utility vertical-lr { @@ -172,12 +172,12 @@ body { /* highlight class */ @utility highlight { - border: 1px solid rgb(var(--color-primary-100)) !important; + border: 1px solid var(--border-color-accent-strong) !important; } @utility highlight-with-line { - border-left: 5px solid rgb(var(--color-primary-100)) !important; - background: rgb(var(--color-background-80)); + border-left: 5px solid var(--border-color-accent-strong) !important; + background: var(--background-color-layer-2); } /* By applying below class, the autofilled text in form fields will not have the default autofill background color and styles applied by WebKit browsers */ diff --git a/packages/ui/src/auth-form/auth-input.tsx b/packages/ui/src/auth-form/auth-input.tsx index 3db799306..526cd4f35 100644 --- a/packages/ui/src/auth-form/auth-input.tsx +++ b/packages/ui/src/auth-form/auth-input.tsx @@ -51,7 +51,7 @@ export function AuthInput({ diff --git a/packages/ui/src/card/helper.tsx b/packages/ui/src/card/helper.tsx index 69dbea3f3..fabaeb74e 100644 --- a/packages/ui/src/card/helper.tsx +++ b/packages/ui/src/card/helper.tsx @@ -21,7 +21,7 @@ export interface ICardProperties { const DEFAULT_STYLE = "bg-surface-1 rounded-lg border-[0.5px] border-subtle w-full flex flex-col"; export const containerStyle: ICardProperties = { [ECardVariant.WITHOUT_SHADOW]: "", - [ECardVariant.WITH_SHADOW]: "hover:shadow-custom-shadow-4xl duration-300", + [ECardVariant.WITH_SHADOW]: "hover:shadow-raised-200 duration-300", }; export const spacings = { [ECardSpacing.SM]: "p-4", diff --git a/packages/ui/src/drag-handle.tsx b/packages/ui/src/drag-handle.tsx index 0d27ba9ee..da140272c 100644 --- a/packages/ui/src/drag-handle.tsx +++ b/packages/ui/src/drag-handle.tsx @@ -28,8 +28,8 @@ export const DragHandle = forwardRef(function DragHandle( }} ref={ref} > - - + + ); }); diff --git a/packages/ui/src/dropdown/multi-select.tsx b/packages/ui/src/dropdown/multi-select.tsx index a3bcc7362..bc67130ae 100644 --- a/packages/ui/src/dropdown/multi-select.tsx +++ b/packages/ui/src/dropdown/multi-select.tsx @@ -138,7 +138,7 @@ export function MultiSelectDropdown(props: IMultiSelectDropdown) {
(props: TPopoverMenu) { button={button} disabled={disabled} panelClassName={cn( - "my-1 w-48 rounded-sm border-[0.5px] border-strong bg-surface-1 px-2 py-2 text-11 shadow-custom-shadow-rg focus:outline-none", + "my-1 w-48 rounded-sm border-[0.5px] border-strong bg-surface-1 px-2 py-2 text-11 shadow-raised-200 focus:outline-none", panelClassName )} popoverClassName={popoverClassName} diff --git a/packages/ui/src/spinners/circular-spinner.tsx b/packages/ui/src/spinners/circular-spinner.tsx index 8a41f4ebc..1516c029d 100644 --- a/packages/ui/src/spinners/circular-spinner.tsx +++ b/packages/ui/src/spinners/circular-spinner.tsx @@ -15,7 +15,7 @@ export function Spinner({ height = "32px", width = "32px", className = "" }: ISp aria-hidden="true" height={height} width={width} - className={cn("animate-spin fill-custom-primary-100 text-secondary", className)} + className={cn("animate-spin fill-accent-primary text-secondary", className)} viewBox="0 0 100 101" fill="none" xmlns="http://www.w3.org/2000/svg"