-
- {limitedObjects.length}/{stateObjects.length}
-
+
+ {limitedObjects.length} / {stateObjects.length}
{/if}
diff --git a/packages/ui/src/types.ts b/packages/ui/src/types.ts
index b6165ad03e..205cd416e4 100644
--- a/packages/ui/src/types.ts
+++ b/packages/ui/src/types.ts
@@ -170,7 +170,17 @@ export type TooltipAlignment = 'top' | 'bottom' | 'left' | 'right'
export type VerticalAlignment = 'top' | 'bottom'
export type HorizontalAlignment = 'left' | 'right'
-export type IconSize = 'inline' | 'tiny' | 'x-small' | 'smaller' | 'small' | 'medium' | 'large' | 'x-large' | 'full'
+export type IconSize =
+ | 'inline'
+ | 'tiny'
+ | 'card'
+ | 'x-small'
+ | 'smaller'
+ | 'small'
+ | 'medium'
+ | 'large'
+ | 'x-large'
+ | 'full'
export interface DateOrShift {
date?: number
@@ -311,3 +321,8 @@ export interface DialogStep {
readonly component: AnyComponent | AnySvelteComponent
props?: Record
}
+
+export interface AccentColor {
+ textColor: string
+ backgroundColor: string
+}
diff --git a/plugins/attachment-resources/src/components/AttachmentsPresenter.svelte b/plugins/attachment-resources/src/components/AttachmentsPresenter.svelte
index 6c3ebacf7d..0adce7bbfa 100644
--- a/plugins/attachment-resources/src/components/AttachmentsPresenter.svelte
+++ b/plugins/attachment-resources/src/components/AttachmentsPresenter.svelte
@@ -33,11 +33,11 @@
component: AttachmentPopup,
props: { objectId: object._id, attachments: value, object }
}}
- class="sm-tool-icon ml-1 mr-1"
+ class="sm-tool-icon"
>
{#if showCounter}
- {value}
+ {value}
{/if}
diff --git a/plugins/chunter-resources/src/components/CommentsPresenter.svelte b/plugins/chunter-resources/src/components/CommentsPresenter.svelte
index 264bf89b1b..b22468e6cb 100644
--- a/plugins/chunter-resources/src/components/CommentsPresenter.svelte
+++ b/plugins/chunter-resources/src/components/CommentsPresenter.svelte
@@ -33,7 +33,7 @@
component: CommentPopup,
props: { objectId: object._id, object }
}}
- class="sm-tool-icon ml-1 mr-1"
+ class="sm-tool-icon"
>
{#if showCounter}
diff --git a/plugins/contact-resources/src/components/Avatar.svelte b/plugins/contact-resources/src/components/Avatar.svelte
index d84e61ffa6..e669749f06 100644
--- a/plugins/contact-resources/src/components/Avatar.svelte
+++ b/plugins/contact-resources/src/components/Avatar.svelte
@@ -128,7 +128,7 @@
}}
/>
{:else}
-