Reconfigured project to use scss (sass, see http://sass-lang.com/guide)) instead of regular css files to support inheritance, variables, etc. in style files. Replaced reference to pre-built bootstrap with a custom build via the sass compiler to enable customization of colors, fonts, etc. (see https://github.com/angular/angular-cli/wiki/stories-include-bootstrap for more details on how to do this). Added custom variable file to play around with this setup.
This commit is contained in:
@@ -5,7 +5,7 @@ import { ConsoleService } from './console.service';
|
||||
@Component({
|
||||
selector: 'app-root',
|
||||
templateUrl: './app.component.html',
|
||||
styleUrls: ['./app.component.css']
|
||||
styleUrls: ['./app.component.scss']
|
||||
})
|
||||
export class AppComponent implements OnInit {
|
||||
title = 'Maptology';
|
||||
|
||||
@@ -5,7 +5,7 @@ import { Observable } from 'rxjs/Observable';
|
||||
@Component({
|
||||
selector: 'app-console',
|
||||
templateUrl: './console.component.html',
|
||||
styleUrls: ['./console.component.css'],
|
||||
styleUrls: ['./console.component.scss'],
|
||||
encapsulation: ViewEncapsulation.None
|
||||
})
|
||||
export class ConsoleComponent implements OnInit {
|
||||
|
||||
@@ -7,7 +7,7 @@ import { User } from '../../api/models/user.model';
|
||||
@Component({
|
||||
selector: 'app-login',
|
||||
templateUrl: './login.component.html',
|
||||
styleUrls: ['./login.component.css'],
|
||||
styleUrls: ['./login.component.scss'],
|
||||
encapsulation: ViewEncapsulation.None
|
||||
})
|
||||
export class LoginComponent implements OnInit {
|
||||
|
||||
@@ -10,7 +10,7 @@ import { HttpErrorResponse } from '@angular/common/http';
|
||||
@Component({
|
||||
selector: 'app-notices',
|
||||
templateUrl: './notices.component.html',
|
||||
styleUrls: ['./notices.component.css'],
|
||||
styleUrls: ['./notices.component.scss'],
|
||||
encapsulation: ViewEncapsulation.None
|
||||
})
|
||||
export class NoticesComponent implements OnInit {
|
||||
|
||||
Reference in New Issue
Block a user