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

Commit

Permalink
docs(colors): update docs to fit the new api
Browse files Browse the repository at this point in the history
fixes #8473

Closes #8603
  • Loading branch information
EladBezalel authored and ThomasBurleson committed Jun 1, 2016
1 parent 5615d06 commit b487834
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit b487834

Please sign in to comment.