Skip to content

Commit

Permalink
refactor(mapping): spinner mappings refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
32penkin committed Aug 19, 2019
1 parent 1549436 commit d59033a
Showing 1 changed file with 32 additions and 20 deletions.
52 changes: 32 additions & 20 deletions packages/eva/mapping.json
Original file line number Diff line number Diff line change
Expand Up @@ -2067,6 +2067,12 @@
},
"danger": {
"default": false
},
"white": {
"default": false
},
"black": {
"default": false
}
},
"size": {
Expand Down Expand Up @@ -2111,38 +2117,44 @@
},
"danger": {
"borderColor": "color-danger-default"
},
"white": {
"borderColor": "border-basic-color-1"
},
"black": {
"borderColor": "border-alternative-color-1"
}
},
"size": {
"giant": {
"width": 56,
"height": 56,
"borderWidth": 5,
"borderRadius": 28
"width": 32,
"height": 32,
"borderWidth": 4.5,
"borderRadius": 16
},
"large": {
"width": 48,
"height": 48,
"borderWidth": 4.5,
"borderRadius": 24
"width": 28,
"height": 28,
"borderWidth": 3.9,
"borderRadius": 14
},
"medium": {
"width": 40,
"height": 40,
"borderWidth": 4,
"borderRadius": 20
"width": 24,
"height": 24,
"borderWidth": 3.4,
"borderRadius": 12
},
"small": {
"width": 32,
"height": 32,
"borderWidth": 3.5,
"borderRadius": 16
"width": 20,
"height": 20,
"borderWidth": 2.8,
"borderRadius": 10
},
"tiny": {
"width": 24,
"height": 24,
"borderWidth": 3,
"borderRadius": 12
"width": 16,
"height": 16,
"borderWidth": 2.3,
"borderRadius": 8
}
}
}
Expand Down

0 comments on commit d59033a

Please sign in to comment.