tailwindcss/tests/plugins/caretColor.test.js

24 lines
411 B
JavaScript
Raw Permalink Normal View History

import { quickPluginTest } from '../util/run'
quickPluginTest('caretColor', {
safelist: [
// Arbitrary values
'caret-[#0088cc]',
'caret-[var(--my-value)]',
],
theme: {
colors: {
transparent: 'transparent',
black: '#000',
red: {
100: '#fee2e2',
200: '#fecaca',
},
},
opacity: {
0: '0',
50: '.5',
},
},
}).toMatchSnapshot()