style(components): remove unneeded css variables

This commit is contained in:
Brandy Carney
2018-07-23 14:42:40 -04:00
parent bcc164adbd
commit 79a09ab1bc
4 changed files with 14 additions and 10 deletions

View File

@ -4,16 +4,12 @@
// -------------------------------------------------- // --------------------------------------------------
:host { :host {
--text-decoration: none;
// default background / color // default background / color
--color: #{ion-color(primary, base)}; --color: #{ion-color(primary, base)};
--background: transparent; --background: transparent;
background: var(--background); background: var(--background);
color: var(--color); color: var(--color);
text-decoration: var(--text-decoration);
} }
:host(.ion-color) { :host(.ion-color) {

View File

@ -28,7 +28,11 @@
</p> </p>
<p> <p>
<ion-anchor href="#" class="underline">Underline Anchor</ion-anchor> <ion-anchor href="#" style="text-decoration: underline">Underline Anchor</ion-anchor>
</p>
<p>
<ion-anchor href="#" class="custom">Custom Anchor</ion-anchor>
</p> </p>
<p> <p>
@ -60,8 +64,14 @@
</script> </script>
<style> <style>
.underline { .custom {
--text-decoration: underline; font-family: cursive;
font-size: 24px;
font-weight: bold;
letter-spacing: 5px;
text-decoration: dotted underline;
text-transform: uppercase;
color: magenta;
} }
</style> </style>
</body> </body>

View File

@ -62,7 +62,7 @@
:host(.button-outline.activated.focused) { :host(.button-outline.activated.focused) {
--border-color: #{current-color(shade)}; --border-color: #{current-color(shade)};
--background-color: #{current-color(shade)}; --background: #{current-color(shade)};
} }
// iOS Clear Button // iOS Clear Button

View File

@ -4,8 +4,6 @@
// -------------------------------------------------- // --------------------------------------------------
:host { :host {
--ion-card-text: currentColor;
@include font-smoothing(); @include font-smoothing();
display: block; display: block;