diff --git a/core/src/components/tab-bar/tab-bar.ios.scss b/core/src/components/tab-bar/tab-bar.ios.scss
index 884d793699..6cf90179d2 100644
--- a/core/src/components/tab-bar/tab-bar.ios.scss
+++ b/core/src/components/tab-bar/tab-bar.ios.scss
@@ -1,6 +1,5 @@
@import "./tab-bar";
-@import "../../themes/ionic.globals.ios";
-@import "../tab-button/tab-button.ios.vars";
+@import "./tab-bar.ios.vars";
// iOS Tabs
// --------------------------------------------------
@@ -20,6 +19,16 @@
// --------------------------------------------------
:host(.tab-bar-translucent) {
- background-color: #{current-color(base, .8)};
- backdrop-filter: saturate(210%) blur(20px);
+ --background: #{$tab-bar-ios-translucent-background-color};
+ backdrop-filter: $tab-bar-ios-translucent-filter;
}
+
+// iOS Translucent Tab bar with Color
+:host(.ion-color.tab-bar-translucent) {
+ background: #{current-color(base, $tab-bar-ios-translucent-background-color-alpha)};
+}
+
+// iOS Translucent Tab bar button
+:host(.tab-bar-translucent) ::slotted(ion-tab-button) {
+ background: transparent;
+}
\ No newline at end of file
diff --git a/core/src/components/tab-bar/tab-bar.ios.vars.scss b/core/src/components/tab-bar/tab-bar.ios.vars.scss
new file mode 100644
index 0000000000..c4ba6aebcc
--- /dev/null
+++ b/core/src/components/tab-bar/tab-bar.ios.vars.scss
@@ -0,0 +1,14 @@
+@import "../../themes/ionic.globals.ios";
+@import "../tab-button/tab-button.ios.vars";
+
+// iOS Tab Bar
+// --------------------------------------------------
+
+/// @prop - Alpha of translucent tab bar background color
+$tab-bar-ios-translucent-background-color-alpha: .8 !default;
+
+/// @prop - Translucent tab bar background color
+$tab-bar-ios-translucent-background-color: rgba($background-color-rgb, $tab-bar-ios-translucent-background-color-alpha) !default;
+
+/// @prop - Filter of the translucent tab bar background color
+$tab-bar-ios-translucent-filter: saturate(210%) blur(20px) !default;
\ No newline at end of file
diff --git a/core/src/components/tab-bar/tab-bar.md.scss b/core/src/components/tab-bar/tab-bar.md.scss
index 2366f9380d..0a198f1678 100644
--- a/core/src/components/tab-bar/tab-bar.md.scss
+++ b/core/src/components/tab-bar/tab-bar.md.scss
@@ -12,3 +12,7 @@
height: 56px;
}
+
+:host(.tab-bar-translucent) ::slotted(ion-tab-button) {
+ background: transparent;
+}
\ No newline at end of file
diff --git a/core/src/components/tab-bar/test/spec/index.html b/core/src/components/tab-bar/test/spec/index.html
index b01fd5ec5e..f99920461b 100644
--- a/core/src/components/tab-bar/test/spec/index.html
+++ b/core/src/components/tab-bar/test/spec/index.html
@@ -146,6 +146,44 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+