mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
fix(back-button): MD ripple now accounts for --ripple-color (#23749)
resolves #23748
This commit is contained in:
@ -92,6 +92,13 @@
|
|||||||
font-kerning: none;
|
font-kerning: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Back Button Ripple effect
|
||||||
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
ion-ripple-effect {
|
||||||
|
color: var(--ripple-color);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// Back Button with Color
|
// Back Button with Color
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
@ -78,6 +78,8 @@
|
|||||||
<ion-back-button color="secondary" class="custom"></ion-back-button>
|
<ion-back-button color="secondary" class="custom"></ion-back-button>
|
||||||
<ion-back-button class="custom ion-focused"></ion-back-button>
|
<ion-back-button class="custom ion-focused"></ion-back-button>
|
||||||
<ion-back-button color="secondary" class="custom ion-focused"></ion-back-button>
|
<ion-back-button color="secondary" class="custom ion-focused"></ion-back-button>
|
||||||
|
<ion-back-button class="ripple"></ion-back-button>
|
||||||
|
<ion-back-button class="ripple" color="primary"></ion-back-button>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<ion-toolbar>
|
<ion-toolbar>
|
||||||
@ -195,6 +197,10 @@
|
|||||||
--ion-toolbar-background: #222;
|
--ion-toolbar-background: #222;
|
||||||
--ion-toolbar-color: #ddd;
|
--ion-toolbar-color: #ddd;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.ripple {
|
||||||
|
--ripple-color: red;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user