Skip to content

Commit

Permalink
feat(text): added is-disabled to text. changed text to texts.
Browse files Browse the repository at this point in the history
  • Loading branch information
guastallaigor committed Feb 9, 2019
1 parent c7d695f commit cd50e9b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/text.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -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', () => {
Expand Down
4 changes: 4 additions & 0 deletions scss/elements/text.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,8 @@
&.is-error {
color: map_get($error-colors, "normal");
}

&.is-disabled {
color: map_get($disabled-colors, "normal");
}
}

0 comments on commit cd50e9b

Please sign in to comment.