Merge a02acb94bd into fa81d697fe
This commit is contained in:
commit
daa6e86c10
2 changed files with 2 additions and 2 deletions
|
|
@ -141,7 +141,7 @@ test('config values can be merged into the theme', () => {
|
|||
expect(theme.resolve('1/2', ['--width'])).toEqual('60%')
|
||||
expect(theme.resolve('0.5', ['--width'])).toEqual('60%')
|
||||
expect(theme.resolve('100%', ['--width'])).toEqual('100%')
|
||||
expect(theme.resolve('9xs', ['--container'])).toEqual('6rem')
|
||||
expect(theme.resolve('9xs', ['--max-width'])).toEqual('6rem')
|
||||
expect(theme.resolve('fast', ['--ease'])).toEqual('cubic-bezier(0, 0.55, 0.45, 1)')
|
||||
|
||||
expect(theme.get(['--border'])).toEqual(null)
|
||||
|
|
|
|||
|
|
@ -167,7 +167,7 @@ const OLD_TO_NEW_NAMESPACE: Record<string, string> = {
|
|||
fontSize: 'text',
|
||||
letterSpacing: 'tracking',
|
||||
lineHeight: 'leading',
|
||||
maxWidth: 'container',
|
||||
maxWidth: 'max-width',
|
||||
screens: 'breakpoint',
|
||||
transitionTimingFunction: 'ease',
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue