diff --git a/core/src/components/tab-bar/tab-bar.ionic.scss b/core/src/components/tab-bar/tab-bar.ionic.scss index 4fbece0a2d9..1253e49c334 100644 --- a/core/src/components/tab-bar/tab-bar.ionic.scss +++ b/core/src/components/tab-bar/tab-bar.ionic.scss @@ -85,6 +85,21 @@ bottom: calc(globals.$ion-space-400 + var(--ion-safe-area-bottom, 0)); } +// Tab Bar Translucent +// -------------------------------------------------- + +@supports (backdrop-filter: blur(0)) { + :host(.tab-bar-translucent) { + --background: rgba(255, 255, 255, 0.6); + + backdrop-filter: var(--tab-bar-backdrop-filter, blur(12px)); + } + + :host(.tab-bar-translucent) ::slotted(ion-tab-button.ion-focused) { + --background: transparent; + } +} + // Tab Bar Shapes // -------------------------------------------------- diff --git a/core/src/components/tab-bar/test/basic/tab-bar.e2e.ts-snapshots/tab-bar-default-ionic-md-rtl-light-Mobile-Firefox-linux.png b/core/src/components/tab-bar/test/basic/tab-bar.e2e.ts-snapshots/tab-bar-default-ionic-md-rtl-light-Mobile-Firefox-linux.png index dd68e3fc46e..25508f2990f 100644 Binary files a/core/src/components/tab-bar/test/basic/tab-bar.e2e.ts-snapshots/tab-bar-default-ionic-md-rtl-light-Mobile-Firefox-linux.png and b/core/src/components/tab-bar/test/basic/tab-bar.e2e.ts-snapshots/tab-bar-default-ionic-md-rtl-light-Mobile-Firefox-linux.png differ