1. テーマとスタイル

タイポグラフィ

日本語翻訳に関する免責事項

このページの翻訳はAIによって自動的に行われました。可能な限り正確な翻訳を心掛けていますが、原文と異なる表現や解釈が含まれる場合があります。正確で公式な情報については、必ず英語の原文をご参照ください。

デフォルトのテーマは、レイアウトグリッドと相性が良いスタイルとフォントサイズのセットを提供します。テーマの作成や使用の詳細については、「テーマとスタイル」を参照してください。

タイポグラフィオブジェクトのデフォルトフォントサイズは以下の例で表示されます。

typography.png

以下のコードブロックでは、すべてのプロパティを持つデフォルトのタイポグラフィオブジェクトを見ることができます。

{ typography: { "fontFamilySystem": "-apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', Arial, sans-serif", "fontSize": "14px", "lineHeight": "24px", "fontWeight": "300", "fontSize1": { "fontSize": "12px", "fontWeight": "400", "lineHeight": "24px" }, "fontSize2": { "fontSize": "14px", "fontWeight": "400", "lineHeight": "24px" }, "fontSize3": { "fontSize": "16px", "fontWeight": "400", "lineHeight": "32px" }, "fontSize4": { "fontSize": "18px", "fontWeight": "400", "lineHeight": "32px" }, "fontSize5": { "fontSize": "20px", "fontWeight": "400", "lineHeight": "40px" }, "fontSize6": { "fontSize": "22px", "fontWeight": "400", "lineHeight": "40px" }, "fontSize7": { "fontSize": "24px", "fontWeight": "400", "lineHeight": "48px" }, "fontSize8": { "fontSize": "26px", "fontWeight": "400", "lineHeight": "48px" }, "h1": { "fontFamilySystem": "-apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', Arial, sans-serif", "fontSize": "28px", "fontWeight": "400", "lineHeight": "40px" }, "h2": { "fontFamilySystem": "-apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', Arial, sans-serif", "fontSize": "24px", "fontWeight": "400", "lineHeight": "36px" }, "h3": { "fontFamilySystem": "-apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', Arial, sans-serif", "fontSize": "20px", "fontWeight": "400", "lineHeight": "32px" }, "h4": { "fontFamilySystem": "-apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', Arial, sans-serif", "fontSize": "18px", "fontWeight": "500", "lineHeight": "28px" }, "h5": { "fontFamilySystem": "-apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', Arial, sans-serif", "fontSize": "16px", "fontWeight": "500", "lineHeight": "24px" }, "h6": { "fontFamilySystem": "-apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', Arial, sans-serif", "fontSize": "14px", "fontWeight": "500", "lineHeight": "20px" } } });

この記事を改善するための提案がある場合は、 お知らせください!