vault/ui/app/styles/core/title.scss
claire bontempo 7f03393630
UI: Increase base font size (#23994)
* fix button padding

* rename spacing variables using numerical values

* fix toggle aligment

* remove unused toggle classes

* replace margin and padding with spacing vars

* increase base font size

* remove switch css, use toggle consistently

* remaining margin/padding size vars to spacing pixels

* add deprecated note, rever changes to size vars

* decrease console size

* remove function

* adjust card size for small selectable cards

* fix select to fit to content width

* fix toolbar-scroller height

* add changelog;

* fix checkbox styling
2023-11-13 21:29:39 +00:00

65 lines
919 B
SCSS

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: BUSL-1.1
*/
// This file styles the following styles: title, subtitle, form-section.title and title sizes
.title:not(:last-child),
.subtitle:not(:last-child) {
display: block;
margin-bottom: 1rem;
}
.title {
color: hsl(0, 0%, 21%);
font-size: 2rem;
font-weight: $font-weight-bold;
line-height: 1.125;
word-break: break-word;
> a {
color: $black;
text-decoration: none;
}
// title sizes
&.is-2 {
font-size: $size-2;
}
&.is-3 {
font-size: $size-3;
}
&.is-4 {
font-size: $size-4;
}
&.is-5 {
font-size: $size-5;
}
&.is-6 {
font-size: $size-6;
}
&.is-7 {
font-size: $size-7;
}
&.is-8 {
font-size: $size-8;
}
}
.form-section .title {
margin-bottom: $spacing-12;
}
.is-subtitle-gray {
text-transform: uppercase;
font-size: $size-7;
color: $ui-gray-500;
}