Skip to content

Commit e7c159d

Browse files
committed
Add glass effect to the topbar.
1 parent fd75a33 commit e7c159d

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

‎packages/ts-components/src/standard/topBar/topBar.ts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ const topBarTemplate = html`<input
5656
type="checkbox"
5757
autocomplete="off"
5858
aria-hidden="true"/>
59-
<header class="topbar" :class="classes">
59+
<header class="topbar" :class="classes" r-inherit>
6060
<Flex align="center">
6161
<div :is="resolvedLogoComponent" class="flex-none" :config="siteLogo"></div>
6262
<SearchBox
@@ -83,6 +83,7 @@ const topBarTemplate = html`<input
8383
function defineTopBarComponent() {
8484
return defineComponent<TopBar>(topBarTemplate, {
8585
props: [
86+
'class',
8687
'logoComponent',
8788
'tone',
8889
'variant',
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
<TopBar tone="neutral" variant="surfaceAlt" signInEnabled="false"/>
1+
<TopBar
2+
tone="neutral"
3+
variant="glass"
4+
class="spotlight-from-top-right"
5+
signInEnabled="false"/>

0 commit comments

Comments
 (0)