From 6df7d7abf63e522c92bd4004f05d49135aa09b33 Mon Sep 17 00:00:00 2001 From: Douglas Fabris Date: Fri, 13 Oct 2023 09:40:17 -0300 Subject: [PATCH] fix(fuselage): Remove underline prevention on anchor elements (#1193) --- .changeset/selfish-scissors-sit.md | 5 +++++ packages/fuselage/src/components/Field/Field.styles.scss | 2 -- packages/fuselage/src/components/States/States.styles.scss | 2 -- .../fuselage/src/styles/primitives/traits/rich-text.scss | 2 -- 4 files changed, 5 insertions(+), 6 deletions(-) create mode 100644 .changeset/selfish-scissors-sit.md diff --git a/.changeset/selfish-scissors-sit.md b/.changeset/selfish-scissors-sit.md new file mode 100644 index 0000000000..9aebc4ce16 --- /dev/null +++ b/.changeset/selfish-scissors-sit.md @@ -0,0 +1,5 @@ +--- +"@rocket.chat/fuselage": patch +--- + +fix(fuselage): Remove underline prevention on anchor elements diff --git a/packages/fuselage/src/components/Field/Field.styles.scss b/packages/fuselage/src/components/Field/Field.styles.scss index 54cfdc8dfc..c7ce7c8b95 100644 --- a/packages/fuselage/src/components/Field/Field.styles.scss +++ b/packages/fuselage/src/components/Field/Field.styles.scss @@ -64,8 +64,6 @@ @include typography.use-font-scale(p2); margin-block: lengths.margin(2); - text-decoration: none; - color: colors.font(info); @extend %--with-inline-elements; } diff --git a/packages/fuselage/src/components/States/States.styles.scss b/packages/fuselage/src/components/States/States.styles.scss index 67b27494bd..0f64cde04f 100644 --- a/packages/fuselage/src/components/States/States.styles.scss +++ b/packages/fuselage/src/components/States/States.styles.scss @@ -98,8 +98,6 @@ $variants: ( @include typography.use-font-scale(p2); margin-block: lengths.margin(16); - text-decoration: none; - color: colors.font(info); @extend %--with-inline-elements; } diff --git a/packages/fuselage/src/styles/primitives/traits/rich-text.scss b/packages/fuselage/src/styles/primitives/traits/rich-text.scss index e0312b4192..fcfaa6df5b 100644 --- a/packages/fuselage/src/styles/primitives/traits/rich-text.scss +++ b/packages/fuselage/src/styles/primitives/traits/rich-text.scss @@ -31,8 +31,6 @@ a { &:link { - text-decoration: none; - color: colors.font(info); }