-
Notifications
You must be signed in to change notification settings - Fork 27
/
_common.scss
35 lines (26 loc) · 1.49 KB
/
_common.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// This file contains variables considered to be part of the outward-facing API
// of this library, to be used by consuming apps for one-off components that
// still need to be consistent with our overall patterns. This variable set should be
// added to over time but kept minimal to reduce maitainence bloat
$puppet-common-font-path: './fonts' !default;
// Most elements share a common border radius
$puppet-common-border-radius: 4px !default;
// Element spacing should be multiples of this base.
$puppet-common-spacing-base: 4px;
// Often used border dividing content
$puppet-common-border: 1px solid $puppet-n400 !default;
$puppet-common-border-subtle: 1px solid $puppet-n300 !default;
// Often used content backgrounds
$puppet-common-bg: $puppet-white !default;
$puppet-common-bg-subtle: $puppet-n300 !default;
// Common focused element outline, implemented as a box shadow
$puppet-common-focus-outline: 0 0 0 2px $puppet-b300 !default;
$puppet-common-focus-outline-inset: inset $puppet-common-focus-outline !default;
$puppet-common-disabled-opacity: 0.4;
$puppet-common-elevation-50: 1px 1px 2px rgba($puppet-black, 0.08);
$puppet-common-elevation-100: 1px 1px 2px rgba($puppet-black, 0.16);
$puppet-common-elevation-150: 2px 2px 4px rgba($puppet-black, 0.16);
$puppet-common-elevation-200: 2px 2px 8px rgba($puppet-black, 0.16);
$puppet-common-elevation-400: 8px 8px 16px rgba($puppet-black, 0.16);
$puppet-common-elevation-800: 8px 8px 32px rgba($puppet-black, 0.16);
$puppet-common-transition-duration: 0.6s;