Skip to content

Commit

Permalink
Simplify scales for scale and rotate
Browse files Browse the repository at this point in the history
  • Loading branch information
adamwathan committed Dec 25, 2019
1 parent 5335df2 commit 02ed29e
Showing 1 changed file with 7 additions and 19 deletions.
26 changes: 7 additions & 19 deletions stubs/defaultConfig.stub.js
Original file line number Diff line number Diff line change
Expand Up @@ -428,36 +428,24 @@ module.exports = {
},
scale: {
'0': '0',
'10': '.1',
'20': '.2',
'30': '.3',
'40': '.4',
'50': '.5',
'60': '.6',
'70': '.7',
'80': '.8',
'75': '.75',
'90': '.9',
'95': '.95',
'100': '1',
'105': '1.05',
'110': '1.1',
'120': '1.2',
'130': '1.3',
'140': '1.4',
'125': '1.25',
'150': '1.5',
'160': '1.6',
'170': '1.7',
'180': '1.8',
'190': '1.9',
'200': '2',
},
rotate: {
'-180': '-180deg',
'-90': '-90deg',
'-45': '-45deg',
'0': '0',
'45': '45deg',
'90': '90deg',
'135': '135deg',
'180': '180deg',
'225': '225deg',
'270': '270deg',
'315': '315deg',
},
translate: theme => theme('spacing'),
},
Expand Down

0 comments on commit 02ed29e

Please sign in to comment.