diff --git a/core/src/components/ripple-effect/readme.md b/core/src/components/ripple-effect/readme.md index f3158d0bb5..aaa88785cc 100644 --- a/core/src/components/ripple-effect/readme.md +++ b/core/src/components/ripple-effect/readme.md @@ -21,13 +21,6 @@ The ripple effect component adds the [Material Design ink ripple interaction eff | `addRipple` | Adds the ripple effect to the parent element | -## CSS Custom Properties - -| Name | Description | -| -------------- | ------------------------------- | -| `--background` | Background of the ripple effect | - - ---------------------------------------------- *Built with [StencilJS](https://stenciljs.com/)* diff --git a/core/src/components/ripple-effect/ripple-effect.scss b/core/src/components/ripple-effect/ripple-effect.scss index 7a0681dc22..d45d1197d7 100644 --- a/core/src/components/ripple-effect/ripple-effect.scss +++ b/core/src/components/ripple-effect/ripple-effect.scss @@ -5,11 +5,6 @@ // -------------------------------------------------- :host { - /** - * @prop --background: Background of the ripple effect - */ - --background: currentColor; - @include position(0, 0, 0, 0); position: absolute; @@ -22,7 +17,8 @@ position: absolute; - background: var(--background); + // Should remain static for performance reasons + background-color: currentColor; color: inherit; contain: strict;