* [COMPLIANCE] Add Copyright and License Headers * chore: 🤖 update Copyright headers to satisfy our lint rules --------- Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com> Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com>
71 lines
1.1 KiB
SCSS
71 lines
1.1 KiB
SCSS
/**
|
|
* Copyright (c) HashiCorp, Inc.
|
|
* SPDX-License-Identifier: MPL-2.0
|
|
*/
|
|
|
|
@use 'variables/typography';
|
|
@use 'variables/sizing';
|
|
@use 'utilities/type' as type-mixins;
|
|
|
|
html {
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
|
|
body {
|
|
font-family: typography.$family-primary;
|
|
|
|
// This is the only time we'll explicitly use pixels. All other sizes are
|
|
// expressed in rem units.
|
|
font-size: typography.$base-font-size * 1px;
|
|
line-height: typography.line-height(m);
|
|
color: var(--stark);
|
|
background-color: var(--subtle);
|
|
}
|
|
|
|
input,
|
|
textarea,
|
|
button {
|
|
font-family: typography.$family-primary;
|
|
}
|
|
|
|
pre,
|
|
code {
|
|
font-family: typography.$family-monospace;
|
|
}
|
|
|
|
h1,
|
|
.h1 {
|
|
@include type-mixins.type(h1, bold);
|
|
|
|
margin-top: sizing.rems(m);
|
|
margin-bottom: sizing.rems(xs);
|
|
}
|
|
|
|
h2,
|
|
.h2 {
|
|
@include type-mixins.type(h2, bold);
|
|
|
|
margin-top: sizing.rems(m);
|
|
margin-bottom: sizing.rems(xs);
|
|
}
|
|
|
|
h3,
|
|
.h3 {
|
|
@include type-mixins.type(h3, bold);
|
|
|
|
margin-top: sizing.rems(m);
|
|
margin-bottom: sizing.rems(xs);
|
|
}
|
|
|
|
p {
|
|
margin-bottom: sizing.rems(m);
|
|
}
|
|
|
|
a {
|
|
color: var(--action);
|
|
}
|
|
|
|
time {
|
|
font-variant-numeric: tabular-nums;
|
|
}
|