Skip to content

Commit

Permalink
fix(format): run prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
eng618 committed Feb 6, 2024
1 parent cd07308 commit 1e80c1a
Show file tree
Hide file tree
Showing 7 changed files with 48 additions and 21 deletions.
2 changes: 1 addition & 1 deletion packages/example/src/pages/components/markdown.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -278,5 +278,5 @@ the markdown source.
Comments can be added that will not display on the page, but will be visible in
the markdown source.

{/* Comments like this are visible in code, but are not visible on the page */}
{/_ Comments like this are visible in code, but are not visible on the page _/}
```
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
height: 3rem;
background-color: $gray-80;
color: $white-0;
transition: max-width $duration-fast-02 $standard-easing,
transition:
max-width $duration-fast-02 $standard-easing,
background $duration-fast-02 $standard-easing;

@include breakpoint('lg') {
Expand Down Expand Up @@ -128,7 +129,8 @@
padding: 0;
flex-shrink: 0;
opacity: 1;
transition: background-color $duration-fast-02 $standard-easing,
transition:
background-color $duration-fast-02 $standard-easing,
opacity $duration-fast-02 $standard-easing;
// Hex values used pending shell theming
&:hover {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
.leftNavWrapper {
transition: transform 0.15s cubic-bezier(0.2, 0.2, 0.38, 0.9), top 110ms;
transition:
transform 0.15s cubic-bezier(0.2, 0.2, 0.38, 0.9),
top 110ms;
width: 256px;
position: fixed;
top: 0px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
border-top: 3px solid transparent; // 3px accessibility minimum
height: 3rem;
outline-offset: -2px; // needed for focus state to be visible
transition: background $duration-moderate-01 $standard-easing,
transition:
background $duration-moderate-01 $standard-easing,
border-top $duration-moderate-01 $standard-easing; //transitioning all creates a bug on focus bc of outline transition

@include breakpoint('md') {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,11 @@
padding: $spacing-03 $spacing-05;
white-space: nowrap;
outline-color: transparent;
transition: color $duration-fast-02, background-color $duration-fast-02,
border-color $duration-fast-02, outline-color $duration-fast-02;
transition:
color $duration-fast-02,
background-color $duration-fast-02,
border-color $duration-fast-02,
outline-color $duration-fast-02;
border: none;
margin: 0;
border-right: 1px solid $ui-03;
Expand Down
44 changes: 31 additions & 13 deletions packages/gatsby-theme-carbon/src/styles/internal/_plex.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
font-family: 'IBM Plex Sans Var';
font-style: normal;
font-weight: 100 900;
src: url('https://gatsby.carbondesignsystem.com/fonts/6.3/IBMPlexSansVar-Roman-Latin1.woff2')
src:
url('https://gatsby.carbondesignsystem.com/fonts/6.3/IBMPlexSansVar-Roman-Latin1.woff2')
format('woff2-variations'),
url('https://gatsby.carbondesignsystem.com/fonts/6.3/IBMPlexSansVar-Roman-Latin1.woff2')
format('woff2');
Expand All @@ -21,7 +22,8 @@
font-family: 'IBM Plex Sans Var';
font-style: normal;
font-weight: 100 900;
src: url('https://gatsby.carbondesignsystem.com/fonts/6.3/IBMPlexSansVar-Roman-Latin2.woff2')
src:
url('https://gatsby.carbondesignsystem.com/fonts/6.3/IBMPlexSansVar-Roman-Latin2.woff2')
format('woff2-variations'),
url('https://gatsby.carbondesignsystem.com/fonts/6.3/IBMPlexSansVar-Roman-Latin2.woff2')
format('woff2');
Expand All @@ -35,7 +37,8 @@
font-family: 'IBM Plex Sans Var';
font-style: normal;
font-weight: 100 900;
src: url('https://gatsby.carbondesignsystem.com/fonts/6.3/IBMPlexSansVar-Roman-Latin3.woff2')
src:
url('https://gatsby.carbondesignsystem.com/fonts/6.3/IBMPlexSansVar-Roman-Latin3.woff2')
format('woff2-variations'),
url('https://gatsby.carbondesignsystem.com/fonts/6.3/IBMPlexSansVar-Roman-Latin3.woff2')
format('woff2');
Expand All @@ -46,7 +49,8 @@
font-family: 'IBM Plex Sans Var';
font-style: normal;
font-weight: 100 900;
src: url('https://gatsby.carbondesignsystem.com/fonts/6.3/IBMPlexSansVar-Roman-Pi.woff2')
src:
url('https://gatsby.carbondesignsystem.com/fonts/6.3/IBMPlexSansVar-Roman-Pi.woff2')
format('woff2-variations'),
url('https://gatsby.carbondesignsystem.com/fonts/6.3/IBMPlexSansVar-Roman-Pi.woff2')
format('woff2');
Expand All @@ -65,7 +69,8 @@
font-family: 'IBM Plex Sans Var';
font-style: italic;
font-weight: 100 900;
src: url('https://gatsby.carbondesignsystem.com/fonts/6.3/IBMPlexSansVar-Italic-Latin1.woff2')
src:
url('https://gatsby.carbondesignsystem.com/fonts/6.3/IBMPlexSansVar-Italic-Latin1.woff2')
format('woff2-variations'),
url('https://gatsby.carbondesignsystem.com/fonts/6.3/IBMPlexSansVar-Italic-Latin1.woff2')
format('woff2');
Expand All @@ -78,7 +83,8 @@
font-family: 'IBM Plex Sans Var';
font-style: italic;
font-weight: 100 900;
src: url('https://gatsby.carbondesignsystem.com/fonts/6.3/IBMPlexSansVar-Italic-Latin2.woff2')
src:
url('https://gatsby.carbondesignsystem.com/fonts/6.3/IBMPlexSansVar-Italic-Latin2.woff2')
format('woff2-variations'),
url('https://gatsby.carbondesignsystem.com/fonts/6.3/IBMPlexSansVar-Italic-Latin2.woff2')
format('woff2');
Expand All @@ -92,7 +98,8 @@
font-family: 'IBM Plex Sans Var';
font-style: italic;
font-weight: 100 900;
src: url('https://gatsby.carbondesignsystem.com/fonts/6.3/IBMPlexSansVar-Italic-Latin3.woff2')
src:
url('https://gatsby.carbondesignsystem.com/fonts/6.3/IBMPlexSansVar-Italic-Latin3.woff2')
format('woff2-variations'),
url('https://gatsby.carbondesignsystem.com/fonts/6.3/IBMPlexSansVar-Italic-Latin3.woff2')
format('woff2');
Expand All @@ -103,7 +110,8 @@
font-family: 'IBM Plex Sans Var';
font-style: italic;
font-weight: 100 900;
src: url('https://gatsby.carbondesignsystem.com/fonts/6.3/IBMPlexSansVar-Italic-Pi.woff2')
src:
url('https://gatsby.carbondesignsystem.com/fonts/6.3/IBMPlexSansVar-Italic-Pi.woff2')
format('woff2-variations'),
url('https://gatsby.carbondesignsystem.com/fonts/6.3/IBMPlexSansVar-Italic-Pi.woff2')
format('woff2');
Expand All @@ -121,7 +129,9 @@
font-family: 'IBM Plex Mono';
font-style: normal;
font-weight: 400;
src: local('IBM Plex Mono'), local('IBMPlexMono'),
src:
local('IBM Plex Mono'),
local('IBMPlexMono'),
url('https://gatsby.carbondesignsystem.com/fonts/mono/IBMPlexMono-Regular-Latin1.woff2')
format('woff2');
unicode-range: U+0000, U+000D, U+0020-007E, U+00A0-00A3, U+00A4-00FF, U+0131,
Expand All @@ -134,7 +144,9 @@
font-family: 'IBM Plex Mono';
font-style: normal;
font-weight: 400;
src: local('IBM Plex Mono'), local('IBMPlexMono'),
src:
local('IBM Plex Mono'),
local('IBMPlexMono'),
url('https://gatsby.carbondesignsystem.com/fonts/mono/IBMPlexMono-Regular-Latin2.woff2')
format('woff2');
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF,
Expand All @@ -145,7 +157,9 @@
font-family: 'IBM Plex Mono';
font-style: normal;
font-weight: 400;
src: local('IBM Plex Mono'), local('IBMPlexMono'),
src:
local('IBM Plex Mono'),
local('IBMPlexMono'),
url('https://gatsby.carbondesignsystem.com/fonts/mono/IBMPlexMono-Regular-Latin3.woff2')
format('woff2');
unicode-range: U+0102-0103, U+1EA0-1EF9, U+20AB;
Expand All @@ -155,7 +169,9 @@
font-family: 'IBM Plex Mono';
font-style: normal;
font-weight: 400;
src: local('IBM Plex Mono'), local('IBMPlexMono'),
src:
local('IBM Plex Mono'),
local('IBMPlexMono'),
url('https://gatsby.carbondesignsystem.com/fonts/mono/IBMPlexMono-Regular-Pi.woff2')
format('woff2');
unicode-range: U+0E3F, U+2032-2033, U+2070, U+2075-2079, U+2080-2081, U+2083,
Expand All @@ -170,7 +186,9 @@
font-family: 'IBM Plex Mono';
font-style: normal;
font-weight: 400;
src: local('IBM Plex Mono'), local('IBMPlexMono'),
src:
local('IBM Plex Mono'),
local('IBMPlexMono'),
url('https://gatsby.carbondesignsystem.com/fonts/mono/IBMPlexMono-Regular-Cyrillic.woff2')
format('woff2');
unicode-range: U+0400-045F, U+0472-0473, U+0490-049D, U+04A0-04A5, U+04AA-04AB,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,8 @@ a.cds--side-nav__link > .cds--side-nav__icon {
visibility: hidden;
opacity: 0;
will-change: opacity;
transition: $transition-expansion opacity $standard-easing,
transition:
$transition-expansion opacity $standard-easing,
$transition-expansion visibility $standard-easing;
background: $overlay-01;
position: fixed;
Expand Down

0 comments on commit 1e80c1a

Please sign in to comment.