From cd50e9bd6e135b3e05266069de241efc0a6c0b73 Mon Sep 17 00:00:00 2001 From: Igor Guastalla de Lima Date: Fri, 8 Feb 2019 22:09:18 -0200 Subject: [PATCH] feat(text): added is-disabled to text. changed text to texts. --- docs/text.stories.js | 2 +- scss/elements/text.scss | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/text.stories.js b/docs/text.stories.js index e4162f0..e85ae3b 100644 --- a/docs/text.stories.js +++ b/docs/text.stories.js @@ -3,7 +3,7 @@ import { // eslint-disable-line import/no-extraneous-dependencies withKnobs, radios, } from '@storybook/addon-knobs'; -const stories = storiesOf('Text', module); +const stories = storiesOf('Texts', module); stories.addDecorator(withKnobs); stories.add('text', () => { diff --git a/scss/elements/text.scss b/scss/elements/text.scss index a1e22c9..df4c6b5 100644 --- a/scss/elements/text.scss +++ b/scss/elements/text.scss @@ -14,4 +14,8 @@ &.is-error { color: map_get($error-colors, "normal"); } + + &.is-disabled { + color: map_get($disabled-colors, "normal"); + } }