diff --git a/packages/editor/core/src/ui/mentions/mention-list.tsx b/packages/editor/core/src/ui/mentions/mention-list.tsx index b12adb74d..de82544fe 100644 --- a/packages/editor/core/src/ui/mentions/mention-list.tsx +++ b/packages/editor/core/src/ui/mentions/mention-list.tsx @@ -77,7 +77,7 @@ export const MentionList = forwardRef((props: MentionListProps, ref) => { {item.avatar && item.avatar.trim() !== "" ? ( {item.title} ) : ( -
+
{item.title[0]}
)} diff --git a/packages/editor/core/src/ui/mentions/mention-node-view.tsx b/packages/editor/core/src/ui/mentions/mention-node-view.tsx index b2fd83a53..c514a41fb 100644 --- a/packages/editor/core/src/ui/mentions/mention-node-view.tsx +++ b/packages/editor/core/src/ui/mentions/mention-node-view.tsx @@ -20,7 +20,9 @@ export const MentionNodeView = (props) => { ({ + page: { + ...(color === "neutral" + ? { "surface-default": `var(--color-${color}-0)` } + : {}), + "surface-light": `var(--color-${color}-10)`, + "surface-medium": `var(--color-${color}-20)`, + }, + component: { + "surface-light": `var(--color-${color}-30)`, + "surface-medium": `var(--color-${color}-40)`, + "surface-dark": `var(--color-${color}-50)`, + }, + border: { + subtle: `var(--color-${color}-60)`, + medium: `var(--color-${color}-70)`, + strong: `var(--color-${color}-80)`, + }, + solid: `var(--color-${color}-90)`, + "solid-hover": `var(--color-${color}-100)`, + text: { + subtle: `var(--color-${color}-100)`, + medium: `var(--color-${color}-110)`, + strong: `var(--color-${color}-120)`, + }, + 10: `var(--color-${color}-10)`, + 20: `var(--color-${color}-20)`, + 30: `var(--color-${color}-30)`, + 40: `var(--color-${color}-40)`, + 50: `var(--color-${color}-50)`, + 60: `var(--color-${color}-60)`, + 70: `var(--color-${color}-70)`, + 80: `var(--color-${color}-80)`, + 90: `var(--color-${color}-90)`, + 100: `var(--color-${color}-100)`, + 110: `var(--color-${color}-110)`, + 120: `var(--color-${color}-120)`, + DEFAULT: `var(--color-${color}-90)`, +}); + +const generateSidebarColorShades = (color) => ({ + page: { + ...(color === "neutral" + ? { "surface-default": `var(--color-sidebar-${color}-0)` } + : {}), + "surface-light": `var(--color-sidebar-${color}-10)`, + "surface-medium": `var(--color-sidebar-${color}-20)`, + }, + component: { + "surface-light": `var(--color-sidebar-${color}-30)`, + "surface-medium": `var(--color-sidebar-${color}-40)`, + "surface-dark": `var(--color-sidebar-${color}-50)`, + }, + border: { + subtle: `var(--color-sidebar-${color}-60)`, + medium: `var(--color-sidebar-${color}-70)`, + strong: `var(--color-sidebar-${color}-80)`, + }, + solid: `var(--color-sidebar-${color}-90)`, + "solid-hover": `var(--color-sidebar-${color}-100)`, + text: { + subtle: `var(--color-sidebar-${color}-100)`, + medium: `var(--color-sidebar-${color}-110)`, + strong: `var(--color-sidebar-${color}-120)`, + }, + 10: `var(--color-sidebar-${color}-10)`, + 20: `var(--color-sidebar-${color}-20)`, + 30: `var(--color-sidebar-${color}-30)`, + 40: `var(--color-sidebar-${color}-40)`, + 50: `var(--color-sidebar-${color}-50)`, + 60: `var(--color-sidebar-${color}-60)`, + 70: `var(--color-sidebar-${color}-70)`, + 80: `var(--color-sidebar-${color}-80)`, + 90: `var(--color-sidebar-${color}-90)`, + 100: `var(--color-sidebar-${color}-100)`, + 110: `var(--color-sidebar-${color}-110)`, + 120: `var(--color-sidebar-${color}-120)`, + DEFAULT: `var(--color-sidebar-${color}-90)`, +}); + +const generateSaturatedColorShades = (color) => ({ + 10: `var(--color-${color}-10)`, + 20: `var(--color-${color}-20)`, + 30: `var(--color-${color}-30)`, + 40: `var(--color-${color}-40)`, + 50: `var(--color-${color}-50)`, + 60: `var(--color-${color}-60)`, + 70: `var(--color-${color}-70)`, + 80: `var(--color-${color}-80)`, + 90: `var(--color-${color}-90)`, + 100: `var(--color-${color}-100)`, + 110: `var(--color-${color}-110)`, + 120: `var(--color-${color}-120)`, + DEFAULT: `var(--color-${color}-90)`, +}); + /** @type {import('tailwindcss').Config} */ export const darkMode = "class"; export const content = { @@ -44,268 +140,15 @@ export const theme = { transparent: colors.transparent, black: colors.black, white: colors.white, - primary: { - page: { - "surface-light": "var(--color-primary-10)", - "surface-medium": "var(--color-primary-20)", - }, - component: { - "surface-light": "var(--color-primary-30)", - "surface-medium": "var(--color-primary-40)", - "surface-dark": "var(--color-primary-50)", - }, - border: { - subtle: "var(--color-primary-60)", - medium: "var(--color-primary-70)", - strong: "var(--color-primary-80)", - }, - solid: "var(--color-primary-90)", - text: { - subtle: "var(--color-primary-100)", - medium: "var(--color-primary-110)", - strong: "var(--color-primary-120)", - }, - 10: "var(--color-primary-10)", - 20: "var(--color-primary-20)", - 30: "var(--color-primary-30)", - 40: "var(--color-primary-40)", - 50: "var(--color-primary-50)", - 60: "var(--color-primary-60)", - 70: "var(--color-primary-70)", - 80: "var(--color-primary-80)", - 90: "var(--color-primary-90)", - 100: "var(--color-primary-100)", - 110: "var(--color-primary-110)", - 120: "var(--color-primary-120)", - DEFAULT: "var(--color-primary-90)", - }, - 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)", - }, - success: { - page: { - "surface-light": "var(--color-success-10)", - "surface-medium": "var(--color-success-20)", - }, - component: { - "surface-light": "var(--color-success-30)", - "surface-medium": "var(--color-success-40)", - "surface-dark": "var(--color-success-50)", - }, - border: { - subtle: "var(--color-success-60)", - medium: "var(--color-success-70)", - strong: "var(--color-success-80)", - }, - solid: "var(--color-success-90)", - text: { - subtle: "var(--color-success-100)", - medium: "var(--color-success-110)", - strong: "var(--color-success-120)", - }, - 10: "var(--color-success-10)", - 20: "var(--color-success-20)", - 30: "var(--color-success-30)", - 40: "var(--color-success-40)", - 50: "var(--color-success-50)", - 60: "var(--color-success-60)", - 70: "var(--color-success-70)", - 80: "var(--color-success-80)", - 90: "var(--color-success-90)", - 100: "var(--color-success-100)", - 110: "var(--color-success-110)", - 120: "var(--color-success-120)", - DEFAULT: "var(--color-success-90)", - }, - warning: { - page: { - "surface-light": "var(--color-warning-10)", - "surface-medium": "var(--color-warning-20)", - }, - component: { - "surface-light": "var(--color-warning-30)", - "surface-medium": "var(--color-warning-40)", - "surface-dark": "var(--color-warning-50)", - }, - border: { - subtle: "var(--color-warning-60)", - medium: "var(--color-warning-70)", - strong: "var(--color-warning-80)", - }, - solid: "var(--color-warning-90)", - text: { - subtle: "var(--color-warning-100)", - medium: "var(--color-warning-110)", - strong: "var(--color-warning-120)", - }, - 10: "var(--color-warning-10)", - 20: "var(--color-warning-20)", - 30: "var(--color-warning-30)", - 40: "var(--color-warning-40)", - 50: "var(--color-warning-50)", - 60: "var(--color-warning-60)", - 70: "var(--color-warning-70)", - 80: "var(--color-warning-80)", - 90: "var(--color-warning-90)", - 100: "var(--color-warning-100)", - 110: "var(--color-warning-110)", - 120: "var(--color-warning-120)", - DEFAULT: "var(--color-warning-90)", - }, - danger: { - page: { - "surface-light": "var(--color-danger-10)", - "surface-medium": "var(--color-danger-20)", - }, - component: { - "surface-light": "var(--color-danger-30)", - "surface-medium": "var(--color-danger-40)", - "surface-dark": "var(--color-danger-50)", - }, - border: { - subtle: "var(--color-danger-60)", - medium: "var(--color-danger-70)", - strong: "var(--color-danger-80)", - }, - solid: "var(--color-danger-90)", - text: { - subtle: "var(--color-danger-100)", - medium: "var(--color-danger-110)", - strong: "var(--color-danger-120)", - }, - 10: "var(--color-danger-10)", - 20: "var(--color-danger-20)", - 30: "var(--color-danger-30)", - 40: "var(--color-danger-40)", - 50: "var(--color-danger-50)", - 60: "var(--color-danger-60)", - 70: "var(--color-danger-70)", - 80: "var(--color-danger-80)", - 90: "var(--color-danger-90)", - 100: "var(--color-danger-100)", - 110: "var(--color-danger-110)", - 120: "var(--color-danger-120)", - DEFAULT: "var(--color-danger-90)", - }, - info: { - page: { - "surface-light": "var(--color-info-10)", - "surface-medium": "var(--color-info-20)", - }, - component: { - "surface-light": "var(--color-info-30)", - "surface-medium": "var(--color-info-40)", - "surface-dark": "var(--color-info-50)", - }, - border: { - subtle: "var(--color-info-60)", - medium: "var(--color-info-70)", - strong: "var(--color-info-80)", - }, - solid: "var(--color-info-90)", - text: { - subtle: "var(--color-info-100)", - medium: "var(--color-info-110)", - strong: "var(--color-info-120)", - }, - 10: "var(--color-info-10)", - 20: "var(--color-info-20)", - 30: "var(--color-info-30)", - 40: "var(--color-info-40)", - 50: "var(--color-info-50)", - 60: "var(--color-info-60)", - 70: "var(--color-info-70)", - 80: "var(--color-info-80)", - 90: "var(--color-info-90)", - 100: "var(--color-info-100)", - 110: "var(--color-info-110)", - 120: "var(--color-info-120)", - DEFAULT: "var(--color-info-90)", - }, - orange: { - 10: "var(--color-orange-10)", - 20: "var(--color-orange-20)", - 30: "var(--color-orange-30)", - 40: "var(--color-orange-40)", - 50: "var(--color-orange-50)", - 60: "var(--color-orange-60)", - 70: "var(--color-orange-70)", - 80: "var(--color-orange-80)", - 90: "var(--color-orange-90)", - 100: "var(--color-orange-100)", - 110: "var(--color-orange-110)", - 120: "var(--color-orange-120)", - }, + primary: generateColorShades("primary"), + neutral: generateColorShades("neutral"), + success: generateColorShades("success"), + warning: generateColorShades("warning"), + danger: generateColorShades("danger"), + info: generateColorShades("info"), + orange: generateSaturatedColorShades("orange"), 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)", - }, + neutral: generateSidebarColorShades("neutral"), }, }, extend: { diff --git a/packages/ui/src/avatar/avatar.tsx b/packages/ui/src/avatar/avatar.tsx index 6344dce83..bb46b7f15 100644 --- a/packages/ui/src/avatar/avatar.tsx +++ b/packages/ui/src/avatar/avatar.tsx @@ -151,7 +151,7 @@ export const Avatar: React.FC = (props) => { shape )} ${className}`} style={{ - backgroundColor: fallbackBackgroundColor ?? "rgba(var(--color-primary-500))", + backgroundColor: fallbackBackgroundColor ?? "var(--color-primary-90)", color: fallbackTextColor ?? "#ffffff", }} > diff --git a/packages/ui/src/button/button.tsx b/packages/ui/src/button/button.tsx index 10ee815f6..5c6e01d89 100644 --- a/packages/ui/src/button/button.tsx +++ b/packages/ui/src/button/button.tsx @@ -32,7 +32,13 @@ const Button = React.forwardRef((props, ref) => const buttonIconStyle = getIconStyling(size); return ( -
) : ( - + {projectStore.project?.name.charAt(0)} ) diff --git a/space/components/issues/peek-overview/comment/comment-detail-card.tsx b/space/components/issues/peek-overview/comment/comment-detail-card.tsx index ae5c628de..1a3198e2b 100644 --- a/space/components/issues/peek-overview/comment/comment-detail-card.tsx +++ b/space/components/issues/peek-overview/comment/comment-detail-card.tsx @@ -75,7 +75,9 @@ export const CommentCard: React.FC = observer((props) => { className="grid h-7 w-7 place-items-center rounded-full border-2 border-neutral-border-medium" /> ) : ( -
+
{comment.actor_detail.is_bot ? comment?.actor_detail?.first_name?.charAt(0) : comment?.actor_detail?.display_name?.charAt(0)} diff --git a/space/components/issues/peek-overview/issue-properties.tsx b/space/components/issues/peek-overview/issue-properties.tsx index de2cbf8f7..f35f10794 100644 --- a/space/components/issues/peek-overview/issue-properties.tsx +++ b/space/components/issues/peek-overview/issue-properties.tsx @@ -86,7 +86,7 @@ export const PeekOverviewIssueProperties: React.FC = ({ issueDetails, mod : priority?.key === "high" ? "border-orange-500/20 bg-orange-500/20 text-orange-500" : priority?.key === "medium" - ? "border-yellow-500/20 bg-yellow-500/20 text-yellow-500" + ? "border-yellow-500/20 bg-warning-component-surface-light text-warning-text-subtle" : priority?.key === "low" ? "border-green-500/20 bg-success-component-surface-dark text-success-text-medium" : "border-neutral-border-medium bg-neutral-component-surface-dark" diff --git a/space/constants/data.ts b/space/constants/data.ts index ead15a262..e8d1c4fde 100644 --- a/space/constants/data.ts +++ b/space/constants/data.ts @@ -39,7 +39,7 @@ export const issuePriorityFilters: IIssuePriorityFilters[] = [ { key: "medium", title: "Medium", - className: "text-yellow-500 border-neutral-border-medium", + className: "text-warning-text-subtle border-neutral-border-medium", icon: "signal_cellular_alt_2_bar", }, { diff --git a/web/components/account/deactivate-account-modal.tsx b/web/components/account/deactivate-account-modal.tsx index de52a4646..d0ee2b472 100644 --- a/web/components/account/deactivate-account-modal.tsx +++ b/web/components/account/deactivate-account-modal.tsx @@ -108,7 +108,7 @@ export const DeactivateAccountModal: React.FC = (props) => {
-
) : ( - + {projectDetails?.name.charAt(0)} )} diff --git a/web/components/analytics/custom-analytics/sidebar/sidebar.tsx b/web/components/analytics/custom-analytics/sidebar/sidebar.tsx index ff45c4800..fbb610419 100644 --- a/web/components/analytics/custom-analytics/sidebar/sidebar.tsx +++ b/web/components/analytics/custom-analytics/sidebar/sidebar.tsx @@ -176,7 +176,7 @@ export const CustomAnalyticsSidebar: React.FC = observer((props) => {
) : ( -
+
{user.display_name !== "" ? user?.display_name?.[0] : "?"}
)} diff --git a/web/components/api-token/delete-token-modal.tsx b/web/components/api-token/delete-token-modal.tsx index 8a93494c9..d21e3d22b 100644 --- a/web/components/api-token/delete-token-modal.tsx +++ b/web/components/api-token/delete-token-modal.tsx @@ -108,7 +108,7 @@ export const DeleteApiTokenModal: FC = (props) => {

-
-
diff --git a/web/components/auth-screens/workspace/not-a-member.tsx b/web/components/auth-screens/workspace/not-a-member.tsx index 86e522caf..e6ec61c06 100644 --- a/web/components/auth-screens/workspace/not-a-member.tsx +++ b/web/components/auth-screens/workspace/not-a-member.tsx @@ -19,7 +19,7 @@ export const NotAWorkspaceMember = () => (
- + diff --git a/web/components/automation/select-month-modal.tsx b/web/components/automation/select-month-modal.tsx index 28df69ac2..3686abfa7 100644 --- a/web/components/automation/select-month-modal.tsx +++ b/web/components/automation/select-month-modal.tsx @@ -152,7 +152,7 @@ export const SelectMonthModal: React.FC = ({ type, initialValues, isOpen,
- {selectedIssues.length > 0 && ( diff --git a/web/components/core/modals/gpt-assistant-popover.tsx b/web/components/core/modals/gpt-assistant-popover.tsx index d3b9cb13f..fc27b598c 100644 --- a/web/components/core/modals/gpt-assistant-popover.tsx +++ b/web/components/core/modals/gpt-assistant-popover.tsx @@ -253,7 +253,7 @@ export const GptAssistantPopover: React.FC = (props) => {
{responseActionButton}
-
- )}
- )}
- diff --git a/web/components/cycles/form.tsx b/web/components/cycles/form.tsx index 11e9e9eed..30e84c4ab 100644 --- a/web/components/cycles/form.tsx +++ b/web/components/cycles/form.tsx @@ -172,7 +172,7 @@ export const CycleForm: React.FC = (props) => {
-
-
{currentProjectDetails?.estimate !== estimate?.id && estimate?.points?.length > 0 && ( - )} diff --git a/web/components/estimates/estimates-list.tsx b/web/components/estimates/estimates-list.tsx index 8cae4cf3f..1ace9ae7b 100644 --- a/web/components/estimates/estimates-list.tsx +++ b/web/components/estimates/estimates-list.tsx @@ -87,7 +87,7 @@ export const EstimatesList: React.FC = observer(() => { Add Estimate {currentProjectDetails?.estimate && ( - )} diff --git a/web/components/exporter/export-modal.tsx b/web/components/exporter/export-modal.tsx index 8c9a2a207..ac335446a 100644 --- a/web/components/exporter/export-modal.tsx +++ b/web/components/exporter/export-modal.tsx @@ -163,7 +163,7 @@ export const Exporter: React.FC = observer((props) => {
Export the data into separate files
-
) : ( - + {currentProjectDetails?.name.charAt(0)} ) @@ -206,7 +206,7 @@ export const ProjectIssuesHeader: React.FC = observer(() => { {currentProjectDetails?.inbox_view && inboxDetails && ( - diff --git a/web/components/headers/project-settings.tsx b/web/components/headers/project-settings.tsx index 3a575c402..6929f8bae 100644 --- a/web/components/headers/project-settings.tsx +++ b/web/components/headers/project-settings.tsx @@ -49,7 +49,7 @@ export const ProjectSettingHeader: FC = observer((props) ) : currentProjectDetails?.icon_prop ? ( renderEmoji(currentProjectDetails.icon_prop) ) : ( - + {currentProjectDetails?.name.charAt(0)} ) diff --git a/web/components/headers/project-view-issues.tsx b/web/components/headers/project-view-issues.tsx index 7e6cd8f72..2af3f9b04 100644 --- a/web/components/headers/project-view-issues.tsx +++ b/web/components/headers/project-view-issues.tsx @@ -128,7 +128,7 @@ export const ProjectViewIssuesHeader: React.FC = observer(() => { {renderEmoji(currentProjectDetails.icon_prop)}
) : ( - + {currentProjectDetails?.name.charAt(0)} ) diff --git a/web/components/headers/project-views.tsx b/web/components/headers/project-views.tsx index 6d04a8d8d..083a0c21f 100644 --- a/web/components/headers/project-views.tsx +++ b/web/components/headers/project-views.tsx @@ -51,7 +51,7 @@ export const ProjectViewsHeader: React.FC = observer(() => { {renderEmoji(currentProjectDetails.icon_prop)} ) : ( - + {currentProjectDetails?.name.charAt(0)} ) diff --git a/web/components/inbox/inbox-issue-actions.tsx b/web/components/inbox/inbox-issue-actions.tsx index 175a69de3..731045b6f 100644 --- a/web/components/inbox/inbox-issue-actions.tsx +++ b/web/components/inbox/inbox-issue-actions.tsx @@ -268,7 +268,7 @@ export const InboxIssueActionsHeader: FC = observer((p
- @@ -307,7 +307,7 @@ export const InboxIssueActionsHeader: FC = observer((p {isAllowed && issueStatus.status === -2 && (
-
-
-
-
-
-
-
-
) : ( - + {project?.name.charAt(0)} ) diff --git a/web/components/issues/issue-layouts/filters/header/helpers/dropdown.tsx b/web/components/issues/issue-layouts/filters/header/helpers/dropdown.tsx index cc0733f44..f33f6807c 100644 --- a/web/components/issues/issue-layouts/filters/header/helpers/dropdown.tsx +++ b/web/components/issues/issue-layouts/filters/header/helpers/dropdown.tsx @@ -42,7 +42,7 @@ export const FiltersDropdown: React.FC = (props) => {
- @@ -677,7 +677,7 @@ export const IssueFormRoot: FC = observer((props) => { {data?.id ? ( ) : (
-
- )} diff --git a/web/components/pages/delete-page-modal.tsx b/web/components/pages/delete-page-modal.tsx index 7fb7f5d81..215f2e246 100644 --- a/web/components/pages/delete-page-modal.tsx +++ b/web/components/pages/delete-page-modal.tsx @@ -115,7 +115,7 @@ export const DeletePageModal: React.FC = observer((pr
-
-
-
-
-
{!fetchSettingsLoader && (
- {project.is_deployed ? ( diff --git a/web/components/project/send-project-invitation-modal.tsx b/web/components/project/send-project-invitation-modal.tsx index 52cd06918..5f343b518 100644 --- a/web/components/project/send-project-invitation-modal.tsx +++ b/web/components/project/send-project-invitation-modal.tsx @@ -311,7 +311,7 @@ export const SendProjectInvitationModal: React.FC = observer((props) => { Add more
-
) : ( - + {project?.name.charAt(0)} )} diff --git a/web/components/states/create-state-modal.tsx b/web/components/states/create-state-modal.tsx index cea59a25d..03c3eef77 100644 --- a/web/components/states/create-state-modal.tsx +++ b/web/components/states/create-state-modal.tsx @@ -243,7 +243,7 @@ export const CreateStateModal: React.FC = observer((props) => {
-
-
-
-
) : (
- {!webhookSecretKey && ( diff --git a/web/components/web-hooks/form/secret-key.tsx b/web/components/web-hooks/form/secret-key.tsx index 92eeab70f..013332a72 100644 --- a/web/components/web-hooks/form/secret-key.tsx +++ b/web/components/web-hooks/form/secret-key.tsx @@ -120,7 +120,7 @@ export const WebhookSecretKey: FC = observer((props) => {
{data && (
- diff --git a/web/components/web-hooks/generated-hook-details.tsx b/web/components/web-hooks/generated-hook-details.tsx index 30a4d03e4..7d8d946bd 100644 --- a/web/components/web-hooks/generated-hook-details.tsx +++ b/web/components/web-hooks/generated-hook-details.tsx @@ -24,7 +24,7 @@ export const GeneratedHookDetails: React.FC = (props) => {
-
diff --git a/web/components/workspace/confirm-workspace-member-remove.tsx b/web/components/workspace/confirm-workspace-member-remove.tsx index f530a1c28..1f23935d4 100644 --- a/web/components/workspace/confirm-workspace-member-remove.tsx +++ b/web/components/workspace/confirm-workspace-member-remove.tsx @@ -93,7 +93,7 @@ export const ConfirmWorkspaceMemberRemove: React.FC = observer((props) =>
- {!secondaryButton && ( - )} diff --git a/web/components/workspace/delete-workspace-modal.tsx b/web/components/workspace/delete-workspace-modal.tsx index 0121c92dc..1a4bc2935 100644 --- a/web/components/workspace/delete-workspace-modal.tsx +++ b/web/components/workspace/delete-workspace-modal.tsx @@ -177,7 +177,7 @@ export const DeleteWorkspaceModal: React.FC = observer((props) => {
-
-
- diff --git a/web/pages/404.tsx b/web/pages/404.tsx index 4683315dc..aa74d6b64 100644 --- a/web/pages/404.tsx +++ b/web/pages/404.tsx @@ -28,7 +28,7 @@ const PageNotFound: NextPage = () => (
- diff --git a/web/pages/[workspaceSlug]/settings/billing.tsx b/web/pages/[workspaceSlug]/settings/billing.tsx index 8aaa6d2ff..a5f530c45 100644 --- a/web/pages/[workspaceSlug]/settings/billing.tsx +++ b/web/pages/[workspaceSlug]/settings/billing.tsx @@ -40,7 +40,7 @@ const BillingSettingsPage: NextPageWithLayout = observer(() => {

Current plan

You are currently using the free plan

- + diff --git a/web/pages/_error.tsx b/web/pages/_error.tsx index a76c5a6dd..f3e8f264c 100644 --- a/web/pages/_error.tsx +++ b/web/pages/_error.tsx @@ -60,7 +60,7 @@ const CustomErrorComponent = () => { - diff --git a/web/pages/buttons.tsx b/web/pages/buttons.tsx new file mode 100644 index 000000000..18ec1e804 --- /dev/null +++ b/web/pages/buttons.tsx @@ -0,0 +1,16 @@ +import { Button } from "@plane/ui"; + +const ButtonsPage = () => ( +
+ + + + + + + + +
+); + +export default ButtonsPage; diff --git a/web/pages/invitations/index.tsx b/web/pages/invitations/index.tsx index af5f87be0..0ef11dea8 100644 --- a/web/pages/invitations/index.tsx +++ b/web/pages/invitations/index.tsx @@ -160,7 +160,7 @@ const UserInvitationsPage: NextPageWithLayout = observer(() => { alt={invitation.workspace.name} /> ) : ( - + {invitation.workspace.name[0]} )} @@ -194,7 +194,7 @@ const UserInvitationsPage: NextPageWithLayout = observer(() => { - diff --git a/web/pages/profile/activity.tsx b/web/pages/profile/activity.tsx index d6d1e2ac2..240d7f3c0 100644 --- a/web/pages/profile/activity.tsx +++ b/web/pages/profile/activity.tsx @@ -55,11 +55,11 @@ const ProfileActivityPage: NextPageWithLayout = observer(() => { alt={activityItem.actor_detail.display_name} height={30} width={30} - className="grid h-7 w-7 place-items-center rounded-full border-2 border-white bg-gray-500 text-white" + className="grid h-7 w-7 place-items-center rounded-full border-2 border-white bg-primary-solid text-white" /> ) : (
{activityItem.actor_detail.display_name?.charAt(0)}
@@ -135,7 +135,7 @@ const ProfileActivityPage: NextPageWithLayout = observer(() => { /> ) : (
{activityItem.actor_detail.display_name?.charAt(0)}
diff --git a/web/styles/globals.css b/web/styles/globals.css index 66b258dc8..37b9ccdd0 100644 --- a/web/styles/globals.css +++ b/web/styles/globals.css @@ -46,6 +46,20 @@ --color-shadow-3xl: 0px 12px 24px 0px rgba(0, 0, 0, 0.12), 0px 16px 32px 0px rgba(0, 0, 0, 0.12), 0px 1px 48px 0px rgba(16, 24, 40, 0.12); --color-shadow-4xl: 0px 8px 40px 0px rgba(0, 0, 61, 0.05), 0px 12px 32px -16px rgba(0, 0, 0, 0.05); + + --color-sidebar-neutral-0: var(--color-neutral-0); + --color-sidebar-neutral-10: var(--color-neutral-10); + --color-sidebar-neutral-20: var(--color-neutral-20); + --color-sidebar-neutral-30: var(--color-neutral-30); + --color-sidebar-neutral-40: var(--color-neutral-40); + --color-sidebar-neutral-50: var(--color-neutral-50); + --color-sidebar-neutral-60: var(--color-neutral-60); + --color-sidebar-neutral-70: var(--color-neutral-70); + --color-sidebar-neutral-80: var(--color-neutral-80); + --color-sidebar-neutral-90: var(--color-neutral-90); + --color-sidebar-neutral-100: var(--color-neutral-100); + --color-sidebar-neutral-110: var(--color-neutral-110); + --color-sidebar-neutral-120: var(--color-neutral-120); } [data-theme="light"], @@ -428,7 +442,7 @@ body { /* progress bar */ .progress-bar { fill: currentColor; - color: rgba(var(--color-sidebar-background-100)); + color: var(--color-sidebar-neutral-30); } /* lineclamp */