diff options
| author | ivarlovlie <git@ivarlovlie.no> | 2022-08-21 16:56:11 +0200 |
|---|---|---|
| committer | ivarlovlie <git@ivarlovlie.no> | 2022-08-21 16:56:11 +0200 |
| commit | 740f43e2bac7b1eee919351694905fecf9291943 (patch) | |
| tree | 70186389391541528e0463b1d8e3e244a07a555c /apps/web-shared/src/styles/custom-style | |
| parent | c97994d1e7321726eec888c5cca5a4750a5b7dec (diff) | |
| download | greatoffice-740f43e2bac7b1eee919351694905fecf9291943.tar.xz greatoffice-740f43e2bac7b1eee919351694905fecf9291943.zip | |
feat: Before tailwind
Diffstat (limited to 'apps/web-shared/src/styles/custom-style')
| -rw-r--r-- | apps/web-shared/src/styles/custom-style/_typography.scss | 10 | ||||
| -rw-r--r-- | apps/web-shared/src/styles/custom-style/_util.scss | 7 |
2 files changed, 1 insertions, 16 deletions
diff --git a/apps/web-shared/src/styles/custom-style/_typography.scss b/apps/web-shared/src/styles/custom-style/_typography.scss index 3bf56a6..7fa98c5 100644 --- a/apps/web-shared/src/styles/custom-style/_typography.scss +++ b/apps/web-shared/src/styles/custom-style/_typography.scss @@ -15,7 +15,7 @@ --text-scale-ratio: 1.2; // multiplier used to generate the type scale values 👇 // line-height - --body-line-height: 1.4; + --body-line-height: 1; --heading-line-height: 1; // capital letters - used in combo with the lhCrop mixin @@ -37,14 +37,6 @@ --text-xxxxl: calc(var(--text-xxxl) * var(--text-scale-ratio)); } - -@include breakpoint(md) { - :root { - --text-base-size: 1.25rem; - --text-scale-ratio: 1.25; - } -} - body { font-family: var(--font-primary); } diff --git a/apps/web-shared/src/styles/custom-style/_util.scss b/apps/web-shared/src/styles/custom-style/_util.scss index 5d976a4..4b86e73 100644 --- a/apps/web-shared/src/styles/custom-style/_util.scss +++ b/apps/web-shared/src/styles/custom-style/_util.scss @@ -1,15 +1,8 @@ @use '../base' as *; -// -------------------------------- - -// How to create custom utility classes 👇 - -// -------------------------------- - .border-none { border: none !important; } -// } // 👇 (optional) create responsive variations - edit only [my-util-class, property, value] // @each $breakpoint, $value in $breakpoints { |
