Skip to content

Commit

Permalink
1.9.9.5~1.9.9.6あたりで作成したアイコンリストにおいて一部色(黒・白)のアイコン色が引き継げない不具合修正
Browse files Browse the repository at this point in the history
  • Loading branch information
yhira committed Nov 27, 2019
1 parent f1d4be1 commit 1d4d944
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dist/blocks.build.js

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions src/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -210,9 +210,15 @@ export function colorValueToSlug(color){
case '#333333':
return 'black';
break;
case '#333':
return 'black';
break;
case '#ffffff':
return 'white';
break;
case '#fff':
return 'white';
break;
default:
//return 'color--' + color.replace('#', '');
break;
Expand Down

0 comments on commit 1d4d944

Please sign in to comment.