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 1/2] 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"); + } } From 9444b3a87695aac1f01209f393ba3ce2aded1630 Mon Sep 17 00:00:00 2001 From: Igor Guastalla de Lima Date: Fri, 8 Feb 2019 22:13:14 -0200 Subject: [PATCH 2/2] style(select): changed select to select module in storybook. --- docs/select.stories.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/select.stories.js b/docs/select.stories.js index 7ed10b6..5bef2ff 100644 --- a/docs/select.stories.js +++ b/docs/select.stories.js @@ -3,7 +3,7 @@ import { // eslint-disable-line import/no-extraneous-dependencies withKnobs, radios, } from '@storybook/addon-knobs'; -const stories = storiesOf('Select', module); +const stories = storiesOf('Selects', module); stories.addDecorator(withKnobs); stories.add('select', () => {