refactor(@theme): refactor style system

This commit is contained in:
tibing 2017-04-18 19:12:29 +03:00
parent e0f79206bb
commit 0992b52b24
14 changed files with 214 additions and 113 deletions

View 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();
}

View file

@ -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);

View file

@ -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();

View file

@ -1 +1 @@
@import "pure/pure.theme";
@import 'pure/pure.theme';