Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit e8f1113

Browse files
Splaktarjelbourn
authored andcommitted
docs(theming): fix invalid JSDoc syntax (#11371)
Relates to #10044
1 parent 03e7c22 commit e8f1113

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

src/core/services/theming/theming.js

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -637,9 +637,10 @@ function ThemingProvider($mdColorPalette, $$mdMetaProvider) {
637637
* You can disable this in the configuration section using the
638638
* `$mdThemingProvider.generateThemesOnDemand(true);`
639639
*
640-
* The theme name that is passed in must match the name of the theme that was defined as part of the configuration block.
640+
* The theme name that is passed in must match the name of the theme that was defined as part of
641+
* the configuration block.
641642
*
642-
* @param name {string} theme name to generate
643+
* @param {string} name theme name to generate
643644
*/
644645

645646
/**
@@ -650,9 +651,11 @@ function ThemingProvider($mdColorPalette, $$mdMetaProvider) {
650651
* <a href="https://developers.google.com/web/fundamentals/design-and-ui/browser-customization/theme-color">
651652
* Web Fundamentals</a>.
652653
* @param {object=} options Options for the browser color, which include:<br/>
653-
* - `theme` - `{string}`: A defined theme via `$mdThemeProvider` to use the palettes from. Default is `default` theme. <br/>
654-
* - `palette` - `{string}`: Can be any one of the basic material design palettes, extended defined palettes, or `primary`,
655-
* `accent`, `background`, and `warn`. Default is `primary`.<br/>
654+
* - `theme` - `{string}`: A defined theme via `$mdThemeProvider` to use the palettes from.
655+
* Default is `default` theme. <br/>
656+
* - `palette` - `{string}`: Can be any one of the basic material design palettes, extended
657+
* defined palettes, or `primary`, `accent`, `background`, and `warn`. Default is `primary`.
658+
* <br/>
656659
* - `hue` - `{string}`: The hue from the selected palette. Default is `800`.<br/>
657660
* @returns {function} Function that removes the browser coloring when called.
658661
*/

0 commit comments

Comments
 (0)