Skip to content

Commit e92908e

Browse files
committed
main - 9fb7b1b docs: remove formatting from theming guide headers (#31491)
1 parent 7ab524a commit e92908e

File tree

2 files changed

+31
-31
lines changed

2 files changed

+31
-31
lines changed

docs-content/guides/theming.md.html

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
defining a custom theme. Angular Material’s theming system is inspired by
33
Google’s <a href="https://m3.material.io/styles">Material Design</a>.</p>
44
<p>This guide describes how to set up theming for your application using
5-
Sass APIs introduced in Angular Material v19. </p>
5+
Sass APIs introduced in Angular Material v19.</p>
66
<p>If your application depends on a version before v19, or if your application&#39;s
7-
theme is applied using a theme config created with <code>mat.define-theme</code>,
7+
theme is applied using a theme config created with <code>mat.define-theme</code>,
88
<code>mat.define-light-theme</code>, or <code>mat.define-dark-theme</code>,
9-
then you can refer to the theming guides at
9+
then you can refer to the theming guides at
1010
<a href="https://v18.material.angular.dev/guides">v18.material.angular.dev/guides</a>.</p>
1111

1212
<h2 id="getting-started" class="docs-header-link">
@@ -49,7 +49,7 @@ <h2 id="getting-started" class="docs-header-link">
4949

5050
<h3 id="color" class="docs-header-link">
5151
<span header-link="color"></span>
52-
<strong>Color</strong>
52+
Color
5353
</h3>
5454
<p>The <code>theme</code>‘s color determines the component color styles, such as the fill
5555
color of checkboxes or ripple color of buttons. It depends on color palettes of
@@ -62,7 +62,7 @@ <h3 id="color" class="docs-header-link">
6262

6363
<h4 id="single-color-palette" class="docs-header-link">
6464
<span header-link="single-color-palette"></span>
65-
<em>Single Color Palette</em>
65+
Single Color Palette
6666
</h4>
6767
<p>If you provide a single color palette, Angular Material uses its values for the
6868
theme’s primary, secondary, and tertiary colors. The CSS color values will be
@@ -71,7 +71,7 @@ <h4 id="single-color-palette" class="docs-header-link">
7171

7272
<h4 id="color-map" class="docs-header-link">
7373
<span header-link="color-map"></span>
74-
<em>Color Map</em>
74+
Color Map
7575
</h4>
7676
<p>If you provide a color map, then the tertiary color palette can be configured
7777
separately from the primary palette. The tertiary palette can be used to add a
@@ -107,7 +107,7 @@ <h4 id="color-map" class="docs-header-link">
107107
}</code></pre>
108108
<h3 id="typography" class="docs-header-link">
109109
<span header-link="typography"></span>
110-
<strong>Typography</strong>
110+
Typography
111111
</h3>
112112
<p>The <code>mat.theme</code> ‘s typography determines the text styles used in components,
113113
such as the font for dialog titles or menu list items.</p>
@@ -116,15 +116,15 @@ <h3 id="typography" class="docs-header-link">
116116

117117
<h4 id="single-font-family-value" class="docs-header-link">
118118
<span header-link="single-font-family-value"></span>
119-
<em>Single Font Family Value</em>
119+
Single Font Family Value
120120
</h4>
121121
<p>If you provide a font family, Angular Material uses it for all the text in its
122122
components. The font weights used in components are set to 700 for bold text,
123123
500 for medium text, and 400 for regular text.</p>
124124

125125
<h4 id="typography-map" class="docs-header-link">
126126
<span header-link="typography-map"></span>
127-
<em>Typography Map</em>
127+
Typography Map
128128
</h4>
129129
<p>If you provide a typography map, then distinct font families are set for plain
130130
and brand text. The plain font family is typically used for most of the
@@ -153,7 +153,7 @@ <h4 id="typography-map" class="docs-header-link">
153153
}</code></pre>
154154
<h3 id="density" class="docs-header-link">
155155
<span header-link="density"></span>
156-
<strong>Density</strong>
156+
Density
157157
</h3>
158158
<p>The <code>mat.theme</code> ‘s density value determines the spacing within components, such
159159
as how much padding is used around a button’s text or the height of form fields.</p>
@@ -181,15 +181,15 @@ <h3 id="density" class="docs-header-link">
181181

182182
<h2 id="color-palettes" class="docs-header-link">
183183
<span header-link="color-palettes"></span>
184-
<strong>Color Palettes</strong>
184+
Color Palettes
185185
</h2>
186186
<p>A color palette is a set of similar colors with different hues ranging from
187187
light to dark. The Angular Material theme uses color palettes to create a color
188188
scheme to communicate an application’s hierarchy, state, and brand.</p>
189189

190190
<h3 id="prebuilt-color-palettes" class="docs-header-link">
191191
<span header-link="prebuilt-color-palettes"></span>
192-
<strong>Prebuilt Color Palettes</strong>
192+
Prebuilt Color Palettes
193193
</h3>
194194
<p>Angular Material provides twelve prebuilt color palettes that can be used for
195195
your application’s theme:</p>
@@ -210,7 +210,7 @@ <h3 id="prebuilt-color-palettes" class="docs-header-link">
210210

211211
<h3 id="custom-color-palettes" class="docs-header-link">
212212
<span header-link="custom-color-palettes"></span>
213-
<strong>Custom Color Palettes</strong>
213+
Custom Color Palettes
214214
</h3>
215215
<p>The Angular Material
216216
<a href="https://github.com/angular/components/blob/main/src/material/schematics/ng-generate/theme-color/README.md">palette generation schematic</a>
@@ -220,7 +220,7 @@ <h3 id="custom-color-palettes" class="docs-header-link">
220220
<pre><code>ng generate @angular/material:theme-color</code></pre>
221221
<h2 id="loading-fonts" class="docs-header-link">
222222
<span header-link="loading-fonts"></span>
223-
<strong>Loading Fonts</strong>
223+
Loading Fonts
224224
</h2>
225225
<p>You can use Google Fonts as one option to load fonts in your application. For
226226
example, the following code in an application’s <code>&lt;head&gt;</code> loads the font family
@@ -235,7 +235,7 @@ <h2 id="loading-fonts" class="docs-header-link">
235235

236236
<h2 id="supporting-light-and-dark-mode" class="docs-header-link">
237237
<span header-link="supporting-light-and-dark-mode"></span>
238-
<strong>Supporting Light and Dark Mode</strong>
238+
Supporting Light and Dark Mode
239239
</h2>
240240
<p>By default, the <code>mat.theme</code> mixin defines colors using the CSS color function
241241
<code>light-dark</code> to make it easy for your application to switch between light and
@@ -280,14 +280,14 @@ <h2 id="supporting-light-and-dark-mode" class="docs-header-link">
280280

281281
<h2 id="multiple-themes" class="docs-header-link">
282282
<span header-link="multiple-themes"></span>
283-
<strong>Multiple Themes</strong>
283+
Multiple Themes
284284
</h2>
285285
<p>You can call the <code>mat.theme</code> mixin more than once to apply multiple different
286286
color schemes in your application.</p>
287287

288288
<h3 id="context-specific-themes" class="docs-header-link">
289289
<span header-link="context-specific-themes"></span>
290-
<strong>Context-specific Themes</strong>
290+
Context-specific Themes
291291
</h3>
292292
<p>The following example theme file customizes the theme for components in
293293
different contexts. In this case, a cyan-based palette is applied to a container
@@ -310,7 +310,7 @@ <h3 id="context-specific-themes" class="docs-header-link">
310310
}</code></pre>
311311
<h2 id="using-theme-styles" class="docs-header-link">
312312
<span header-link="using-theme-styles"></span>
313-
<strong>Using Theme Styles</strong>
313+
Using Theme Styles
314314
</h2>
315315
<p>An application’s custom components can use the CSS variables defined by
316316
<code>mat.theme</code> to apply the theme’s colors and typography.</p>
@@ -333,7 +333,7 @@ <h2 id="using-theme-styles" class="docs-header-link">
333333

334334
<h2 id="customizing-tokens" class="docs-header-link">
335335
<span header-link="customizing-tokens"></span>
336-
<strong>Customizing Tokens</strong>
336+
Customizing Tokens
337337
</h2>
338338
<p>Angular Material components also allow for narrowly targeted customization of
339339
specific tokens through the <code>overrides</code> mixins. This enables fine-grained
@@ -345,7 +345,7 @@ <h2 id="customizing-tokens" class="docs-header-link">
345345

346346
<h3 id="system-tokens" class="docs-header-link">
347347
<span header-link="system-tokens"></span>
348-
<strong>System Tokens</strong>
348+
System Tokens
349349
</h3>
350350
<p>System-level tokens can be changed to different values through the
351351
<code>mat.theme-overrides</code> mixin, which will redefine CSS variables that are used in
@@ -383,7 +383,7 @@ <h3 id="system-tokens" class="docs-header-link">
383383
}</code></pre>
384384
<h3 id="component-tokens" class="docs-header-link">
385385
<span header-link="component-tokens"></span>
386-
<strong>Component Tokens</strong>
386+
Component Tokens
387387
</h3>
388388
<p>Each Angular Material component defines an <code>overrides</code> mixin that can be used to
389389
customize tokenized styles for their color, typography, and density.</p>
@@ -402,7 +402,7 @@ <h3 id="component-tokens" class="docs-header-link">
402402
}</code></pre>
403403
<h3 id="direct-style-overrides" class="docs-header-link">
404404
<span header-link="direct-style-overrides"></span>
405-
<strong>Direct Style Overrides</strong>
405+
Direct Style Overrides
406406
</h3>
407407
<p>Angular Material supports customizing color, typography, and density as outlined
408408
in this document. Angular strongly discourages, and does not directly support,
@@ -413,7 +413,7 @@ <h3 id="direct-style-overrides" class="docs-header-link">
413413

414414
<h2 id="shadow-dom" class="docs-header-link">
415415
<span header-link="shadow-dom"></span>
416-
<strong>Shadow DOM</strong>
416+
Shadow DOM
417417
</h2>
418418
<p>Angular Material assumes that, by default, all theme styles are loaded as global
419419
CSS. If you want to use

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@angular/components-examples",
3-
"version": "20.2.0-next.0+sha-c33b86e",
3+
"version": "20.2.0-next.0+sha-9fb7b1b",
44
"description": "Angular Components Examples",
55
"private": true,
66
"repository": {
@@ -259,15 +259,15 @@
259259
},
260260
"homepage": "https://github.com/angular/components#readme",
261261
"peerDependencies": {
262-
"@angular/cdk": "20.2.0-next.0+sha-c33b86e",
263-
"@angular/cdk-experimental": "20.2.0-next.0+sha-c33b86e",
262+
"@angular/cdk": "20.2.0-next.0+sha-9fb7b1b",
263+
"@angular/cdk-experimental": "20.2.0-next.0+sha-9fb7b1b",
264264
"@angular/core": "^20.0.0-0 || ^20.1.0-0 || ^20.2.0-0 || ^20.3.0-0 || ^21.0.0-0",
265265
"@angular/common": "^20.0.0-0 || ^20.1.0-0 || ^20.2.0-0 || ^20.3.0-0 || ^21.0.0-0",
266-
"@angular/material": "20.2.0-next.0+sha-c33b86e",
267-
"@angular/material-experimental": "20.2.0-next.0+sha-c33b86e",
268-
"@angular/material-moment-adapter": "20.2.0-next.0+sha-c33b86e",
269-
"@angular/material-luxon-adapter": "20.2.0-next.0+sha-c33b86e",
270-
"@angular/material-date-fns-adapter": "20.2.0-next.0+sha-c33b86e"
266+
"@angular/material": "20.2.0-next.0+sha-9fb7b1b",
267+
"@angular/material-experimental": "20.2.0-next.0+sha-9fb7b1b",
268+
"@angular/material-moment-adapter": "20.2.0-next.0+sha-9fb7b1b",
269+
"@angular/material-luxon-adapter": "20.2.0-next.0+sha-9fb7b1b",
270+
"@angular/material-date-fns-adapter": "20.2.0-next.0+sha-9fb7b1b"
271271
},
272272
"devDependencies": {
273273
"@angular/cdk": "workspace:*",

0 commit comments

Comments
 (0)