(e, borderWidths, prefix)
| 22 | }, {}); |
| 23 | |
| 24 | const generateStrokeWidth = (e, borderWidths, prefix) => |
| 25 | Object.keys(borderWidths).reduce((acc, key) => { |
| 26 | if (typeof borderWidths[key] === "string") { |
| 27 | return { |
| 28 | ...acc, |
| 29 | [`${prefix}-${e(key)}`]: { |
| 30 | "-webkit-text-stroke-width": borderWidths[key], |
| 31 | }, |
| 32 | }; |
| 33 | } |
| 34 | |
| 35 | return acc; |
| 36 | }, {}); |
| 37 | |
| 38 | module.exports = plugin(({ e, addUtilities, theme, variants }) => { |
| 39 | const colors = theme("colors"); |