Skip to content

Commit

Permalink
refactor(tokens): retain older custom properties & reorder stacks
Browse files Browse the repository at this point in the history
  • Loading branch information
pfulton committed Jul 13, 2023
1 parent 61caa38 commit 8bd7239
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions components/tokens/custom-spectrum/custom-vars.css
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,17 @@ governing permissions and limitations under the License.
--spectrum-animation-ease-out: cubic-bezier(0, 0, 0.40, 1);
--spectrum-animation-ease-linear: cubic-bezier(0, 0, 1, 1);

--spectrum-sans-font-family-stack: adobe-clean, 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Ubuntu, 'Trebuchet MS', 'Lucida Grande', sans-serif;

--spectrum-sans-font-family-stack: adobe-clean, var(--spectrum-sans-serif-font-family), 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Ubuntu, 'Trebuchet MS', 'Lucida Grande', sans-serif;
--spectrum-sans-serif-font: var(--spectrum-sans-font-family-stack);

--spectrum-serif-font-family-stack: adobe-clean-serif, 'Source Serif Pro', Georgia, serif;
--spectrum-serif-font-family-stack: adobe-clean-serif, var(--spectrum-serif-font-family), 'Source Serif Pro', Georgia, serif;
--spectrum-serif-font: var(--spectrum-serif-font-family-stack);

--spectrum-code-font-family-stack: 'Source Code Pro', Monaco, monospace;

--spectrum-cjk-font-family-stack: adobe-clean-han-japanese, sans-serif;

--spectrum-cjk-font-family-stack: adobe-clean-han-japanese, var(--spectrum-cjk-font-family), sans-serif;
--spectrum-cjk-font: var(--spectrum-code-font-family-stack);

/* static white / black background color for docs containers */
--spectrum-docs-static-white-background-color: rgb(15, 121, 125);
Expand Down

0 comments on commit 8bd7239

Please sign in to comment.