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

docs(colors): update docs to fit the new api #8603

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/components/colors/colors.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
* @name $mdColors#applyThemeColors
*
* @description
* Convert the color expression into an object with scope-interpolated values
* Gets a color json object, keys are css properties and values are string of the wanted color
* Then calculate the rgba() values based on the theme color parts
*
* @param {DOMElement} element the element to apply the styles on.
Expand All @@ -71,7 +71,7 @@
* return {
* ...
* link: function (scope, elem) {
* $mdColors.applyThemeColors(elem, scope, {color: 'red'});
* $mdColors.applyThemeColors(elem, {color: 'red'});
* }
* }
* });
Expand Down