Skip to content

Commit b49542c

Browse files
author
Nicolas Garnier
committed
Additional note about styling
1 parent c630eaa commit b49542c

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -258,16 +258,18 @@ If you are using CSS modules in your app you need to handle the CSS files in `/n
258258

259259
## Styling
260260

261-
To change the styling of the `FirebaseAuth` or the `StyledFirebaseAuth` widget you can override some of its CSS. You can import a CSS that will be included globally in your packed application. For instance create a `firebaseui-overrides.global.css` file and import it in your app:
261+
To change the styling of the `FirebaseAuth` or the `StyledFirebaseAuth` widget you can override some of its CSS. To do this, import a CSS that will be included in your packed application. For instance create a `firebaseui-styling.global.css` file and import it in your app:
262262

263263
```js
264-
import './firebaseui-overrides.global.css'; // Import globally.
264+
import './firebaseui-styling.global.css'; // Import globally. Not with CSS modules.
265265
```
266266

267-
> Note: If you are using the "With ExtractTextPlugin and CSS modules" Webpack build rule above, the `.global.css` suffixe will make sure the CSS file is imported globally and not ran through modules support.
267+
> Note: If you are using the [With ExtractTextPlugin and CSS modules](#with-extracttextplugin-and-css-modules) Webpack build rule above, the `.global.css` suffix will make sure the CSS file is imported globally and not ran through modules support.
268268
269269
If you would like to see an example of styling, have a look at the [example app](./example).
270270

271+
Alternatively you can include the styling in a `<style>` tag in your application's markup.
272+
271273

272274
## Contributing
273275

0 commit comments

Comments
 (0)