Skip to content

Commit

Permalink
fix(sass): Provide a SASS function to convert from hex color value to…
Browse files Browse the repository at this point in the history
… rgb string

closes #58
  • Loading branch information
leifoolsen committed Jun 23, 2016
1 parent 7d37a8f commit 7ff4cfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/_functions.scss
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@
/// @return {String} the rgb string value
///
/// Usage: $color-primary: hex-to-string(#333);
@function hex-to-string($hexColor) {
@function hex-to-rgb-string($hexColor) {
// 0.999999 val in alpha actually compiles to 1.0
$rgbaVal: inspect(rgba($hexColor,0.9999999));

Expand Down

0 comments on commit 7ff4cfe

Please sign in to comment.