Merge pull request #2687 from Automattic/fix/seedlet-spearhead-body-font-weight

Fix/seedlet spearhead body font weight
This commit is contained in:
Ben Dwyer 2020-10-26 16:42:16 +00:00 committed by GitHub
commit a8a1c5d0b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 20 additions and 5 deletions

View file

@ -23,6 +23,8 @@
--global--font-size-xxl: 32px;
--global--font-size-xxxl: 48px;
--global--letter-spacing: normal;
/* Font Weight */
--global--font-weight: normal;
/* Line Height */
--global--line-height-base: 1;
--global--line-height-body: 1.7;

File diff suppressed because one or more lines are too long

View file

@ -26,6 +26,9 @@ $typescale-ratio: 1.2; // Run ratio math on 1em == $typescale-base * $typescale-
--global--font-size-xxxl: 48px;
--global--letter-spacing: normal;
/* Font Weight */
--global--font-weight: normal;
/* Line Height */
--global--line-height-base: #{$typescale-base / ( $typescale-base * 0 + 1 )};
--global--line-height-body: 1.7;

View file

@ -72,7 +72,7 @@ html {
// body resets
body {
font-size: var(--global--font-size-base); /* #{$typescale-base}; */
font-weight: normal;
font-weight: var(--global--font-weight);
color: var(--global--color-foreground);
text-align: left;
background-color: var(--global--color-background);

View file

@ -28,6 +28,8 @@ body {
--global--font-secondary: 'Fira Sans', Helvetica, Arial, sans-serif;
--global--font-code: monospace, monospace;
--global--font-ui: var(--global--font-secondary);
/* Font Weight */
--global--font-weight: normal;
/* Font Size */
--global--font-size-root: 18px;
--global--font-size-ratio: 1.2;

View file

@ -28,6 +28,8 @@
--global--font-secondary: 'Fira Sans', Helvetica, Arial, sans-serif;
--global--font-code: monospace, monospace;
--global--font-ui: var(--global--font-secondary);
/* Font Weight */
--global--font-weight: normal;
/* Font Size */
--global--font-size-root: 18px;
--global--font-size-ratio: 1.2;

View file

@ -91,6 +91,8 @@ Included in theme screenshot and in block patterns.
--global--font-size-xxl: 32px;
--global--font-size-xxxl: 48px;
--global--letter-spacing: normal;
/* Font Weight */
--global--font-weight: normal;
/* Line Height */
--global--line-height-base: 1;
--global--line-height-body: 1.7;
@ -916,7 +918,7 @@ html {
body {
font-size: var(--global--font-size-base);
/* 1em; */
font-weight: normal;
font-weight: var(--global--font-weight);
color: var(--global--color-foreground);
text-align: right;
background-color: var(--global--color-background);

View file

@ -91,6 +91,8 @@ Included in theme screenshot and in block patterns.
--global--font-size-xxl: 32px;
--global--font-size-xxxl: 48px;
--global--letter-spacing: normal;
/* Font Weight */
--global--font-weight: normal;
/* Line Height */
--global--line-height-base: 1;
--global--line-height-body: 1.7;
@ -916,7 +918,7 @@ html {
body {
font-size: var(--global--font-size-base);
/* 1em; */
font-weight: normal;
font-weight: var(--global--font-weight);
color: var(--global--color-foreground);
text-align: left;
background-color: var(--global--color-background);

File diff suppressed because one or more lines are too long

View file

@ -12,6 +12,8 @@
--global--color-foreground-light: #333333;
--global--color-background: #fff;
--global--color-border: var(--global--color-secondary);
/* Font Weight */
--global--font-weight: 500;
/* Font Size */
--global--font-size-xs: 14px;
--global--font-size-sm: 16px;