diff --git a/models/templates/src/index.ts b/models/templates/src/index.ts index 64254665c5..35deb3d07d 100644 --- a/models/templates/src/index.ts +++ b/models/templates/src/index.ts @@ -58,7 +58,7 @@ export function createModel (builder: Builder): void { core.space.Model, { label: templates.string.Templates, - icon: templates.icon.Templates, + icon: templates.icon.Template, action: templates.action.ShowTemplates, order: 1500 }, diff --git a/packages/text-editor/src/components/ReferenceInput.svelte b/packages/text-editor/src/components/ReferenceInput.svelte index 5d97ce5ff6..a096a28563 100644 --- a/packages/text-editor/src/components/ReferenceInput.svelte +++ b/packages/text-editor/src/components/ReferenceInput.svelte @@ -310,16 +310,29 @@ {/if} -
+
{#each actions as a} -
handleAction(a, evt)}> - +
handleAction(a, evt)}> +
{/each}
diff --git a/packages/text-editor/src/components/TextEditor.svelte b/packages/text-editor/src/components/TextEditor.svelte index dee410c7d9..32cc7acfe0 100644 --- a/packages/text-editor/src/components/TextEditor.svelte +++ b/packages/text-editor/src/components/TextEditor.svelte @@ -189,6 +189,8 @@ max-height: 40vh; outline: none; line-height: 150%; + color: var(--accent-color); + p:not(:last-child) { margin-block-end: 1em; } @@ -201,7 +203,7 @@ p.is-editor-empty:first-child::before { content: attr(data-placeholder); float: left; - color: var(--theme-content-trans-color); + color: var(--dark-color); pointer-events: none; height: 0; } diff --git a/packages/text-editor/src/components/icons/Attach.svelte b/packages/text-editor/src/components/icons/Attach.svelte index 239de5f4b9..f268336110 100644 --- a/packages/text-editor/src/components/icons/Attach.svelte +++ b/packages/text-editor/src/components/icons/Attach.svelte @@ -3,8 +3,11 @@ const fill: string = 'currentColor' - + + diff --git a/packages/text-editor/src/components/icons/Emoji.svelte b/packages/text-editor/src/components/icons/Emoji.svelte index 94d59329aa..782873925b 100644 --- a/packages/text-editor/src/components/icons/Emoji.svelte +++ b/packages/text-editor/src/components/icons/Emoji.svelte @@ -4,9 +4,15 @@ const fill: string = 'currentColor' - - + + + + + + + diff --git a/packages/text-editor/src/components/icons/TextStyle.svelte b/packages/text-editor/src/components/icons/TextStyle.svelte index 93a00f1a16..5ca6abc6da 100644 --- a/packages/text-editor/src/components/icons/TextStyle.svelte +++ b/packages/text-editor/src/components/icons/TextStyle.svelte @@ -3,8 +3,14 @@ const fill: string = 'currentColor' - + + + diff --git a/packages/theme/styles/_layouts.scss b/packages/theme/styles/_layouts.scss index 1684479f36..3b8dc8ba15 100644 --- a/packages/theme/styles/_layouts.scss +++ b/packages/theme/styles/_layouts.scss @@ -94,7 +94,7 @@ table { li { color: var(--dark-color); - p { color: var(--content-color); } + p { color: var(--accent-color); } } /* Common */ @@ -111,6 +111,8 @@ p:last-child { margin-block-end: 0; } word-wrap: break-word; hyphens: auto; line-height: 150%; + color: var(--accent-color); + a { word-break: break-all; word-break: break-word; @@ -292,6 +294,8 @@ input.search { gap: .75rem; &.reverse { direction: rtl; } + &.large-gap { gap: 1rem; } + &.medium-gap { gap: .75rem; } &.small-gap { gap: .5rem; } &.xsmall-gap { gap: .375rem; } &.xxsmall-gap { gap: .25rem; } diff --git a/packages/theme/styles/common.scss b/packages/theme/styles/common.scss index ad05ef345d..0eac052b97 100644 --- a/packages/theme/styles/common.scss +++ b/packages/theme/styles/common.scss @@ -324,3 +324,6 @@ border-color: var(--highlight-select-border); } } + +// Replacing the background of a text editor in Activity +.activity-content .ref-container .textInput { background-color: var(--body-color) !important; } diff --git a/plugins/activity-resources/src/components/TxView.svelte b/plugins/activity-resources/src/components/TxView.svelte index 2bf18e940d..d2bfe0593f 100644 --- a/plugins/activity-resources/src/components/TxView.svelte +++ b/plugins/activity-resources/src/components/TxView.svelte @@ -153,7 +153,12 @@
{/if} -
+
@@ -294,7 +299,7 @@
{#if viewlet && viewlet.component && viewlet.display !== 'inline'} -
+
{#if tx.collectionAttribute !== undefined && (tx.txDocIds?.size ?? 0) > 1}
@@ -313,6 +318,29 @@ {/if}