diff --git a/docs/style.md b/docs/style.md new file mode 100644 index 00000000000..6076d3cbc52 --- /dev/null +++ b/docs/style.md @@ -0,0 +1,106 @@ +# Overview + +All applicable styles should be colocated with their corresponding JavaScript component using [Aphrodite](https://github.com/Khan/aphrodite). + +## Legacy + +All legacy styles are processed with [Less](http://lesscss.org/) and can be found in the /less directory. These should still be maintained but all future CSS should be written in JavaScript and kept inside their component file. + +## Example + +Here is an example of a React component styled with Aphrodite. + +Aphrodite will automatically create a `