Files
threshold-ui/addons/rose/app/styles/rose/_typography.scss
T
hashicorp-copywrite[bot]andCameron Perera 3d610427d0 [COMPLIANCE] Add Copyright and License Headers (#1617)
* [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>
2023-03-01 09:39:41 -06:00

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;
}