@fibery/ui-kit 4.1.0 → 4.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +20 -0
- package/package.json +9 -13
- package/src/antd/ant-upload.tsx +13 -13
- package/src/antd/auto-complete.tsx +10 -10
- package/src/antd/input-number.tsx +59 -49
- package/src/antd/input.tsx +1 -1
- package/src/antd/styles.ts +28 -22
- package/src/antd/tabs.tsx +28 -28
- package/src/apca.lc-low.test.ts +1 -3
- package/src/apca.test.ts +42 -43
- package/src/apca.ts +38 -39
- package/src/app-icon-with-fallback.tsx +6 -2
- package/src/avatar-colors.ts +71 -0
- package/src/avatar.tsx +2 -10
- package/src/banner/banner.tsx +1 -2
- package/src/box.tsx +26 -16
- package/src/button/back-button.tsx +2 -2
- package/src/button/make-button-colors.ts +13 -13
- package/src/button/select-button.tsx +2 -2
- package/src/canvas-colors.ts +71 -118
- package/src/checkbox.tsx +3 -3
- package/src/collapsible-section.tsx +3 -3
- package/src/color-filter.test.ts +13 -0
- package/src/color-filter.ts +27 -4
- package/src/color-utils.ts +9 -2
- package/src/command-menu/nested-command-menu.tsx +2 -2
- package/src/comment.tsx +2 -2
- package/src/count-badge.tsx +3 -11
- package/src/date-picker/date-range-picker-popup-content.tsx +3 -2
- package/src/date-picker/date-range-picker.tsx +23 -1
- package/src/date-picker/relative-date-picker.tsx +3 -2
- package/src/date-picker/single-date-picker-popup-content.tsx +3 -2
- package/src/date-picker/single-date-picker.tsx +19 -2
- package/src/design-system/alpha-coefficients.ts +235 -0
- package/src/design-system/alpha.ts +10 -1
- package/src/design-system/colors-enum.dark.neutral.test.ts +168 -168
- package/src/design-system/colors-enum.dark.warm.test.ts +168 -168
- package/src/design-system/colors-enum.light.neutral.test.ts +168 -168
- package/src/design-system/colors-enum.light.warm.test.ts +168 -168
- package/src/design-system/colors.ts +279 -182
- package/src/design-system/def.ts +1 -1
- package/src/design-system/fns.avatarPlaceholder.dark.neutral.test.ts +52 -0
- package/src/design-system/fns.avatarPlaceholder.dark.warm.test.ts +52 -0
- package/src/design-system/fns.avatarPlaceholder.light.neutral.test.ts +52 -0
- package/src/design-system/fns.avatarPlaceholder.light.warm.test.ts +52 -0
- package/src/design-system/fns.enum.ts +2 -0
- package/src/design-system/fns.icon.ts +1 -1
- package/src/design-system/fns.ts +43 -13
- package/src/design-system/theme.test.ts +4 -6
- package/src/design-system/theme.ts +22 -13
- package/src/design-system/vars.test.ts +2 -2
- package/src/design-system/vars.ts +3 -3
- package/src/design-system.ts +3 -1
- package/src/dom-utils.ts +5 -12
- package/src/dot.tsx +1 -0
- package/src/double-apply.ts +2 -2
- package/src/download-file.ts +36 -0
- package/src/dropdown-menu/index.tsx +0 -1
- package/src/emoji-picker/primitives/footer.tsx +1 -1
- package/src/emoji-picker/utils/frequently.ts +1 -1
- package/src/favorites-icon.tsx +2 -2
- package/src/fibermoji-placeholder.tsx +23 -56
- package/src/fibery-brand-logo.tsx +82 -0
- package/src/field-container.tsx +2 -2
- package/src/field-type-icon.tsx +18 -18
- package/src/file-item/file-menu-items.tsx +30 -12
- package/src/file-item/file-preview-actions.tsx +53 -12
- package/src/file-item/share-file.ts +53 -0
- package/src/file-item.tsx +9 -9
- package/src/format-date-from-now.ts +10 -5
- package/src/header-layout.tsx +41 -24
- package/src/highlight-colors.test.ts +1 -1
- package/src/highlight-colors.ts +27 -0
- package/src/html-styles.ts +0 -1
- package/src/icons/ast/appearance-auto.ts +1 -1
- package/src/icons/ast/architect.ts +12 -0
- package/src/icons/ast/arrow-back.ts +12 -0
- package/src/icons/ast/arrow-down.ts +12 -0
- package/src/icons/ast/{send-arrow.ts → arrow-send.ts} +3 -3
- package/src/icons/ast/arrow-up.ts +12 -0
- package/src/icons/ast/avatar.ts +12 -0
- package/src/icons/ast/backlog.ts +12 -0
- package/src/icons/ast/{check-circle-filled.ts → circle-check-filled.ts} +3 -3
- package/src/icons/ast/{check-circle.ts → circle-check.ts} +3 -3
- package/src/icons/ast/{error-circle-filled.ts → circle-cross-filled.ts} +3 -3
- package/src/icons/ast/circle-cross.ts +12 -0
- package/src/icons/ast/{info-circle-filled.ts → circle-info-filled.ts} +3 -3
- package/src/icons/ast/{info-circle.ts → circle-info.ts} +3 -3
- package/src/icons/ast/circle-pause.ts +12 -0
- package/src/icons/ast/circle-play.ts +12 -0
- package/src/icons/ast/comments.ts +12 -0
- package/src/icons/ast/credits-filled.ts +1 -1
- package/src/icons/ast/{add-database.ts → database-add.ts} +3 -3
- package/src/icons/ast/database-outline.ts +12 -0
- package/src/icons/ast/eye-off.ts +12 -0
- package/src/icons/ast/favorites-filled.ts +12 -0
- package/src/icons/ast/{switch-to-mention.ts → field-units-large.ts} +3 -3
- package/src/icons/ast/files.ts +12 -0
- package/src/icons/ast/{smart-folder.ts → folder-smart.ts} +3 -3
- package/src/icons/ast/fullscreen-mode-off.ts +12 -0
- package/src/icons/ast/fullscreen-mode-on.ts +1 -1
- package/src/icons/ast/{add-group.ts → group-add.ts} +3 -3
- package/src/icons/ast/{image-xmark.ts → image-error.ts} +3 -3
- package/src/icons/ast/index.tsx +132 -215
- package/src/icons/ast/{add-integration.ts → integration-add.ts} +3 -3
- package/src/icons/ast/integration-discourse.ts +12 -0
- package/src/icons/ast/integration-fibery.ts +12 -0
- package/src/icons/ast/integration-figma.ts +12 -0
- package/src/icons/ast/integration-github.ts +12 -0
- package/src/icons/ast/integration-gitlab.ts +12 -0
- package/src/icons/ast/integration-google-drive.ts +12 -0
- package/src/icons/ast/integration-google-map.ts +12 -0
- package/src/icons/ast/integration-intercom.ts +12 -0
- package/src/icons/ast/integration-jira.ts +12 -0
- package/src/icons/ast/integration-loom.ts +12 -0
- package/src/icons/ast/integration-miro.ts +12 -0
- package/src/icons/ast/integration-mixpanel.ts +12 -0
- package/src/icons/ast/integration-slack.ts +12 -0
- package/src/icons/ast/{suggest-integration.ts → integration-suggest.ts} +3 -3
- package/src/icons/ast/integration-twitter.ts +12 -0
- package/src/icons/ast/integration-unsplash.ts +12 -0
- package/src/icons/ast/integration-youtube.ts +12 -0
- package/src/icons/ast/integration-zendesk.ts +12 -0
- package/src/icons/ast/limits.ts +12 -0
- package/src/icons/ast/lock-filled.ts +12 -0
- package/src/icons/ast/lock.ts +1 -1
- package/src/icons/ast/move-down.ts +12 -0
- package/src/icons/ast/move-up.ts +12 -0
- package/src/icons/ast/open-in-panel.ts +12 -0
- package/src/icons/ast/open-link.ts +12 -0
- package/src/icons/ast/people-all.ts +12 -0
- package/src/icons/ast/people-edit.ts +12 -0
- package/src/icons/ast/people-group-remove.ts +12 -0
- package/src/icons/ast/people-group.ts +12 -0
- package/src/icons/ast/{invite-people.ts → people-invite.ts} +3 -3
- package/src/icons/ast/{remove-people.ts → people-remove.ts} +3 -3
- package/src/icons/ast/people-role.ts +12 -0
- package/src/icons/ast/people-x.ts +12 -0
- package/src/icons/ast/plus.ts +12 -0
- package/src/icons/ast/preferences.ts +12 -0
- package/src/icons/ast/propagate.ts +12 -0
- package/src/icons/ast/{add-reactions.ts → reactions-add.ts} +3 -3
- package/src/icons/ast/redo.ts +12 -0
- package/src/icons/ast/references.ts +12 -0
- package/src/icons/ast/richeditor-block-callout.ts +1 -1
- package/src/icons/ast/richeditor-block-code.ts +1 -1
- package/src/icons/ast/richeditor-block-embed.ts +1 -1
- package/src/icons/ast/richeditor-block-entity.ts +1 -1
- package/src/icons/ast/richeditor-block-file.ts +1 -1
- package/src/icons/ast/richeditor-block-h1.ts +1 -1
- package/src/icons/ast/richeditor-block-h2.ts +1 -1
- package/src/icons/ast/richeditor-block-h3.ts +1 -1
- package/src/icons/ast/richeditor-block-h4.ts +1 -1
- package/src/icons/ast/richeditor-block-mention.ts +1 -1
- package/src/icons/ast/richeditor-block-paragraph.ts +1 -1
- package/src/icons/ast/richeditor-block-quote.ts +1 -1
- package/src/icons/ast/richeditor-checklist-create.ts +1 -1
- package/src/icons/ast/richeditor-image-align-center.ts +1 -1
- package/src/icons/ast/richeditor-image-align-left.ts +1 -1
- package/src/icons/ast/richeditor-image-align-right.ts +1 -1
- package/src/icons/ast/richeditor-image.ts +12 -0
- package/src/icons/ast/richeditor-linkedhighlight-create.ts +1 -1
- package/src/icons/ast/richeditor-list-bullet.ts +1 -1
- package/src/icons/ast/richeditor-list-indent.ts +1 -1
- package/src/icons/ast/richeditor-list-ordered.ts +1 -1
- package/src/icons/ast/richeditor-list-unindent.ts +1 -1
- package/src/icons/ast/richeditor-mark-code.ts +1 -1
- package/src/icons/ast/richeditor-mark-em.ts +1 -1
- package/src/icons/ast/richeditor-mark-highlight.ts +1 -1
- package/src/icons/ast/richeditor-mark-strike.ts +1 -1
- package/src/icons/ast/richeditor-mark-strong.ts +1 -1
- package/src/icons/ast/richeditor-mark-text-background-color.ts +1 -1
- package/src/icons/ast/richeditor-mark-underline.ts +1 -1
- package/src/icons/ast/richeditor-table-create.ts +1 -1
- package/src/icons/ast/richeditor-video-upload.ts +1 -1
- package/src/icons/ast/{bolt.ts → rule.ts} +3 -3
- package/src/icons/ast/simple-compass.ts +1 -1
- package/src/icons/ast/space-add.ts +12 -0
- package/src/icons/ast/{move-space.ts → space-move.ts} +3 -3
- package/src/icons/ast/type-button.ts +1 -1
- package/src/icons/ast/type-checkbox.ts +1 -1
- package/src/icons/ast/type-date.ts +1 -1
- package/src/icons/ast/type-email.ts +1 -1
- package/src/icons/ast/type-emoji.ts +1 -1
- package/src/icons/ast/type-formula.ts +1 -1
- package/src/icons/ast/type-location.ts +1 -1
- package/src/icons/ast/type-lookup.ts +1 -1
- package/src/icons/ast/type-money.ts +1 -1
- package/src/icons/ast/type-multi-select.ts +1 -1
- package/src/icons/ast/type-number.ts +1 -1
- package/src/icons/ast/type-percent.ts +1 -1
- package/src/icons/ast/type-phone.ts +1 -1
- package/src/icons/ast/type-relation.ts +1 -1
- package/src/icons/ast/type-rich-text.ts +1 -1
- package/src/icons/ast/type-single-select.ts +1 -1
- package/src/icons/ast/type-text.ts +1 -1
- package/src/icons/ast/undo.ts +12 -0
- package/src/icons/ast/units-avatar.ts +1 -1
- package/src/icons/ast/units-collection.ts +1 -1
- package/src/icons/ast/units-counter.ts +1 -1
- package/src/icons/ast/units-date.ts +1 -1
- package/src/icons/ast/units-field-icon-button.ts +1 -1
- package/src/icons/ast/units-field.ts +1 -1
- package/src/icons/ast/units-input.ts +1 -1
- package/src/icons/ast/units-normal.ts +12 -0
- package/src/icons/ast/units-progress-bar.ts +1 -1
- package/src/icons/ast/units-rich-text.ts +1 -1
- package/src/icons/ast/units-snippet.ts +1 -1
- package/src/icons/ast/unlock.ts +12 -0
- package/src/icons/ast/{clear-value.ts → value-clear.ts} +3 -3
- package/src/icons/ast/view-app.ts +12 -0
- package/src/icons/ast/workflow.ts +12 -0
- package/src/icons/react/{anthropic.tsx → architect.tsx} +5 -5
- package/src/icons/react/arrow-back.tsx +18 -0
- package/src/icons/react/arrow-down.tsx +18 -0
- package/src/icons/react/arrow-send.tsx +18 -0
- package/src/icons/react/{app-wiki.tsx → arrow-up.tsx} +5 -5
- package/src/icons/react/avatar.tsx +18 -0
- package/src/icons/react/backlog.tsx +18 -0
- package/src/icons/react/circle-check-filled.tsx +18 -0
- package/src/icons/react/{add-database.tsx → circle-check.tsx} +5 -5
- package/src/icons/react/circle-cross-filled.tsx +18 -0
- package/src/icons/react/circle-cross.tsx +18 -0
- package/src/icons/react/circle-info-filled.tsx +18 -0
- package/src/icons/react/circle-info.tsx +18 -0
- package/src/icons/react/circle-pause.tsx +18 -0
- package/src/icons/react/circle-play.tsx +18 -0
- package/src/icons/react/comments.tsx +18 -0
- package/src/icons/react/database-add.tsx +18 -0
- package/src/icons/react/database-outline.tsx +18 -0
- package/src/icons/react/{chat-ai.tsx → eye-off.tsx} +5 -5
- package/src/icons/react/favorites-filled.tsx +18 -0
- package/src/icons/react/field-units-large.tsx +18 -0
- package/src/icons/react/{apple.tsx → files.tsx} +5 -5
- package/src/icons/react/folder-smart.tsx +18 -0
- package/src/icons/react/fullscreen-mode-off.tsx +18 -0
- package/src/icons/react/{app-store.tsx → group-add.tsx} +5 -5
- package/src/icons/react/image-error.tsx +18 -0
- package/src/icons/react/index.tsx +132 -215
- package/src/icons/react/{add-integration.tsx → integration-add.tsx} +5 -5
- package/src/icons/react/integration-discourse.tsx +18 -0
- package/src/icons/react/integration-fibery.tsx +18 -0
- package/src/icons/react/integration-figma.tsx +18 -0
- package/src/icons/react/integration-github.tsx +18 -0
- package/src/icons/react/integration-gitlab.tsx +18 -0
- package/src/icons/react/integration-google-drive.tsx +18 -0
- package/src/icons/react/integration-google-map.tsx +18 -0
- package/src/icons/react/{automations-disabled.tsx → integration-intercom.tsx} +5 -5
- package/src/icons/react/integration-jira.tsx +18 -0
- package/src/icons/react/integration-loom.tsx +18 -0
- package/src/icons/react/integration-miro.tsx +18 -0
- package/src/icons/react/{extension-references.tsx → integration-mixpanel.tsx} +5 -5
- package/src/icons/react/integration-slack.tsx +18 -0
- package/src/icons/react/integration-suggest.tsx +18 -0
- package/src/icons/react/integration-twitter.tsx +18 -0
- package/src/icons/react/integration-unsplash.tsx +18 -0
- package/src/icons/react/integration-youtube.tsx +18 -0
- package/src/icons/react/integration-zendesk.tsx +18 -0
- package/src/icons/react/{notifications.tsx → limits.tsx} +5 -5
- package/src/icons/react/lock-filled.tsx +18 -0
- package/src/icons/react/{add-group.tsx → move-down.tsx} +5 -5
- package/src/icons/react/move-up.tsx +18 -0
- package/src/icons/react/open-in-panel.tsx +18 -0
- package/src/icons/react/{ai-search.tsx → open-link.tsx} +5 -5
- package/src/icons/react/people-all.tsx +18 -0
- package/src/icons/react/people-edit.tsx +18 -0
- package/src/icons/react/people-group-remove.tsx +18 -0
- package/src/icons/react/people-group.tsx +18 -0
- package/src/icons/react/{add-reactions.tsx → people-invite.tsx} +5 -5
- package/src/icons/react/people-remove.tsx +18 -0
- package/src/icons/react/people-role.tsx +18 -0
- package/src/icons/react/people-x.tsx +18 -0
- package/src/icons/react/{chat.tsx → plus.tsx} +5 -5
- package/src/icons/react/preferences.tsx +18 -0
- package/src/icons/react/propagate.tsx +18 -0
- package/src/icons/react/reactions-add.tsx +18 -0
- package/src/icons/react/{csv.tsx → redo.tsx} +5 -5
- package/src/icons/react/references.tsx +18 -0
- package/src/icons/react/richeditor-block-callout.tsx +1 -1
- package/src/icons/react/richeditor-block-code.tsx +1 -1
- package/src/icons/react/richeditor-block-embed.tsx +1 -1
- package/src/icons/react/richeditor-block-entity.tsx +1 -1
- package/src/icons/react/richeditor-block-file.tsx +1 -1
- package/src/icons/react/richeditor-block-h1.tsx +1 -1
- package/src/icons/react/richeditor-block-h2.tsx +1 -1
- package/src/icons/react/richeditor-block-h3.tsx +1 -1
- package/src/icons/react/richeditor-block-h4.tsx +1 -1
- package/src/icons/react/richeditor-block-mention.tsx +1 -1
- package/src/icons/react/richeditor-block-paragraph.tsx +1 -1
- package/src/icons/react/richeditor-block-quote.tsx +1 -1
- package/src/icons/react/richeditor-checklist-create.tsx +1 -1
- package/src/icons/react/richeditor-image-align-center.tsx +1 -1
- package/src/icons/react/richeditor-image-align-left.tsx +1 -1
- package/src/icons/react/richeditor-image-align-right.tsx +1 -1
- package/src/icons/react/richeditor-image.tsx +18 -0
- package/src/icons/react/richeditor-linkedhighlight-create.tsx +1 -1
- package/src/icons/react/richeditor-list-bullet.tsx +1 -1
- package/src/icons/react/richeditor-list-indent.tsx +1 -1
- package/src/icons/react/richeditor-list-ordered.tsx +1 -1
- package/src/icons/react/richeditor-list-unindent.tsx +1 -1
- package/src/icons/react/richeditor-mark-code.tsx +1 -1
- package/src/icons/react/richeditor-mark-em.tsx +1 -1
- package/src/icons/react/richeditor-mark-highlight.tsx +1 -1
- package/src/icons/react/richeditor-mark-strike.tsx +1 -1
- package/src/icons/react/richeditor-mark-strong.tsx +1 -1
- package/src/icons/react/richeditor-mark-text-background-color.tsx +1 -1
- package/src/icons/react/richeditor-mark-underline.tsx +1 -1
- package/src/icons/react/richeditor-table-create.tsx +1 -1
- package/src/icons/react/richeditor-video-upload.tsx +1 -1
- package/src/icons/react/{back.tsx → rule.tsx} +5 -5
- package/src/icons/react/{ai-avatar.tsx → space-add.tsx} +5 -5
- package/src/icons/react/space-move.tsx +18 -0
- package/src/icons/react/type-button.tsx +1 -1
- package/src/icons/react/type-checkbox.tsx +1 -1
- package/src/icons/react/type-date.tsx +1 -1
- package/src/icons/react/type-email.tsx +1 -1
- package/src/icons/react/type-emoji.tsx +1 -1
- package/src/icons/react/type-formula.tsx +1 -1
- package/src/icons/react/type-location.tsx +1 -1
- package/src/icons/react/type-lookup.tsx +1 -1
- package/src/icons/react/type-money.tsx +1 -1
- package/src/icons/react/type-multi-select.tsx +1 -1
- package/src/icons/react/type-number.tsx +1 -1
- package/src/icons/react/type-percent.tsx +1 -1
- package/src/icons/react/type-phone.tsx +1 -1
- package/src/icons/react/type-relation.tsx +1 -1
- package/src/icons/react/type-rich-text.tsx +1 -1
- package/src/icons/react/type-single-select.tsx +1 -1
- package/src/icons/react/type-text.tsx +1 -1
- package/src/icons/react/{bolt.tsx → undo.tsx} +5 -5
- package/src/icons/react/units-avatar.tsx +1 -1
- package/src/icons/react/units-collection.tsx +1 -1
- package/src/icons/react/units-counter.tsx +1 -1
- package/src/icons/react/units-date.tsx +1 -1
- package/src/icons/react/units-field-icon-button.tsx +1 -1
- package/src/icons/react/units-field.tsx +1 -1
- package/src/icons/react/units-input.tsx +1 -1
- package/src/icons/react/units-normal.tsx +18 -0
- package/src/icons/react/units-progress-bar.tsx +1 -1
- package/src/icons/react/units-rich-text.tsx +1 -1
- package/src/icons/react/units-snippet.tsx +1 -1
- package/src/icons/react/unlock.tsx +18 -0
- package/src/icons/react/value-clear.tsx +18 -0
- package/src/icons/react/view-app.tsx +18 -0
- package/src/icons/react/workflow.tsx +18 -0
- package/src/icons/svg/appearance-auto.svg +1 -1
- package/src/icons/svg/{arrow-bottom.svg → arrow-down.svg} +1 -1
- package/src/icons/svg/arrow-forward.svg +1 -1
- package/src/icons/svg/arrow-left.svg +1 -1
- package/src/icons/svg/arrow-right.svg +1 -1
- package/src/icons/svg/{arrow-top.svg → arrow-up.svg} +1 -1
- package/src/icons/svg/asterisk.svg +2 -2
- package/src/icons/svg/{automations-error.svg → circle-cross.svg} +1 -1
- package/src/icons/svg/{automations-not-started.svg → circle-pause.svg} +1 -1
- package/src/icons/svg/{automations-in-progress.svg → circle-play.svg} +1 -1
- package/src/icons/svg/collapse-all-horizontal.svg +1 -1
- package/src/icons/svg/collapse-all.svg +1 -1
- package/src/icons/svg/credits-filled.svg +1 -1
- package/src/icons/svg/entity-create.svg +1 -1
- package/src/icons/svg/expand-all-horizontal.svg +1 -1
- package/src/icons/svg/fullscreen-mode-on.svg +2 -3
- package/src/icons/svg/go-to.svg +1 -1
- package/src/icons/svg/integration-unsplash.svg +3 -0
- package/src/icons/svg/layout-double.svg +1 -1
- package/src/icons/svg/layout-single.svg +1 -1
- package/src/icons/svg/limits.svg +3 -0
- package/src/icons/svg/lock-filled.svg +4 -0
- package/src/icons/svg/lock.svg +5 -4
- package/src/icons/svg/page-regular-mode.svg +3 -3
- package/src/icons/svg/page-wide-mode.svg +3 -3
- package/src/icons/svg/people-edit.svg +4 -0
- package/src/icons/svg/{user-group.svg → people-group.svg} +1 -1
- package/src/icons/svg/{user-role.svg → people-role.svg} +1 -1
- package/src/icons/svg/{richeditor/list/indent.svg → richeditor-list-indent.svg} +1 -1
- package/src/icons/svg/richeditor-mark-code.svg +5 -0
- package/src/icons/svg/richeditor-mark-em.svg +3 -0
- package/src/icons/svg/richeditor-mark-highlight.svg +3 -0
- package/src/icons/svg/richeditor-mark-strike.svg +3 -0
- package/src/icons/svg/richeditor-mark-strong.svg +3 -0
- package/src/icons/svg/simple-compass.svg +2 -2
- package/src/icons/svg/space-app.svg +1 -1
- package/src/icons/svg/space-generate.svg +1 -1
- package/src/icons/svg/space-scratch.svg +1 -1
- package/src/icons/svg/space-template.svg +1 -1
- package/src/icons/svg/value-edit.svg +1 -1
- package/src/icons/svg/view-app.svg +6 -0
- package/src/icons/svg/view-gantt.svg +3 -3
- package/src/icons/svg/warning-triangle-filled.svg +1 -1
- package/src/images-gallery/images-gallery.tsx +0 -1
- package/src/images-gallery/slide-buttons.tsx +52 -19
- package/src/is-in-popup.ts +0 -3
- package/src/loading-sausage.tsx +3 -3
- package/src/mobile-drawer.tsx +104 -0
- package/src/number-input/types.ts +1 -1
- package/src/palettes/common.ts +3 -3
- package/src/palettes/diff-colors.test.ts +135 -1
- package/src/palettes/diff-colors.ts +135 -1
- package/src/palettes/inspect.canvas-colors.test.ts +63 -63
- package/src/palettes/inspect.defs.colors.neutral-arch.test.ts +290 -90
- package/src/palettes/inspect.defs.colors.neutral-user.test.ts +290 -90
- package/src/palettes/inspect.defs.colors.warm-arch.test.ts +290 -90
- package/src/palettes/inspect.defs.colors.warm-user.test.ts +290 -90
- package/src/palettes/show-colors.test.ts +5 -4
- package/src/palettes/testkit.test.ts +6 -0
- package/src/palettes/testkit.ts +81 -23
- package/src/phone.ts +27 -0
- package/src/popover/index.tsx +20 -11
- package/src/popover/popup-modifiers-context.ts +1 -2
- package/src/reactions/reaction-picker.tsx +3 -3
- package/src/rich-text-embed-error.tsx +2 -2
- package/src/root-theme-provider.test.tsx +2 -3
- package/src/select/components/option.tsx +0 -1
- package/src/select/index.tsx +1 -0
- package/src/select/select-in-popover.tsx +42 -28
- package/src/select/select.tsx +2 -0
- package/src/select/util.ts +1 -1
- package/src/thematic.tsx +10 -10
- package/src/theme-provider.test.tsx +19 -19
- package/src/theme-provider.tsx +3 -7
- package/src/theme-settings-core.ts +118 -0
- package/src/theme-settings.ts +2 -117
- package/src/theme-snapshots.test.ts +6 -7
- package/src/theming.build.ts +21 -15
- package/src/theming.generated.css +2162 -1974
- package/src/theming.generated.ts +2701 -2472
- package/src/toast/toast.tsx +1 -1
- package/src/toggle-button/round-toggle-button.tsx +28 -4
- package/src/toggle-button/toggle-button.tsx +69 -23
- package/src/toggle-on-off.tsx +0 -9
- package/src/use-is-phone.tsx +3 -27
- package/vitest.config.ts +1 -0
- package/src/icons/ast/ai-avatar.ts +0 -12
- package/src/icons/ast/ai-search.ts +0 -12
- package/src/icons/ast/anthropic.ts +0 -12
- package/src/icons/ast/app-details.ts +0 -12
- package/src/icons/ast/app-store-one-color.ts +0 -12
- package/src/icons/ast/app-store.ts +0 -12
- package/src/icons/ast/app-templates.ts +0 -12
- package/src/icons/ast/app-webhooks.ts +0 -12
- package/src/icons/ast/app-wiki.ts +0 -12
- package/src/icons/ast/apple.ts +0 -12
- package/src/icons/ast/arrow-bottom.ts +0 -12
- package/src/icons/ast/arrow-top.ts +0 -12
- package/src/icons/ast/automations-cancelled.ts +0 -12
- package/src/icons/ast/automations-disabled.ts +0 -12
- package/src/icons/ast/automations-error.ts +0 -12
- package/src/icons/ast/automations-in-progress.ts +0 -12
- package/src/icons/ast/automations-not-started.ts +0 -12
- package/src/icons/ast/automations-success.ts +0 -12
- package/src/icons/ast/back.ts +0 -12
- package/src/icons/ast/backlog-icon.ts +0 -12
- package/src/icons/ast/batch-actions-icon.ts +0 -12
- package/src/icons/ast/bell-filled.ts +0 -12
- package/src/icons/ast/chat-ai.ts +0 -12
- package/src/icons/ast/chat.ts +0 -12
- package/src/icons/ast/clean.ts +0 -12
- package/src/icons/ast/color-coding-filled.ts +0 -12
- package/src/icons/ast/create.ts +0 -12
- package/src/icons/ast/cross-circle.ts +0 -12
- package/src/icons/ast/csv.ts +0 -12
- package/src/icons/ast/database-off.ts +0 -12
- package/src/icons/ast/database-stroke.ts +0 -12
- package/src/icons/ast/demo.ts +0 -12
- package/src/icons/ast/dependency.ts +0 -12
- package/src/icons/ast/dividers.ts +0 -12
- package/src/icons/ast/document.ts +0 -12
- package/src/icons/ast/double-arrow-left.ts +0 -12
- package/src/icons/ast/double-arrow-right.ts +0 -12
- package/src/icons/ast/double-line.ts +0 -12
- package/src/icons/ast/drag-block-handle-single.ts +0 -12
- package/src/icons/ast/edit-value.ts +0 -12
- package/src/icons/ast/extension-assignments.ts +0 -12
- package/src/icons/ast/extension-avatar.ts +0 -12
- package/src/icons/ast/extension-comments.ts +0 -12
- package/src/icons/ast/extension-files.ts +0 -12
- package/src/icons/ast/extension-references.ts +0 -12
- package/src/icons/ast/extension-workflow.ts +0 -12
- package/src/icons/ast/favorites-checked.ts +0 -12
- package/src/icons/ast/fibery-desktop-app.ts +0 -12
- package/src/icons/ast/field-unit.ts +0 -12
- package/src/icons/ast/figma.ts +0 -12
- package/src/icons/ast/file-broken.ts +0 -12
- package/src/icons/ast/fullscreen-mode-off-icon.ts +0 -12
- package/src/icons/ast/fullscreen-mode-on-icon.ts +0 -12
- package/src/icons/ast/github.ts +0 -12
- package/src/icons/ast/gitlab.ts +0 -12
- package/src/icons/ast/globe.ts +0 -12
- package/src/icons/ast/google-drive.ts +0 -12
- package/src/icons/ast/google-map.ts +0 -12
- package/src/icons/ast/hide.ts +0 -12
- package/src/icons/ast/integrations-integration-discourse-color.ts +0 -12
- package/src/icons/ast/integrations-integration-intercom-color.ts +0 -12
- package/src/icons/ast/integrations-integration-slack-color.ts +0 -12
- package/src/icons/ast/integrations-integration-zendesk-color.ts +0 -12
- package/src/icons/ast/intercom.ts +0 -12
- package/src/icons/ast/jira.ts +0 -12
- package/src/icons/ast/left-panel.ts +0 -12
- package/src/icons/ast/level-plus.ts +0 -12
- package/src/icons/ast/lock-outline.ts +0 -12
- package/src/icons/ast/loom.ts +0 -12
- package/src/icons/ast/loupe-zoom.ts +0 -12
- package/src/icons/ast/many-people.ts +0 -12
- package/src/icons/ast/message-plus-square.ts +0 -12
- package/src/icons/ast/miro.ts +0 -12
- package/src/icons/ast/mixpanel.ts +0 -12
- package/src/icons/ast/move-bottom.ts +0 -12
- package/src/icons/ast/move-top.ts +0 -12
- package/src/icons/ast/network-add.ts +0 -12
- package/src/icons/ast/network.ts +0 -12
- package/src/icons/ast/notifications.ts +0 -12
- package/src/icons/ast/open-ai.ts +0 -12
- package/src/icons/ast/open-as-page.ts +0 -12
- package/src/icons/ast/popup.ts +0 -12
- package/src/icons/ast/posts.ts +0 -12
- package/src/icons/ast/quick-filter-personal.ts +0 -12
- package/src/icons/ast/quick-filter.ts +0 -12
- package/src/icons/ast/reply.ts +0 -12
- package/src/icons/ast/restore.ts +0 -12
- package/src/icons/ast/richeditor-actions-more.ts +0 -12
- package/src/icons/ast/richeditor-comment-create.ts +0 -12
- package/src/icons/ast/richeditor-entity-link-create.ts +0 -12
- package/src/icons/ast/richeditor-history-redo.ts +0 -12
- package/src/icons/ast/richeditor-history-undo.ts +0 -12
- package/src/icons/ast/richeditor-image-upload.ts +0 -12
- package/src/icons/ast/richeditor-image-wrap-center.ts +0 -12
- package/src/icons/ast/richeditor-image-wrap-left.ts +0 -12
- package/src/icons/ast/richeditor-image-wrap-right.ts +0 -12
- package/src/icons/ast/richeditor-image-zoom.ts +0 -12
- package/src/icons/ast/richeditor-link-create.ts +0 -12
- package/src/icons/ast/richeditor-open-link.ts +0 -12
- package/src/icons/ast/richeditor-unlink.ts +0 -12
- package/src/icons/ast/right-panel.ts +0 -12
- package/src/icons/ast/rule-scheduled.ts +0 -12
- package/src/icons/ast/settings-off.ts +0 -12
- package/src/icons/ast/shared.ts +0 -12
- package/src/icons/ast/sidebar-fields-opened.ts +0 -12
- package/src/icons/ast/sidebar-fields.ts +0 -12
- package/src/icons/ast/sidebar.ts +0 -12
- package/src/icons/ast/slack-icon.ts +0 -12
- package/src/icons/ast/slack.ts +0 -12
- package/src/icons/ast/slide-menu-close.ts +0 -12
- package/src/icons/ast/slide-menu-open.ts +0 -12
- package/src/icons/ast/sort-on-bottom.ts +0 -12
- package/src/icons/ast/sort-on-top.ts +0 -12
- package/src/icons/ast/space-list.ts +0 -12
- package/src/icons/ast/success.ts +0 -12
- package/src/icons/ast/template.ts +0 -12
- package/src/icons/ast/thumbs-down.ts +0 -12
- package/src/icons/ast/thumbs-up.ts +0 -12
- package/src/icons/ast/twitter.ts +0 -12
- package/src/icons/ast/type-boolean.ts +0 -12
- package/src/icons/ast/type-function.ts +0 -12
- package/src/icons/ast/type-id.ts +0 -12
- package/src/icons/ast/type-rule.ts +0 -12
- package/src/icons/ast/type-url.ts +0 -12
- package/src/icons/ast/units-db-badge-abbr.ts +0 -12
- package/src/icons/ast/units-db-badge-full.ts +0 -12
- package/src/icons/ast/units-db-icon.ts +0 -12
- package/src/icons/ast/unlock-outline.ts +0 -12
- package/src/icons/ast/upgrade.ts +0 -12
- package/src/icons/ast/user-check.ts +0 -12
- package/src/icons/ast/user-group-remove.ts +0 -12
- package/src/icons/ast/user-group.ts +0 -12
- package/src/icons/ast/user-role.ts +0 -12
- package/src/icons/ast/user-x.ts +0 -12
- package/src/icons/ast/windows.ts +0 -12
- package/src/icons/ast/workspace-map.ts +0 -12
- package/src/icons/ast/youtube.ts +0 -12
- package/src/icons/ast/zoom-in.ts +0 -12
- package/src/icons/ast/zoom-out.ts +0 -12
- package/src/icons/react/app-details.tsx +0 -18
- package/src/icons/react/app-store-one-color.tsx +0 -18
- package/src/icons/react/app-templates.tsx +0 -18
- package/src/icons/react/app-webhooks.tsx +0 -18
- package/src/icons/react/arrow-bottom.tsx +0 -18
- package/src/icons/react/arrow-top.tsx +0 -18
- package/src/icons/react/automations-cancelled.tsx +0 -18
- package/src/icons/react/automations-error.tsx +0 -18
- package/src/icons/react/automations-in-progress.tsx +0 -18
- package/src/icons/react/automations-not-started.tsx +0 -18
- package/src/icons/react/automations-success.tsx +0 -18
- package/src/icons/react/backlog-icon.tsx +0 -18
- package/src/icons/react/batch-actions-icon.tsx +0 -18
- package/src/icons/react/bell-filled.tsx +0 -18
- package/src/icons/react/check-circle-filled.tsx +0 -18
- package/src/icons/react/check-circle.tsx +0 -18
- package/src/icons/react/clean.tsx +0 -18
- package/src/icons/react/clear-value.tsx +0 -18
- package/src/icons/react/color-coding-filled.tsx +0 -18
- package/src/icons/react/create.tsx +0 -18
- package/src/icons/react/cross-circle.tsx +0 -18
- package/src/icons/react/database-off.tsx +0 -18
- package/src/icons/react/database-stroke.tsx +0 -18
- package/src/icons/react/demo.tsx +0 -18
- package/src/icons/react/dependency.tsx +0 -18
- package/src/icons/react/dividers.tsx +0 -18
- package/src/icons/react/document.tsx +0 -18
- package/src/icons/react/double-arrow-left.tsx +0 -18
- package/src/icons/react/double-arrow-right.tsx +0 -18
- package/src/icons/react/double-line.tsx +0 -18
- package/src/icons/react/drag-block-handle-single.tsx +0 -18
- package/src/icons/react/edit-value.tsx +0 -18
- package/src/icons/react/error-circle-filled.tsx +0 -18
- package/src/icons/react/extension-assignments.tsx +0 -18
- package/src/icons/react/extension-avatar.tsx +0 -18
- package/src/icons/react/extension-comments.tsx +0 -18
- package/src/icons/react/extension-files.tsx +0 -18
- package/src/icons/react/extension-workflow.tsx +0 -18
- package/src/icons/react/favorites-checked.tsx +0 -18
- package/src/icons/react/fibery-desktop-app.tsx +0 -18
- package/src/icons/react/field-unit.tsx +0 -18
- package/src/icons/react/figma.tsx +0 -18
- package/src/icons/react/file-broken.tsx +0 -18
- package/src/icons/react/fullscreen-mode-off-icon.tsx +0 -18
- package/src/icons/react/fullscreen-mode-on-icon.tsx +0 -18
- package/src/icons/react/github.tsx +0 -18
- package/src/icons/react/gitlab.tsx +0 -18
- package/src/icons/react/globe.tsx +0 -18
- package/src/icons/react/google-drive.tsx +0 -18
- package/src/icons/react/google-map.tsx +0 -18
- package/src/icons/react/hide.tsx +0 -18
- package/src/icons/react/image-xmark.tsx +0 -18
- package/src/icons/react/info-circle-filled.tsx +0 -18
- package/src/icons/react/info-circle.tsx +0 -18
- package/src/icons/react/integrations-integration-discourse-color.tsx +0 -18
- package/src/icons/react/integrations-integration-intercom-color.tsx +0 -18
- package/src/icons/react/integrations-integration-slack-color.tsx +0 -18
- package/src/icons/react/integrations-integration-zendesk-color.tsx +0 -18
- package/src/icons/react/intercom.tsx +0 -18
- package/src/icons/react/invite-people.tsx +0 -18
- package/src/icons/react/jira.tsx +0 -18
- package/src/icons/react/left-panel.tsx +0 -18
- package/src/icons/react/level-plus.tsx +0 -18
- package/src/icons/react/lock-outline.tsx +0 -18
- package/src/icons/react/loom.tsx +0 -18
- package/src/icons/react/loupe-zoom.tsx +0 -18
- package/src/icons/react/many-people.tsx +0 -18
- package/src/icons/react/message-plus-square.tsx +0 -18
- package/src/icons/react/miro.tsx +0 -18
- package/src/icons/react/mixpanel.tsx +0 -18
- package/src/icons/react/move-bottom.tsx +0 -18
- package/src/icons/react/move-space.tsx +0 -18
- package/src/icons/react/move-top.tsx +0 -18
- package/src/icons/react/network-add.tsx +0 -18
- package/src/icons/react/network.tsx +0 -18
- package/src/icons/react/open-ai.tsx +0 -18
- package/src/icons/react/open-as-page.tsx +0 -18
- package/src/icons/react/popup.tsx +0 -18
- package/src/icons/react/posts.tsx +0 -18
- package/src/icons/react/quick-filter-personal.tsx +0 -18
- package/src/icons/react/quick-filter.tsx +0 -18
- package/src/icons/react/remove-people.tsx +0 -18
- package/src/icons/react/reply.tsx +0 -18
- package/src/icons/react/restore.tsx +0 -18
- package/src/icons/react/richeditor-actions-more.tsx +0 -18
- package/src/icons/react/richeditor-comment-create.tsx +0 -18
- package/src/icons/react/richeditor-entity-link-create.tsx +0 -18
- package/src/icons/react/richeditor-history-redo.tsx +0 -18
- package/src/icons/react/richeditor-history-undo.tsx +0 -18
- package/src/icons/react/richeditor-image-upload.tsx +0 -18
- package/src/icons/react/richeditor-image-wrap-center.tsx +0 -18
- package/src/icons/react/richeditor-image-wrap-left.tsx +0 -18
- package/src/icons/react/richeditor-image-wrap-right.tsx +0 -18
- package/src/icons/react/richeditor-image-zoom.tsx +0 -18
- package/src/icons/react/richeditor-link-create.tsx +0 -18
- package/src/icons/react/richeditor-open-link.tsx +0 -18
- package/src/icons/react/richeditor-unlink.tsx +0 -18
- package/src/icons/react/right-panel.tsx +0 -18
- package/src/icons/react/rule-scheduled.tsx +0 -18
- package/src/icons/react/send-arrow.tsx +0 -18
- package/src/icons/react/settings-off.tsx +0 -18
- package/src/icons/react/shared.tsx +0 -18
- package/src/icons/react/sidebar-fields-opened.tsx +0 -18
- package/src/icons/react/sidebar-fields.tsx +0 -18
- package/src/icons/react/sidebar.tsx +0 -18
- package/src/icons/react/slack-icon.tsx +0 -18
- package/src/icons/react/slack.tsx +0 -18
- package/src/icons/react/slide-menu-close.tsx +0 -18
- package/src/icons/react/slide-menu-open.tsx +0 -18
- package/src/icons/react/smart-folder.tsx +0 -18
- package/src/icons/react/sort-on-bottom.tsx +0 -18
- package/src/icons/react/sort-on-top.tsx +0 -18
- package/src/icons/react/space-list.tsx +0 -18
- package/src/icons/react/success.tsx +0 -18
- package/src/icons/react/suggest-integration.tsx +0 -18
- package/src/icons/react/switch-to-mention.tsx +0 -18
- package/src/icons/react/template.tsx +0 -18
- package/src/icons/react/thumbs-down.tsx +0 -18
- package/src/icons/react/thumbs-up.tsx +0 -18
- package/src/icons/react/twitter.tsx +0 -18
- package/src/icons/react/type-boolean.tsx +0 -18
- package/src/icons/react/type-function.tsx +0 -18
- package/src/icons/react/type-id.tsx +0 -18
- package/src/icons/react/type-rule.tsx +0 -18
- package/src/icons/react/type-url.tsx +0 -18
- package/src/icons/react/units-db-badge-abbr.tsx +0 -18
- package/src/icons/react/units-db-badge-full.tsx +0 -18
- package/src/icons/react/units-db-icon.tsx +0 -18
- package/src/icons/react/unlock-outline.tsx +0 -18
- package/src/icons/react/upgrade.tsx +0 -18
- package/src/icons/react/user-check.tsx +0 -18
- package/src/icons/react/user-group-remove.tsx +0 -18
- package/src/icons/react/user-group.tsx +0 -18
- package/src/icons/react/user-role.tsx +0 -18
- package/src/icons/react/user-x.tsx +0 -18
- package/src/icons/react/windows.tsx +0 -18
- package/src/icons/react/workspace-map.tsx +0 -18
- package/src/icons/react/youtube.tsx +0 -18
- package/src/icons/react/zoom-in.tsx +0 -18
- package/src/icons/react/zoom-out.tsx +0 -18
- package/src/icons/svg/ai-avatar.svg +0 -3
- package/src/icons/svg/ai-search.svg +0 -3
- package/src/icons/svg/anthropic.svg +0 -3
- package/src/icons/svg/app-store-one-color.svg +0 -4
- package/src/icons/svg/app-store.svg +0 -4
- package/src/icons/svg/app-webhooks.svg +0 -2
- package/src/icons/svg/app-wiki.svg +0 -2
- package/src/icons/svg/apple.svg +0 -4
- package/src/icons/svg/automations-cancelled.svg +0 -3
- package/src/icons/svg/automations-disabled.svg +0 -3
- package/src/icons/svg/automations-success.svg +0 -3
- package/src/icons/svg/batch-actions-icon.svg +0 -4
- package/src/icons/svg/bell-filled.svg +0 -4
- package/src/icons/svg/chat-ai.svg +0 -5
- package/src/icons/svg/chat.svg +0 -3
- package/src/icons/svg/clean.svg +0 -6
- package/src/icons/svg/color-coding-filled.svg +0 -3
- package/src/icons/svg/create.svg +0 -3
- package/src/icons/svg/cross-circle.svg +0 -4
- package/src/icons/svg/csv.svg +0 -3
- package/src/icons/svg/database-off.svg +0 -3
- package/src/icons/svg/demo.svg +0 -2
- package/src/icons/svg/dependency.svg +0 -3
- package/src/icons/svg/document.svg +0 -4
- package/src/icons/svg/double-arrow-left.svg +0 -2
- package/src/icons/svg/double-arrow-right.svg +0 -2
- package/src/icons/svg/double-line.svg +0 -3
- package/src/icons/svg/drag-block-handle-single.svg +0 -5
- package/src/icons/svg/edit-value.svg +0 -5
- package/src/icons/svg/extension/assignments.svg +0 -7
- package/src/icons/svg/file-broken.svg +0 -3
- package/src/icons/svg/fullscreen-mode-on-icon.svg +0 -3
- package/src/icons/svg/globe.svg +0 -3
- package/src/icons/svg/integrations/integration-slack-color.svg +0 -10
- package/src/icons/svg/intercom.svg +0 -3
- package/src/icons/svg/left-panel.svg +0 -11
- package/src/icons/svg/level-plus.svg +0 -4
- package/src/icons/svg/lock-outline.svg +0 -5
- package/src/icons/svg/loupe-zoom.svg +0 -3
- package/src/icons/svg/message-plus-square.svg +0 -4
- package/src/icons/svg/network-add.svg +0 -5
- package/src/icons/svg/notifications.svg +0 -2
- package/src/icons/svg/open-ai.svg +0 -3
- package/src/icons/svg/open-as-page.svg +0 -3
- package/src/icons/svg/posts.svg +0 -3
- package/src/icons/svg/quick-filter-personal.svg +0 -3
- package/src/icons/svg/quick-filter.svg +0 -3
- package/src/icons/svg/reply.svg +0 -2
- package/src/icons/svg/restore.svg +0 -2
- package/src/icons/svg/richeditor/actions/more.svg +0 -2
- package/src/icons/svg/richeditor/comment/create.svg +0 -5
- package/src/icons/svg/richeditor/entity-link/create.svg +0 -2
- package/src/icons/svg/richeditor/image/wrap-center.svg +0 -2
- package/src/icons/svg/richeditor/image/wrap-left.svg +0 -2
- package/src/icons/svg/richeditor/image/wrap-right.svg +0 -2
- package/src/icons/svg/richeditor/image/zoom.svg +0 -5
- package/src/icons/svg/richeditor/link/create.svg +0 -9
- package/src/icons/svg/richeditor/mark/code.svg +0 -5
- package/src/icons/svg/richeditor/mark/em.svg +0 -3
- package/src/icons/svg/richeditor/mark/highlight.svg +0 -3
- package/src/icons/svg/richeditor/mark/strike.svg +0 -3
- package/src/icons/svg/richeditor/mark/strong.svg +0 -3
- package/src/icons/svg/richeditor/unlink.svg +0 -10
- package/src/icons/svg/right-panel.svg +0 -11
- package/src/icons/svg/rule-scheduled.svg +0 -5
- package/src/icons/svg/settings-off.svg +0 -4
- package/src/icons/svg/shared.svg +0 -7
- package/src/icons/svg/sidebar-fields-opened.svg +0 -3
- package/src/icons/svg/sidebar-fields.svg +0 -6
- package/src/icons/svg/sidebar.svg +0 -2
- package/src/icons/svg/slack-icon.svg +0 -3
- package/src/icons/svg/slide-menu-close.svg +0 -4
- package/src/icons/svg/slide-menu-open.svg +0 -4
- package/src/icons/svg/sort-on-bottom.svg +0 -4
- package/src/icons/svg/sort-on-top.svg +0 -4
- package/src/icons/svg/space-list.svg +0 -4
- package/src/icons/svg/success.svg +0 -4
- package/src/icons/svg/template.svg +0 -3
- package/src/icons/svg/thumbs-down.svg +0 -3
- package/src/icons/svg/thumbs-up.svg +0 -3
- package/src/icons/svg/type/boolean.svg +0 -2
- package/src/icons/svg/type/function.svg +0 -2
- package/src/icons/svg/type/id.svg +0 -3
- package/src/icons/svg/type/rule.svg +0 -2
- package/src/icons/svg/type/url.svg +0 -9
- package/src/icons/svg/units/db-badge-abbr.svg +0 -4
- package/src/icons/svg/units/db-badge-full.svg +0 -4
- package/src/icons/svg/units/db-icon.svg +0 -4
- package/src/icons/svg/upgrade.svg +0 -2
- package/src/icons/svg/user-check.svg +0 -3
- package/src/icons/svg/windows.svg +0 -15
- package/src/icons/svg/workspace-map.svg +0 -3
- package/src/icons/svg/zoom-out.svg +0 -7
- /package/src/icons/svg/{dividers.svg → architect.svg} +0 -0
- /package/src/icons/svg/{back.svg → arrow-back.svg} +0 -0
- /package/src/icons/svg/{send-arrow.svg → arrow-send.svg} +0 -0
- /package/src/icons/svg/{extension/avatar.svg → avatar.svg} +0 -0
- /package/src/icons/svg/{backlog-icon.svg → backlog.svg} +0 -0
- /package/src/icons/svg/{check-circle-filled.svg → circle-check-filled.svg} +0 -0
- /package/src/icons/svg/{check-circle.svg → circle-check.svg} +0 -0
- /package/src/icons/svg/{error-circle-filled.svg → circle-cross-filled.svg} +0 -0
- /package/src/icons/svg/{info-circle-filled.svg → circle-info-filled.svg} +0 -0
- /package/src/icons/svg/{info-circle.svg → circle-info.svg} +0 -0
- /package/src/icons/svg/{extension/comments.svg → comments.svg} +0 -0
- /package/src/icons/svg/{add-database.svg → database-add.svg} +0 -0
- /package/src/icons/svg/{database-stroke.svg → database-outline.svg} +0 -0
- /package/src/icons/svg/{hide.svg → eye-off.svg} +0 -0
- /package/src/icons/svg/{favorites-checked.svg → favorites-filled.svg} +0 -0
- /package/src/icons/svg/{switch-to-mention.svg → field-units-large.svg} +0 -0
- /package/src/icons/svg/{extension/files.svg → files.svg} +0 -0
- /package/src/icons/svg/{smart-folder.svg → folder-smart.svg} +0 -0
- /package/src/icons/svg/{fullscreen-mode-off-icon.svg → fullscreen-mode-off.svg} +0 -0
- /package/src/icons/svg/{add-group.svg → group-add.svg} +0 -0
- /package/src/icons/svg/{image-xmark.svg → image-error.svg} +0 -0
- /package/src/icons/svg/{add-integration.svg → integration-add.svg} +0 -0
- /package/src/icons/svg/{integrations/integration-discourse-color.svg → integration-discourse.svg} +0 -0
- /package/src/icons/svg/{fibery-desktop-app.svg → integration-fibery.svg} +0 -0
- /package/src/icons/svg/{figma.svg → integration-figma.svg} +0 -0
- /package/src/icons/svg/{github.svg → integration-github.svg} +0 -0
- /package/src/icons/svg/{gitlab.svg → integration-gitlab.svg} +0 -0
- /package/src/icons/svg/{google-drive.svg → integration-google-drive.svg} +0 -0
- /package/src/icons/svg/{google-map.svg → integration-google-map.svg} +0 -0
- /package/src/icons/svg/{integrations/integration-intercom-color.svg → integration-intercom.svg} +0 -0
- /package/src/icons/svg/{jira.svg → integration-jira.svg} +0 -0
- /package/src/icons/svg/{loom.svg → integration-loom.svg} +0 -0
- /package/src/icons/svg/{miro.svg → integration-miro.svg} +0 -0
- /package/src/icons/svg/{mixpanel.svg → integration-mixpanel.svg} +0 -0
- /package/src/icons/svg/{slack.svg → integration-slack.svg} +0 -0
- /package/src/icons/svg/{suggest-integration.svg → integration-suggest.svg} +0 -0
- /package/src/icons/svg/{twitter.svg → integration-twitter.svg} +0 -0
- /package/src/icons/svg/{youtube.svg → integration-youtube.svg} +0 -0
- /package/src/icons/svg/{integrations/integration-zendesk-color.svg → integration-zendesk.svg} +0 -0
- /package/src/icons/svg/{move-bottom.svg → move-down.svg} +0 -0
- /package/src/icons/svg/{move-top.svg → move-up.svg} +0 -0
- /package/src/icons/svg/{popup.svg → open-in-panel.svg} +0 -0
- /package/src/icons/svg/{richeditor/open-link.svg → open-link.svg} +0 -0
- /package/src/icons/svg/{many-people.svg → people-all.svg} +0 -0
- /package/src/icons/svg/{user-group-remove.svg → people-group-remove.svg} +0 -0
- /package/src/icons/svg/{invite-people.svg → people-invite.svg} +0 -0
- /package/src/icons/svg/{remove-people.svg → people-remove.svg} +0 -0
- /package/src/icons/svg/{user-x.svg → people-x.svg} +0 -0
- /package/src/icons/svg/{zoom-in.svg → plus.svg} +0 -0
- /package/src/icons/svg/{app-details.svg → preferences.svg} +0 -0
- /package/src/icons/svg/{network.svg → propagate.svg} +0 -0
- /package/src/icons/svg/{add-reactions.svg → reactions-add.svg} +0 -0
- /package/src/icons/svg/{richeditor/history/redo.svg → redo.svg} +0 -0
- /package/src/icons/svg/{extension/references.svg → references.svg} +0 -0
- /package/src/icons/svg/{richeditor/block/callout.svg → richeditor-block-callout.svg} +0 -0
- /package/src/icons/svg/{richeditor/block/code.svg → richeditor-block-code.svg} +0 -0
- /package/src/icons/svg/{richeditor/block/embed.svg → richeditor-block-embed.svg} +0 -0
- /package/src/icons/svg/{richeditor/block/entity.svg → richeditor-block-entity.svg} +0 -0
- /package/src/icons/svg/{richeditor/block/file.svg → richeditor-block-file.svg} +0 -0
- /package/src/icons/svg/{richeditor/block/h1.svg → richeditor-block-h1.svg} +0 -0
- /package/src/icons/svg/{richeditor/block/h2.svg → richeditor-block-h2.svg} +0 -0
- /package/src/icons/svg/{richeditor/block/h3.svg → richeditor-block-h3.svg} +0 -0
- /package/src/icons/svg/{richeditor/block/h4.svg → richeditor-block-h4.svg} +0 -0
- /package/src/icons/svg/{richeditor/block/mention.svg → richeditor-block-mention.svg} +0 -0
- /package/src/icons/svg/{richeditor/block/paragraph.svg → richeditor-block-paragraph.svg} +0 -0
- /package/src/icons/svg/{richeditor/block/quote.svg → richeditor-block-quote.svg} +0 -0
- /package/src/icons/svg/{richeditor/checklist/create.svg → richeditor-checklist-create.svg} +0 -0
- /package/src/icons/svg/{richeditor/image/align-center.svg → richeditor-image-align-center.svg} +0 -0
- /package/src/icons/svg/{richeditor/image/align-left.svg → richeditor-image-align-left.svg} +0 -0
- /package/src/icons/svg/{richeditor/image/align-right.svg → richeditor-image-align-right.svg} +0 -0
- /package/src/icons/svg/{richeditor/image/upload.svg → richeditor-image.svg} +0 -0
- /package/src/icons/svg/{richeditor/linkedhighlight/create.svg → richeditor-linkedhighlight-create.svg} +0 -0
- /package/src/icons/svg/{richeditor/list/bullet.svg → richeditor-list-bullet.svg} +0 -0
- /package/src/icons/svg/{richeditor/list/ordered.svg → richeditor-list-ordered.svg} +0 -0
- /package/src/icons/svg/{richeditor/list/unindent.svg → richeditor-list-unindent.svg} +0 -0
- /package/src/icons/svg/{richeditor/mark/text-background-color.svg → richeditor-mark-text-background-color.svg} +0 -0
- /package/src/icons/svg/{richeditor/mark/underline.svg → richeditor-mark-underline.svg} +0 -0
- /package/src/icons/svg/{richeditor/table/create.svg → richeditor-table-create.svg} +0 -0
- /package/src/icons/svg/{richeditor/video/upload.svg → richeditor-video-upload.svg} +0 -0
- /package/src/icons/svg/{bolt.svg → rule.svg} +0 -0
- /package/src/icons/svg/{app-templates.svg → space-add.svg} +0 -0
- /package/src/icons/svg/{move-space.svg → space-move.svg} +0 -0
- /package/src/icons/svg/{type/button.svg → type-button.svg} +0 -0
- /package/src/icons/svg/{type/checkbox.svg → type-checkbox.svg} +0 -0
- /package/src/icons/svg/{type/date.svg → type-date.svg} +0 -0
- /package/src/icons/svg/{type/email.svg → type-email.svg} +0 -0
- /package/src/icons/svg/{type/emoji.svg → type-emoji.svg} +0 -0
- /package/src/icons/svg/{type/formula.svg → type-formula.svg} +0 -0
- /package/src/icons/svg/{type/location.svg → type-location.svg} +0 -0
- /package/src/icons/svg/{type/lookup.svg → type-lookup.svg} +0 -0
- /package/src/icons/svg/{type/money.svg → type-money.svg} +0 -0
- /package/src/icons/svg/{type/multi-select.svg → type-multi-select.svg} +0 -0
- /package/src/icons/svg/{type/number.svg → type-number.svg} +0 -0
- /package/src/icons/svg/{type/percent.svg → type-percent.svg} +0 -0
- /package/src/icons/svg/{type/phone.svg → type-phone.svg} +0 -0
- /package/src/icons/svg/{type/relation.svg → type-relation.svg} +0 -0
- /package/src/icons/svg/{type/rich-text.svg → type-rich-text.svg} +0 -0
- /package/src/icons/svg/{type/single-select.svg → type-single-select.svg} +0 -0
- /package/src/icons/svg/{type/text.svg → type-text.svg} +0 -0
- /package/src/icons/svg/{richeditor/history/undo.svg → undo.svg} +0 -0
- /package/src/icons/svg/{units/avatar.svg → units-avatar.svg} +0 -0
- /package/src/icons/svg/{units/collection.svg → units-collection.svg} +0 -0
- /package/src/icons/svg/{units/counter.svg → units-counter.svg} +0 -0
- /package/src/icons/svg/{units/date.svg → units-date.svg} +0 -0
- /package/src/icons/svg/{units/field-icon-button.svg → units-field-icon-button.svg} +0 -0
- /package/src/icons/svg/{units/field.svg → units-field.svg} +0 -0
- /package/src/icons/svg/{units/input.svg → units-input.svg} +0 -0
- /package/src/icons/svg/{field-unit.svg → units-normal.svg} +0 -0
- /package/src/icons/svg/{units/progress-bar.svg → units-progress-bar.svg} +0 -0
- /package/src/icons/svg/{units/rich-text.svg → units-rich-text.svg} +0 -0
- /package/src/icons/svg/{units/snippet.svg → units-snippet.svg} +0 -0
- /package/src/icons/svg/{unlock-outline.svg → unlock.svg} +0 -0
- /package/src/icons/svg/{clear-value.svg → value-clear.svg} +0 -0
- /package/src/icons/svg/{extension/workflow.svg → workflow.svg} +0 -0
|
@@ -3,6 +3,7 @@ import {cssFromFilter, makeColorFilter} from "../color-filter";
|
|
|
3
3
|
import {highlightColors} from "../highlight-colors";
|
|
4
4
|
import type {ThemeMode} from "../theme-settings";
|
|
5
5
|
import {alpha, opacity, transparent} from "./alpha";
|
|
6
|
+
import {alphaCoefficients as A, type AlphaModeDef} from "./alpha-coefficients";
|
|
6
7
|
import {getDarkenColor} from "./colors-js";
|
|
7
8
|
import {Swatch, swatches} from "./colors-swatches";
|
|
8
9
|
import {mapDef} from "./def";
|
|
@@ -12,13 +13,6 @@ import type {Def, DefMapper, Defs, ThemePalette} from "./types";
|
|
|
12
13
|
/** @deprecated use swatches */
|
|
13
14
|
export const cardTypeColors = swatches;
|
|
14
15
|
|
|
15
|
-
type ThemeColorsDef = Record<
|
|
16
|
-
string,
|
|
17
|
-
| readonly [lightColor: string, darkColor: string]
|
|
18
|
-
| readonly [Record<string, string>, Record<string, string>]
|
|
19
|
-
| readonly ["light", "dark"]
|
|
20
|
-
>;
|
|
21
|
-
|
|
22
16
|
const separator = (color: string) => `0.5px solid ${color}`;
|
|
23
17
|
const border1 = (color: string) => `1px solid ${color}`;
|
|
24
18
|
const border3 = (color: string) => `3px solid ${color}`;
|
|
@@ -32,6 +26,12 @@ const both =
|
|
|
32
26
|
(map: (_: string) => string) =>
|
|
33
27
|
([light, dark]: Def): Def => [map(light), map(dark)];
|
|
34
28
|
|
|
29
|
+
const alphaPair = (lightColor: string, darkColor: string, alphaValue: AlphaModeDef): Def => [
|
|
30
|
+
alpha(lightColor, alphaValue[0]),
|
|
31
|
+
alpha(darkColor, alphaValue[1]),
|
|
32
|
+
];
|
|
33
|
+
const alphaDef = (def: Def, alphaValue: AlphaModeDef): Def => alphaPair(def[0], def[1], alphaValue);
|
|
34
|
+
|
|
35
35
|
export function defsFromPalette({
|
|
36
36
|
key,
|
|
37
37
|
whiteA,
|
|
@@ -59,19 +59,19 @@ export function defsFromPalette({
|
|
|
59
59
|
enum: enumDefs,
|
|
60
60
|
}: ThemePalette) {
|
|
61
61
|
// whiteA = surface direction (white on light / black on dark) — blends INTO bg
|
|
62
|
-
const whiteA5: Def =
|
|
63
|
-
const whiteA10: Def =
|
|
64
|
-
const whiteA25: Def =
|
|
65
|
-
const whiteA40: Def =
|
|
62
|
+
const whiteA5: Def = alphaPair(white, black, A.direction.surface5);
|
|
63
|
+
const whiteA10: Def = alphaPair(white, black, A.direction.surface10);
|
|
64
|
+
const whiteA25: Def = alphaPair(white, black, A.direction.surface25);
|
|
65
|
+
const whiteA40: Def = alphaPair(white, black, A.direction.surface40);
|
|
66
66
|
const whiteA100: Def = [white, black];
|
|
67
67
|
|
|
68
68
|
// blackA = contrast direction (black on light / white on dark) — readable on bg
|
|
69
|
-
const blackA5: Def =
|
|
70
|
-
const blackA10: Def =
|
|
71
|
-
const blackA15: Def =
|
|
72
|
-
const blackA25: Def =
|
|
73
|
-
const blackA50: Def =
|
|
74
|
-
const blackA90: Def =
|
|
69
|
+
const blackA5: Def = alphaPair(black, white, A.direction.ink5);
|
|
70
|
+
const blackA10: Def = alphaPair(black, white, A.direction.ink10);
|
|
71
|
+
const blackA15: Def = alphaPair(black, white, A.direction.ink15);
|
|
72
|
+
const blackA25: Def = alphaPair(black, white, A.direction.ink25);
|
|
73
|
+
const blackA50: Def = alphaPair(black, white, A.direction.ink50);
|
|
74
|
+
const blackA90: Def = alphaPair(black, white, A.direction.ink90);
|
|
75
75
|
|
|
76
76
|
const opacities = {
|
|
77
77
|
subtle: same(opacity.opacity15.toString()),
|
|
@@ -107,8 +107,9 @@ export function defsFromPalette({
|
|
|
107
107
|
level2_6: [base[2], baseDark[6]],
|
|
108
108
|
|
|
109
109
|
// muted bg (code, form fields)
|
|
110
|
-
|
|
110
|
+
level3: [base[3], baseDark[3]],
|
|
111
111
|
level3_1: [base[3], baseDark[1]],
|
|
112
|
+
level3_2: [base[3], baseDark[2]],
|
|
112
113
|
level3_4: [base[3], baseDark[4]],
|
|
113
114
|
level3_6: [base[3], baseDark[6]],
|
|
114
115
|
level3_7: [base[3], baseDark[7]],
|
|
@@ -167,124 +168,162 @@ export function defsFromPalette({
|
|
|
167
168
|
|
|
168
169
|
// --- Input borders (stroke shadows) ---
|
|
169
170
|
const inputStrokes = {
|
|
170
|
-
disabled:
|
|
171
|
-
default:
|
|
172
|
-
hover: [stroke1(base[7]), stroke1(baseDark[
|
|
171
|
+
disabled: both(stroke1)(alphaPair(base[6], baseDark[8], A.inputStroke.disabled)),
|
|
172
|
+
default: both(stroke1)(alphaPair(base[6], baseDark[8], A.inputStroke.default)),
|
|
173
|
+
hover: [stroke1(base[7]), stroke1(baseDark[7])],
|
|
173
174
|
focus: [stroke1(base[8]), stroke1(baseDark[9])],
|
|
174
175
|
error: [stroke1(red[11]), stroke1(red[7])],
|
|
175
|
-
errorHover:
|
|
176
|
-
errorFocus:
|
|
177
|
-
errorFocusRing:
|
|
176
|
+
errorHover: both(stroke1)(alphaPair(red[11], red[7], A.inputStroke.errorHover)),
|
|
177
|
+
errorFocus: both(stroke1)(alphaPair(red[11], red[7], A.inputStroke.errorFocus)),
|
|
178
|
+
errorFocusRing: both(stroke3)(alphaPair(red[11], red[7], A.inputStroke.errorFocus)),
|
|
178
179
|
warning: [stroke1(yellow[9]), stroke1(yellowDark[8])],
|
|
179
180
|
} satisfies Defs;
|
|
180
181
|
|
|
181
182
|
// --- Floating surface shadows ---
|
|
182
183
|
const floatingShadows = {
|
|
183
184
|
popup: [
|
|
184
|
-
steps([
|
|
185
|
-
|
|
185
|
+
steps([
|
|
186
|
+
glow2(alpha(base[11], A.shadow.popupGlowLight[0])),
|
|
187
|
+
elevationSM(alpha(base[11], A.shadow.hairline[0])),
|
|
188
|
+
elevationXL(alpha(base[11], A.shadow.medium[0])),
|
|
189
|
+
]),
|
|
190
|
+
steps([
|
|
191
|
+
stroke1(baseDark[6]),
|
|
192
|
+
elevationSM(alpha(baseDark[1], A.shadow.hairline[1])),
|
|
193
|
+
elevationXL(alpha(baseDark[1], A.shadow.medium[1])),
|
|
194
|
+
]),
|
|
186
195
|
],
|
|
187
196
|
instrumentsMenu: [
|
|
188
|
-
steps([
|
|
189
|
-
|
|
197
|
+
steps([
|
|
198
|
+
glow1(alpha(base[11], A.shadow.high[0])),
|
|
199
|
+
elevationSM(alpha(base[11], A.shadow.hairline[0])),
|
|
200
|
+
elevationSL(alpha(base[11], A.shadow.low[0])),
|
|
201
|
+
]),
|
|
202
|
+
steps([
|
|
203
|
+
glow1(baseDark[6]),
|
|
204
|
+
elevationSM(alpha(baseDark[1], A.shadow.hairline[1])),
|
|
205
|
+
elevationSL(alpha(baseDark[1], A.shadow.medium[1])),
|
|
206
|
+
]),
|
|
207
|
+
],
|
|
208
|
+
} satisfies Defs;
|
|
209
|
+
|
|
210
|
+
// --- Floating panel (inbox item hover, rich text format bar, batch actions toolbar) ---
|
|
211
|
+
const floatingPanel = {
|
|
212
|
+
bg: raised.level2,
|
|
213
|
+
shadow: [
|
|
214
|
+
steps([
|
|
215
|
+
stroke1(alpha(base[10], A.shadow.floatingPanelStrokeLight[0])),
|
|
216
|
+
elevationSL(alpha(base[11], A.shadow.floatingPanelDarkElevation[0])),
|
|
217
|
+
]),
|
|
218
|
+
steps([stroke1(baseDark[6]), elevationSL(alpha(baseDark[1], A.shadow.floatingPanelDarkElevation[1]))]),
|
|
190
219
|
],
|
|
191
220
|
} satisfies Defs;
|
|
192
221
|
|
|
193
222
|
// --- Card/container shadows ---
|
|
194
223
|
const cardShadows = {
|
|
195
224
|
subtle: [
|
|
196
|
-
steps([stroke1(alpha(base[10], 0
|
|
197
|
-
steps([stroke1(alpha(baseDark[2],
|
|
225
|
+
steps([stroke1(alpha(base[10], A.shadow.low[0])), elevationS_shrinked(alpha(base[10], A.shadow.high[0]))]),
|
|
226
|
+
steps([stroke1(alpha(baseDark[2], A.shadow.low[1])), elevationS_shrinked(alpha(baseDark[2], A.shadow.high[1]))]),
|
|
198
227
|
],
|
|
199
228
|
} satisfies Defs;
|
|
200
229
|
|
|
201
230
|
const entityBoxShadows = {
|
|
202
231
|
stroke: {
|
|
203
232
|
default: [stroke1(base[5]), stroke1(baseDark[5])],
|
|
204
|
-
focus:
|
|
205
|
-
focusHover:
|
|
233
|
+
focus: both(stroke2)(alphaPair(accent[9], accentDark[9], A.entityBox.focusStroke)),
|
|
234
|
+
focusHover: both(stroke2)(alphaPair(accent[9], accentDark[9], A.entityBox.focusHoverStroke)),
|
|
206
235
|
selected: [
|
|
207
|
-
steps([
|
|
208
|
-
|
|
236
|
+
steps([
|
|
237
|
+
stroke1(alpha(accent[9], A.entityBox.focusStroke[0])),
|
|
238
|
+
stroke3(alpha(accent[9], A.entityBox.focusStroke[0])),
|
|
239
|
+
]),
|
|
240
|
+
steps([stroke1(accentDark[9]), stroke3(alpha(accentDark[9], A.entityBox.focusStroke[1]))]),
|
|
209
241
|
],
|
|
210
242
|
selectedHover: [
|
|
211
|
-
steps([
|
|
212
|
-
|
|
243
|
+
steps([
|
|
244
|
+
stroke1(alpha(accent[9], A.entityBox.focusHoverStroke[0])),
|
|
245
|
+
stroke3(alpha(accent[9], A.entityBox.focusStroke[0])),
|
|
246
|
+
]),
|
|
247
|
+
steps([stroke1(accentDark[9]), stroke3(alpha(accentDark[9], A.entityBox.focusStroke[1]))]),
|
|
213
248
|
],
|
|
214
249
|
} satisfies Defs,
|
|
215
250
|
elevation: {
|
|
216
251
|
// Progression: S → M → L (default → hover → drag)
|
|
217
|
-
default:
|
|
218
|
-
hover:
|
|
219
|
-
drag:
|
|
252
|
+
default: both(elevationS)(alphaPair(base[12], baseDark[1], A.entityBox.elevationDefault)),
|
|
253
|
+
hover: both(elevationM)(alphaPair(base[12], baseDark[1], A.entityBox.elevationRaised)),
|
|
254
|
+
drag: both(elevationL)(alphaPair(base[12], baseDark[1], A.entityBox.elevationRaised)),
|
|
220
255
|
} satisfies Defs,
|
|
221
256
|
};
|
|
222
257
|
|
|
223
|
-
//
|
|
258
|
+
// Asymmetric: light is composite (elevation100 + stroke05), dark is simple (stroke1 only).
|
|
224
259
|
const shadowMenuHeaderAvatar = [
|
|
225
|
-
steps([
|
|
226
|
-
|
|
260
|
+
steps([
|
|
261
|
+
elevation100(alpha(base[11], A.shadow.low[0])),
|
|
262
|
+
stroke05(alpha(base[5], A.shadow.menuHeaderLightStroke[0])),
|
|
263
|
+
]),
|
|
264
|
+
stroke1(alpha(baseDark[9], A.shadow.menuHeaderLightStroke[1])),
|
|
227
265
|
] as const;
|
|
228
266
|
|
|
229
267
|
const edgeLeft = (color: string) => `-3px 0 10px 0 ${color}`;
|
|
230
268
|
|
|
231
|
-
const formHeaderShadow = [
|
|
269
|
+
const formHeaderShadow = [
|
|
270
|
+
glow6(alpha(base[10], A.shadow.formHeader[0])),
|
|
271
|
+
glow6(alpha(baseDark[1], A.shadow.formHeader[1])),
|
|
272
|
+
] as const;
|
|
232
273
|
|
|
233
274
|
const shadows = {
|
|
234
275
|
// Elevations
|
|
235
|
-
|
|
276
|
+
// dark uses a subtle dark shadow (baseDark[1]) like entityBoxShadows — NOT a white glow
|
|
277
|
+
surfaceElevationS: [elevationS(blackA[3]), elevationS(alpha(baseDark[1], A.shadow.hairline[1]))],
|
|
236
278
|
surfaceElevationM: [elevationM(blackA[5]), elevationM(whiteA[5])],
|
|
237
279
|
surfaceElevationL: [elevationL(blackA[5]), elevationL(whiteA[5])],
|
|
238
280
|
|
|
239
281
|
// Shadows and effects / Elevation
|
|
240
|
-
shadow50: [stroke1(alpha(base[12], 0
|
|
241
|
-
shadow100: [elevation100(alpha(base[12], 0
|
|
242
|
-
shadow200: [elevation200(alpha(base[12], 0
|
|
243
|
-
shadow300: same(
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
282
|
+
shadow50: [stroke1(alpha(base[12], A.shadow.hairline[0])), stroke1(alpha(baseDark[12], A.shadow.low[1]))],
|
|
283
|
+
shadow100: [elevation100(alpha(base[12], A.shadow.hairline[0])), elevation100(alpha(base[12], A.shadow.low[1]))],
|
|
284
|
+
shadow200: [elevation200(alpha(base[12], A.shadow.hairline[0])), elevation200(alpha(base[12], A.shadow.low[1]))],
|
|
285
|
+
shadow300: same(
|
|
286
|
+
steps([elevation250(alpha(base[12], A.shadow.low[0])), elevation300(alpha(base[12], A.shadow.medium[0]))])
|
|
287
|
+
),
|
|
288
|
+
shadow400: same(
|
|
289
|
+
steps([glow1(alpha(base[12], A.shadow.high[0])), elevation400(alpha(base[12], A.shadow.medium[0]))])
|
|
290
|
+
),
|
|
291
|
+
shadow500: same(
|
|
292
|
+
steps([glow1(alpha(base[12], A.shadow.high[0])), elevation500(alpha(base[12], A.shadow.medium[0]))])
|
|
293
|
+
),
|
|
294
|
+
shadow600: same(steps([glow1(alpha(base[12], A.shadow.high[0])), elevation600(alpha(base[12], A.shadow.high[0]))])),
|
|
247
295
|
|
|
248
296
|
actionMenuShadow: floatingShadows.popup,
|
|
249
297
|
shadowPopup: floatingShadows.popup,
|
|
250
|
-
shadowSidebar: [
|
|
298
|
+
shadowSidebar: [
|
|
299
|
+
edgeLeft(alpha(base[10], A.shadow.sidebarEdge[0])),
|
|
300
|
+
edgeLeft(alpha(baseDark[1], A.shadow.sidebarEdge[1])),
|
|
301
|
+
],
|
|
251
302
|
} as const;
|
|
252
303
|
|
|
253
|
-
// names proposal: forbid color in keys (they all are colors) — restructure it better (separate shadows, borders etc)
|
|
254
|
-
// inspired by tailwind:
|
|
255
|
-
// bg-* Sets the background color of an element
|
|
256
|
-
// text-* Sets the text color of an element
|
|
257
|
-
// border-* Sets the border color of an element
|
|
258
|
-
// shadow-* Sets the color of box shadows
|
|
259
|
-
// fill-* Sets the fill color of SVG elements
|
|
260
|
-
// stroke-* Sets the stroke color of SVG elements
|
|
261
|
-
// TODO elevation = raised * shadow
|
|
262
|
-
|
|
263
304
|
const transparentAlways = same(transparent);
|
|
264
305
|
const whiteColor = same(white);
|
|
265
306
|
const blackColor = same(black);
|
|
266
307
|
|
|
267
308
|
const fg = {
|
|
268
309
|
accent: [accent[11], accentDark[11]],
|
|
269
|
-
accentActive: [
|
|
310
|
+
accentActive: alphaDef([accent[11], accentDark[11]], A.foreground.active),
|
|
270
311
|
|
|
271
312
|
neutral: [base[11], baseDark[11]],
|
|
272
|
-
neutralActive: [
|
|
273
|
-
|
|
274
|
-
neutralActive__TODO: [alpha(base[12], 0.8), alpha(baseDark[12], 0.8)],
|
|
313
|
+
neutralActive: alphaDef([base[11], baseDark[11]], A.foreground.active),
|
|
314
|
+
neutralStrongActive: alphaDef([base[12], baseDark[12]], A.foreground.active),
|
|
275
315
|
muted: [base[9], baseDark[9]],
|
|
276
316
|
|
|
277
317
|
destructive: [red[11], redDark[11]],
|
|
278
|
-
destructiveActive: [
|
|
318
|
+
destructiveActive: alphaDef([red[11], redDark[11]], A.foreground.active),
|
|
279
319
|
|
|
280
320
|
addition: [teal[9], tealDark[11]],
|
|
281
321
|
|
|
282
322
|
success: [teal[11], tealDark[11]],
|
|
283
323
|
warning: [yellow[11], yellowDark[11]],
|
|
284
324
|
|
|
285
|
-
icon: [
|
|
286
|
-
|
|
287
|
-
secondary: [alpha(base[12], 0.7), alpha(baseDark[12], 0.65)],
|
|
325
|
+
icon: alphaDef([base[12], baseDark[12]], A.foreground.icon),
|
|
326
|
+
secondary: alphaDef([base[12], baseDark[12]], A.foreground.secondary),
|
|
288
327
|
|
|
289
328
|
link: [blue_9_, blueDark_9_],
|
|
290
329
|
ai: [purple_9_, purpleDark_9_],
|
|
@@ -317,15 +356,15 @@ export function defsFromPalette({
|
|
|
317
356
|
|
|
318
357
|
const primary = {
|
|
319
358
|
accent: [accent[9], accentDark[9]],
|
|
320
|
-
|
|
321
|
-
destructive: [red[9], redDark[10]],
|
|
359
|
+
destructiveBase: [red[9], redDark[9]],
|
|
360
|
+
destructive: [red[9], redDark[10]],
|
|
322
361
|
success: [teal[9], tealDark[9]],
|
|
323
|
-
warning: [yellow[9], yellowDark[8]],
|
|
362
|
+
warning: [yellow[9], yellowDark[8]],
|
|
324
363
|
} satisfies Defs;
|
|
325
364
|
|
|
326
365
|
const bgStatus = {
|
|
327
|
-
accent:
|
|
328
|
-
neutral:
|
|
366
|
+
accent: alphaPair(accent[5], accentDark[4], A.badgeFill.accent),
|
|
367
|
+
neutral: alphaPair(base[5], baseDark[4], A.badgeFill.neutral),
|
|
329
368
|
success: [teal[5], tealDark[5]],
|
|
330
369
|
warning: [yellow[5], yellowDark[5]],
|
|
331
370
|
error: [red[5], redDark[5]],
|
|
@@ -336,45 +375,45 @@ export function defsFromPalette({
|
|
|
336
375
|
const borderDanger = [red[7], redDark[7]] as const;
|
|
337
376
|
const borderNeutral = [base[8], baseDark[7]] as const;
|
|
338
377
|
|
|
339
|
-
|
|
340
|
-
const
|
|
341
|
-
const bgEntityCardDone = [alpha(base[4], 0.3), alpha(baseDark[5], 0.3)] as const;
|
|
378
|
+
const bgEntityCardOverlay = alphaPair(base[2], baseDark[6], A.entityCard.overlay);
|
|
379
|
+
const bgEntityCardDone = alphaPair(base[4], baseDark[5], A.entityCard.done);
|
|
342
380
|
const base5_6 = [base[5], baseDark[6]] as const;
|
|
343
|
-
const base6_6_opacity30 =
|
|
381
|
+
const base6_6_opacity30 = alphaPair(base[6], baseDark[6], A.interactiveFill.disabledNeutral);
|
|
344
382
|
const base8 = [base[8], baseDark[8]] as const;
|
|
345
383
|
const fgAccentText = [base[10], baseDark[10]] as const;
|
|
346
384
|
const fgMenuEtc = [base[12], baseDark[12]] as const;
|
|
347
385
|
|
|
348
386
|
const bgTabFocus = [base[6], baseDark[6]] as const;
|
|
349
|
-
const bgTabHover =
|
|
387
|
+
const bgTabHover = alphaPair(base[11], baseDark[11], A.interactiveFill.tabHover);
|
|
350
388
|
|
|
351
389
|
const viewHighlightBg = [accent[3], accentDark[3]] as const;
|
|
352
|
-
const notificationSelected = [accent[3], accentDark[4]] as const;
|
|
353
|
-
const bgCellGridDisabledOrHighlighted = [accent[4], accentDark[5]] as const;
|
|
354
|
-
const notificationSelectedHover = [accent[4], accentDark[6]] as const;
|
|
355
390
|
|
|
356
|
-
const
|
|
391
|
+
const notificationSelected = [accent[3], accentDark[2]] as const;
|
|
392
|
+
const notificationSelectedHover = [accent[4], accentDark[3]] as const;
|
|
393
|
+
const bgCellGridDisabledOrHighlighted = [accent[4], accentDark[5]] as const;
|
|
357
394
|
|
|
358
|
-
const warningColor =
|
|
359
|
-
const bgBtnGhostAccentHover =
|
|
360
|
-
const bgBtnGhostNeutralHover =
|
|
395
|
+
const warningColor = alphaPair(yellow[6], yellowDark[9], A.interactiveFill.warningComment);
|
|
396
|
+
const bgBtnGhostAccentHover = alphaPair(accent[4], accentDark[4], A.interactiveFill.ghostAccentHover);
|
|
397
|
+
const bgBtnGhostNeutralHover = alphaPair(base[7], baseDark[6], A.interactiveFill.ghostNeutralHover);
|
|
361
398
|
const bgBtnGhostDestructiveHover = [red[4], redDark[4]] as const;
|
|
362
399
|
const bgBtnSoftAccentHover = [accent[5], accentDark[6]] as const;
|
|
363
400
|
const bgBtnSoftNeutralDefault = [base[3], baseDark[3]] as const;
|
|
364
401
|
const bgBtnSoftNeutralHover = [base[7], baseDark[7]] as const;
|
|
365
402
|
const bgBtnSoftDestructiveHover = [red[6], redDark[6]] as const;
|
|
366
|
-
const
|
|
367
|
-
|
|
368
|
-
const
|
|
369
|
-
const
|
|
403
|
+
const bgBtnSoftAccentDefault = [accent[3], accentDark[4]] as const;
|
|
404
|
+
|
|
405
|
+
const borderFocusRingAccent = alphaDef(same(accent[9]), A.border.focusRing);
|
|
406
|
+
const borderFocusRingNeutral = alphaDef(same(base[9]), A.border.focusRing);
|
|
407
|
+
const borderFocusRingDestructive = alphaDef(same(red[9]), A.border.focusRing);
|
|
408
|
+
const textWhiteboardSelectionLockedOrDisabled = alphaPair(base[9], baseDark[9], A.whiteboard.lockedOrDisabled);
|
|
370
409
|
|
|
410
|
+
const fgSelection = alphaPair(accent[9], accentDark[9], A.interactiveFill.selection);
|
|
371
411
|
const fgSelectedText = same(base[2]);
|
|
372
|
-
const fgSolidActiveText = same(
|
|
412
|
+
const fgSolidActiveText = alphaDef(same(white), A.foreground.solidActiveText);
|
|
373
413
|
|
|
374
|
-
const codeOrErrorMessage = [red[9], red[8]] as const;
|
|
414
|
+
const codeOrErrorMessage = [red[9], red[8]] as const;
|
|
375
415
|
const errorIndicatorColor = same(red[8]);
|
|
376
416
|
const neutralStrong = same(base[11]);
|
|
377
|
-
// end(TODO shake it)
|
|
378
417
|
|
|
379
418
|
const bgActionsMenu = raised.level1;
|
|
380
419
|
const bgActionsMenuItemHover = surface.level4_5;
|
|
@@ -384,7 +423,7 @@ export function defsFromPalette({
|
|
|
384
423
|
|
|
385
424
|
const iconFromFg = (fg: string): {fg: Def; bg: Def} => ({
|
|
386
425
|
fg: deneutralize(same(fg)),
|
|
387
|
-
bg: deneutralize(same(
|
|
426
|
+
bg: deneutralize(alphaDef(same(fg), A.interactiveFill.iconBackground)),
|
|
388
427
|
});
|
|
389
428
|
|
|
390
429
|
const iconMySpace = iconFromFg(Swatch.Grey);
|
|
@@ -395,6 +434,7 @@ export function defsFromPalette({
|
|
|
395
434
|
const fns = createColorFns(deneutralizeFilterDef, {
|
|
396
435
|
icon: fg.icon,
|
|
397
436
|
adapt: surface.level0,
|
|
437
|
+
avatarPlaceholder: surface.level0,
|
|
398
438
|
highlight: surface.level0,
|
|
399
439
|
callout: surface.level0,
|
|
400
440
|
enum: enumDefs,
|
|
@@ -405,49 +445,60 @@ export function defsFromPalette({
|
|
|
405
445
|
...highlightColors(highlight, surface.level0, deneutralizeFilterDef),
|
|
406
446
|
colorPickerCssFilter: mapDef(deneutralizeFilterSpec, same(cssFromFilter)),
|
|
407
447
|
|
|
408
|
-
mode: ["light", "dark"],
|
|
409
|
-
|
|
410
448
|
// Accent background tints (light → strong)
|
|
411
|
-
colorAccentBgSubtle: same(
|
|
412
|
-
colorAccentBgMild: same(
|
|
413
|
-
colorAccentBgMedium: same(
|
|
414
|
-
colorAccentBgStrong: same(
|
|
415
|
-
colorAccentBgBold: same(
|
|
416
|
-
colorAccentBgVivid: same(
|
|
449
|
+
colorAccentBgSubtle: alphaDef(same(accent[9]), A.interactiveFill.accentSubtle),
|
|
450
|
+
colorAccentBgMild: alphaDef(same(accent[9]), A.interactiveFill.accentMild),
|
|
451
|
+
colorAccentBgMedium: alphaDef(same(accent[9]), A.interactiveFill.accentMedium),
|
|
452
|
+
colorAccentBgStrong: alphaDef(same(accent[9]), A.interactiveFill.accentStrong),
|
|
453
|
+
colorAccentBgBold: alphaDef(same(accent[9]), A.interactiveFill.accentBold),
|
|
454
|
+
colorAccentBgVivid: alphaDef(same(accent[9]), A.interactiveFill.accentVivid),
|
|
417
455
|
|
|
418
456
|
// Accent strokes
|
|
419
|
-
colorAccentStroke: same(
|
|
420
|
-
colorAccentStrokeHover: same(
|
|
421
|
-
colorAccentStrokeFocus: same(
|
|
457
|
+
colorAccentStroke: alphaDef(same(accent[9]), A.interactiveFill.accentStroke),
|
|
458
|
+
colorAccentStrokeHover: alphaDef(same(accent[9]), A.interactiveFill.accentStrokeHover),
|
|
459
|
+
colorAccentStrokeFocus: alphaDef(same(accent[9]), A.interactiveFill.accentStrokeFocus),
|
|
422
460
|
|
|
423
461
|
// Accent solid
|
|
424
|
-
colorAccentSolid: same(
|
|
462
|
+
colorAccentSolid: alphaDef(same(accent[9]), A.interactiveFill.accentSolid),
|
|
425
463
|
|
|
426
464
|
// Accent base
|
|
427
465
|
colorAccent: primary.accent,
|
|
428
466
|
|
|
429
|
-
//
|
|
430
|
-
/** @deprecated */
|
|
467
|
+
//to be sorted. these are still in use
|
|
431
468
|
darkenPrimary: same(getDarkenColor(accent[9])),
|
|
432
469
|
whiteColor,
|
|
433
470
|
blackColor,
|
|
434
|
-
mainBg: surface.
|
|
471
|
+
mainBg: surface.level3,
|
|
435
472
|
panelBg: surface.level0,
|
|
473
|
+
panelBorder: both(stroke1)(alphaPair(base[8], baseDark[8], A.border.panel)),
|
|
436
474
|
panelContentBg: surface.level2_1,
|
|
437
|
-
|
|
475
|
+
|
|
476
|
+
//Database settings screens
|
|
477
|
+
dbSettingsSidebarBg: surface.level2,
|
|
478
|
+
dbSettingsSidebarItemHover: surface.level4,
|
|
479
|
+
dbSettingsSidebarIconBg: raised.level1,
|
|
480
|
+
dbSettingsSidebarIconBorder: shadowMenuHeaderAvatar,
|
|
481
|
+
|
|
482
|
+
dbSettingsCardBg: surface.level2,
|
|
483
|
+
dbSettingsCardBorder: both(stroke1)(alphaPair(base[6], baseDark[6], A.border.dbSettingsCard)),
|
|
484
|
+
colorBgRelationContainer: surface.level1_1,
|
|
438
485
|
|
|
439
486
|
// AI colors
|
|
440
487
|
colorAI: fg.ai,
|
|
441
|
-
colorBgAI: mapDef(fg.ai, (color) => alpha(color,
|
|
488
|
+
colorBgAI: mapDef(fg.ai, (color, side) => alpha(color, A.utility.aiBg[side])),
|
|
442
489
|
|
|
443
490
|
colorBgAIFloatingLauncher: surface.level1_4,
|
|
444
491
|
colorBgAIFloatingPanelContent: surface.level1_3,
|
|
445
492
|
colorBgAISidebarContent: surface.level1,
|
|
446
493
|
|
|
494
|
+
// Floating panels (hover action toolbars, selection toolbar, rich-text format bar)
|
|
495
|
+
colorBgFloatingPanel: floatingPanel.bg,
|
|
496
|
+
shadowFloatingPanel: floatingPanel.shadow,
|
|
497
|
+
|
|
447
498
|
// Other colors
|
|
448
499
|
pageContentBg: surface.level0elevated,
|
|
449
|
-
colorBgPopup:
|
|
450
|
-
menuBg: surface.
|
|
500
|
+
colorBgPopup: [white, baseDark[3]],
|
|
501
|
+
menuBg: surface.level3,
|
|
451
502
|
menuTextColor: fgMenuEtc,
|
|
452
503
|
menuItemHoverColor: base5_6,
|
|
453
504
|
menuSelectedTextColor: fgSelectedText,
|
|
@@ -462,9 +513,9 @@ export function defsFromPalette({
|
|
|
462
513
|
inversedTextColor: surface.level3_6,
|
|
463
514
|
colorTextSecondary: fg.secondary,
|
|
464
515
|
linkColor: fg.link,
|
|
465
|
-
linkBorder: mapDef(fg.link, (color) => separator(alpha(color,
|
|
516
|
+
linkBorder: mapDef(fg.link, (color, side) => separator(alpha(color, A.border.link[side]))),
|
|
466
517
|
linkHoverColor: fg.link,
|
|
467
|
-
linkBorderHover: mapDef(fg.link, (color) => separator(alpha(color,
|
|
518
|
+
linkBorderHover: mapDef(fg.link, (color, side) => separator(alpha(color, A.border.linkHover[side]))),
|
|
468
519
|
codeColor: codeOrErrorMessage,
|
|
469
520
|
codeBgColor: surface.level3_4,
|
|
470
521
|
codeBlockBgColor: surface.level3_4,
|
|
@@ -473,16 +524,16 @@ export function defsFromPalette({
|
|
|
473
524
|
|
|
474
525
|
// Entity
|
|
475
526
|
entityNodeColor: [baseDark[3], base[8]],
|
|
476
|
-
entityNodeBorder:
|
|
527
|
+
entityNodeBorder: both(separator)(alphaPair(baseDark[3], base[8], A.border.entityNode)),
|
|
477
528
|
entityNodeHoverColor: [baseDark[7], base[7]],
|
|
478
|
-
entityNodeBorderHover:
|
|
529
|
+
entityNodeBorderHover: both(separator)(alphaPair(base[11], base[7], A.border.entityNodeHover)),
|
|
479
530
|
entityNodeBgColor: surface.level2_3,
|
|
480
531
|
shortcutTextColor: [base[9], baseDark[11]],
|
|
481
|
-
shortcutBorder:
|
|
482
|
-
shortcutBorderColor:
|
|
532
|
+
shortcutBorder: both(border1)(alphaPair(base[8], baseDark[10], A.border.shortcut)),
|
|
533
|
+
shortcutBorderColor: alphaPair(base[8], baseDark[10], A.border.shortcut),
|
|
483
534
|
|
|
484
535
|
// Input
|
|
485
|
-
inputBgColor:
|
|
536
|
+
inputBgColor: [white, baseDark[1]],
|
|
486
537
|
inputDisabledBgColor: base6_6_opacity30,
|
|
487
538
|
inputDisabledBorderColor: inputStrokes.disabled,
|
|
488
539
|
inputCopyBgColor: surface.level3_4,
|
|
@@ -496,6 +547,7 @@ export function defsFromPalette({
|
|
|
496
547
|
inputErrorBorderFocusColor: inputStrokes.errorFocus,
|
|
497
548
|
inputErrorBorderFocusShadow: inputStrokes.errorFocusRing,
|
|
498
549
|
inputBorderWarningColor: inputStrokes.warning,
|
|
550
|
+
//buttons and checkboxes and blockquote (why?)
|
|
499
551
|
buttonPrimaryColor: primary.accent,
|
|
500
552
|
buttonColor: fgAccentText,
|
|
501
553
|
buttonPrimaryTextColor: [base[2], base[6]],
|
|
@@ -506,17 +558,17 @@ export function defsFromPalette({
|
|
|
506
558
|
colorBgActionsMenu: bgActionsMenu,
|
|
507
559
|
colorBgActionsMenuItemHover: bgActionsMenuItemHover,
|
|
508
560
|
colorBgActionsMenuItemSelected: bgBtnGhostAccentHover,
|
|
509
|
-
colorBgActionsMenuItemSelectedHover:
|
|
510
|
-
colorBgActionsMenuItemDangerHover:
|
|
511
|
-
colorBgActionsMenuItemDangerActive:
|
|
561
|
+
colorBgActionsMenuItemSelectedHover: alphaPair(accent[5], accentDark[6], A.actionMenu.selectedHover),
|
|
562
|
+
colorBgActionsMenuItemDangerHover: alphaPair(red[9], redDark[10], A.actionMenu.dangerHover),
|
|
563
|
+
colorBgActionsMenuItemDangerActive: alphaPair(red[9], redDark[10], A.actionMenu.dangerActive),
|
|
512
564
|
actionMenuBg: bgActionsMenu,
|
|
513
565
|
actionMenuInnerBg: raised.level2,
|
|
514
566
|
actionMenuHover: bgActionsMenuItemHover,
|
|
515
|
-
actionMenuInnerHover: [base[4], alpha(baseDark[6],
|
|
567
|
+
actionMenuInnerHover: [base[4], alpha(baseDark[6], A.actionMenu.innerHoverDark[1])],
|
|
516
568
|
actionMenuButtonColor: surface.level0elevated,
|
|
517
569
|
actionMenuButtonHoverColor: surface.level1_3,
|
|
518
570
|
actionMenuButtonShadow: cardShadows.subtle,
|
|
519
|
-
actionMenuSeparatorColor:
|
|
571
|
+
actionMenuSeparatorColor: alphaPair(black, white, A.actionMenu.separator),
|
|
520
572
|
separatorColor: blackA10,
|
|
521
573
|
separatorColorDimmed: blackA5,
|
|
522
574
|
separatorBreadcrumbsColor: base8,
|
|
@@ -552,9 +604,10 @@ export function defsFromPalette({
|
|
|
552
604
|
shadowCardInset: [`inset ${inputStrokes.default[0]}`, `inset ${inputStrokes.default[1]}`],
|
|
553
605
|
|
|
554
606
|
iconColor: fg.icon,
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
607
|
+
colorIconDestructive: fg.destructive,
|
|
608
|
+
appIconColor: alphaPair(base[2], base[2], A.iconAndMention.appIconFg),
|
|
609
|
+
appIconBgColor: alphaPair(base[1], base[2], A.iconAndMention.appIconBg),
|
|
610
|
+
mentionBgColor: alphaPair(base[7], baseDark[7], A.iconAndMention.mentionBg),
|
|
558
611
|
colorBgSelectMenu: surface.level1_3,
|
|
559
612
|
shadowSelectMenu: floatingShadows.popup,
|
|
560
613
|
colorBgListItemGeneral: transparentAlways,
|
|
@@ -570,7 +623,8 @@ export function defsFromPalette({
|
|
|
570
623
|
|
|
571
624
|
// Search
|
|
572
625
|
colorSearchSubtitle: fg.muted,
|
|
573
|
-
|
|
626
|
+
colorBgSearchPanel: [white, baseDark[2]],
|
|
627
|
+
colorBgSearchRowHover: [base[4], baseDark[3]],
|
|
574
628
|
colorBgSearchRowCreateHover: [accent[4], accentDark[4]],
|
|
575
629
|
opacitySearchItemDone: opacities.drag,
|
|
576
630
|
|
|
@@ -618,7 +672,7 @@ export function defsFromPalette({
|
|
|
618
672
|
entityCardDoneColor: bgEntityCardDone,
|
|
619
673
|
entityCardShadow: cardShadows.subtle,
|
|
620
674
|
entityCardShadowHover: cardShadows.subtle,
|
|
621
|
-
colorBgSegmentedControl:
|
|
675
|
+
colorBgSegmentedControl: alphaPair(base[5], baseDark[2], A.segmentedControl.track),
|
|
622
676
|
colorBgMenuHeaderAvatar: surface.level0elevated,
|
|
623
677
|
shadowMenuHeaderAvatar: shadowMenuHeaderAvatar,
|
|
624
678
|
|
|
@@ -627,16 +681,16 @@ export function defsFromPalette({
|
|
|
627
681
|
opacityMenuItemDragged: opacities.drag,
|
|
628
682
|
colorBgMenuItemSelectedDragged: [accent[6], accentDark[6]],
|
|
629
683
|
// Default
|
|
630
|
-
colorTextMenuItem: [
|
|
684
|
+
colorTextMenuItem: alphaDef([base[12], baseDark[12]], A.foreground.menuItem),
|
|
631
685
|
colorBgMenuItem: transparentAlways,
|
|
632
686
|
// :hover
|
|
633
|
-
colorBgMenuItemHover: [base[5], baseDark[
|
|
687
|
+
colorBgMenuItemHover: [base[5], baseDark[5]],
|
|
634
688
|
// :focus
|
|
635
|
-
colorBgMenuItemFocus: [base[6], baseDark[
|
|
689
|
+
colorBgMenuItemFocus: [base[6], baseDark[6]],
|
|
636
690
|
// Selected
|
|
637
|
-
colorBgMenuItemSelected: [alpha(accent[5], 0
|
|
691
|
+
colorBgMenuItemSelected: [alpha(accent[5], A.menu.selected[0]), accentDark[3]],
|
|
638
692
|
// :hover
|
|
639
|
-
colorBgMenuItemSelectedHover: [alpha(accent[6], 0
|
|
693
|
+
colorBgMenuItemSelectedHover: [alpha(accent[6], A.menu.selectedHover[0]), accentDark[5]],
|
|
640
694
|
// :focus, :focus:hover
|
|
641
695
|
colorBgPinnedFieldsLabel: fg.neutral,
|
|
642
696
|
colorBgObjectEditorSeparator: fgMenuEtc,
|
|
@@ -673,24 +727,24 @@ export function defsFromPalette({
|
|
|
673
727
|
|
|
674
728
|
tooltipBgColor: [baseDark[5], baseDark[6]],
|
|
675
729
|
todayMarkerColor: [red[8], redDark[6]],
|
|
676
|
-
viewBgOverlayColor:
|
|
730
|
+
viewBgOverlayColor: alphaPair(base[8], baseDark[1], A.overlay.view),
|
|
677
731
|
floatEditorMenuBg: surface.level1_6,
|
|
678
732
|
floatEditorActiveColor: fg.accent,
|
|
679
733
|
commentColor: warningColor,
|
|
680
734
|
cellBackgroundColor: surface.level2,
|
|
681
735
|
cellBackgroundHoverColor: base6_6_opacity30,
|
|
682
|
-
cellBorderColor:
|
|
683
|
-
cellPinnedBorderColor:
|
|
736
|
+
cellBorderColor: alphaPair(base[8], baseDark[9], A.border.cell),
|
|
737
|
+
cellPinnedBorderColor: alphaPair(base[8], baseDark[9], A.border.cellPinned),
|
|
684
738
|
tableRowWarningColor: warningColor,
|
|
685
|
-
errorBgColor:
|
|
739
|
+
errorBgColor: alphaPair(red[9], redDark[9], A.statusFill.error),
|
|
686
740
|
errorTextColor: [red[11], red[7]],
|
|
687
741
|
errorButtonColor: primary.destructive,
|
|
688
|
-
warningBgColor:
|
|
742
|
+
warningBgColor: alphaPair(yellow[6], yellowDark[8], A.statusFill.warning),
|
|
689
743
|
warningButtonColor: fg.warning,
|
|
690
|
-
infoBox:
|
|
744
|
+
infoBox: alphaPair(yellow[4], yellowDark[9], A.statusFill.infoBox),
|
|
691
745
|
appCardBgColor: surface.level0elevated,
|
|
692
|
-
appCardHoverColor: [alpha(base[1], 0
|
|
693
|
-
modalBg:
|
|
746
|
+
appCardHoverColor: [alpha(base[1], A.statusFill.appCardHover[0]), baseDark[2]],
|
|
747
|
+
modalBg: alphaPair(base[11], baseDark[2], A.overlay.modal),
|
|
694
748
|
modalContentBg: bgActionsMenu,
|
|
695
749
|
progressIconBg: [blackA[7], whiteA[7]],
|
|
696
750
|
progressIconFill: [blackA[11], whiteA[11]],
|
|
@@ -700,7 +754,7 @@ export function defsFromPalette({
|
|
|
700
754
|
filterGroup1Bg: surface.level2_6,
|
|
701
755
|
filterGroup2Bg: surface.level3_7,
|
|
702
756
|
filterGroupBorder: [blackA[3], whiteA[3]],
|
|
703
|
-
colorBgNotificationHover: surface.
|
|
757
|
+
colorBgNotificationHover: surface.level3_2,
|
|
704
758
|
colorBgNotificationSelected: notificationSelected,
|
|
705
759
|
colorBgNotificationSelectedHover: notificationSelectedHover,
|
|
706
760
|
disabledInversedTextColor: blackA25,
|
|
@@ -711,13 +765,13 @@ export function defsFromPalette({
|
|
|
711
765
|
cardBg: raised.level4,
|
|
712
766
|
selectedImageBorder: [blackA[8], whiteA[11]],
|
|
713
767
|
transparent: transparentAlways,
|
|
714
|
-
progressBg: same(base[4]),
|
|
768
|
+
progressBg: same(base[4]),
|
|
715
769
|
progressText: neutralStrong,
|
|
716
770
|
progressFillBg: neutralStrong,
|
|
717
771
|
progressFillText: whiteColor,
|
|
718
|
-
progressBarFillNeutral:
|
|
772
|
+
progressBarFillNeutral: alphaPair(base[9], baseDark[9], A.progress.neutralFill),
|
|
719
773
|
progressBarFill: [accent[9], accentDark[10]],
|
|
720
|
-
progressBarBg:
|
|
774
|
+
progressBarBg: alphaPair(accent[9], accentDark[10], A.progress.track),
|
|
721
775
|
colorPickerSwatchBorder: same(blackA[7]),
|
|
722
776
|
colorBorderRichTextMedia: same(blackA[7]),
|
|
723
777
|
richTextTableBorder: [blackA[5], whiteA[7]],
|
|
@@ -727,12 +781,15 @@ export function defsFromPalette({
|
|
|
727
781
|
|
|
728
782
|
// Views
|
|
729
783
|
viewBg: surface.level1,
|
|
784
|
+
colorBgViewMetaItem: surface.level0elevated,
|
|
785
|
+
collectionViewBg: surface.level1_1,
|
|
786
|
+
collectionViewBorder: inputStrokes.disabled,
|
|
730
787
|
viewSecondaryBg: surface.level2,
|
|
731
788
|
viewHighlightBg: viewHighlightBg,
|
|
732
789
|
|
|
733
790
|
// Board
|
|
734
791
|
boardBg: surface.level1,
|
|
735
|
-
boardBgWithOpacity80:
|
|
792
|
+
boardBgWithOpacity80: alphaPair(base[1], baseDark[1], A.utility.boardBg),
|
|
736
793
|
boardAxisBgHover: surface.level4,
|
|
737
794
|
|
|
738
795
|
// Grid
|
|
@@ -752,25 +809,25 @@ export function defsFromPalette({
|
|
|
752
809
|
//timeline
|
|
753
810
|
timelineEntityHandleColor: borderAccentOrMedium,
|
|
754
811
|
timelineDependencyHoverBgColor: borderAccentOrMediumAccent,
|
|
755
|
-
timelineDependencyOverlapBgColor: primary.
|
|
812
|
+
timelineDependencyOverlapBgColor: primary.destructiveBase,
|
|
756
813
|
timelineDependencyOverlapHoverBgColor: fg.destructive,
|
|
757
814
|
timelineCellBgColor: surface.level1,
|
|
758
815
|
timelineCellWeekendBgColor: surface.level2,
|
|
759
816
|
timelineCellTodayBgColor: [accent[4], accentDark[2]],
|
|
760
|
-
timelineCreateEntityPlaceholderBgColor: [alpha(base[11], 0
|
|
817
|
+
timelineCreateEntityPlaceholderBgColor: [alpha(base[11], A.utility.timelinePlaceholder[0]), baseDark[7]],
|
|
761
818
|
|
|
762
819
|
// #region buttons
|
|
763
820
|
// solid
|
|
764
821
|
colorBgButtonSolidAccentDefault: primary.accent,
|
|
765
822
|
colorBgButtonSolidAccentHover: [accent[11], accentDark[10]],
|
|
766
823
|
colorBgButtonSolidNeutralDefault: fgMenuEtc,
|
|
767
|
-
colorBgButtonSolidNeutralHover: [alpha(base[12], 0
|
|
768
|
-
colorBgButtonSolidDestructiveDefault: primary.
|
|
824
|
+
colorBgButtonSolidNeutralHover: [alpha(base[12], A.button.solidNeutralHover[0]), white],
|
|
825
|
+
colorBgButtonSolidDestructiveDefault: primary.destructiveBase,
|
|
769
826
|
colorBgButtonSolidDestructiveHover: [red[11], redDark[10]],
|
|
770
827
|
colorTextButtonSolidAccent: whiteColor,
|
|
771
828
|
colorTextButtonSolidAccentActive: fgSolidActiveText,
|
|
772
829
|
colorTextButtonSolidNeutral: [white, baseDark[2]],
|
|
773
|
-
colorTextButtonSolidNeutralActive: [white, alpha(baseDark[2],
|
|
830
|
+
colorTextButtonSolidNeutralActive: [white, alpha(baseDark[2], A.button.solidNeutralActiveText[1])],
|
|
774
831
|
colorTextButtonSolidDestructive: whiteColor,
|
|
775
832
|
colorTextButtonSolidDestructiveActive: fgSolidActiveText,
|
|
776
833
|
colorIconButtonSolidAccent: whiteColor,
|
|
@@ -789,14 +846,14 @@ export function defsFromPalette({
|
|
|
789
846
|
colorTextButtonOutlineAccent: fg.accent,
|
|
790
847
|
colorTextButtonOutlineAccentActive: fg.accentActive,
|
|
791
848
|
colorTextButtonOutlineNeutral: fg.neutral,
|
|
792
|
-
colorTextButtonOutlineNeutralActive: fg.
|
|
849
|
+
colorTextButtonOutlineNeutralActive: fg.neutralStrongActive,
|
|
793
850
|
colorTextButtonOutlineDestructive: fg.destructive,
|
|
794
851
|
colorTextButtonOutlineDestructiveActive: fg.destructiveActive,
|
|
795
852
|
colorIconButtonOutlineAccent: fg.accent,
|
|
796
853
|
colorIconButtonOutlineNeutral: fg.neutral,
|
|
797
854
|
colorIconButtonOutlineDestructive: fg.destructive,
|
|
798
855
|
// soft
|
|
799
|
-
colorBgButtonSoftAccentDefault:
|
|
856
|
+
colorBgButtonSoftAccentDefault: bgBtnSoftAccentDefault,
|
|
800
857
|
colorBgButtonSoftAccentHover: bgBtnSoftAccentHover,
|
|
801
858
|
colorBgButtonSoftNeutralDefault: bgBtnSoftNeutralDefault,
|
|
802
859
|
colorBgButtonSoftNeutralHover: bgBtnSoftNeutralHover,
|
|
@@ -838,10 +895,50 @@ export function defsFromPalette({
|
|
|
838
895
|
colorBorderReactionsHover: [base[8], baseDark[9]],
|
|
839
896
|
colorBgReactionsSelectedDefault: [accent[3], accentDark[8]],
|
|
840
897
|
colorBorderReactionsSelectedDefault: borderAccentOrMediumAccent,
|
|
841
|
-
//
|
|
898
|
+
// Existing dark hover uses the light accent scale.
|
|
842
899
|
colorBgReactionsSelectedHover: [accent[2], accent[10]],
|
|
843
900
|
colorBorderReactionsSelectedHover: [accent[9], accent[10]],
|
|
844
901
|
colorTextReactionsSelected: [accent[10], baseDark[12]],
|
|
902
|
+
|
|
903
|
+
// ToggleButton (reactions, pinned filters)
|
|
904
|
+
colorBgToggleButtonUnselectedNormal: surface.level0elevated,
|
|
905
|
+
colorBgToggleButtonUnselectedHover: surface.level3_6,
|
|
906
|
+
colorBgToggleButtonSelectedNormal: [accent[3], accentDark[8]],
|
|
907
|
+
colorBgToggleButtonSelectedHover: [accent[2], accent[10]],
|
|
908
|
+
colorBorderToggleButtonUnselectedNormal: [base[8], baseDark[9]],
|
|
909
|
+
colorBorderToggleButtonUnselectedHover: [base[8], baseDark[9]],
|
|
910
|
+
colorBorderToggleButtonSelectedNormal: borderAccentOrMediumAccent,
|
|
911
|
+
colorBorderToggleButtonSelectedHover: [accent[9], accent[10]],
|
|
912
|
+
colorTextToggleButtonUnselectedNormal: fg.neutral,
|
|
913
|
+
colorTextToggleButtonUnselectedHover: fg.neutral,
|
|
914
|
+
colorTextToggleButtonSelectedNormal: [accent[10], baseDark[12]],
|
|
915
|
+
colorTextToggleButtonSelectedHover: [accent[10], baseDark[12]],
|
|
916
|
+
colorIconToggleButtonUnselectedNormal: fg.neutral,
|
|
917
|
+
colorIconToggleButtonUnselectedHover: fg.neutral,
|
|
918
|
+
colorIconToggleButtonSelectedNormal: fg.accent,
|
|
919
|
+
colorIconToggleButtonSelectedHover: fg.accent,
|
|
920
|
+
|
|
921
|
+
// RoundToggleButton (capability indicators)
|
|
922
|
+
colorBgRoundToggleButtonUnselectedNormal: surface.level0elevated,
|
|
923
|
+
colorBgRoundToggleButtonUnselectedHover: surface.level3_6,
|
|
924
|
+
colorBgRoundToggleButtonSelectedNormal: [accent[4], accentDark[8]],
|
|
925
|
+
colorBgRoundToggleButtonSelectedHover: [accent[3], accent[10]],
|
|
926
|
+
|
|
927
|
+
colorBorderRoundToggleButtonUnselectedNormal: [base[8], baseDark[9]],
|
|
928
|
+
colorBorderRoundToggleButtonUnselectedHover: [base[8], baseDark[9]],
|
|
929
|
+
colorBorderRoundToggleButtonSelectedNormal: borderAccentOrMediumAccent,
|
|
930
|
+
colorBorderRoundToggleButtonSelectedHover: [accent[9], accent[10]],
|
|
931
|
+
|
|
932
|
+
colorTextRoundToggleButtonUnselectedNormal: fg.neutral,
|
|
933
|
+
colorTextRoundToggleButtonUnselectedHover: fg.neutral,
|
|
934
|
+
colorTextRoundToggleButtonSelectedNormal: [accent[10], baseDark[12]],
|
|
935
|
+
colorTextRoundToggleButtonSelectedHover: [accent[10], baseDark[12]],
|
|
936
|
+
|
|
937
|
+
colorIconRoundToggleButtonUnselectedNormal: fg.neutral,
|
|
938
|
+
colorIconRoundToggleButtonUnselectedHover: fg.neutral,
|
|
939
|
+
colorIconRoundToggleButtonSelectedNormal: fg.accent,
|
|
940
|
+
colorIconRoundToggleButtonSelectedHover: fg.accent,
|
|
941
|
+
|
|
845
942
|
colorBgToastDefault: surface.level1,
|
|
846
943
|
colorBgDbTabHover: surface.level3_4,
|
|
847
944
|
colorBgDbTabFocus: bgTabFocus,
|
|
@@ -856,7 +953,10 @@ export function defsFromPalette({
|
|
|
856
953
|
colorTextEntityAvatarHover: primary.accent,
|
|
857
954
|
colorBgMessageHighlighted: surface.level0elevated,
|
|
858
955
|
|
|
859
|
-
//
|
|
956
|
+
// Comment/message row hover (subtle lift over panel, stays darker than the floating actions toolbar in dark theme)
|
|
957
|
+
colorBgCommentHover: surface.level2,
|
|
958
|
+
|
|
959
|
+
colorBgCodeEditor: raised.level1,
|
|
860
960
|
colorBgEditorImageZoomed: surface.level3_6,
|
|
861
961
|
colorMermaidPrimaryColor: [base[2], baseDark[8]],
|
|
862
962
|
colorMermaidPrimaryBorderColor: fg.muted,
|
|
@@ -869,34 +969,31 @@ export function defsFromPalette({
|
|
|
869
969
|
colorHighlightWhiteboardSelection: borderAccentOrMediumAccent,
|
|
870
970
|
colorHighlightWhiteboardSelectionLocked: textWhiteboardSelectionLockedOrDisabled,
|
|
871
971
|
colorSelectionWhiteboardBorderDisabled: textWhiteboardSelectionLockedOrDisabled,
|
|
872
|
-
colorPlaceholderWhiteboardDefault:
|
|
972
|
+
colorPlaceholderWhiteboardDefault: alphaPair(accent[8], accentDark[8], A.whiteboard.placeholder),
|
|
873
973
|
colorLinkPointWhiteboardDefault: borderAccentOrMediumAccent,
|
|
874
974
|
colorLinkPointWhiteboardFillDefault: [white, blackish],
|
|
875
|
-
colorMapWhiteboardPreviewDefault:
|
|
876
|
-
colorCardWhiteboardShadowDefault:
|
|
975
|
+
colorMapWhiteboardPreviewDefault: alphaPair(accent[8], accentDark[8], A.whiteboard.mapPreview),
|
|
976
|
+
colorCardWhiteboardShadowDefault: alphaPair(base[11], baseDark[11], A.whiteboard.cardShadow),
|
|
877
977
|
colorCardWhiteboardBgDefault: raised.level3,
|
|
878
|
-
colorCardWhiteboardBorderDefault:
|
|
879
|
-
colorUnitHeaderWhiteboardDefault:
|
|
978
|
+
colorCardWhiteboardBorderDefault: alphaPair(base[12], baseDark[12], A.whiteboard.cardBorder),
|
|
979
|
+
colorUnitHeaderWhiteboardDefault: alphaPair(base[12], baseDark[12], A.whiteboard.unitHeader),
|
|
880
980
|
colorUnitWhiteboardBgDefault: surface.level3_6,
|
|
881
|
-
colorUnitWhiteboardBorderDefault:
|
|
981
|
+
colorUnitWhiteboardBorderDefault: alphaPair(base[12], baseDark[12], A.whiteboard.unitBorder),
|
|
882
982
|
colorSectionWhiteboardBgInactive: surface.level2,
|
|
883
983
|
colorSectionWhiteboardBorderInactive: bgTabFocus,
|
|
884
|
-
|
|
984
|
+
colorUploadPreviewBg: alphaPair(base[11], baseDark[2], A.whiteboard.uploadPreview),
|
|
985
|
+
colorEmbedWhiteboardEditBorder: alphaPair(teal[8], tealDark[8], A.whiteboard.embedEditBorder),
|
|
885
986
|
colorTextWhiteboardDefault: fgMenuEtc,
|
|
886
987
|
colorTextWhiteboardDisabled: fg.muted,
|
|
887
|
-
//
|
|
888
|
-
|
|
889
|
-
// This reads as near-invisible dark text on dark bg.
|
|
890
|
-
// Compare with colorUnitHeaderWhiteboardDefault (L772) which correctly uses baseDark[12] for dark.
|
|
891
|
-
// Likely should be baseDark[12] too.
|
|
892
|
-
colorTextWhiteboardAccent: [alpha(base[12], 0.6), alpha(baseDark[1], 0.6)],
|
|
988
|
+
// Existing dark accent blends into the whiteboard surface.
|
|
989
|
+
colorTextWhiteboardAccent: alphaPair(base[12], baseDark[1], A.whiteboard.accentText),
|
|
893
990
|
colorTextWhiteboardInversedDefault: whiteColor,
|
|
894
991
|
instrumentsMenuBg: raised.level2,
|
|
895
992
|
instrumentsMenuShadow: floatingShadows.instrumentsMenu,
|
|
896
993
|
commentBubbleBg: raised.level4,
|
|
897
994
|
commentsPanelShadow: floatingShadows.instrumentsMenu,
|
|
898
995
|
searchFiltersBg: surface.level1_1,
|
|
899
|
-
selectedColorBorder: same(
|
|
996
|
+
selectedColorBorder: alphaDef(same(base[6]), A.border.selectedColor),
|
|
900
997
|
|
|
901
998
|
// SegmentedControl
|
|
902
999
|
colorBgSegmentedControlDefault: surface.level3_1,
|
|
@@ -906,12 +1003,12 @@ export function defsFromPalette({
|
|
|
906
1003
|
|
|
907
1004
|
// Banner
|
|
908
1005
|
colorBgBannerNeutral: bg.neutral3,
|
|
909
|
-
|
|
1006
|
+
colorBgBannerAccent: bg.accent3,
|
|
910
1007
|
colorBgBannerWarning: bg.warning,
|
|
911
1008
|
colorBgBannerError: bg.error,
|
|
912
1009
|
colorBgBannerSuccess: bg.success,
|
|
913
1010
|
|
|
914
|
-
colorIconBannerNeutral: icon.
|
|
1011
|
+
colorIconBannerNeutral: icon.neutral,
|
|
915
1012
|
colorIconBannerAccent: icon.accent,
|
|
916
1013
|
colorIconBannerWarning: icon.warning,
|
|
917
1014
|
colorIconBannerError: icon.error,
|
|
@@ -932,8 +1029,8 @@ export function defsFromPalette({
|
|
|
932
1029
|
|
|
933
1030
|
// Logo/illustration specific colors
|
|
934
1031
|
colorBorderLogoGrid: surface.level4,
|
|
935
|
-
colorBorderLogoGridSubtle: [alpha(base[4], 0
|
|
936
|
-
colorBorderLogoGridMedium: [alpha(base[4], 0
|
|
1032
|
+
colorBorderLogoGridSubtle: [alpha(base[4], A.utility.logoGridSubtle[0]), baseDark[4]],
|
|
1033
|
+
colorBorderLogoGridMedium: [alpha(base[4], A.utility.logoGridMedium[0]), baseDark[4]],
|
|
937
1034
|
colorStrokeLogoDashed: [base[6], baseDark[8]],
|
|
938
1035
|
colorBgLogoCardTransparent: surface.level0elevated,
|
|
939
1036
|
colorBgLogoCardDark: base8,
|
|
@@ -951,7 +1048,7 @@ export function defsFromPalette({
|
|
|
951
1048
|
|
|
952
1049
|
// Elevation shadows (ink direction)
|
|
953
1050
|
colorShadowElevation: blackA10,
|
|
954
|
-
colorShadowOutline:
|
|
1051
|
+
colorShadowOutline: alphaPair(black, white, A.utility.shadowOutline),
|
|
955
1052
|
|
|
956
1053
|
// Placeholder/fallback
|
|
957
1054
|
colorPlaceholder: whiteA40,
|
|
@@ -986,17 +1083,17 @@ export function defsFromPalette({
|
|
|
986
1083
|
whiteA100,
|
|
987
1084
|
|
|
988
1085
|
// File hover overlay (always dark scrim for white text readability)
|
|
989
|
-
colorBgFileOverlay: same(
|
|
1086
|
+
colorBgFileOverlay: alphaDef(same(black), A.overlay.file),
|
|
990
1087
|
|
|
991
1088
|
// Scroll fade edges
|
|
992
|
-
colorBgScrollFade:
|
|
1089
|
+
colorBgScrollFade: alphaPair(white, black, A.utility.scrollFade),
|
|
993
1090
|
|
|
994
1091
|
// Date picker selected outline
|
|
995
|
-
colorStrokeSelectedOutline:
|
|
1092
|
+
colorStrokeSelectedOutline: alphaPair(black, white, A.utility.selectedOutline),
|
|
996
1093
|
|
|
997
1094
|
// Preloader / chrome
|
|
998
|
-
scrollbar:
|
|
999
|
-
} as const satisfies
|
|
1095
|
+
scrollbar: alphaPair(base[9], baseDark[7], A.utility.scrollbar),
|
|
1096
|
+
} as const satisfies Record<string, Def>;
|
|
1000
1097
|
|
|
1001
1098
|
return {key, colors, fns} as const;
|
|
1002
1099
|
}
|