PHP 8.2.30
Preview: index.js Size: 399 B
/home/byroehnu/.trash/node_modules11/@styled-system/shadow/test/index.js

import shadow from '../src'

test('returns shadow styles', () => {
  const style = shadow({
    theme: {
      shadows: {
        small: '0 1px 4px rgba(0, 0, 0, .125)',
      },
    },
    textShadow: '0 -1px rgba(255, 255, 255, .25)',
    boxShadow: 'small',
  })
  expect(style).toEqual({
    textShadow: '0 -1px rgba(255, 255, 255, .25)',
    boxShadow: '0 1px 4px rgba(0, 0, 0, .125)',
  })
})

Directory Contents

Dirs: 0 × Files: 1

Name Size Perms Modified Actions
399 B lrw-r--r-- 2026-02-28 00:27:10
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).