pebble/devsite/source/_sass/base/_variables.scss
2025-02-24 18:58:29 -08:00

61 lines
1.9 KiB
SCSS

/**
* Copyright 2025 Google LLC
*
* 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.
*/
// Typography
$sans-serif: 'Open Sans';
$serif: $georgia;
$monospace: 'Inconsolata';
$base-font-family: $sans-serif;
$header-font-family: $base-font-family;
// Sizes
$base-font-size: 15px;
$base-line-height: 1.4 * $base-font-size;
$unitless-line-height: 1.4; // Strip units from line-height: https://developer.mozilla.org/en-US/docs/Web/CSS/line-height#Prefer_unitless_numbers_for_line-height_values
$header-line-height: 1.3;
$base-border-radius: em(3);
// Background Color
$base-background-color: #fff;
// Font Colors
$base-font-color: $gray-03;
$base-accent-color: $lightblue;
// Link Colors
$base-link-color: $base-accent-color;
$hover-link-color: darken($base-accent-color, 15);
$base-button-color: $base-link-color;
$hover-button-color: $hover-link-color;
// Border color
$base-border-color: $gray-03;
// Flash Colors
$alert-color: $yellow;
$error-color: $red;
$notice-color: $yellow;
$success-color: $green;
// Forms
$form-border-color: $base-border-color;
$form-border-color-hover: darken($base-border-color, 10);
$form-border-color-focus: $base-accent-color;
$form-border-radius: $base-border-radius;
$form-box-shadow: inset 0 1px 3px rgba(0,0,0,0.06);
$form-box-shadow-focus: $form-box-shadow, 0 0 5px rgba(darken($form-border-color-focus, 5), 0.7);
$form-font-size: $base-font-size;
$form-font-family: $base-font-family;