add new skin color
Closed this issue · 3 comments
Deleted user commented
Is it possible to add new theme skin in local project? I want to add teal color but it seems something is missing. What I've tried
- create skin-teal.less and skin-teal-light.less file
- add
@import "skin-teal.less"; @import "skin-teal-light.less";
to the _all-skins.less. - compile those file to css and add them in dist/css folder
Any help would be appreciate
githubjeka commented
3 wrong
should be: compile main.css and add it in @webroot/css/
folder
4. in main AppAsset class change css:
class AppAsset extends AssetBundle
{
public $basePath = '@webroot';
public $baseUrl = '@web';
public function init()
{
$this->css = [
'css/main.css',
// ....
];
}
// ....
}
Deleted user commented
thanks. I'll try it.
schmunk42 commented
Customization can be done in various ways. PRs with documentation about that are welcome.
Closing since it's not an issue with yii2-adminlte-asset
.