@paladin884 what do you mean that won't work? What did you try?
Here's me importing a CSS fine directly into less in one of my plugins:
Link Preview Image
nodebb-plugin-calendar/public/calendar.less at 2b9893dad12ee59bce494fe0fb24342f66cf9e67 · pitaj/nodebb-plugin-calendar
Fully-featured calendar plugin for NodeBB. Contribute to pitaj/nodebb-plugin-calendar development by creating an account on GitHub.
favicon
GitHub (github.com)
Then you just need to make sure your less is defined in plugin.json:
Link Preview Image
nodebb-plugin-calendar/plugin.json at 2b9893dad12ee59bce494fe0fb24342f66cf9e67 · pitaj/nodebb-plugin-calendar
Fully-featured calendar plugin for NodeBB. Contribute to pitaj/nodebb-plugin-calendar development by creating an account on GitHub.
favicon
GitHub (github.com)
You can instead just add it to your plugin.json under css like so:
{
...
"css": [
"path/to/stylesheet.css"
]
}
Either of those options will result in it being added to the main css file loaded in header.tpl