Skip to content

Commit

Permalink
docs: Updating CSS section of ARCHITECTURE.md
Browse files Browse the repository at this point in the history
  • Loading branch information
scmm17 committed Oct 22, 2019
1 parent 3a455cc commit 4a7bba8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ARCHITECTURE.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@ To implement theme support, components are required to use the [_ThemeContext_](

### CSS Stylesheets

Every HIG React component should support passing in custom stylesheets as a prop. [Button](packages/button/src/Button.js) has a good example of how to do this.
Every HIG React component should support passing in custom style overrides as a prop. The "stylesheet" prop is a function that returns a JSON style object. [TextArea](packages/text-area/src/customStylesheet.js) has a good example of a stylesheet function. HIG components use [emotion](https://github.com/emotion-js/emotion) as their css JavaScript library: .

0 comments on commit 4a7bba8

Please sign in to comment.