feat: separate look and feel

This commit is contained in:
Sean Perkins
2024-02-16 19:19:32 -05:00
parent 7ec17af88e
commit c795995393
100 changed files with 634 additions and 451 deletions

View File

@@ -328,7 +328,7 @@ The ripple effect should be added to elements for Material Design. It *requires*
```jsx
render() {
const mode = getIonMode(this);
const theme = getIonTheme(this);
return (
<Host
@@ -338,7 +338,7 @@ return (
>
<button>
<slot></slot>
{mode === 'md' && <ion-ripple-effect></ion-ripple-effect>}
{theme === 'md' && <ion-ripple-effect></ion-ripple-effect>}
</button>
</Host>
);