Replace sonar with flipper in docs

Summary: Replaces sonar with flipper in the docs of a website

Reviewed By: passy

Differential Revision: D9046564

fbshipit-source-id: 55d03d787489406571ea0b4ac0adbc0daaa95cd4
This commit is contained in:
Pritesh Nandgaonkar
2018-07-31 10:27:42 -07:00
committed by Pascal Hartig
parent 2128515a5d
commit 8db555b259
16 changed files with 56 additions and 56 deletions

View File

@@ -28,9 +28,9 @@ But you can use any other HTML-tags like this:
styled.customHTMLTag('canvas', { ... });
```
## Extending Sonar Components
## Extending Flipper Components
It's very common for components to require customizing Sonar's components in some way. For example changing colors, alignment, or wrapping behavior. There is a `extends` method on all styled components which allows adding or overwriting existing style rules.
It's very common for components to require customizing Flipper's components in some way. For example changing colors, alignment, or wrapping behavior. There is a `extends` method on all styled components which allows adding or overwriting existing style rules.
For these use cases when a styled component is only used within the context of a single component we encourage declaring it as a inner static instance. This makes it clear where the component is used and avoids polluting the global namespace.
@@ -72,4 +72,4 @@ Pseudo-classes can be used like this:
## Colors
The colors module contains all standard colors used by Sonar. 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.
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.