diff --git a/Tekst-API/openapi.json b/Tekst-API/openapi.json index ea8cfadc..d81a0895 100644 --- a/Tekst-API/openapi.json +++ b/Tekst-API/openapi.json @@ -14782,12 +14782,6 @@ "description": "Show location aliases in browse view", "default": true }, - "browseBarUsesTextColor": { - "type": "boolean", - "title": "Browsebarusestextcolor", - "description": "Use current working text's accent color for browse toolbar", - "default": false - }, "uiColor": { "type": "string", "format": "color", @@ -15070,19 +15064,6 @@ "description": "Show location aliases in browse view", "optionalNullable": false }, - "browseBarUsesTextColor": { - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ], - "title": "Browsebarusestextcolor", - "description": "Use current working text's accent color for browse toolbar", - "optionalNullable": false - }, "uiColor": { "anyOf": [ { diff --git a/Tekst-API/tekst/models/platform.py b/Tekst-API/tekst/models/platform.py index c92ae698..35143639 100644 --- a/Tekst-API/tekst/models/platform.py +++ b/Tekst-API/tekst/models/platform.py @@ -200,13 +200,6 @@ class PlatformState(ModelBase, ModelFactoryMixin): ), ] = True - browse_bar_uses_text_color: Annotated[ - bool, - Field( - description="Use current working text's accent color for browse toolbar", - ), - ] = False - ui_color: Annotated[ Color, ColorSerializer, diff --git a/Tekst-Web/i18n/ui/deDE.yml b/Tekst-Web/i18n/ui/deDE.yml index df2d38ba..5fbb76f7 100644 --- a/Tekst-Web/i18n/ui/deDE.yml +++ b/Tekst-Web/i18n/ui/deDE.yml @@ -363,7 +363,6 @@ models: showResourceCategoryHeadings: Zeige Überschriften für Kategorien prioritizeBrowseLevelResources: Platziere Ressourcen der aktuellen Ebene vor anderen (innerhalb ihrer Kategorien) showLocationAliases: Zeige Belegstellen-Aliase - browseBarUsesTextColor: Färbe Toolbar der Lese-Ansicht in der Farbe des aktuellen Arbeitstextes denyResourceTypes: Erstellung dieser Ressourcentypen nur Administratoren erlauben fonts: Benutzer*innendefinierte Schritarten uiFont: UI-Schriftart diff --git a/Tekst-Web/i18n/ui/enUS.yml b/Tekst-Web/i18n/ui/enUS.yml index 8e9a791d..6080b21e 100644 --- a/Tekst-Web/i18n/ui/enUS.yml +++ b/Tekst-Web/i18n/ui/enUS.yml @@ -359,7 +359,6 @@ models: showResourceCategoryHeadings: Show category headings prioritizeBrowseLevelResources: Place resources of current browse level before others (inside their category) showLocationAliases: Show location aliases - browseBarUsesTextColor: Use current working text's accent color for browse toolbar denyResourceTypes: Allow creation of these resource types for administrators only fonts: Custom Fonts uiFont: User Interface Font diff --git a/Tekst-Web/src/api/schema.d.ts b/Tekst-Web/src/api/schema.d.ts index c66aebc5..7bf4ab2c 100644 --- a/Tekst-Web/src/api/schema.d.ts +++ b/Tekst-Web/src/api/schema.d.ts @@ -4809,12 +4809,6 @@ export interface components { * @default true */ showLocationAliases: boolean; - /** - * Browsebarusestextcolor - * @description Use current working text's accent color for browse toolbar - * @default false - */ - browseBarUsesTextColor: boolean; /** * Uicolor * Format: color @@ -4934,11 +4928,6 @@ export interface components { * @description Show location aliases in browse view */ showLocationAliases?: boolean; - /** - * Browsebarusestextcolor - * @description Use current working text's accent color for browse toolbar - */ - browseBarUsesTextColor?: boolean; /** * Uicolor * @description Primary color used in for client UI diff --git a/Tekst-Web/src/components/browse/BookmarksWidget.vue b/Tekst-Web/src/components/browse/BookmarksWidget.vue index 28a7d9a5..2dadfb9d 100644 --- a/Tekst-Web/src/components/browse/BookmarksWidget.vue +++ b/Tekst-Web/src/components/browse/BookmarksWidget.vue @@ -15,6 +15,7 @@ import { useRouter } from 'vue-router'; defineProps<{ buttonSize?: 'small' | 'medium' | 'large'; + color?: string; }>(); const browse = useBrowseStore(); @@ -87,7 +88,7 @@ async function handleWidgetClick() {