You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
content="CSS-based theming enables apps to customize colors quickly by loading a CSS file or changing CSS property values. Read to learn about Ionic Advanced Theming."
The safe area of a display is the section that is not covered by the device's notch, status bar, or other elements that are part of the device's UI and not the app's. The dimensions of the safe area are different across devices and orientations (portrait or landscape).
For example, below are screenshots of an iPhone 14 Pro Max. The red section is the safe area, and the white sections are places where the app's content would be covered up.
187
+
たとえば、以下はiPhone 14 Pro Maxのスクリーンショットです。赤いセクションがセーフエリアで、白いセクションはアプリのコンテンツが覆われる場所です。
To accommodate this, Ionic automatically adds padding to certain components. For example, the first `ion-toolbar` component placed in an `ion-modal` will receive padding according to the top edge of the device's safe area. This avoids the device's notch covering up the header text.
This padding can be manually adjusted through CSS using the `--ion-safe-area-(dir)` variables described in [Application Variables](#application-variables). Values can be set for the whole application, or on a per component basis. For example:
Copy file name to clipboardExpand all lines: docs/theming/basics.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ import ColorAccordion from '@components/page/theming/ColorAccordion';
9
9
<title>テーマ | Ionic Apps: Color and Theming Basics Definition</title>
10
10
<meta
11
11
name="description"
12
-
content="The definition of theming apps just got simplified. Ionic Framework is built with pre-baked styles and colors which are extremely easy to change and modify."
content="Ionic has nine default colors that can be used to change the color of many components. Learn how to utilize Ionic CSS color properties to style your apps."
Copy file name to clipboardExpand all lines: docs/theming/css-shadow-parts.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,10 +3,10 @@ title: CSS Shadow Parts
3
3
---
4
4
5
5
<head>
6
-
<title>CSS Shadow Parts - Style CSS Properties Inside of A Shadow Tree</title>
6
+
<title>CSS Shadow Parts - シャドウツリー内のCSSプロパティをスタイル設定</title>
7
7
<meta
8
8
name="description"
9
-
content="CSS Shadow Parts allow developers to style CSS properties on elements inside of a shadow tree. Read to learn more about customizing Ionic Shadow DOM components."
Copy file name to clipboardExpand all lines: docs/theming/css-variables.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,10 +3,10 @@ title: CSS変数
3
3
---
4
4
5
5
<head>
6
-
<title>CSS Variables | CSS Custom Properties for Variables & Components</title>
6
+
<title>CSS変数 | 変数とコンポーネント用のCSSカスタムプロパティ</title>
7
7
<meta
8
8
name="description"
9
-
content="Ionic components are built with CSS Variables for easy custom app properties. They allow a value to be stored in one place, then referenced in multiple places."
CSS 変数は、アプリケーションの `:root` セレクタでグローバルに設定できます。They can also be applied only for a specific mode. Ionic が提供するグローバル変数の詳細については、[Ionic 変数](#ionic-variables)を参照してください。
0 commit comments