Skip to content

Commit 000470f

Browse files
committed
Remove underline decoration on content switcher, add breadcrumbs comps
1 parent 2575285 commit 000470f

2 files changed

Lines changed: 680 additions & 310 deletions

File tree

‎src/components/Content/Switcher/client/index.ts‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,12 @@ export class ContentSwitcherElement extends LitElement {
4747
const switchHref = isDeepDive ? overviewHref : deepDiveHref
4848

4949
const overviewLabelClass = isDeepDive
50-
? 'text-sm text-content-offset content-switcher-label content-switcher-label--overview'
51-
: 'text-sm font-medium text-content-active content-switcher-label content-switcher-label--overview'
50+
? 'text-sm text-content-offset content-switcher-label content-switcher-label--overview no-underline hover:no-underline focus-visible:no-underline'
51+
: 'text-sm font-medium text-content-active content-switcher-label content-switcher-label--overview no-underline hover:no-underline focus-visible:no-underline'
5252

5353
const deepDiveLabelClass = isDeepDive
54-
? 'text-sm font-medium text-content-active content-switcher-label content-switcher-label--deep-dive'
55-
: 'text-sm text-content-offset content-switcher-label content-switcher-label--deep-dive'
54+
? 'text-sm font-medium text-content-active content-switcher-label content-switcher-label--deep-dive no-underline hover:no-underline focus-visible:no-underline'
55+
: 'text-sm text-content-offset content-switcher-label content-switcher-label--deep-dive no-underline hover:no-underline focus-visible:no-underline'
5656

5757
return html`
5858
<div class="flex items-center gap-3" role="radiogroup" aria-label="Content Variant">

0 commit comments

Comments
 (0)