refactor(theme): massive theme refactoring to use mixins instead of variables

This commit is contained in:
nixa 2017-06-08 23:06:33 +03:00
parent 0420354b9c
commit cfeb3cf125
19 changed files with 151 additions and 230 deletions

View file

@ -0,0 +1,7 @@
@import '~@nga/theme/styles_new/all';
@include nga-install-component() {
/deep/ agm-map .agm-map-container-inner {
height: calc(#{nga-theme(card-height-xmedium)} - 50px);
}
}

View file

@ -2,6 +2,7 @@ import { Component } from '@angular/core';
@Component({
selector: 'ngx-gmaps',
styleUrls: ['./gmaps.component.scss'],
templateUrl: './gmaps.component.html',
})
export class GmapsComponent {

View file

@ -1,3 +1,9 @@
:host {
@import '~@nga/theme/styles_new/all';
@include nga-install-component() {
display: block;
/deep/ .leaflet-container {
height: calc(#{nga-theme(card-height-xmedium)} - 50px);
}
}