Skip to content

Commit

Permalink
Merge pull request #31 from GabeWeiss/blue_hair
Browse files Browse the repository at this point in the history
Adding an option for blue hair to the avataar generator component
  • Loading branch information
fangpenlin authored Aug 15, 2021
2 parents 086177f + 2036325 commit 4e224cd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dist/avatar/top/HairColor.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ var BlondeGolden = makeColor('BlondeGolden', '#D6B370');
var Brown = makeColor('Brown', '#724133');
var BrownDark = makeColor('BrownDark', '#4A312C');
var PastelPink = makeColor('PastelPink', '#F59797');
var Blue = makeColor('Blue', '#000fdb')
var Platinum = makeColor('Platinum', '#ECDCBF');
var Red = makeColor('Red', '#C93305');
var SilverGray = makeColor('SilverGray', '#E8E1E1');
Expand All @@ -59,6 +60,7 @@ var HairColor = /** @class */ (function (_super) {
React.createElement(Brown, { maskID: this.props.maskID }),
React.createElement(BrownDark, { maskID: this.props.maskID }),
React.createElement(PastelPink, { maskID: this.props.maskID }),
React.createElement(Blue, { maskID: this.props.maskID }),
React.createElement(Platinum, { maskID: this.props.maskID }),
React.createElement(Red, { maskID: this.props.maskID }),
React.createElement(SilverGray, { maskID: this.props.maskID })));
Expand Down
2 changes: 2 additions & 0 deletions src/avatar/top/HairColor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ const BlondeGolden = makeColor('BlondeGolden', '#D6B370')
const Brown = makeColor('Brown', '#724133')
const BrownDark = makeColor('BrownDark', '#4A312C')
const PastelPink = makeColor('PastelPink', '#F59797')
const Blue = makeColor('Blue', '#000fdb')
const Platinum = makeColor('Platinum', '#ECDCBF')
const Red = makeColor('Red', '#C93305')
const SilverGray = makeColor('SilverGray', '#E8E1E1')
Expand All @@ -49,6 +50,7 @@ export default class HairColor extends React.Component<Props> {
<Brown maskID={this.props.maskID} />
<BrownDark maskID={this.props.maskID} />
<PastelPink maskID={this.props.maskID} />
<Blue maskID={this.props.maskID} />
<Platinum maskID={this.props.maskID} />
<Red maskID={this.props.maskID} />
<SilverGray maskID={this.props.maskID} />
Expand Down

0 comments on commit 4e224cd

Please sign in to comment.