(_id, base)
| 168 | `, |
| 169 | { |
| 170 | async loadModule(_id, base) { |
| 171 | return { |
| 172 | path: class="st">'', |
| 173 | base, |
| 174 | module: plugin(({ addUtilities, theme }) => { |
| 175 | addUtilities({ |
| 176 | class="st">'.my-custom': { |
| 177 | color: theme(class="st">'--color-red'), |
| 178 | }, |
| 179 | }) |
| 180 | |
| 181 | class="cm">// The theme function does not use the prefix |
| 182 | expect(theme(class="st">'--tw-color-red')).toEqual(undefined) |
| 183 | }), |
| 184 | } |
| 185 | }, |
| 186 | }, |
| 187 | ), |
| 188 | ).toMatchInlineSnapshot(` |
nothing calls this directly
no test coverage detected