Closed Bjoern3003 closed 4 years ago
Can you explain why that would be beneficial? If you write a bundle, you need to provide pre-compiled css, that you can include in your own templates. And you can add code to the complete application via hooks already. Or via the CustomCSS-Bundle if it is only for yourself. Recompiling the application files would only bring merge problems during the next update.
You can hook into the ThemeEvent::HTML_HEAD
and add a line for your own css file.
See https://github.com/kevinpapst/kimai2/blob/master/src/Event/ThemeEvent.php#L19
How you create the CSS file is up to you. You can use a SCSS compiler and import the kimai css files, if you want to re-use existing variables.
But I will not provide a way for custom scss.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. If you use Kimai on a daily basis, please consider donating to support further development of Kimai.
I know about the CustomCSS Plugin. But this is inject inline code and where not compiled by sass.
I think it could be nice, to support a custom.scss File in kimai to add some custom code, who can overwrite the default one.