From 92ab1ea164f258f200aed9510d0ebd0921d1e9dc Mon Sep 17 00:00:00 2001 From: Aaryan Khandelwal Date: Mon, 29 Jan 2024 19:53:46 +0530 Subject: [PATCH] chore: update sidebar border colors --- .../tailwind-config-custom/tailwind.config.js | 38 +++++++++++++++++++ web/components/breadcrumbs/index.tsx | 6 ++- web/components/headers/project-issues.tsx | 2 +- web/components/instance/sidebar-dropdown.tsx | 4 +- .../issues/issue-detail/parent-select.tsx | 2 +- .../issues/issue-detail/relation-select.tsx | 4 +- web/components/project/sidebar-list.tsx | 2 +- web/components/workspace/sidebar-dropdown.tsx | 4 +- web/layouts/admin-layout/sidebar.tsx | 2 +- web/layouts/app-layout/sidebar.tsx | 2 +- .../settings-layout/profile/sidebar.tsx | 2 +- 11 files changed, 54 insertions(+), 14 deletions(-) diff --git a/packages/tailwind-config-custom/tailwind.config.js b/packages/tailwind-config-custom/tailwind.config.js index a855f167d..43a61f507 100644 --- a/packages/tailwind-config-custom/tailwind.config.js +++ b/packages/tailwind-config-custom/tailwind.config.js @@ -273,6 +273,44 @@ export const theme = { 110: "var(--color-orange-110)", 120: "var(--color-orange-120)", }, + sidebar: { + neutral: { + page: { + "surface-default": "var(--color-neutral-0)", + "surface-light": "var(--color-neutral-10)", + "surface-medium": "var(--color-neutral-20)", + }, + component: { + "surface-light": "var(--color-neutral-30)", + "surface-medium": "var(--color-neutral-40)", + "surface-dark": "var(--color-neutral-50)", + }, + border: { + subtle: "var(--color-neutral-60)", + medium: "var(--color-neutral-70)", + strong: "var(--color-neutral-80)", + }, + solid: "var(--color-neutral-90)", + text: { + subtle: "var(--color-neutral-100)", + medium: "var(--color-neutral-110)", + strong: "var(--color-neutral-120)", + }, + 10: "var(--color-neutral-10)", + 20: "var(--color-neutral-20)", + 30: "var(--color-neutral-30)", + 40: "var(--color-neutral-40)", + 50: "var(--color-neutral-50)", + 60: "var(--color-neutral-60)", + 70: "var(--color-neutral-70)", + 80: "var(--color-neutral-80)", + 90: "var(--color-neutral-90)", + 100: "var(--color-neutral-100)", + 110: "var(--color-neutral-110)", + 120: "var(--color-neutral-120)", + DEFAULT: "var(--color-neutral-90)", + }, + }, }, extend: { keyframes: { diff --git a/web/components/breadcrumbs/index.tsx b/web/components/breadcrumbs/index.tsx index 16fa1e333..b7f72141b 100644 --- a/web/components/breadcrumbs/index.tsx +++ b/web/components/breadcrumbs/index.tsx @@ -16,7 +16,7 @@ const Breadcrumbs = ({ children }: BreadcrumbsProps) => {