Open JasperSurmont opened 2 years ago
putting a twind.config.ts
and export default
works for me
the default location is not sensed by the plugin, i guess
/** @type {import('twind').Configuration} */
export default {
darkMode: "class",
mode: "silent",
theme: {
colors: {
primary: '#6392E7',
},
},
};
In the automatically generated twind config file I add the following
extend
:In a component I do:
The result is that the compiler correctly compiles the tailwind, but the vscode extension marks
font-hairline
as an error saying: Unknown utility "font-hairline"ts(-2020) Unknown theme value "fontWeight[hairline]"ts(-2022)Is this a bug or did I do something wrong?