Skip to content

Commit 422f9e8

Browse files
Stephan OrbaughStephan Orbaugh
Stephan Orbaugh
authored and
Stephan Orbaugh
committed
move custom styles completely to webpack encore and delete the old static css file
1 parent 0e9c504 commit 422f9e8

File tree

3 files changed

+24
-25
lines changed

3 files changed

+24
-25
lines changed

assets/styles/app.css

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
:root {
2+
--sidebar-bg: #0693e3;
3+
--sidebar-menu-color: #fff;
4+
--sidebar-logo-color: #fff;
5+
--sidebar-menu-header-color: #fff;
6+
--sidebar-menu-icon-color: #fff;
7+
--sidebar-menu-submenu-color: #fff;
8+
--sidebar-menu-active-item-color: #000;
9+
--sidebar-menu-active-item-bg: #fff;
10+
11+
--link-color: #0693e3;
12+
13+
--pagination-active-bg: #0693e3;
14+
15+
--font-family-base: "M PLUS 1", "Open Sans", sans-serif;
16+
--form-type-check-input-checked-bg: #0693e3;
17+
18+
--button-primary-bg: #0693e3;
19+
20+
--form-switch-checked-bg: #0693e3;
21+
22+
--badge-boolean-true-bg: #0693e3;
23+
}

public/css/admin.css

-23
This file was deleted.

src/Controller/Admin/DashboardController.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,7 @@ public function configureActions(): Actions
6969
public function configureAssets(): Assets
7070
{
7171
return parent::configureAssets()
72-
->addWebpackEncoreEntry('app')
73-
->addCssFile('css/admin.css'); // TODO: Change the autogenerated stub
72+
->addWebpackEncoreEntry('app');
7473
}
7574

7675
public function configureCrud(): Crud

0 commit comments

Comments
 (0)