fix(typography): Exclude ion-item on a tags selector (#8340)

This commit is contained in:
Alan Agius
2016-11-09 22:33:49 +01:00
committed by Brandy Carney
parent 3dab925375
commit b00860bb78

View File

@@ -9,7 +9,7 @@ import { Ion } from '../ion';
* Select all of the HTML text elements with the color attribute to apply the text-color class.
*/
@Directive({
selector: 'h1[color], h2[color], h3[color], h4[color], h5[color], h6[color], a[color]:not([ion-button]), p[color], span[color], b[color], i[color], strong[color], em[color], small[color], sub[color], sup[color]'
selector: 'h1[color], h2[color], h3[color], h4[color], h5[color], h6[color], a[color]:not([ion-button]):not([ion-item]), p[color], span[color], b[color], i[color], strong[color], em[color], small[color], sub[color], sup[color]'
})
export class Typography extends Ion {