Skip to content

Commit eddc6af

Browse files
Merge branch 'hotfix-typo' into develop
2 parents 9ada2f5 + b4ae0dd commit eddc6af

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"description": "SassDoc's default theme",
44
"title": "SassDoc Default Theme",
55
"author": "SassDoc team",
6-
"version": "2.0.4",
6+
"version": "2.0.5",
77
"keywords": [
88
"sassdoc-theme"
99
],

src/swig.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const yiqContrast = rgb =>
3838
const getChannel = (start, hex) =>
3939
parseInt(hex.substr(start, 2), 16);
4040

41-
const hexTorgb = hex =>
41+
const hexToRgb = hex =>
4242
[0, 2, 4].map(x => getChannel(x, hex));
4343

4444
const colorToHex = color =>

0 commit comments

Comments
 (0)