From 7e352e06e7a10ea1c84e2e74ff60dca1cb8cb635 Mon Sep 17 00:00:00 2001 From: Bruno Lemos Date: Thu, 21 Mar 2019 18:30:50 -0300 Subject: [PATCH] [Web] Revert hover link decoration to underline --- .../components/src/components/AppGlobalStyles.web.tsx | 9 --------- packages/web/src/index.css | 4 ++++ 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/packages/components/src/components/AppGlobalStyles.web.tsx b/packages/components/src/components/AppGlobalStyles.web.tsx index 655228f9..d592310b 100644 --- a/packages/components/src/components/AppGlobalStyles.web.tsx +++ b/packages/components/src/components/AppGlobalStyles.web.tsx @@ -31,15 +31,6 @@ function getStyles(params: { theme: Theme }) { .join('\n')} background-color:${t.backgroundColor}; } - - a:not(.icon):hover, a:not(.icon):hover *:not(.icon) { - ${ - t.isDark - ? `color: ${lighten(1, t.foregroundColor)} !important;` - : `color: ${darken(1, t.foregroundColor)} !important;` - } - transition: none 0s !important; - } ` } diff --git a/packages/web/src/index.css b/packages/web/src/index.css index 44f2b115..593c9296 100644 --- a/packages/web/src/index.css +++ b/packages/web/src/index.css @@ -34,6 +34,10 @@ body { -moz-osx-font-smoothing: grayscale; } +a:hover, a:hover * { + text-decoration: underline; +} + input:focus { outline: none !important; }