Skip to content

Commit 161fe5a

Browse files
committed
docs(add-to-existing): note that some stylesheets are only recommended
1 parent cd0f369 commit 161fe5a

File tree

4 files changed

+24
-4
lines changed

4 files changed

+24
-4
lines changed

docs/angular/add-to-existing.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,11 @@ Replace the existing `styles` array in `angular.json` with the following:
6868
]
6969
```
7070

71-
These stylesheets are required for Ionic Framework components to render properly.
71+
:::info
72+
73+
While `core.css` is required, `normalize.css`, `structure.css`, and `typography.css` are recommended but not required. They normalize cross-browser differences, ensure proper scrolling behavior, and provide consistent typography and form styling. Without them, you may need to handle these concerns yourself. For more details, see [Global Stylesheets](/docs/layout/global-stylesheets.md).
74+
75+
:::
7276

7377
#### 3. Configure Ionic Angular
7478

docs/react/add-to-existing.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,13 @@ setupIonicReact();
5454
// ...existing app function and export...
5555
```
5656

57-
These stylesheets are required for Ionic Framework components to render properly. `setupIonicReact` is a function that sets up the Ionic React components to work with your app. It is required to be called before using any of the Ionic React components.
57+
`setupIonicReact` is a function that sets up the Ionic React components to work with your app. It is required to be called before using any of the Ionic React components.
58+
59+
:::info
60+
61+
While `core.css` is required, `normalize.css`, `structure.css`, and `typography.css` are recommended but not required. They normalize cross-browser differences, ensure proper scrolling behavior, and provide consistent typography and form styling. Without them, you may need to handle these concerns yourself. For more details, see [Global Stylesheets](/docs/layout/global-stylesheets.md).
62+
63+
:::
5864

5965
## Using Individual Components
6066

docs/vue/add-to-existing.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,11 @@ import '@ionic/vue/css/typography.css';
5353
createApp(App).use(IonicVue).mount('#app');
5454
```
5555

56-
These stylesheets are required for Ionic Framework components to render properly.
56+
:::info
57+
58+
While `core.css` is required, `normalize.css`, `structure.css`, and `typography.css` are recommended but not required. They normalize cross-browser differences, ensure proper scrolling behavior, and provide consistent typography and form styling. Without them, you may need to handle these concerns yourself. For more details, see [Global Stylesheets](/docs/layout/global-stylesheets.md).
59+
60+
:::
5761

5862
## Using Individual Components
5963

versioned_docs/version-v7/react/add-to-existing.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,13 @@ setupIonicReact();
5454
// ...existing app function and export...
5555
```
5656

57-
These stylesheets are required for Ionic Framework components to render properly. `setupIonicReact` is a function that sets up the Ionic React components to work with your app. It is required to be called before using any of the Ionic React components.
57+
`setupIonicReact` is a function that sets up the Ionic React components to work with your app. It is required to be called before using any of the Ionic React components.
58+
59+
:::info
60+
61+
While `core.css` is required, `normalize.css`, `structure.css`, and `typography.css` are recommended but not required. They normalize cross-browser differences, ensure proper scrolling behavior, and provide consistent typography and form styling. Without them, you may need to handle these concerns yourself. For more details, see [Global Stylesheets](/docs/layout/global-stylesheets.md).
62+
63+
:::
5864

5965
## Using Individual Components
6066

0 commit comments

Comments
 (0)