build(aio): upgrade to CLI beta.32 and MD beta.2
This commit is contained in:
@ -10,16 +10,16 @@
|
||||
.docs-component-viewer-tabbed-content,
|
||||
.docs-guide-content {
|
||||
h1 {
|
||||
color: md-color($primary, 800);
|
||||
background: rgba(md-color($foreground, secondary-text), .03);
|
||||
color: mat-color($primary, 800);
|
||||
background: rgba(mat-color($foreground, secondary-text), .03);
|
||||
}
|
||||
|
||||
h3, h2, h4, h5, p, ol, li{
|
||||
color: md-color($foreground, secondary-text);
|
||||
color: mat-color($foreground, secondary-text);
|
||||
}
|
||||
|
||||
a {
|
||||
color: md-color($primary);
|
||||
color: mat-color($primary);
|
||||
}
|
||||
|
||||
table {
|
||||
@ -27,17 +27,17 @@
|
||||
}
|
||||
|
||||
table tbody th{
|
||||
border: 1px solid rgba(md-color($foreground, secondary-text), .03);
|
||||
border: 1px solid rgba(mat-color($foreground, secondary-text), .03);
|
||||
}
|
||||
|
||||
td {
|
||||
color: md-color($foreground, secondary-text);
|
||||
border: 1px solid rgba(md-color($foreground, secondary-text), .03);
|
||||
color: mat-color($foreground, secondary-text);
|
||||
border: 1px solid rgba(mat-color($foreground, secondary-text), .03);
|
||||
}
|
||||
|
||||
th {
|
||||
color: md-color($foreground, secondary-text);
|
||||
background: rgba(md-color($foreground, secondary-text), .03);
|
||||
color: mat-color($foreground, secondary-text);
|
||||
background: rgba(mat-color($foreground, secondary-text), .03);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -23,7 +23,7 @@
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.md-tab-body-wrapper h2 {
|
||||
.mat-tab-body-wrapper h2 {
|
||||
margin-top: 0px;
|
||||
}
|
||||
|
||||
|
@ -4,15 +4,15 @@
|
||||
|
||||
|
||||
// Include material core styles.
|
||||
@include md-core();
|
||||
@include mat-core();
|
||||
@include docs-site-typography();
|
||||
|
||||
|
||||
// Define the light theme.
|
||||
$primary: md-palette($md-cyan);
|
||||
$accent: md-palette($md-amber, A200, A100, A400);
|
||||
$primary: mat-palette($mat-cyan);
|
||||
$accent: mat-palette($mat-amber, A200, A100, A400);
|
||||
|
||||
$theme: md-light-theme($primary, $accent);
|
||||
$theme: mat-light-theme($primary, $accent);
|
||||
@include angular-material-theme($theme);
|
||||
|
||||
body {
|
||||
@ -20,7 +20,7 @@ body {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
[md-button], [md-raised-button] {
|
||||
[md-button], [md-raised-button], [mat-button], [mat-raised-button] {
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
|
@ -3,20 +3,20 @@
|
||||
|
||||
// Include the base styles for Angular Material core. We include this here so that you only
|
||||
// have to load a single css file for Angular Material in your app.
|
||||
@include md-core();
|
||||
@include mat-core();
|
||||
|
||||
|
||||
// Define the palettes for your theme using the Material Design palettes available in palette.scss
|
||||
// (imported above). For each palette, you can optionally specify a default, lighter, and darker
|
||||
// hue.
|
||||
$ng-io-primary: md-palette($md-indigo);
|
||||
$ng-io-accent: md-palette($md-pink, A200, A100, A400);
|
||||
$ng-io-primary: mat-palette($mat-indigo);
|
||||
$ng-io-accent: mat-palette($mat-pink, A200, A100, A400);
|
||||
|
||||
// The warn palette is optional (defaults to red).
|
||||
$ng-io-warn: md-palette($md-red);
|
||||
$ng-io-warn: mat-palette($mat-red);
|
||||
|
||||
// Create the theme object (a Sass map containing all of the palettes).
|
||||
$ng-io-theme: md-light-theme($ng-io-primary, $ng-io-accent, $ng-io-warn);
|
||||
$ng-io-theme: mat-light-theme($ng-io-primary, $ng-io-accent, $ng-io-warn);
|
||||
|
||||
// Include theme styles for core and each component used in your app.
|
||||
// Alternatively, you can import and @include the theme mixins for each component
|
||||
|
Reference in New Issue
Block a user