File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ export default class App extends Component {
1212 this . state = {
1313 currentTab : "single" ,
1414 config : genConfig ( { hairColorRandom : true } ) ,
15- theme : window . matchMedia && window . matchMedia ( "(prefers-color-scheme: dark)" ) . matches && ' dark' || "light"
15+ theme : window . matchMedia && window . matchMedia ( "(prefers-color-scheme: dark)" ) . matches && " dark" || "light"
1616 } ;
1717 }
1818
Original file line number Diff line number Diff line change @@ -9,7 +9,9 @@ export interface AvatarConfig {
99 faceColor ?: string ,
1010 earSize ?: 'small' | 'big' ,
1111 hairColor ?: string ,
12- hairStyle ?: 'normal' | 'thick' | 'mohawk' | 'womanLong' | 'womanShort' | 'beanie' | 'turban' ,
12+ hairStyle ?: 'normal' | 'thick' | 'mohawk' | 'womanLong' | 'womanShort' ,
13+ hatColor ?: string ,
14+ hatStyle ?: 'beanie' | 'turban' | 'none' ,
1315 eyeStyle ?: 'circle' | 'oval' | 'smile' ,
1416 glassesStyle ?: 'round' | 'square' | 'none' ,
1517 noseStyle ?: 'short' | 'long' | 'round' ,
You can’t perform that action at this time.
0 commit comments