_variables.scss 1.4 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
// Copyright 2015 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

15 16 17 18 19 20 21
// Function
//-- Must be defined before variables
@function rem($multiplier) {
  $font-size: 10px;
  @return $multiplier * $font-size;
}

22
$headline-font-size-base:  rem(2.4) !default;
23
$subhead-font-size-base:   rem(1.6) !default;
B
bryk 已提交
24 25
$body-font-size-base:      rem(1.4) !default;
$caption-font-size-base:   rem(1.2) !default;
26

B
bryk 已提交
27
$primary: #326de6;
28
$warning: #ffa500;
B
bryk 已提交
29 30 31 32 33 34
$delicate: #aaa;
$muted: #888;
$hover-primary: #1254df;
$body: #eee;
$emphasis: #000;
$content-background: #fff;
35 36

// TODO(bryk): Get those variables from Angular Material scss files.
B
bryk 已提交
37 38 39
$foreground-1: rgba(0, 0, 0, .87);
$foreground-2: rgba(0, 0, 0, .54);

40
$regular-font-weight: 400;
B
bryk 已提交
41

42 43 44
$layout-breakpoint-lg: 1280px;
$whiteframe-shadow-1dp: 0 1px 3px 0 rgba(0, 0, 0, .2), 0 1px 1px 0 rgba(0, 0, 0, .14), 0 2px 1px -1px rgba(0, 0, 0, .12);
$baseline-grid: 8px;