@new-ui/typography 0.1.10 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -3
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/package.json +8 -12
- package/src/_components.scss +5 -4
- package/src/_fonts.scss +7 -4
- package/src/_utilities.scss +6 -20
- package/src/_variables.scss +1 -13
- package/src/index.scss +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# New UI Typography
|
|
2
2
|
|
|
3
3
|
## Install
|
|
4
|
+
|
|
4
5
|
Install New UI Typography from your terminal via npm.
|
|
5
6
|
|
|
6
7
|
```
|
|
@@ -11,16 +12,19 @@ To get started quickly, you can use the CDN files.
|
|
|
11
12
|
|
|
12
13
|
```html
|
|
13
14
|
<!-- Place this at the html head -->
|
|
14
|
-
<link
|
|
15
|
+
<link
|
|
16
|
+
rel="stylesheet"
|
|
17
|
+
href="https://cdn.jsdelivr.net/npm/@new-ui/typography@latest/dist/index.css"
|
|
18
|
+
/>
|
|
15
19
|
```
|
|
16
20
|
|
|
17
21
|
## Usage
|
|
18
22
|
|
|
19
23
|
```scss
|
|
20
24
|
// Place this at the top of your SCSS/CSS file
|
|
21
|
-
@use
|
|
25
|
+
@use '@new-ui/typography';
|
|
22
26
|
```
|
|
23
27
|
|
|
24
28
|
## Guides
|
|
25
|
-
- [Read our typography guide](https://new-ui.com/docs/foundations/typography)
|
|
26
29
|
|
|
30
|
+
- [Read our typography guide](https://new-ui.com/docs/foundations/typography)
|
package/dist/index.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
:root{--system-ui:system-ui,sans-serif;--old-style:"Iowan Old Style","Palatino Linotype","URW Palladio L",
|
|
1
|
+
:root{--system-ui:system-ui, sans-serif;--old-style:"Iowan Old Style", "Palatino Linotype", "URW Palladio L", p052, serif;--monospace-code:ui-monospace, "Cascadia Code", "Source Code Pro", menlo, consolas, monospace;--handwritten:"Segoe Print", "Bradley Hand", chilanka, tscu_comic, casual, cursive;--mobile-heading-01:2rem;--mobile-heading-02:1.75rem;--mobile-heading-03:1.5rem;--mobile-heading-04:1.25rem;--mobile-heading-05:1.125rem;--mobile-heading-06:1rem;--mobile-body-xl:1rem;--mobile-body:.875rem;--mobile-body-sm:.75rem;--mobile-caption:.75rem;--mobile-helper-text:.75rem;--mobile-code:.875rem;--lh-mobile-heading-01:2.5rem;--lh-mobile-heading-02:2.25rem;--lh-mobile-heading-03:1.875rem;--lh-mobile-heading-04:1.75rem;--lh-mobile-heading-05:1.625rem;--lh-mobile-heading-06:1.5rem;--lh-mobile-body-xl:1.5rem;--lh-mobile-body:1.25rem;--lh-mobile-body-sm:1rem;--lh-mobile-caption:1rem;--lh-mobile-helper-text:1rem;--lh-mobile-code:1.25rem;--mobile-tracking-heading-01:-.05rem;--mobile-tracking-heading-02:-.025rem;--mobile-tracking-heading-03:-.025rem;--desktop-heading-01:3.375rem;--desktop-heading-02:2.625rem;--desktop-heading-03:2rem;--desktop-heading-04:1.75rem;--desktop-heading-05:1.25rem;--desktop-heading-06:1.125rem;--desktop-body-xl:1.125rem;--desktop-body:1rem;--desktop-body-sm:.875rem;--desktop-caption:.75rem;--desktop-helper-text:.75rem;--desktop-code:.875rem;--lh-desktop-heading-01:4rem;--lh-desktop-heading-02:3.125rem;--lh-desktop-heading-03:2.5rem;--lh-desktop-heading-04:2.25rem;--lh-desktop-heading-05:1.75rem;--lh-desktop-heading-06:1.625rem;--lh-desktop-body-xl:1.625rem;--lh-desktop-body:1.5rem;--lh-desktop-body-sm:1.25rem;--lh-desktop-caption:1rem;--lh-desktop-helper-text:1rem;--lh-desktop-code:1.25rem;--desktop-tracking-heading-01:-.075rem;--desktop-tracking-heading-02:-.05rem;--desktop-tracking-heading-03:-.025rem}.nu-u-fw-bold{font-weight:700}.nu-u-fw-semi-bold{font-weight:500}.nu-u-fw-normal{font-weight:400}.nu-u-text--uppercase{text-transform:uppercase}.nu-u-text--lowercase{text-transform:lowercase}.nu-u-text--capitalize{text-transform:capitalize}.nu-u-text--underline{text-decoration:underline}.nu-u-text--left{text-align:left}.nu-u-text--right{text-align:right}.nu-u-text--center{text-align:center}.nu-u-text--justify{text-align:justify}.nu-u-serif{font-family:Didot,Bodoni MT,Noto Serif Display,URW Palladio L,P052,Sylfaen,serif}.nu-u-sans-serif{font-family:Inter,Roboto,Helvetica Neue,Arial Nova,Nimbus Sans,Arial,sans-serif}.nu-u-code{font-family:var(--monospace-code)}.nu-c-h1{font-weight:700;font-size:var(--desktop-heading-01);line-height:var(--lh-desktop-heading-01);letter-spacing:var(--desktop-tracking-heading-01)}@media screen and (width<=37.5rem){.nu-c-h1{font-size:var(--mobile-heading-01);line-height:var(--lh-mobile-heading-01);letter-spacing:var(--mobile-tracking-heading-01)}}.nu-c-h2{font-weight:700;font-size:var(--desktop-heading-02);line-height:var(--lh-desktop-heading-02);letter-spacing:var(--desktop-tracking-heading-02)}@media screen and (width<=37.5rem){.nu-c-h2{font-size:var(--mobile-heading-02);line-height:var(--lh-mobile-heading-02);letter-spacing:var(--mobile-tracking-heading-02)}}.nu-c-h3{font-weight:700;font-size:var(--desktop-heading-03);line-height:var(--lh-desktop-heading-03);letter-spacing:var(--desktop-tracking-heading-03)}@media screen and (width<=37.5rem){.nu-c-h3{font-size:var(--mobile-heading-03);line-height:var(--lh-mobile-heading-03);letter-spacing:var(--mobile-tracking-heading-03)}}.nu-c-h4{font-weight:700;font-size:var(--desktop-heading-04);line-height:var(--lh-desktop-heading-04)}@media screen and (width<=37.5rem){.nu-c-h4{font-size:var(--mobile-heading-04);line-height:var(--lh-mobile-heading-04)}}.nu-c-h5{font-weight:700;font-size:var(--desktop-heading-05);line-height:var(--lh-desktop-heading-05)}@media screen and (width<=37.5rem){.nu-c-h5{font-size:var(--mobile-heading-05);line-height:var(--lh-mobile-heading-05)}}.nu-c-h6{font-weight:500;font-size:var(--desktop-heading-06);line-height:var(--lh-desktop-heading-06)}@media screen and (width<=37.5rem){.nu-c-h6{font-size:var(--mobile-heading-06);line-height:var(--lh-mobile-heading-06)}}.nu-c-fs-lead{font-size:var(--desktop-body-xl);line-height:var(--lh-desktop-body-xl)}@media screen and (width<=37.5rem){.nu-c-fs-lead{font-size:var(--mobile-body-xl);line-height:var(--lh-mobile-body-xl)}}.nu-c-fs-normal{font-size:var(--desktop-body);line-height:var(--lh-desktop-body)}@media screen and (width<=37.5rem){.nu-c-fs-normal{font-size:var(--mobile-body);line-height:var(--lh-mobile-body)}}.nu-c-fs-small{font-size:var(--desktop-body-sm);line-height:var(--lh-desktop-body-sm)}@media screen and (width<=37.5rem){.nu-c-fs-small{font-size:var(--mobile-body-sm);line-height:var(--lh-mobile-body-sm)}}.nu-c-caption{text-transform:uppercase;font-weight:500;font-size:var(--desktop-caption);line-height:var(--lh-desktop-caption)}@media screen and (width<=37.5rem){.nu-c-caption{font-size:var(--mobile-caption);line-height:var(--lh-mobile-caption)}}.nu-c-helper-text{font-size:var(--desktop-helper-text);line-height:var(--lh-desktop-helper-text)}@media screen and (width<=37.5rem){.nu-c-helper-text{font-size:var(--mobile-helper-text);line-height:var(--lh-mobile-helper-text)}}.nu-c-code{font-family:var(--monospace-code);font-size:var(--desktop-code);line-height:var(--desktop-code)}@media screen and (width<=37.5rem){.nu-c-code{font-size:var(--mobile-code);line-height:var(--mobile-code)}}
|
|
2
2
|
/*# sourceMappingURL=index.css.map */
|
package/dist/index.css.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":"ACAA,+yDCCA,8BAIA,mCAIA,gCAKA,+CAIA,+CAIA,iDAIA,gDAIA,iCAIA,mCAIA,qCAIA,uCAKA,6FAUA,iGAUA,4GChEA,wJAME,mCANF,sIAaA,wJAME,mCANF,sIAaA,wJAME,mCANF,sIAaA,sGAKE,mCALF,qFAWA,sGAKE,mCALF,qFAWA,sGAKE,mCALF,qFAWA,qFAIE,mCAJF,oFAUA,iFAIE,mCAJF,gFAUA,sFAIE,mCAJF,qFAUA,8HAME,mCANF,oFAYA,iGAIE,mCAJF,gGAUA,yEAIE,mCAJF","sources":["index.css","src/_fonts.scss","src/_utilities.scss","src/_components.scss"],"sourcesContent":[":root {\n --system-ui: system-ui, sans-serif;\n --old-style: \"Iowan Old Style\", \"Palatino Linotype\", \"URW Palladio L\", P052, serif;\n --monospace-code: ui-monospace, \"Cascadia Code\", \"Source Code Pro\", Menlo, Consolas, monospace;\n --handwritten: \"Segoe Print\", \"Bradley Hand\", Chilanka, TSCu_Comic, casual, cursive;\n --mobile-heading-01: 2rem;\n --mobile-heading-02: 1.75rem;\n --mobile-heading-03: 1.5rem;\n --mobile-heading-04: 1.25rem;\n --mobile-heading-05: 1.125rem;\n --mobile-heading-06: 1rem;\n --mobile-body-xl: 1rem;\n --mobile-body: .875rem;\n --mobile-body-sm: .75rem;\n --mobile-caption: .75rem;\n --mobile-helper-text: .75rem;\n --mobile-code: .875rem;\n --lh-mobile-heading-01: 2.5rem;\n --lh-mobile-heading-02: 2.25rem;\n --lh-mobile-heading-03: 1.875rem;\n --lh-mobile-heading-04: 1.75rem;\n --lh-mobile-heading-05: 1.625rem;\n --lh-mobile-heading-06: 1.5rem;\n --lh-mobile-body-xl: 1.5rem;\n --lh-mobile-body: 1.25rem;\n --lh-mobile-body-sm: 1rem;\n --lh-mobile-caption: 1rem;\n --lh-mobile-helper-text: 1rem;\n --lh-mobile-code: 1.25rem;\n --mobile-tracking-heading-01: -.05rem;\n --mobile-tracking-heading-02: -.025rem;\n --mobile-tracking-heading-03: -.025rem;\n --desktop-heading-01: 3.375rem;\n --desktop-heading-02: 2.625rem;\n --desktop-heading-03: 2rem;\n --desktop-heading-04: 1.75rem;\n --desktop-heading-05: 1.25rem;\n --desktop-heading-06: 1.125rem;\n --desktop-body-xl: 1.125rem;\n --desktop-body: 1rem;\n --desktop-body-sm: .875rem;\n --desktop-caption: .75rem;\n --desktop-helper-text: .75rem;\n --desktop-code: .875rem;\n --lh-desktop-heading-01: 4rem;\n --lh-desktop-heading-02: 3.125rem;\n --lh-desktop-heading-03: 2.5rem;\n --lh-desktop-heading-04: 2.25rem;\n --lh-desktop-heading-05: 1.75rem;\n --lh-desktop-heading-06: 1.625rem;\n --lh-desktop-body-xl: 1.625rem;\n --lh-desktop-body: 1.5rem;\n --lh-desktop-body-sm: 1.25rem;\n --lh-desktop-caption: 1rem;\n --lh-desktop-helper-text: 1rem;\n --lh-desktop-code: 1.25rem;\n --desktop-tracking-heading-01: -.075rem;\n --desktop-tracking-heading-02: -.05rem;\n --desktop-tracking-heading-03: -.025rem;\n}\n\n.nu-u-fw-bold {\n font-weight: 700;\n}\n\n.nu-u-fw-semi-bold {\n font-weight: 500;\n}\n\n.nu-u-fw-normal {\n font-weight: 400;\n}\n\n.nu-u-text--uppercase {\n text-transform: uppercase;\n}\n\n.nu-u-text--lowercase {\n text-transform: lowercase;\n}\n\n.nu-u-text--capitalize {\n text-transform: capitalize;\n}\n\n.nu-u-text--underline {\n text-decoration: underline;\n}\n\n.nu-u-text--left {\n text-align: left;\n}\n\n.nu-u-text--right {\n text-align: right;\n}\n\n.nu-u-text--center {\n text-align: center;\n}\n\n.nu-u-text--justify {\n text-align: justify;\n}\n\n.nu-u-serif {\n font-family: Didot, Bodoni MT, Noto Serif Display, URW Palladio L, P052, Sylfaen, serif;\n}\n\n.nu-u-sans-serif {\n font-family: Inter, Roboto, Helvetica Neue, Arial Nova, Nimbus Sans, Arial, sans-serif;\n}\n\n.nu-u-code {\n font-family: ui-monospace, Cascadia Code, Source Code Pro, Menlo, Consolas, DejaVu Sans Mono, monospace;\n}\n\n.nu-c-h1 {\n font-weight: 700;\n font-size: var(--desktop-heading-01);\n line-height: var(--lh-desktop-heading-01);\n letter-spacing: var(--desktop-tracking-heading-01);\n}\n\n@media screen and (width <= 37.5rem) {\n .nu-c-h1 {\n font-size: var(--mobile-heading-01);\n line-height: var(--lh-mobile-heading-01);\n letter-spacing: var(--mobile-tracking-heading-01);\n }\n}\n\n.nu-c-h2 {\n font-weight: 700;\n font-size: var(--desktop-heading-02);\n line-height: var(--lh-desktop-heading-02);\n letter-spacing: var(--desktop-tracking-heading-02);\n}\n\n@media screen and (width <= 37.5rem) {\n .nu-c-h2 {\n font-size: var(--mobile-heading-02);\n line-height: var(--lh-mobile-heading-02);\n letter-spacing: var(--mobile-tracking-heading-02);\n }\n}\n\n.nu-c-h3 {\n font-weight: 700;\n font-size: var(--desktop-heading-03);\n line-height: var(--lh-desktop-heading-03);\n letter-spacing: var(--desktop-tracking-heading-03);\n}\n\n@media screen and (width <= 37.5rem) {\n .nu-c-h3 {\n font-size: var(--mobile-heading-03);\n line-height: var(--lh-mobile-heading-03);\n letter-spacing: var(--mobile-tracking-heading-03);\n }\n}\n\n.nu-c-h4 {\n font-weight: 700;\n font-size: var(--desktop-heading-04);\n line-height: var(--lh-desktop-heading-04);\n}\n\n@media screen and (width <= 37.5rem) {\n .nu-c-h4 {\n font-size: var(--mobile-heading-04);\n line-height: var(--lh-mobile-heading-04);\n }\n}\n\n.nu-c-h5 {\n font-weight: 700;\n font-size: var(--desktop-heading-05);\n line-height: var(--lh-desktop-heading-05);\n}\n\n@media screen and (width <= 37.5rem) {\n .nu-c-h5 {\n font-size: var(--mobile-heading-05);\n line-height: var(--lh-mobile-heading-05);\n }\n}\n\n.nu-c-h6 {\n font-weight: 500;\n font-size: var(--desktop-heading-06);\n line-height: var(--lh-desktop-heading-06);\n}\n\n@media screen and (width <= 37.5rem) {\n .nu-c-h6 {\n font-size: var(--mobile-heading-06);\n line-height: var(--lh-mobile-heading-06);\n }\n}\n\n.nu-c-fs-lead {\n font-size: var(--desktop-body-xl);\n line-height: var(--lh-desktop-body-xl);\n}\n\n@media screen and (width <= 37.5rem) {\n .nu-c-fs-lead {\n font-size: var(--mobile-body-xl);\n line-height: var(--lh-mobile-body-xl);\n }\n}\n\n.nu-c-fs-normal {\n font-size: var(--desktop-body);\n line-height: var(--lh-desktop-body);\n}\n\n@media screen and (width <= 37.5rem) {\n .nu-c-fs-normal {\n font-size: var(--mobile-body);\n line-height: var(--lh-mobile-body);\n }\n}\n\n.nu-c-fs-small {\n font-size: var(--desktop-body-sm);\n line-height: var(--lh-desktop-body-sm);\n}\n\n@media screen and (width <= 37.5rem) {\n .nu-c-fs-small {\n font-size: var(--mobile-body-sm);\n line-height: var(--lh-mobile-body-sm);\n }\n}\n\n.nu-c-caption {\n text-transform: uppercase;\n font-weight: 500;\n font-size: var(--desktop-caption);\n line-height: var(--lh-desktop-caption);\n}\n\n@media screen and (width <= 37.5rem) {\n .nu-c-caption {\n font-size: var(--mobile-caption);\n line-height: var(--lh-mobile-caption);\n }\n}\n\n.nu-c-helper-text {\n font-size: var(--desktop-helper-text);\n line-height: var(--lh-desktop-helper-text);\n}\n\n@media screen and (width <= 37.5rem) {\n .nu-c-helper-text {\n font-size: var(--mobile-helper-text);\n line-height: var(--lh-mobile-helper-text);\n }\n}\n\n.nu-c-code {\n font-size: var(--desktop-code);\n line-height: var(--desktop-code);\n}\n\n@media screen and (width <= 37.5rem) {\n .nu-c-code {\n font-size: var(--mobile-code);\n line-height: var(--mobile-code);\n }\n}\n/*# sourceMappingURL=index.css.map */\n",":root {\n /* System Font Stacks */\n --system-ui: system-ui, sans-serif;\n --old-style: 'Iowan Old Style', 'Palatino Linotype', 'URW Palladio L', P052, serif;\n --monospace-code: ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, monospace;\n --handwritten: 'Segoe Print', 'Bradley Hand', Chilanka, TSCu_Comic, casual, cursive;\n}","/* Font Weights */\n.nu-u-fw-bold {\n font-weight: 700;\n}\n\n.nu-u-fw-semi-bold {\n font-weight: 500;\n}\n\n.nu-u-fw-normal {\n font-weight: 400;\n}\n\n/* Utilities */\n.nu-u-text--uppercase {\n text-transform: uppercase;\n}\n\n.nu-u-text--lowercase {\n text-transform: lowercase;\n}\n\n.nu-u-text--capitalize {\n text-transform: capitalize;\n}\n\n.nu-u-text--underline {\n text-decoration: underline;\n}\n\n.nu-u-text--left {\n text-align: left;\n}\n\n.nu-u-text--right {\n text-align: right;\n}\n\n.nu-u-text--center {\n text-align: center;\n}\n\n.nu-u-text--justify {\n text-align: justify;\n}\n\n/* Font family */\n.nu-u-serif {\n font-family: Didot,\n 'Bodoni MT',\n 'Noto Serif Display',\n 'URW Palladio L',\n P052,\n Sylfaen,\n serif;\n}\n\n.nu-u-sans-serif {\n font-family: Inter,\n Roboto,\n 'Helvetica Neue',\n 'Arial Nova',\n 'Nimbus Sans',\n Arial,\n sans-serif;\n}\n\n.nu-u-code {\n font-family: ui-monospace,\n 'Cascadia Code',\n 'Source Code Pro',\n Menlo,\n Consolas,\n 'DejaVu Sans Mono',\n monospace;\n}","$mobile-breakpoint: 37.5rem;\n\n/* Components */\n.nu-c-h1 {\n font-weight: 700;\n font-size: var(--desktop-heading-01);\n line-height: var(--lh-desktop-heading-01);\n letter-spacing: var(--desktop-tracking-heading-01);\n\n @media screen and (max-width: $mobile-breakpoint) {\n font-size: var(--mobile-heading-01);\n line-height: var(--lh-mobile-heading-01);\n letter-spacing: var(--mobile-tracking-heading-01);\n }\n}\n\n.nu-c-h2 {\n font-weight: 700;\n font-size: var(--desktop-heading-02);\n line-height: var(--lh-desktop-heading-02);\n letter-spacing: var(--desktop-tracking-heading-02);\n\n @media screen and (max-width: $mobile-breakpoint) {\n font-size: var(--mobile-heading-02);\n line-height: var(--lh-mobile-heading-02);\n letter-spacing: var(--mobile-tracking-heading-02);\n }\n}\n\n.nu-c-h3 {\n font-weight: 700;\n font-size: var(--desktop-heading-03);\n line-height: var(--lh-desktop-heading-03);\n letter-spacing: var(--desktop-tracking-heading-03);\n \n @media screen and (max-width: $mobile-breakpoint) {\n font-size: var(--mobile-heading-03);\n line-height: var(--lh-mobile-heading-03);\n letter-spacing: var(--mobile-tracking-heading-03);\n }\n}\n\n.nu-c-h4 {\n font-weight: 700;\n font-size: var(--desktop-heading-04);\n line-height: var(--lh-desktop-heading-04);\n \n @media screen and (max-width: $mobile-breakpoint) {\n font-size: var(--mobile-heading-04);\n line-height: var(--lh-mobile-heading-04);\n }\n}\n\n.nu-c-h5 {\n font-weight: 700;\n font-size: var(--desktop-heading-05);\n line-height: var(--lh-desktop-heading-05);\n\n @media screen and (max-width: $mobile-breakpoint) {\n font-size: var(--mobile-heading-05);\n line-height: var(--lh-mobile-heading-05);\n }\n}\n\n.nu-c-h6 {\n font-weight: 500;\n font-size: var(--desktop-heading-06);\n line-height: var(--lh-desktop-heading-06);\n \n @media screen and (max-width: $mobile-breakpoint) {\n font-size: var(--mobile-heading-06);\n line-height: var(--lh-mobile-heading-06);\n }\n}\n\n.nu-c-fs-lead {\n font-size: var(--desktop-body-xl);\n line-height: var(--lh-desktop-body-xl);\n \n @media screen and (max-width: $mobile-breakpoint) {\n font-size: var(--mobile-body-xl);\n line-height: var(--lh-mobile-body-xl);\n }\n}\n\n.nu-c-fs-normal {\n font-size: var(--desktop-body);\n line-height: var(--lh-desktop-body);\n\n @media screen and (max-width: $mobile-breakpoint) {\n font-size: var(--mobile-body);\n line-height: var(--lh-mobile-body);\n }\n}\n\n.nu-c-fs-small {\n font-size: var(--desktop-body-sm);\n line-height: var(--lh-desktop-body-sm);\n\n @media screen and (max-width: $mobile-breakpoint) {\n font-size: var(--mobile-body-sm);\n line-height: var(--lh-mobile-body-sm);\n }\n}\n\n.nu-c-caption {\n font-weight: 500;\n text-transform: uppercase;\n font-size: var(--desktop-caption);\n line-height: var(--lh-desktop-caption);\n\n @media screen and (max-width: $mobile-breakpoint) {\n font-size: var(--mobile-caption);\n line-height: var(--lh-mobile-caption);\n }\n}\n\n.nu-c-helper-text {\n font-size: var(--desktop-helper-text);\n line-height: var(--lh-desktop-helper-text);\n\n @media screen and (max-width: $mobile-breakpoint) {\n font-size: var(--mobile-helper-text);\n line-height: var(--lh-mobile-helper-text);\n }\n}\n\n.nu-c-code {\n font-size: var(--desktop-code);\n line-height: var(--desktop-code);\n\n @media screen and (max-width: $mobile-breakpoint) {\n font-size: var(--mobile-code);\n line-height: var(--mobile-code);\n }\n}\n"],"names":[],"version":3,"file":"index.css.map"}
|
|
1
|
+
{"mappings":"ACAA,8zDCCA,8BAIA,mCAIA,gCAKA,+CAIA,+CAIA,iDAIA,gDAIA,iCAIA,mCAIA,qCAIA,uCAKA,6FAMA,iGAMA,6CCxDA,wJAME,mCANF,sIAaA,wJAME,mCANF,sIAaA,wJAME,mCANF,sIAaA,sGAKE,mCALF,qFAWA,sGAKE,mCALF,qFAWA,sGAKE,mCALF,qFAWA,qFAIE,mCAJF,oFAUA,iFAIE,mCAJF,gFAUA,sFAIE,mCAJF,qFAUA,8HAME,mCANF,oFAYA,iGAIE,mCAJF,gGAUA,2GAKE,mCALF","sources":["index.css","src/_fonts.scss","src/_utilities.scss","src/_components.scss"],"sourcesContent":[":root {\n --system-ui: system-ui, sans-serif;\n --old-style: \"Iowan Old Style\", \"Palatino Linotype\", \"URW Palladio L\", p052, serif;\n --monospace-code: ui-monospace, \"Cascadia Code\", \"Source Code Pro\", menlo, consolas, monospace;\n --handwritten: \"Segoe Print\", \"Bradley Hand\", chilanka, tscu_comic, casual, cursive;\n --mobile-heading-01: 2rem;\n --mobile-heading-02: 1.75rem;\n --mobile-heading-03: 1.5rem;\n --mobile-heading-04: 1.25rem;\n --mobile-heading-05: 1.125rem;\n --mobile-heading-06: 1rem;\n --mobile-body-xl: 1rem;\n --mobile-body: .875rem;\n --mobile-body-sm: .75rem;\n --mobile-caption: .75rem;\n --mobile-helper-text: .75rem;\n --mobile-code: .875rem;\n --lh-mobile-heading-01: 2.5rem;\n --lh-mobile-heading-02: 2.25rem;\n --lh-mobile-heading-03: 1.875rem;\n --lh-mobile-heading-04: 1.75rem;\n --lh-mobile-heading-05: 1.625rem;\n --lh-mobile-heading-06: 1.5rem;\n --lh-mobile-body-xl: 1.5rem;\n --lh-mobile-body: 1.25rem;\n --lh-mobile-body-sm: 1rem;\n --lh-mobile-caption: 1rem;\n --lh-mobile-helper-text: 1rem;\n --lh-mobile-code: 1.25rem;\n --mobile-tracking-heading-01: -.05rem;\n --mobile-tracking-heading-02: -.025rem;\n --mobile-tracking-heading-03: -.025rem;\n --desktop-heading-01: 3.375rem;\n --desktop-heading-02: 2.625rem;\n --desktop-heading-03: 2rem;\n --desktop-heading-04: 1.75rem;\n --desktop-heading-05: 1.25rem;\n --desktop-heading-06: 1.125rem;\n --desktop-body-xl: 1.125rem;\n --desktop-body: 1rem;\n --desktop-body-sm: .875rem;\n --desktop-caption: .75rem;\n --desktop-helper-text: .75rem;\n --desktop-code: .875rem;\n --lh-desktop-heading-01: 4rem;\n --lh-desktop-heading-02: 3.125rem;\n --lh-desktop-heading-03: 2.5rem;\n --lh-desktop-heading-04: 2.25rem;\n --lh-desktop-heading-05: 1.75rem;\n --lh-desktop-heading-06: 1.625rem;\n --lh-desktop-body-xl: 1.625rem;\n --lh-desktop-body: 1.5rem;\n --lh-desktop-body-sm: 1.25rem;\n --lh-desktop-caption: 1rem;\n --lh-desktop-helper-text: 1rem;\n --lh-desktop-code: 1.25rem;\n --desktop-tracking-heading-01: -.075rem;\n --desktop-tracking-heading-02: -.05rem;\n --desktop-tracking-heading-03: -.025rem;\n}\n\n.nu-u-fw-bold {\n font-weight: 700;\n}\n\n.nu-u-fw-semi-bold {\n font-weight: 500;\n}\n\n.nu-u-fw-normal {\n font-weight: 400;\n}\n\n.nu-u-text--uppercase {\n text-transform: uppercase;\n}\n\n.nu-u-text--lowercase {\n text-transform: lowercase;\n}\n\n.nu-u-text--capitalize {\n text-transform: capitalize;\n}\n\n.nu-u-text--underline {\n text-decoration: underline;\n}\n\n.nu-u-text--left {\n text-align: left;\n}\n\n.nu-u-text--right {\n text-align: right;\n}\n\n.nu-u-text--center {\n text-align: center;\n}\n\n.nu-u-text--justify {\n text-align: justify;\n}\n\n.nu-u-serif {\n font-family: Didot, Bodoni MT, Noto Serif Display, URW Palladio L, P052, Sylfaen, serif;\n}\n\n.nu-u-sans-serif {\n font-family: Inter, Roboto, Helvetica Neue, Arial Nova, Nimbus Sans, Arial, sans-serif;\n}\n\n.nu-u-code {\n font-family: var(--monospace-code);\n}\n\n.nu-c-h1 {\n font-weight: 700;\n font-size: var(--desktop-heading-01);\n line-height: var(--lh-desktop-heading-01);\n letter-spacing: var(--desktop-tracking-heading-01);\n}\n\n@media screen and (width <= 37.5rem) {\n .nu-c-h1 {\n font-size: var(--mobile-heading-01);\n line-height: var(--lh-mobile-heading-01);\n letter-spacing: var(--mobile-tracking-heading-01);\n }\n}\n\n.nu-c-h2 {\n font-weight: 700;\n font-size: var(--desktop-heading-02);\n line-height: var(--lh-desktop-heading-02);\n letter-spacing: var(--desktop-tracking-heading-02);\n}\n\n@media screen and (width <= 37.5rem) {\n .nu-c-h2 {\n font-size: var(--mobile-heading-02);\n line-height: var(--lh-mobile-heading-02);\n letter-spacing: var(--mobile-tracking-heading-02);\n }\n}\n\n.nu-c-h3 {\n font-weight: 700;\n font-size: var(--desktop-heading-03);\n line-height: var(--lh-desktop-heading-03);\n letter-spacing: var(--desktop-tracking-heading-03);\n}\n\n@media screen and (width <= 37.5rem) {\n .nu-c-h3 {\n font-size: var(--mobile-heading-03);\n line-height: var(--lh-mobile-heading-03);\n letter-spacing: var(--mobile-tracking-heading-03);\n }\n}\n\n.nu-c-h4 {\n font-weight: 700;\n font-size: var(--desktop-heading-04);\n line-height: var(--lh-desktop-heading-04);\n}\n\n@media screen and (width <= 37.5rem) {\n .nu-c-h4 {\n font-size: var(--mobile-heading-04);\n line-height: var(--lh-mobile-heading-04);\n }\n}\n\n.nu-c-h5 {\n font-weight: 700;\n font-size: var(--desktop-heading-05);\n line-height: var(--lh-desktop-heading-05);\n}\n\n@media screen and (width <= 37.5rem) {\n .nu-c-h5 {\n font-size: var(--mobile-heading-05);\n line-height: var(--lh-mobile-heading-05);\n }\n}\n\n.nu-c-h6 {\n font-weight: 500;\n font-size: var(--desktop-heading-06);\n line-height: var(--lh-desktop-heading-06);\n}\n\n@media screen and (width <= 37.5rem) {\n .nu-c-h6 {\n font-size: var(--mobile-heading-06);\n line-height: var(--lh-mobile-heading-06);\n }\n}\n\n.nu-c-fs-lead {\n font-size: var(--desktop-body-xl);\n line-height: var(--lh-desktop-body-xl);\n}\n\n@media screen and (width <= 37.5rem) {\n .nu-c-fs-lead {\n font-size: var(--mobile-body-xl);\n line-height: var(--lh-mobile-body-xl);\n }\n}\n\n.nu-c-fs-normal {\n font-size: var(--desktop-body);\n line-height: var(--lh-desktop-body);\n}\n\n@media screen and (width <= 37.5rem) {\n .nu-c-fs-normal {\n font-size: var(--mobile-body);\n line-height: var(--lh-mobile-body);\n }\n}\n\n.nu-c-fs-small {\n font-size: var(--desktop-body-sm);\n line-height: var(--lh-desktop-body-sm);\n}\n\n@media screen and (width <= 37.5rem) {\n .nu-c-fs-small {\n font-size: var(--mobile-body-sm);\n line-height: var(--lh-mobile-body-sm);\n }\n}\n\n.nu-c-caption {\n text-transform: uppercase;\n font-weight: 500;\n font-size: var(--desktop-caption);\n line-height: var(--lh-desktop-caption);\n}\n\n@media screen and (width <= 37.5rem) {\n .nu-c-caption {\n font-size: var(--mobile-caption);\n line-height: var(--lh-mobile-caption);\n }\n}\n\n.nu-c-helper-text {\n font-size: var(--desktop-helper-text);\n line-height: var(--lh-desktop-helper-text);\n}\n\n@media screen and (width <= 37.5rem) {\n .nu-c-helper-text {\n font-size: var(--mobile-helper-text);\n line-height: var(--lh-mobile-helper-text);\n }\n}\n\n.nu-c-code {\n font-family: var(--monospace-code);\n font-size: var(--desktop-code);\n line-height: var(--desktop-code);\n}\n\n@media screen and (width <= 37.5rem) {\n .nu-c-code {\n font-size: var(--mobile-code);\n line-height: var(--mobile-code);\n }\n}\n/*# sourceMappingURL=index.css.map */\n",":root {\n /* System Font Stacks */\n --system-ui: system-ui, sans-serif;\n --old-style:\n 'Iowan Old Style', 'Palatino Linotype', 'URW Palladio L', p052, serif;\n --monospace-code:\n ui-monospace, 'Cascadia Code', 'Source Code Pro', menlo, consolas, monospace;\n --handwritten:\n 'Segoe Print', 'Bradley Hand', chilanka, tscu_comic, casual, cursive;\n}\n","/* Font Weights */\n.nu-u-fw-bold {\n font-weight: 700;\n}\n\n.nu-u-fw-semi-bold {\n font-weight: 500;\n}\n\n.nu-u-fw-normal {\n font-weight: 400;\n}\n\n/* Utilities */\n.nu-u-text--uppercase {\n text-transform: uppercase;\n}\n\n.nu-u-text--lowercase {\n text-transform: lowercase;\n}\n\n.nu-u-text--capitalize {\n text-transform: capitalize;\n}\n\n.nu-u-text--underline {\n text-decoration: underline;\n}\n\n.nu-u-text--left {\n text-align: left;\n}\n\n.nu-u-text--right {\n text-align: right;\n}\n\n.nu-u-text--center {\n text-align: center;\n}\n\n.nu-u-text--justify {\n text-align: justify;\n}\n\n/* Font family */\n.nu-u-serif {\n font-family:\n Didot, 'Bodoni MT', 'Noto Serif Display', 'URW Palladio L', 'P052', Sylfaen,\n serif;\n}\n\n.nu-u-sans-serif {\n font-family:\n Inter, Roboto, 'Helvetica Neue', 'Arial Nova', 'Nimbus Sans', Arial,\n sans-serif;\n}\n\n.nu-u-code {\n font-family: var(--monospace-code);\n}\n","$mobile-breakpoint: 37.5rem;\n\n/* Components */\n.nu-c-h1 {\n font-weight: 700;\n font-size: var(--desktop-heading-01);\n line-height: var(--lh-desktop-heading-01);\n letter-spacing: var(--desktop-tracking-heading-01);\n\n @media screen and (max-width: $mobile-breakpoint) {\n font-size: var(--mobile-heading-01);\n line-height: var(--lh-mobile-heading-01);\n letter-spacing: var(--mobile-tracking-heading-01);\n }\n}\n\n.nu-c-h2 {\n font-weight: 700;\n font-size: var(--desktop-heading-02);\n line-height: var(--lh-desktop-heading-02);\n letter-spacing: var(--desktop-tracking-heading-02);\n\n @media screen and (max-width: $mobile-breakpoint) {\n font-size: var(--mobile-heading-02);\n line-height: var(--lh-mobile-heading-02);\n letter-spacing: var(--mobile-tracking-heading-02);\n }\n}\n\n.nu-c-h3 {\n font-weight: 700;\n font-size: var(--desktop-heading-03);\n line-height: var(--lh-desktop-heading-03);\n letter-spacing: var(--desktop-tracking-heading-03);\n\n @media screen and (max-width: $mobile-breakpoint) {\n font-size: var(--mobile-heading-03);\n line-height: var(--lh-mobile-heading-03);\n letter-spacing: var(--mobile-tracking-heading-03);\n }\n}\n\n.nu-c-h4 {\n font-weight: 700;\n font-size: var(--desktop-heading-04);\n line-height: var(--lh-desktop-heading-04);\n\n @media screen and (max-width: $mobile-breakpoint) {\n font-size: var(--mobile-heading-04);\n line-height: var(--lh-mobile-heading-04);\n }\n}\n\n.nu-c-h5 {\n font-weight: 700;\n font-size: var(--desktop-heading-05);\n line-height: var(--lh-desktop-heading-05);\n\n @media screen and (max-width: $mobile-breakpoint) {\n font-size: var(--mobile-heading-05);\n line-height: var(--lh-mobile-heading-05);\n }\n}\n\n.nu-c-h6 {\n font-weight: 500;\n font-size: var(--desktop-heading-06);\n line-height: var(--lh-desktop-heading-06);\n\n @media screen and (max-width: $mobile-breakpoint) {\n font-size: var(--mobile-heading-06);\n line-height: var(--lh-mobile-heading-06);\n }\n}\n\n.nu-c-fs-lead {\n font-size: var(--desktop-body-xl);\n line-height: var(--lh-desktop-body-xl);\n\n @media screen and (max-width: $mobile-breakpoint) {\n font-size: var(--mobile-body-xl);\n line-height: var(--lh-mobile-body-xl);\n }\n}\n\n.nu-c-fs-normal {\n font-size: var(--desktop-body);\n line-height: var(--lh-desktop-body);\n\n @media screen and (max-width: $mobile-breakpoint) {\n font-size: var(--mobile-body);\n line-height: var(--lh-mobile-body);\n }\n}\n\n.nu-c-fs-small {\n font-size: var(--desktop-body-sm);\n line-height: var(--lh-desktop-body-sm);\n\n @media screen and (max-width: $mobile-breakpoint) {\n font-size: var(--mobile-body-sm);\n line-height: var(--lh-mobile-body-sm);\n }\n}\n\n.nu-c-caption {\n font-weight: 500;\n text-transform: uppercase;\n font-size: var(--desktop-caption);\n line-height: var(--lh-desktop-caption);\n\n @media screen and (max-width: $mobile-breakpoint) {\n font-size: var(--mobile-caption);\n line-height: var(--lh-mobile-caption);\n }\n}\n\n.nu-c-helper-text {\n font-size: var(--desktop-helper-text);\n line-height: var(--lh-desktop-helper-text);\n\n @media screen and (max-width: $mobile-breakpoint) {\n font-size: var(--mobile-helper-text);\n line-height: var(--lh-mobile-helper-text);\n }\n}\n\n.nu-c-code {\n font-family: var(--monospace-code);\n font-size: var(--desktop-code);\n line-height: var(--desktop-code);\n\n @media screen and (max-width: $mobile-breakpoint) {\n font-size: var(--mobile-code);\n line-height: var(--mobile-code);\n }\n}\n"],"names":[],"version":3,"file":"index.css.map"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@new-ui/typography",
|
|
3
|
-
"version": "0.1
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Modular typographic scale for your apps and websites.",
|
|
5
5
|
"source": "src/index.scss",
|
|
6
6
|
"main": "dist/index.css",
|
|
@@ -14,12 +14,12 @@
|
|
|
14
14
|
"LICENSE"
|
|
15
15
|
],
|
|
16
16
|
"scripts": {
|
|
17
|
-
"watch": "parcel watch",
|
|
18
|
-
"build": "parcel build"
|
|
17
|
+
"watch": "PARCEL_WORKERS=0 parcel watch",
|
|
18
|
+
"build": "PARCEL_WORKERS=0 parcel build"
|
|
19
19
|
},
|
|
20
20
|
"repository": {
|
|
21
21
|
"type": "git",
|
|
22
|
-
"url": "git+https://github.com/
|
|
22
|
+
"url": "git+https://github.com/CreateNewUI/foundations.git"
|
|
23
23
|
},
|
|
24
24
|
"keywords": [
|
|
25
25
|
"typography",
|
|
@@ -27,7 +27,6 @@
|
|
|
27
27
|
"type",
|
|
28
28
|
"type-styles",
|
|
29
29
|
"modular",
|
|
30
|
-
"type",
|
|
31
30
|
"tokens",
|
|
32
31
|
"desktop",
|
|
33
32
|
"mobile"
|
|
@@ -35,14 +34,11 @@
|
|
|
35
34
|
"author": "@planetabhi",
|
|
36
35
|
"license": "MIT",
|
|
37
36
|
"bugs": {
|
|
38
|
-
"url": "https://github.com/
|
|
37
|
+
"url": "https://github.com/CreateNewUI/foundations/issues"
|
|
39
38
|
},
|
|
40
|
-
"homepage": "https://github.com/
|
|
39
|
+
"homepage": "https://github.com/CreateNewUI/foundations#readme",
|
|
41
40
|
"devDependencies": {
|
|
42
|
-
"@parcel/transformer-sass": "^2.16.
|
|
43
|
-
"
|
|
44
|
-
"parcel": "^2.16.1",
|
|
45
|
-
"postcss": "^8.5.6",
|
|
46
|
-
"postcss-scss": "^4.0.9"
|
|
41
|
+
"@parcel/transformer-sass": "^2.16.4",
|
|
42
|
+
"parcel": "^2.16.4"
|
|
47
43
|
}
|
|
48
44
|
}
|
package/src/_components.scss
CHANGED
|
@@ -32,7 +32,7 @@ $mobile-breakpoint: 37.5rem;
|
|
|
32
32
|
font-size: var(--desktop-heading-03);
|
|
33
33
|
line-height: var(--lh-desktop-heading-03);
|
|
34
34
|
letter-spacing: var(--desktop-tracking-heading-03);
|
|
35
|
-
|
|
35
|
+
|
|
36
36
|
@media screen and (max-width: $mobile-breakpoint) {
|
|
37
37
|
font-size: var(--mobile-heading-03);
|
|
38
38
|
line-height: var(--lh-mobile-heading-03);
|
|
@@ -44,7 +44,7 @@ $mobile-breakpoint: 37.5rem;
|
|
|
44
44
|
font-weight: 700;
|
|
45
45
|
font-size: var(--desktop-heading-04);
|
|
46
46
|
line-height: var(--lh-desktop-heading-04);
|
|
47
|
-
|
|
47
|
+
|
|
48
48
|
@media screen and (max-width: $mobile-breakpoint) {
|
|
49
49
|
font-size: var(--mobile-heading-04);
|
|
50
50
|
line-height: var(--lh-mobile-heading-04);
|
|
@@ -66,7 +66,7 @@ $mobile-breakpoint: 37.5rem;
|
|
|
66
66
|
font-weight: 500;
|
|
67
67
|
font-size: var(--desktop-heading-06);
|
|
68
68
|
line-height: var(--lh-desktop-heading-06);
|
|
69
|
-
|
|
69
|
+
|
|
70
70
|
@media screen and (max-width: $mobile-breakpoint) {
|
|
71
71
|
font-size: var(--mobile-heading-06);
|
|
72
72
|
line-height: var(--lh-mobile-heading-06);
|
|
@@ -76,7 +76,7 @@ $mobile-breakpoint: 37.5rem;
|
|
|
76
76
|
.nu-c-fs-lead {
|
|
77
77
|
font-size: var(--desktop-body-xl);
|
|
78
78
|
line-height: var(--lh-desktop-body-xl);
|
|
79
|
-
|
|
79
|
+
|
|
80
80
|
@media screen and (max-width: $mobile-breakpoint) {
|
|
81
81
|
font-size: var(--mobile-body-xl);
|
|
82
82
|
line-height: var(--lh-mobile-body-xl);
|
|
@@ -126,6 +126,7 @@ $mobile-breakpoint: 37.5rem;
|
|
|
126
126
|
}
|
|
127
127
|
|
|
128
128
|
.nu-c-code {
|
|
129
|
+
font-family: var(--monospace-code);
|
|
129
130
|
font-size: var(--desktop-code);
|
|
130
131
|
line-height: var(--desktop-code);
|
|
131
132
|
|
package/src/_fonts.scss
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
:root {
|
|
2
2
|
/* System Font Stacks */
|
|
3
3
|
--system-ui: system-ui, sans-serif;
|
|
4
|
-
--old-style:
|
|
5
|
-
|
|
6
|
-
--
|
|
7
|
-
|
|
4
|
+
--old-style:
|
|
5
|
+
'Iowan Old Style', 'Palatino Linotype', 'URW Palladio L', p052, serif;
|
|
6
|
+
--monospace-code:
|
|
7
|
+
ui-monospace, 'Cascadia Code', 'Source Code Pro', menlo, consolas, monospace;
|
|
8
|
+
--handwritten:
|
|
9
|
+
'Segoe Print', 'Bradley Hand', chilanka, tscu_comic, casual, cursive;
|
|
10
|
+
}
|
package/src/_utilities.scss
CHANGED
|
@@ -46,31 +46,17 @@
|
|
|
46
46
|
|
|
47
47
|
/* Font family */
|
|
48
48
|
.nu-u-serif {
|
|
49
|
-
font-family:
|
|
50
|
-
'Bodoni MT',
|
|
51
|
-
'Noto Serif Display',
|
|
52
|
-
'URW Palladio L',
|
|
53
|
-
P052,
|
|
54
|
-
Sylfaen,
|
|
49
|
+
font-family:
|
|
50
|
+
Didot, 'Bodoni MT', 'Noto Serif Display', 'URW Palladio L', 'P052', Sylfaen,
|
|
55
51
|
serif;
|
|
56
52
|
}
|
|
57
53
|
|
|
58
54
|
.nu-u-sans-serif {
|
|
59
|
-
font-family:
|
|
60
|
-
Roboto,
|
|
61
|
-
'Helvetica Neue',
|
|
62
|
-
'Arial Nova',
|
|
63
|
-
'Nimbus Sans',
|
|
64
|
-
Arial,
|
|
55
|
+
font-family:
|
|
56
|
+
Inter, Roboto, 'Helvetica Neue', 'Arial Nova', 'Nimbus Sans', Arial,
|
|
65
57
|
sans-serif;
|
|
66
58
|
}
|
|
67
59
|
|
|
68
60
|
.nu-u-code {
|
|
69
|
-
font-family:
|
|
70
|
-
|
|
71
|
-
'Source Code Pro',
|
|
72
|
-
Menlo,
|
|
73
|
-
Consolas,
|
|
74
|
-
'DejaVu Sans Mono',
|
|
75
|
-
monospace;
|
|
76
|
-
}
|
|
61
|
+
font-family: var(--monospace-code);
|
|
62
|
+
}
|
package/src/_variables.scss
CHANGED
|
@@ -6,30 +6,24 @@
|
|
|
6
6
|
--mobile-heading-04: 1.25rem;
|
|
7
7
|
--mobile-heading-05: 1.125rem;
|
|
8
8
|
--mobile-heading-06: 1rem;
|
|
9
|
-
|
|
10
9
|
--mobile-body-xl: 1rem;
|
|
11
10
|
--mobile-body: 0.875rem;
|
|
12
11
|
--mobile-body-sm: 0.75rem;
|
|
13
|
-
|
|
14
12
|
--mobile-caption: 0.75rem;
|
|
15
13
|
--mobile-helper-text: 0.75rem;
|
|
16
14
|
--mobile-code: 0.875rem;
|
|
17
|
-
|
|
18
15
|
--lh-mobile-heading-01: 2.5rem;
|
|
19
16
|
--lh-mobile-heading-02: 2.25rem;
|
|
20
17
|
--lh-mobile-heading-03: 1.875rem;
|
|
21
18
|
--lh-mobile-heading-04: 1.75rem;
|
|
22
19
|
--lh-mobile-heading-05: 1.625rem;
|
|
23
20
|
--lh-mobile-heading-06: 1.5rem;
|
|
24
|
-
|
|
25
21
|
--lh-mobile-body-xl: 1.5rem;
|
|
26
22
|
--lh-mobile-body: 1.25rem;
|
|
27
23
|
--lh-mobile-body-sm: 1rem;
|
|
28
|
-
|
|
29
24
|
--lh-mobile-caption: 1rem;
|
|
30
25
|
--lh-mobile-helper-text: 1rem;
|
|
31
26
|
--lh-mobile-code: 1.25rem;
|
|
32
|
-
|
|
33
27
|
--mobile-tracking-heading-01: -0.05rem;
|
|
34
28
|
--mobile-tracking-heading-02: -0.025rem;
|
|
35
29
|
--mobile-tracking-heading-03: -0.025rem;
|
|
@@ -41,31 +35,25 @@
|
|
|
41
35
|
--desktop-heading-04: 1.75rem;
|
|
42
36
|
--desktop-heading-05: 1.25rem;
|
|
43
37
|
--desktop-heading-06: 1.125rem;
|
|
44
|
-
|
|
45
38
|
--desktop-body-xl: 1.125rem;
|
|
46
39
|
--desktop-body: 1rem;
|
|
47
40
|
--desktop-body-sm: 0.875rem;
|
|
48
|
-
|
|
49
41
|
--desktop-caption: 0.75rem;
|
|
50
42
|
--desktop-helper-text: 0.75rem;
|
|
51
43
|
--desktop-code: 0.875rem;
|
|
52
|
-
|
|
53
44
|
--lh-desktop-heading-01: 4rem;
|
|
54
45
|
--lh-desktop-heading-02: 3.125rem;
|
|
55
46
|
--lh-desktop-heading-03: 2.5rem;
|
|
56
47
|
--lh-desktop-heading-04: 2.25rem;
|
|
57
48
|
--lh-desktop-heading-05: 1.75rem;
|
|
58
49
|
--lh-desktop-heading-06: 1.625rem;
|
|
59
|
-
|
|
60
50
|
--lh-desktop-body-xl: 1.625rem;
|
|
61
51
|
--lh-desktop-body: 1.5rem;
|
|
62
52
|
--lh-desktop-body-sm: 1.25rem;
|
|
63
|
-
|
|
64
53
|
--lh-desktop-caption: 1rem;
|
|
65
54
|
--lh-desktop-helper-text: 1rem;
|
|
66
55
|
--lh-desktop-code: 1.25rem;
|
|
67
|
-
|
|
68
56
|
--desktop-tracking-heading-01: -0.075rem;
|
|
69
57
|
--desktop-tracking-heading-02: -0.05rem;
|
|
70
58
|
--desktop-tracking-heading-03: -0.025rem;
|
|
71
|
-
}
|
|
59
|
+
}
|
package/src/index.scss
CHANGED