From 79a09ab1bcc218dda22d141a8f928664e417e481 Mon Sep 17 00:00:00 2001 From: Brandy Carney Date: Mon, 23 Jul 2018 14:42:40 -0400 Subject: [PATCH] style(components): remove unneeded css variables --- core/src/components/anchor/anchor.scss | 4 ---- core/src/components/anchor/test/basic/index.html | 16 +++++++++++++--- core/src/components/button/button.ios.scss | 2 +- core/src/components/card/card.scss | 2 -- 4 files changed, 14 insertions(+), 10 deletions(-) diff --git a/core/src/components/anchor/anchor.scss b/core/src/components/anchor/anchor.scss index e884f9e3fd..e150c03b42 100644 --- a/core/src/components/anchor/anchor.scss +++ b/core/src/components/anchor/anchor.scss @@ -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) { diff --git a/core/src/components/anchor/test/basic/index.html b/core/src/components/anchor/test/basic/index.html index 0ab08e14bc..a05173e107 100644 --- a/core/src/components/anchor/test/basic/index.html +++ b/core/src/components/anchor/test/basic/index.html @@ -28,7 +28,11 @@

- Underline Anchor + Underline Anchor +

+ +

+ Custom Anchor

@@ -60,8 +64,14 @@ diff --git a/core/src/components/button/button.ios.scss b/core/src/components/button/button.ios.scss index 2ea7295012..b57176d726 100644 --- a/core/src/components/button/button.ios.scss +++ b/core/src/components/button/button.ios.scss @@ -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 diff --git a/core/src/components/card/card.scss b/core/src/components/card/card.scss index d6834068dd..92e599ce13 100755 --- a/core/src/components/card/card.scss +++ b/core/src/components/card/card.scss @@ -4,8 +4,6 @@ // -------------------------------------------------- :host { - --ion-card-text: currentColor; - @include font-smoothing(); display: block;