Skip to content

Commit 5804a99

Browse files
committed
Quote all config values for consistency
Without this we are relying on implicit string conversion for no benefit.
1 parent a92faee commit 5804a99

File tree

1 file changed

+26
-26
lines changed

1 file changed

+26
-26
lines changed

stubs/defaultConfig.stub.js

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -191,23 +191,23 @@ module.exports = {
191191
'6xl': '4rem',
192192
},
193193
fontWeight: {
194-
hairline: 100,
195-
thin: 200,
196-
light: 300,
197-
normal: 400,
198-
medium: 500,
199-
semibold: 600,
200-
bold: 700,
201-
extrabold: 800,
202-
black: 900,
194+
hairline: '100',
195+
thin: '200',
196+
light: '300',
197+
normal: '400',
198+
medium: '500',
199+
semibold: '600',
200+
bold: '700',
201+
extrabold: '800',
202+
black: '900',
203203
},
204204
lineHeight: {
205-
none: 1,
206-
tight: 1.25,
207-
snug: 1.375,
208-
normal: 1.5,
209-
relaxed: 1.625,
210-
loose: 2,
205+
none: '1',
206+
tight: '1.25',
207+
snug: '1.375',
208+
normal: '1.5',
209+
relaxed: '1.625',
210+
loose: '2',
211211
},
212212
letterSpacing: {
213213
tighter: '-0.05em',
@@ -355,12 +355,12 @@ module.exports = {
355355
},
356356
zIndex: {
357357
auto: 'auto',
358-
'0': 0,
359-
'10': 10,
360-
'20': 20,
361-
'30': 30,
362-
'40': 40,
363-
'50': 50,
358+
'0': '0',
359+
'10': '10',
360+
'20': '20',
361+
'30': '30',
362+
'40': '40',
363+
'50': '50',
364364
},
365365
opacity: {
366366
'0': '0',
@@ -382,12 +382,12 @@ module.exports = {
382382
none: 'none',
383383
},
384384
flexGrow: {
385-
'0': 0,
386-
default: 1,
385+
'0': '0',
386+
default: '1',
387387
},
388388
flexShrink: {
389-
'0': 0,
390-
default: 1,
389+
'0': '0',
390+
default: '1',
391391
},
392392
order: {
393393
first: '-1',
@@ -412,7 +412,7 @@ module.exports = {
412412
decimal: 'decimal',
413413
},
414414
inset: {
415-
'0': 0,
415+
'0': '0',
416416
auto: 'auto',
417417
},
418418
container: {}

0 commit comments

Comments
 (0)