From 084669e658adde4c6d27238e29d85495644171d0 Mon Sep 17 00:00:00 2001 From: Aaryan Khandelwal Date: Tue, 30 Jan 2024 12:16:21 +0530 Subject: [PATCH] chore: update background colors --- .../core/src/ui/mentions/mention-list.tsx | 6 ++--- .../src/ui/components/editor-header.tsx | 2 +- .../src/ui/components/info-popover.tsx | 2 +- .../ui/components/links/link-edit-view.tsx | 4 ++-- .../src/ui/components/links/link-preview.tsx | 2 +- .../src/ui/components/summary-popover.tsx | 2 +- .../issue-suggestion-renderer.tsx | 4 ++-- .../issue-embed-widget/issue-widget-card.tsx | 2 +- .../src/ui/menu/fixed-menu.tsx | 16 +++++++------- .../editor/document-editor/src/ui/tooltip.tsx | 2 +- packages/editor/extensions/Readme.md | 2 +- .../src/extensions/slash-commands.tsx | 2 +- packages/editor/lite-text-editor/Readme.md | 2 +- .../src/ui/menus/fixed-menu/index.tsx | 22 +++++++++---------- .../src/ui/menus/bubble-menu/index.tsx | 2 +- .../ui/menus/bubble-menu/link-selector.tsx | 10 ++++----- .../ui/menus/bubble-menu/node-selector.tsx | 2 +- .../tailwind-config-custom/tailwind.config.js | 10 ++++----- packages/ui/src/badge/helper.tsx | 12 +++++----- packages/ui/src/button/helper.tsx | 12 +++++----- packages/ui/src/button/toggle-switch.tsx | 2 +- packages/ui/src/dropdowns/custom-menu.tsx | 10 ++++----- .../ui/src/dropdowns/custom-search-select.tsx | 10 ++++----- packages/ui/src/dropdowns/custom-select.tsx | 12 ++++++---- .../ui/src/form-fields/input-color-picker.tsx | 2 +- packages/ui/src/loader.tsx | 2 +- packages/ui/src/spinners/circular-spinner.tsx | 4 +++- packages/ui/src/tooltip/tooltip.tsx | 2 +- space/components/accounts/github-sign-in.tsx | 2 +- space/components/accounts/onboarding-form.tsx | 4 ++-- space/components/accounts/user-logged-in.tsx | 4 ++-- .../issues/board-views/kanban/block.tsx | 2 +- .../issues/board-views/list/block.tsx | 2 +- .../issues/board-views/list/index.tsx | 2 +- .../filters/applied-filters/filters-list.tsx | 2 +- .../issues/filters/applied-filters/label.tsx | 2 +- .../filters/applied-filters/priority.tsx | 2 +- .../issues/filters/applied-filters/state.tsx | 2 +- .../issues/filters/helpers/dropdown.tsx | 2 +- .../issues/filters/helpers/filter-header.tsx | 4 ++-- .../issues/filters/helpers/filter-option.tsx | 4 ++-- space/components/issues/filters/selection.tsx | 6 ++--- .../issues/navbar/issue-board-view.tsx | 4 ++-- space/components/issues/navbar/theme.tsx | 2 +- .../comment/comment-detail-card.tsx | 16 +++++++------- .../comment/comment-reactions.tsx | 2 +- .../issues/peek-overview/header.tsx | 4 ++-- .../issues/peek-overview/issue-activity.tsx | 2 +- .../peek-overview/issue-emoji-reactions.tsx | 2 +- .../issues/peek-overview/issue-properties.tsx | 6 ++--- .../issues/peek-overview/layout.tsx | 4 ++-- space/components/ui/dropdown.tsx | 12 +++++----- space/components/ui/reaction-selector.tsx | 10 +++++---- space/components/views/project-details.tsx | 2 +- space/layouts/project-layout.tsx | 6 ++--- space/pages/_document.tsx | 2 +- space/pages/onboarding/index.tsx | 4 ++-- .../account/deactivate-account-modal.tsx | 2 +- .../custom-analytics/graph/custom-tooltip.tsx | 2 +- .../custom-analytics/sidebar/sidebar.tsx | 4 ++-- .../analytics/custom-analytics/table.tsx | 2 +- .../analytics/project-modal/header.tsx | 2 +- .../analytics/project-modal/main-content.tsx | 4 ++-- .../analytics/project-modal/modal.tsx | 4 ++-- .../analytics/scope-and-demand/demand.tsx | 6 ++--- .../analytics/scope-and-demand/scope.tsx | 2 +- .../scope-and-demand/year-wise-issues.tsx | 2 +- .../api-token/delete-token-modal.tsx | 2 +- web/components/api-token/empty-state.tsx | 2 +- .../api-token/modal/create-token-modal.tsx | 2 +- web/components/api-token/modal/form.tsx | 6 ++++- web/components/api-token/token-list-item.tsx | 4 +++- .../auth-screens/not-authorized-view.tsx | 2 +- .../auth-screens/project/join-project.tsx | 2 +- .../automation/auto-archive-automation.tsx | 6 ++--- .../automation/auto-close-automation.tsx | 6 ++--- .../automation/select-month-modal.tsx | 2 +- web/components/breadcrumbs/index.tsx | 2 +- .../command-palette/command-modal.tsx | 6 ++--- .../shortcuts-modal/commands-list.tsx | 4 ++-- .../command-palette/shortcuts-modal/modal.tsx | 4 ++-- web/components/common/new-empty-state.tsx | 4 ++-- .../common/product-updates-modal.tsx | 4 ++-- .../core/filters/date-filter-modal.tsx | 5 +++-- web/components/core/image-picker-popover.tsx | 12 +++++----- .../modals/bulk-delete-issues-modal-item.tsx | 2 +- .../core/modals/bulk-delete-issues-modal.tsx | 4 ++-- .../modals/existing-issues-list-modal.tsx | 10 ++++----- .../core/modals/gpt-assistant-popover.tsx | 2 +- web/components/core/modals/link-modal.tsx | 2 +- .../core/modals/user-image-upload-modal.tsx | 6 ++--- .../modals/workspace-image-upload-modal.tsx | 6 ++--- web/components/core/sidebar/links-list.tsx | 8 +++---- .../core/sidebar/progress-chart.tsx | 2 +- .../core/sidebar/sidebar-progress-stats.tsx | 14 ++++++------ .../core/sidebar/single-progress-stats.tsx | 4 ++-- .../cycles/active-cycle-details.tsx | 6 ++--- web/components/cycles/active-cycle-stats.tsx | 8 +++---- web/components/cycles/cycle-peek-overview.tsx | 2 +- web/components/cycles/cycles-board-card.tsx | 4 ++-- web/components/cycles/cycles-list-item.tsx | 4 ++-- web/components/cycles/delete-modal.tsx | 2 +- web/components/cycles/gantt-chart/blocks.tsx | 2 +- web/components/cycles/modal.tsx | 2 +- web/components/cycles/sidebar.tsx | 4 ++-- .../cycles/transfer-issues-modal.tsx | 8 +++---- .../dashboard/widgets/assigned-issues.tsx | 2 +- .../dashboard/widgets/created-issues.tsx | 2 +- .../widgets/dropdowns/duration-filter.tsx | 2 +- .../widgets/issue-panels/issue-list-item.tsx | 12 +++++----- .../widgets/issue-panels/tabs-list.tsx | 5 +++-- .../dashboard/widgets/issues-by-priority.tsx | 2 +- .../widgets/issues-by-state-group.tsx | 2 +- .../widgets/loaders/assigned-issues.tsx | 2 +- .../widgets/loaders/issues-by-priority.tsx | 2 +- .../widgets/loaders/issues-by-state-group.tsx | 4 ++-- .../widgets/loaders/overview-stats.tsx | 2 +- .../widgets/loaders/recent-activity.tsx | 2 +- .../widgets/loaders/recent-collaborators.tsx | 2 +- .../widgets/loaders/recent-projects.tsx | 2 +- .../dashboard/widgets/overview-stats.tsx | 4 ++-- .../dashboard/widgets/recent-activity.tsx | 2 +- .../widgets/recent-collaborators.tsx | 2 +- .../dashboard/widgets/recent-projects.tsx | 2 +- web/components/dropdowns/cycle.tsx | 12 +++++----- web/components/dropdowns/date.tsx | 6 ++--- web/components/dropdowns/estimate.tsx | 12 +++++----- web/components/dropdowns/member/buttons.tsx | 6 ++--- .../dropdowns/member/project-member.tsx | 6 ++--- .../dropdowns/member/workspace-member.tsx | 6 ++--- web/components/dropdowns/module.tsx | 12 +++++----- web/components/dropdowns/priority.tsx | 12 +++++----- web/components/dropdowns/project.tsx | 12 +++++----- web/components/dropdowns/state.tsx | 12 +++++----- web/components/emoji-icon-picker/index.tsx | 4 ++-- .../empty-state/comic-box-button.tsx | 4 ++-- .../create-update-estimate-modal.tsx | 6 ++--- .../estimates/delete-estimate-modal.tsx | 2 +- web/components/estimates/estimates-list.tsx | 2 +- web/components/exporter/export-modal.tsx | 2 +- web/components/exporter/guide.tsx | 4 ++-- .../gantt-chart/blocks/blocks-display.tsx | 2 +- web/components/gantt-chart/chart/bi-week.tsx | 4 +++- web/components/gantt-chart/chart/index.tsx | 14 +++++++----- web/components/gantt-chart/chart/month.tsx | 4 +++- web/components/gantt-chart/chart/week.tsx | 4 +++- .../gantt-chart/helpers/draggable.tsx | 8 +++---- .../gantt-chart/sidebar/cycle-sidebar.tsx | 4 ++-- .../gantt-chart/sidebar/module-sidebar.tsx | 4 ++-- .../sidebar/project-view-sidebar.tsx | 4 ++-- .../gantt-chart/sidebar/sidebar.tsx | 4 ++-- web/components/headers/cycle-issues.tsx | 4 ++-- web/components/headers/cycles.tsx | 2 +- web/components/headers/global-issues.tsx | 8 +++---- web/components/headers/module-issues.tsx | 4 ++-- web/components/headers/modules-list.tsx | 8 +++---- web/components/headers/page-details.tsx | 2 +- web/components/headers/pages.tsx | 2 +- .../headers/profile-preferences.tsx | 2 +- web/components/headers/profile-settings.tsx | 2 +- .../project-archived-issue-details.tsx | 2 +- .../headers/project-archived-issues.tsx | 2 +- .../headers/project-draft-issues.tsx | 2 +- web/components/headers/project-inbox.tsx | 2 +- .../headers/project-issue-details.tsx | 2 +- web/components/headers/project-issues.tsx | 4 ++-- web/components/headers/project-settings.tsx | 2 +- .../headers/project-view-issues.tsx | 2 +- web/components/headers/project-views.tsx | 2 +- web/components/headers/projects.tsx | 4 ++-- web/components/headers/user-profile.tsx | 2 +- .../headers/workspace-active-cycles.tsx | 2 +- .../headers/workspace-analytics.tsx | 2 +- .../headers/workspace-dashboard.tsx | 6 ++--- web/components/headers/workspace-settings.tsx | 2 +- web/components/inbox/inbox-issue-actions.tsx | 6 ++--- .../inbox/modals/accept-issue-modal.tsx | 2 +- .../inbox/modals/create-issue-modal.tsx | 8 +++---- .../inbox/modals/decline-issue-modal.tsx | 2 +- .../inbox/modals/delete-issue-modal.tsx | 2 +- .../inbox/modals/select-duplicate.tsx | 6 ++--- .../inbox/sidebar/filter/applied-filters.tsx | 8 +++---- .../inbox/sidebar/filter/filter-selection.tsx | 2 +- web/components/inbox/sidebar/root.tsx | 2 +- web/components/instance/help-section.tsx | 14 ++++++------ .../instance/instance-admin-restriction.tsx | 2 +- web/components/instance/sidebar-dropdown.tsx | 8 +++---- web/components/instance/sidebar-menu.tsx | 2 +- .../integration/delete-import-modal.tsx | 2 +- web/components/integration/github/root.tsx | 2 +- .../integration/github/select-repository.tsx | 2 +- .../integration/github/single-user-select.tsx | 2 +- web/components/integration/guide.tsx | 4 ++-- web/components/integration/jira/root.tsx | 2 +- .../integration/single-integration-card.tsx | 2 +- .../issues/attachment/attachment-detail.tsx | 2 +- .../delete-attachment-confirmation-modal.tsx | 2 +- .../issues/confirm-issue-discard.tsx | 2 +- .../issues/delete-archived-issue-modal.tsx | 2 +- .../issues/delete-draft-issue-modal.tsx | 2 +- web/components/issues/delete-issue-modal.tsx | 2 +- web/components/issues/description-form.tsx | 2 +- web/components/issues/draft-issue-form.tsx | 6 ++--- web/components/issues/draft-issue-modal.tsx | 2 +- .../issues/issue-detail/inbox/sidebar.tsx | 2 +- .../actions/helpers/activity-block.tsx | 4 ++-- .../issue-activity/comments/comment-block.tsx | 4 ++-- .../issue-activity/comments/comment-card.tsx | 2 +- .../issue-detail/issue-activity/root.tsx | 4 ++-- .../issue-detail/label/create-label.tsx | 2 +- .../label/select/label-select.tsx | 8 +++---- .../links/create-update-link-modal.tsx | 2 +- .../issues/issue-detail/links/link-detail.tsx | 8 +++---- .../issues/issue-detail/links/root.tsx | 2 +- .../issues/issue-detail/module-select.tsx | 2 +- .../issues/issue-detail/parent-select.tsx | 2 +- .../issues/issue-detail/parent/root.tsx | 2 +- .../issue-detail/reactions/issue-comment.tsx | 2 +- .../issues/issue-detail/reactions/issue.tsx | 2 +- .../reactions/reaction-selector.tsx | 8 +++---- .../issues/issue-detail/relation-select.tsx | 6 ++--- .../issues/issue-detail/sidebar.tsx | 4 ++-- .../calendar/base-calendar-root.tsx | 2 +- .../issue-layouts/calendar/day-tile.tsx | 12 +++++----- .../calendar/dropdowns/months-dropdown.tsx | 4 ++-- .../calendar/dropdowns/options-dropdown.tsx | 8 +++---- .../issues/issue-layouts/calendar/header.tsx | 2 +- .../issue-layouts/calendar/issue-blocks.tsx | 10 ++++----- .../calendar/quick-add-issue-form.tsx | 2 +- .../issue-layouts/calendar/week-header.tsx | 2 +- .../filters/applied-filters/date.tsx | 2 +- .../filters/applied-filters/filters-list.tsx | 2 +- .../filters/applied-filters/label.tsx | 2 +- .../filters/applied-filters/members.tsx | 2 +- .../filters/applied-filters/priority.tsx | 2 +- .../filters/applied-filters/project.tsx | 5 ++++- .../filters/applied-filters/state-group.tsx | 2 +- .../filters/applied-filters/state.tsx | 2 +- .../display-filters/display-properties.tsx | 2 +- .../header/filters/filters-selection.tsx | 6 ++--- .../filters/header/helpers/dropdown.tsx | 2 +- .../filters/header/helpers/filter-header.tsx | 4 ++-- .../filters/header/helpers/filter-option.tsx | 4 ++-- .../filters/header/layout-selection.tsx | 6 ++--- .../issues/issue-layouts/gantt/blocks.tsx | 2 +- .../gantt/quick-add-issue-form.tsx | 2 +- .../issue-layouts/kanban/base-kanban-root.tsx | 8 +++---- .../issues/issue-layouts/kanban/block.tsx | 4 ++-- .../issues/issue-layouts/kanban/default.tsx | 2 +- .../kanban/headers/group-by-card.tsx | 6 ++--- .../kanban/headers/sub-group-by-card.tsx | 2 +- .../issue-layouts/kanban/kanban-group.tsx | 4 ++-- .../kanban/quick-add-issue-form.tsx | 2 +- .../issues/issue-layouts/kanban/swimlanes.tsx | 6 ++--- .../issue-layouts/list/base-list-root.tsx | 2 +- .../issues/issue-layouts/list/block.tsx | 4 ++-- .../issues/issue-layouts/list/blocks-list.tsx | 2 +- .../issues/issue-layouts/list/default.tsx | 2 +- .../list/headers/group-by-card.tsx | 4 ++-- .../list/quick-add-issue-form.tsx | 4 ++-- .../issue-layouts/properties/labels.tsx | 12 +++++----- .../roots/project-layout-root.tsx | 4 ++-- .../spreadsheet/columns/attachment-column.tsx | 2 +- .../spreadsheet/columns/created-on-column.tsx | 2 +- .../spreadsheet/columns/header-column.tsx | 4 +++- .../spreadsheet/columns/label-column.tsx | 2 +- .../spreadsheet/columns/link-column.tsx | 2 +- .../spreadsheet/columns/sub-issue-column.tsx | 2 +- .../spreadsheet/columns/updated-on-column.tsx | 2 +- .../issue-layouts/spreadsheet/issue-row.tsx | 10 ++++----- .../spreadsheet/quick-add-issue-form.tsx | 2 +- .../spreadsheet/spreadsheet-header.tsx | 4 ++-- web/components/issues/issue-modal/form.tsx | 8 +++---- web/components/issues/issue-modal/modal.tsx | 2 +- .../issues/parent-issues-list-modal.tsx | 6 ++--- .../issues/peek-overview/properties.tsx | 2 +- web/components/issues/peek-overview/view.tsx | 2 +- web/components/issues/select/label.tsx | 12 +++++----- .../issues/sub-issues/issue-list-item.tsx | 8 +++---- .../issues/sub-issues/progressbar.tsx | 2 +- web/components/issues/sub-issues/root.tsx | 6 ++--- .../issues/view-select/due-date.tsx | 2 +- .../issues/view-select/start-date.tsx | 2 +- web/components/labels/create-label-modal.tsx | 2 +- .../labels/create-update-label-inline.tsx | 4 +++- web/components/labels/delete-label-modal.tsx | 2 +- web/components/labels/labels-list-modal.tsx | 4 ++-- .../labels/project-setting-label-group.tsx | 2 +- .../labels/project-setting-label-item.tsx | 6 +++-- .../modules/delete-module-modal.tsx | 2 +- web/components/modules/gantt-chart/blocks.tsx | 2 +- web/components/modules/modal.tsx | 2 +- web/components/modules/module-card-item.tsx | 4 ++-- web/components/modules/module-list-item.tsx | 4 ++-- .../modules/module-peek-overview.tsx | 2 +- web/components/modules/sidebar.tsx | 4 ++-- .../notifications/notification-card.tsx | 6 ++--- .../notifications/notification-header.tsx | 2 +- .../notifications/notification-popover.tsx | 4 ++-- .../select-snooze-till-modal.tsx | 8 +++---- .../onboarding/onboarding-sidebar.tsx | 4 ++-- web/components/onboarding/tour/root.tsx | 4 ++-- web/components/onboarding/tour/sidebar.tsx | 2 +- .../page-views/workspace-dashboard.tsx | 2 +- .../pages/create-update-page-modal.tsx | 2 +- web/components/pages/delete-page-modal.tsx | 2 +- web/components/pages/page-form.tsx | 4 ++-- web/components/pages/pages-list/list-item.tsx | 2 +- .../pages/pages-list/recent-pages-list.tsx | 2 +- web/components/profile/navbar.tsx | 2 +- .../overview/priority-distribution.tsx | 2 +- .../profile/overview/state-distribution.tsx | 2 +- web/components/profile/overview/stats.tsx | 2 +- web/components/profile/sidebar.tsx | 4 ++-- web/components/project/card.tsx | 4 ++-- .../project/confirm-project-member-remove.tsx | 4 ++-- .../project/create-project-modal.tsx | 6 ++--- .../project/delete-project-modal.tsx | 2 +- web/components/project/form-loader.tsx | 2 +- web/components/project/form.tsx | 2 +- web/components/project/integration-card.tsx | 2 +- web/components/project/join-project-modal.tsx | 2 +- .../project/leave-project-modal.tsx | 2 +- web/components/project/member-list-item.tsx | 2 +- web/components/project/member-list.tsx | 2 +- .../project/publish-project/modal.tsx | 10 ++++----- .../project/publish-project/popover.tsx | 2 +- .../project/send-project-invitation-modal.tsx | 6 ++--- .../project/settings/features-list.tsx | 6 +++-- web/components/project/sidebar-list-item.tsx | 10 ++++----- web/components/project/sidebar-list.tsx | 8 +++---- web/components/states/create-state-modal.tsx | 4 ++-- .../states/create-update-state-inline.tsx | 2 +- web/components/states/delete-state-modal.tsx | 4 ++-- .../project-setting-state-list-item.tsx | 2 +- web/components/ui/datepicker.tsx | 2 +- web/components/ui/multi-level-dropdown.tsx | 14 ++++++------ web/components/ui/profile-empty-state.tsx | 2 +- web/components/ui/range-datepicker.tsx | 2 +- web/components/views/delete-view-modal.tsx | 2 +- web/components/views/modal.tsx | 2 +- web/components/views/view-list-item.tsx | 6 ++--- .../web-hooks/create-webhook-modal.tsx | 2 +- .../web-hooks/delete-webhook-modal.tsx | 2 +- web/components/web-hooks/empty-state.tsx | 2 +- .../confirm-workspace-member-remove.tsx | 2 +- .../workspace/delete-workspace-modal.tsx | 2 +- web/components/workspace/help-section.tsx | 16 +++++++------- .../send-workspace-invitation-modal.tsx | 2 +- .../settings/invitations-list-item.tsx | 2 +- .../workspace/settings/members-list-item.tsx | 2 +- web/components/workspace/sidebar-dropdown.tsx | 20 ++++++++--------- web/components/workspace/sidebar-menu.tsx | 4 ++-- .../workspace/sidebar-quick-action.tsx | 10 +++++---- .../views/default-view-list-item.tsx | 4 ++-- .../workspace/views/delete-view-modal.tsx | 2 +- web/components/workspace/views/header.tsx | 2 +- web/components/workspace/views/modal.tsx | 2 +- .../workspace/views/view-list-item.tsx | 6 ++--- .../workspace-active-cycles-upgrade.tsx | 2 +- web/constants/cycle.ts | 2 +- web/constants/module.ts | 4 ++-- web/layouts/admin-layout/header.tsx | 2 +- web/layouts/admin-layout/layout.tsx | 2 +- web/layouts/admin-layout/sidebar.tsx | 2 +- web/layouts/app-layout/layout.tsx | 2 +- web/layouts/app-layout/sidebar.tsx | 2 +- web/layouts/auth-layout/project-wrapper.tsx | 4 ++-- web/layouts/auth-layout/user-wrapper.tsx | 2 +- web/layouts/auth-layout/workspace-wrapper.tsx | 4 ++-- web/layouts/default-layout/index.tsx | 4 +++- .../settings-layout/profile/layout.tsx | 2 +- .../profile/preferences/layout.tsx | 2 +- .../profile/preferences/sidebar.tsx | 2 +- .../settings-layout/profile/sidebar.tsx | 12 +++++----- .../settings-layout/project/sidebar.tsx | 2 +- .../settings-layout/workspace/sidebar.tsx | 2 +- web/pages/[workspaceSlug]/analytics.tsx | 6 ++--- .../archived-issues/[archivedIssueId].tsx | 2 +- .../projects/[projectId]/cycles/[cycleId].tsx | 2 +- .../projects/[projectId]/cycles/index.tsx | 6 ++--- .../projects/[projectId]/issues/index.tsx | 2 +- .../[projectId]/modules/[moduleId].tsx | 2 +- .../projects/[projectId]/pages/[pageId].tsx | 2 +- .../projects/[projectId]/pages/index.tsx | 2 +- .../[workspaceSlug]/settings/members.tsx | 2 +- .../workspace-views/[globalViewId].tsx | 2 +- web/pages/create-workspace.tsx | 2 +- web/pages/installations/[provider]/index.tsx | 2 +- web/pages/invitations/index.tsx | 4 ++-- web/pages/profile/activity.tsx | 4 ++-- web/pages/profile/index.tsx | 6 ++--- web/pages/workspace-invitations/index.tsx | 2 +- web/styles/globals.css | 2 ++ 394 files changed, 815 insertions(+), 774 deletions(-) diff --git a/packages/editor/core/src/ui/mentions/mention-list.tsx b/packages/editor/core/src/ui/mentions/mention-list.tsx index afbf10970..f87a2812f 100644 --- a/packages/editor/core/src/ui/mentions/mention-list.tsx +++ b/packages/editor/core/src/ui/mentions/mention-list.tsx @@ -63,13 +63,13 @@ export const MentionList = forwardRef((props: MentionListProps, ref) => { })); return props.items && props.items.length !== 0 ? ( -
+
{props.items.length ? ( props.items.map((item, index) => (
selectItem(index)} > diff --git a/packages/editor/document-editor/src/ui/components/editor-header.tsx b/packages/editor/document-editor/src/ui/components/editor-header.tsx index 0d75cfa7e..5c4b2d583 100644 --- a/packages/editor/document-editor/src/ui/components/editor-header.tsx +++ b/packages/editor/document-editor/src/ui/components/editor-header.tsx @@ -62,7 +62,7 @@ export const EditorHeader = (props: IEditorHeader) => { {isLocked && ( diff --git a/packages/editor/document-editor/src/ui/components/info-popover.tsx b/packages/editor/document-editor/src/ui/components/info-popover.tsx index 070948363..2c0fed318 100644 --- a/packages/editor/document-editor/src/ui/components/info-popover.tsx +++ b/packages/editor/document-editor/src/ui/components/info-popover.tsx @@ -43,7 +43,7 @@ export const InfoPopover: React.FC = (props) => { {isPopoverOpen && (
{ e.stopPropagation(); }} - className="w-[280px] outline-none bg-custom-background-90 text-custom-text-900 text-sm" + className="w-[280px] outline-none bg-neutral-component-surface-medium text-custom-text-900 text-sm" defaultValue={defaultValue} onChange={onChange} /> @@ -122,7 +122,7 @@ export const LinkEditView = ({ return (
e.key === "Enter" && viewProps.closeLinkView()} - className="shadow-md rounded p-2 flex flex-col gap-3 bg-custom-background-90 border-neutral-border-subtle border-2" + className="shadow-md rounded p-2 flex flex-col gap-3 bg-neutral-component-surface-medium border-neutral-border-subtle border-2" > -
+

{url.length > 40 ? url.slice(0, 40) + "..." : url}

diff --git a/packages/editor/document-editor/src/ui/components/summary-popover.tsx b/packages/editor/document-editor/src/ui/components/summary-popover.tsx index 0268f135d..1ade8d2e9 100644 --- a/packages/editor/document-editor/src/ui/components/summary-popover.tsx +++ b/packages/editor/document-editor/src/ui/components/summary-popover.tsx @@ -42,7 +42,7 @@ export const SummaryPopover: React.FC = (props) => { {!sidePeekVisible && (
{sections.map((section) => { const sectionItems = displayedItems[section]; @@ -155,7 +155,7 @@ const IssueSuggestionList = ({
{section} diff --git a/packages/editor/document-editor/src/ui/extensions/widgets/issue-embed-widget/issue-widget-card.tsx b/packages/editor/document-editor/src/ui/extensions/widgets/issue-embed-widget/issue-widget-card.tsx index bed14cb33..2b7f7b978 100644 --- a/packages/editor/document-editor/src/ui/extensions/widgets/issue-embed-widget/issue-widget-card.tsx +++ b/packages/editor/document-editor/src/ui/extensions/widgets/issue-embed-widget/issue-widget-card.tsx @@ -14,7 +14,7 @@ export const IssueWidgetCard = (props) => ( {props.node.attrs.project_identifier}-{props.node.attrs.sequence_id}
-
+
diff --git a/packages/editor/document-editor/src/ui/menu/fixed-menu.tsx b/packages/editor/document-editor/src/ui/menu/fixed-menu.tsx index bb8589eb6..f637fcce3 100644 --- a/packages/editor/document-editor/src/ui/menu/fixed-menu.tsx +++ b/packages/editor/document-editor/src/ui/menu/fixed-menu.tsx @@ -85,9 +85,9 @@ export const FixedMenu = (props: EditorBubbleMenuProps) => { type="button" onClick={item.command} className={cn( - "grid h-7 w-7 place-items-center rounded text-custom-text-300 hover:bg-custom-background-80", + "grid h-7 w-7 place-items-center rounded text-custom-text-300 hover:bg-neutral-component-surface-dark", { - "bg-custom-background-80 text-custom-text-100": item.isActive(), + "bg-neutral-component-surface-dark text-custom-text-100": item.isActive(), } )} > @@ -102,9 +102,9 @@ export const FixedMenu = (props: EditorBubbleMenuProps) => { type="button" onClick={item.command} className={cn( - "grid h-7 w-7 place-items-center rounded text-custom-text-300 hover:bg-custom-background-80", + "grid h-7 w-7 place-items-center rounded text-custom-text-300 hover:bg-neutral-component-surface-dark", { - "bg-custom-background-80 text-custom-text-100": item.isActive(), + "bg-neutral-component-surface-dark text-custom-text-100": item.isActive(), } )} > @@ -123,9 +123,9 @@ export const FixedMenu = (props: EditorBubbleMenuProps) => { type="button" onClick={item.command} className={cn( - "grid h-7 w-7 place-items-center rounded text-custom-text-300 hover:bg-custom-background-80", + "grid h-7 w-7 place-items-center rounded text-custom-text-300 hover:bg-neutral-component-surface-dark", { - "bg-custom-background-80 text-custom-text-100": item.isActive(), + "bg-neutral-component-surface-dark text-custom-text-100": item.isActive(), } )} > @@ -144,9 +144,9 @@ export const FixedMenu = (props: EditorBubbleMenuProps) => { type="button" onClick={item.command} className={cn( - "grid h-7 w-7 place-items-center rounded text-custom-text-300 hover:bg-custom-background-80", + "grid h-7 w-7 place-items-center rounded text-custom-text-300 hover:bg-neutral-component-surface-dark", { - "bg-custom-background-80 text-custom-text-100": item.isActive(), + "bg-neutral-component-surface-dark text-custom-text-100": item.isActive(), } )} > diff --git a/packages/editor/document-editor/src/ui/tooltip.tsx b/packages/editor/document-editor/src/ui/tooltip.tsx index 127efc7cb..b4cd1511f 100644 --- a/packages/editor/document-editor/src/ui/tooltip.tsx +++ b/packages/editor/document-editor/src/ui/tooltip.tsx @@ -51,7 +51,7 @@ export const Tooltip: React.FC = ({ content={
{tooltipHeading && ( diff --git a/packages/editor/extensions/Readme.md b/packages/editor/extensions/Readme.md index b2e7456cd..305ff4855 100644 --- a/packages/editor/extensions/Readme.md +++ b/packages/editor/extensions/Readme.md @@ -92,6 +92,6 @@ Here is an example of how to use the `RichReadOnlyEditor` component ```tsx ``` diff --git a/packages/editor/extensions/src/extensions/slash-commands.tsx b/packages/editor/extensions/src/extensions/slash-commands.tsx index 70cee83d5..d109b19ae 100644 --- a/packages/editor/extensions/src/extensions/slash-commands.tsx +++ b/packages/editor/extensions/src/extensions/slash-commands.tsx @@ -291,7 +291,7 @@ const CommandList = ({ items, command }: { items: CommandItemProps[]; command: a
{items.map((item, index) => (
)} -
+
{basicTextFormattingItems.map((item) => ( @@ -127,9 +127,9 @@ export const FixedMenu = (props: EditorBubbleMenuProps) => { type="button" onClick={item.command} className={cn( - "grid aspect-square place-items-center rounded-sm p-1 text-custom-text-400 hover:bg-custom-background-80", + "grid aspect-square place-items-center rounded-sm p-1 text-custom-text-400 hover:bg-neutral-component-surface-dark", { - "bg-custom-background-80 text-custom-text-100": item.isActive(), + "bg-neutral-component-surface-dark text-custom-text-100": item.isActive(), } )} > @@ -150,9 +150,9 @@ export const FixedMenu = (props: EditorBubbleMenuProps) => { type="button" onClick={item.command} className={cn( - "grid aspect-square place-items-center rounded-sm p-1 text-custom-text-400 hover:bg-custom-background-80", + "grid aspect-square place-items-center rounded-sm p-1 text-custom-text-400 hover:bg-neutral-component-surface-dark", { - "bg-custom-background-80 text-custom-text-100": item.isActive(), + "bg-neutral-component-surface-dark text-custom-text-100": item.isActive(), } )} > @@ -173,9 +173,9 @@ export const FixedMenu = (props: EditorBubbleMenuProps) => { type="button" onClick={item.command} className={cn( - "grid aspect-square place-items-center rounded-sm p-1 text-custom-text-400 hover:bg-custom-background-80", + "grid aspect-square place-items-center rounded-sm p-1 text-custom-text-400 hover:bg-neutral-component-surface-dark", { - "bg-custom-background-80 text-custom-text-100": item.isActive(), + "bg-neutral-component-surface-dark text-custom-text-100": item.isActive(), } )} > @@ -196,9 +196,9 @@ export const FixedMenu = (props: EditorBubbleMenuProps) => { type="button" onClick={item.command} className={cn( - "grid aspect-square place-items-center rounded-sm p-1 text-custom-text-400 hover:bg-custom-background-80", + "grid aspect-square place-items-center rounded-sm p-1 text-custom-text-400 hover:bg-neutral-component-surface-dark", { - "bg-custom-background-80 text-custom-text-100": item.isActive(), + "bg-neutral-component-surface-dark text-custom-text-100": item.isActive(), } )} > diff --git a/packages/editor/rich-text-editor/src/ui/menus/bubble-menu/index.tsx b/packages/editor/rich-text-editor/src/ui/menus/bubble-menu/index.tsx index d4652bb56..b7480520b 100644 --- a/packages/editor/rich-text-editor/src/ui/menus/bubble-menu/index.tsx +++ b/packages/editor/rich-text-editor/src/ui/menus/bubble-menu/index.tsx @@ -94,7 +94,7 @@ export const EditorBubbleMenu: FC = (props: any) => { return ( {isSelecting ? null : ( <> diff --git a/packages/editor/rich-text-editor/src/ui/menus/bubble-menu/link-selector.tsx b/packages/editor/rich-text-editor/src/ui/menus/bubble-menu/link-selector.tsx index 46a8fed78..1a7204b91 100644 --- a/packages/editor/rich-text-editor/src/ui/menus/bubble-menu/link-selector.tsx +++ b/packages/editor/rich-text-editor/src/ui/menus/bubble-menu/link-selector.tsx @@ -30,8 +30,8 @@ export const LinkSelector: FC = ({ editor, isOpen, setIsOpen {isOpen && (
{ if (e.key === "Enter") { e.preventDefault(); @@ -60,7 +60,7 @@ export const LinkSelector: FC = ({ editor, isOpen, setIsOpen ref={inputRef} type="url" placeholder="Paste a link" - className="flex-1 border-r border-neutral-border-medium bg-custom-background-100 p-1 text-sm outline-none placeholder:text-custom-text-400" + className="flex-1 border-r border-neutral-border-medium bg-neutral-component-surface-light p-1 text-sm outline-none placeholder:text-custom-text-400" defaultValue={editor.getAttributes("link").href || ""} /> {editor.getAttributes("link").href ? ( @@ -76,7 +76,7 @@ export const LinkSelector: FC = ({ editor, isOpen, setIsOpen ) : ( {isOpen && ( -
+
{items.map((item) => ( 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 76062d350..e796fd559 100644 --- a/space/components/issues/peek-overview/comment/comment-detail-card.tsx +++ b/space/components/issues/peek-overview/comment/comment-detail-card.tsx @@ -82,7 +82,7 @@ export const CommentCard: React.FC = observer((props) => {
)} - +
@@ -143,7 +143,7 @@ export const CommentCard: React.FC = observer((props) => { @@ -156,7 +156,7 @@ export const CommentCard: React.FC = observer((props) => { {}} - className="relative grid cursor-pointer place-items-center rounded p-1 text-custom-text-200 outline-none hover:bg-custom-background-80 hover:text-custom-text-100" + className="relative grid cursor-pointer place-items-center rounded p-1 text-custom-text-200 outline-none hover:bg-neutral-component-surface-dark hover:text-custom-text-100" > @@ -170,7 +170,7 @@ export const CommentCard: React.FC = observer((props) => { leaveFrom="transform opacity-100 scale-100" leaveTo="transform opacity-0 scale-95" > - + {({ active }) => (
@@ -179,8 +179,8 @@ export const CommentCard: React.FC = observer((props) => { onClick={() => { setIsEditing(true); }} - className={`w-full select-none truncate rounded px-1 py-1.5 text-left text-custom-text-200 hover:bg-custom-background-80 ${ - active ? "bg-custom-background-80" : "" + className={`w-full select-none truncate rounded px-1 py-1.5 text-left text-custom-text-200 hover:bg-neutral-component-surface-dark ${ + active ? "bg-neutral-component-surface-dark" : "" }`} > Edit @@ -194,8 +194,8 @@ export const CommentCard: React.FC = observer((props) => {