style(components): remove unneeded css variables

This commit is contained in:
octicon-git-branch(16/)
octicon-tag(16/)
Brandy Carney
2018-07-23 14:42:40 -04:00
gitea-unlock(16/)
parent bcc164adbd
commit 79a09ab1bc
octicon-diff(16/tw-mr-1) 4 changed files with 14 additions and 10 deletions

4
core/src/components/anchor/anchor.scss
View File

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

16
core/src/components/anchor/test/basic/index.html
View File

@@ -28,7 +28,11 @@
</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>
@@ -60,8 +64,14 @@
</script>
<style>
.underline {
--text-decoration: underline;
.custom {
font-family: cursive;
font-size: 24px;
font-weight: bold;
letter-spacing: 5px;
text-decoration: dotted underline;
text-transform: uppercase;
color: magenta;
}
</style>
</body>

2
core/src/components/button/button.ios.scss
View File

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

2
core/src/components/card/card.scss
View File

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