Füge Markensymbole und Material-Tags des Brand-Kits hinzu
CI Feature / test (push) Successful in 3m52s
CI Feature / test (push) Successful in 3m52s
Stufe 1 und 2 des Vorschlags in KIT_ERGAENZUNG_v2.1_kleingrafiken.md. - 16 Symbole inline (x-brand.symbol): Titel, ID und feste Größe werden beim Einbetten entfernt, aria-hidden, unbekannte Namen sind ein Fehler - Material-Tags als HTML/CSS (x-brand.tag) mit Zeichen und echtem Text, neue Tokens --lf-tag-*, Kontraste gemessen - MaterialTag ordnet nach Ausgabeklasse und Kennung der redaktionellen Art zu, nicht nach Beschriftung; unklare Fälle bleiben Text - Eingebaut in die öffentliche Premium-Karte für Medien - brand-rays/-underline und der Mitgliederbereich bleiben unverändert (siehe Dokument, Abschnitt 1a) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
1d1f0ebb1f
commit
0022fd50cb
39 files changed
+489
-2
No files matched your search
@@ -6,6 +6,7 @@
|
||||
use App\Domain\Catalog\ContentElement;
|
||||
use App\Domain\Catalog\ContentVersionStatus;
|
||||
use App\Domain\Catalog\EditorialProfileReader;
|
||||
use App\Domain\Catalog\MaterialTag;
|
||||
use App\Domain\Catalog\StructureNode;
|
||||
use App\Domain\Media\ThumbnailRef;
|
||||
use App\Domain\Media\WebsiteMedia;
|
||||
@@ -235,6 +236,7 @@ public function subject(mixed $id, bool $includeNonPublic, array $draft = []): ?
|
||||
missing: $missing,
|
||||
style: $film ? 'media' : 'material',
|
||||
texts: $texts,
|
||||
tag: MaterialTag::fromContent((string) $shown->output_class, $element->editorialContentKind?->slug)?->value,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user