diff --git a/packages/theme/styles/_colors.scss b/packages/theme/styles/_colors.scss index da50558f61..57379b3344 100644 --- a/packages/theme/styles/_colors.scss +++ b/packages/theme/styles/_colors.scss @@ -115,6 +115,8 @@ --theme-kanban-card-footer: rgba(217, 217, 217, .07); --theme-tablist-color: rgba(0, 0, 0, .02); + --theme-tablist-plain-color: #2A64C4; // Light + --theme-tablist-plain-divider: rgba(255, 255, 255, .07); // Light invert --theme-checkbox-color: #000; --theme-checkbox-bg-color: #FFF; --theme-checkbox-border: rgba(0, 0, 0, .12); @@ -277,6 +279,8 @@ --theme-kanban-card-footer: rgba(0, 0, 0, .04); --theme-tablist-color: rgba(0, 0, 0, .02); + --theme-tablist-plain-color: #2A64C4; + --theme-tablist-plain-divider: rgba(0, 0, 0, .07); --theme-checkbox-color: #000; --theme-checkbox-bg-color: #FFF; --theme-checkbox-border: rgba(0, 0, 0, .12); diff --git a/packages/theme/styles/components.scss b/packages/theme/styles/components.scss index 124defcd46..ddc901c8ae 100644 --- a/packages/theme/styles/components.scss +++ b/packages/theme/styles/components.scss @@ -31,6 +31,7 @@ min-height: 3.25rem; } &.search-start { padding-left: 1.75rem; } + &.tabs-start { padding: 0 2.25rem; } &.short { display: flex; align-items: center; diff --git a/packages/ui/src/components/TabList.svelte b/packages/ui/src/components/TabList.svelte index 51b4596ed5..d6ebe0e9ef 100644 --- a/packages/ui/src/components/TabList.svelte +++ b/packages/ui/src/components/TabList.svelte @@ -22,7 +22,7 @@ export let selected: string | string[] = '' export let multiselect: boolean = false export let items: TabItem[] - export let kind: 'normal' | 'secondary' = 'normal' + export let kind: 'normal' | 'secondary' | 'plain' | 'separated' = 'normal' export let onlyIcons: boolean = false export let size: 'small' | 'medium' = 'medium' @@ -49,7 +49,8 @@
diff --git a/plugins/tracker-resources/src/components/ModeSelector.svelte b/plugins/tracker-resources/src/components/ModeSelector.svelte index 2e417671de..a08ed7eef8 100644 --- a/plugins/tracker-resources/src/components/ModeSelector.svelte +++ b/plugins/tracker-resources/src/components/ModeSelector.svelte @@ -16,15 +16,13 @@ }) -
-
- { - if (result.detail !== undefined && result.detail.action) result.detail.action() - }} - /> -
+
+ { + if (result.detail !== undefined && result.detail.action) result.detail.action() + }} + />