mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-27 04:38:49 +01:00
refactor(@theme): refactor style system
This commit is contained in:
parent
e0f79206bb
commit
0992b52b24
14 changed files with 214 additions and 113 deletions
7
src/app/@theme/styles/pure/_pure.components.scss
Normal file
7
src/app/@theme/styles/pure/_pure.components.scss
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
@import '../../layouts/base-header/base-header.component.theme';
|
||||
@import '../../search-input/search-input.component.theme';
|
||||
|
||||
@mixin custom-components-theme() {
|
||||
@include base-header-theme();
|
||||
@include search-input-theme();
|
||||
}
|
||||
|
|
@ -21,10 +21,15 @@ $nga-user-picture-background: $nga-color-default;
|
|||
|
||||
$nga-sidebar-background: $nga-background;
|
||||
$nga-sidebar-width: 16.25rem;
|
||||
$nga-sidebar-width-compact: 3.45rem;
|
||||
|
||||
:host /deep/ {
|
||||
color: $nga-color-default;
|
||||
|
||||
input {
|
||||
color: $nga-color-default;
|
||||
}
|
||||
|
||||
nga-layout {
|
||||
nga-layout-header > nav {
|
||||
box-shadow: 0 4px 12px 0 rgba(33, 57, 161, 0.08);
|
||||
|
|
@ -1,5 +1,6 @@
|
|||
@import '~@nga/theme/styles/themes/nga.theme.default';
|
||||
|
||||
@import 'pure.components';
|
||||
@import 'pure.redefines';
|
||||
|
||||
@include nga-theme();
|
||||
@include custom-components-theme();
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
@import "pure/pure.theme";
|
||||
@import 'pure/pure.theme';
|
||||
Loading…
Add table
Add a link
Reference in a new issue