MCPcopy Create free account
hub / github.com/dailydotdev/apps / build

Function build

packages/shared/tailwind/hover.spec.ts:5–11  ·  view source on GitHub ↗
(classes: string)

Source from the content-addressed store, hash-verified

3import config from '../tailwind.config';
4
5const build = async (classes: string): Promise<string> => {
6 const result = await postcss([
7 tailwindcss({ ...config, content: [{ raw: `<div class="${classes}">` }] }),
8 ]).process('@tailwind utilities;', { from: undefined });
9
10 return result.css;
11};
12
13describe('hover variant', () => {
14 it('is hover with a pointer and the pressed state on touch', async () => {

Callers 1

hover.spec.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected