Update styling-components.md (#447)

Summary:
Link to color definitions.
Pull Request resolved: https://github.com/facebook/flipper/pull/447

Reviewed By: danielbuechele

Differential Revision: D15353434

Pulled By: passy

fbshipit-source-id: e1a15ae4979956f2b0529ee86e0a523a93d77006
This commit is contained in:
Pascal Hartig
2019-05-16 02:39:45 -07:00
committed by Facebook Github Bot
parent ef510a7d90
commit 3747b15d7b

View File

@@ -65,7 +65,7 @@ Pseudo-classes can be used like this:
## Colors ## Colors
The colors module contains all standard colors used by Flipper. All the available colors are defined in `src/ui/components/colors.js` with comments about suggested usage of them. And we strongly encourage to use them. They can be required like this: The colors module contains all standard colors used by Flipper. All the available colors are defined in [`src/ui/components/colors.js`](https://github.com/facebook/flipper/blob/master/src/ui/components/colors.js) with comments about suggested usage of them. And we strongly encourage to use them. They can be required like this:
```javascript ```javascript
import {colors} from 'flipper' import {colors} from 'flipper'