Skip to content

Commit 8d2e72f

Browse files
committed
chore: sarah catches
1 parent c86ebb6 commit 8d2e72f

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

packages/paste-design-tokens/__tests__/__snapshots__/index.test.tsx.snap

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ exports[`Design Tokens matches the Dark theme 1`] = `
166166
\\"shadow-border-destructive\\": \\"0 0 0 1px #d61f1f\\",
167167
\\"shadow-high\\": \\"0 16px 24px 4px rgba(0, 0, 0, 0.5)\\",
168168
\\"shadow-right\\": \\"-4px 0 8px -4px rgba(0, 0, 0, 0.4)\\",
169-
\\"shadow-elevation-right-inverse-05\\": \\"1px 1px 0 0 #1f304c\\",
169+
\\"shadow-elevation-right-inverse-05\\": \\"1px 0 0 0 #1f304c\\",
170170
\\"shadow-border-error-strong\\": \\"0 0 0 1px #f6b1b1\\",
171171
\\"shadow-border-bottom-inverse-weaker\\": \\"0 1px 0 #394762\\",
172172
\\"shadow-border-primary-strongest\\": \\"0 0 0 1px #ebf4ff\\",
@@ -648,7 +648,7 @@ exports[`Design Tokens matches the Global theme 1`] = `
648648
\\"shadow-border-destructive\\": \\"0 0 0 1px #d61f1f\\",
649649
\\"shadow-high\\": \\"0 16px 24px 0 rgba(18, 28, 45, 0.2)\\",
650650
\\"shadow-right\\": \\"-4px 0 8px -4px rgba(18, 28, 45, 0.2)\\",
651-
\\"shadow-elevation-right-inverse-05\\": \\"1px 1px 0 0 #1f304c\\",
651+
\\"shadow-elevation-right-inverse-05\\": \\"1px 0 0 0 #1f304c\\",
652652
\\"shadow-border-error-strong\\": \\"0 0 0 1px #750c0c\\",
653653
\\"shadow-border-bottom-inverse-weaker\\": \\"0 1px 0 #394762\\",
654654
\\"shadow-border-primary-strongest\\": \\"0 0 0 1px #06033a\\",
@@ -1130,7 +1130,7 @@ exports[`Design Tokens matches the Sendgrid theme 1`] = `
11301130
\\"shadow-border-destructive\\": \\"0 0 0 1px #d61f1f\\",
11311131
\\"shadow-high\\": \\"0 16px 24px 0 rgba(18, 28, 45, 0.2)\\",
11321132
\\"shadow-right\\": \\"-4px 0 8px -4px rgba(18, 28, 45, 0.2)\\",
1133-
\\"shadow-elevation-right-inverse-05\\": \\"1px 1px 0 0 #1f304c\\",
1133+
\\"shadow-elevation-right-inverse-05\\": \\"1px 0 0 0 #1f304c\\",
11341134
\\"shadow-border-error-strong\\": \\"0 0 0 1px #750c0c\\",
11351135
\\"shadow-border-bottom-inverse-weaker\\": \\"0 1px 0 #394762\\",
11361136
\\"shadow-border-primary-strongest\\": \\"0 0 0 1px #06033a\\",
@@ -1612,7 +1612,7 @@ exports[`Design Tokens matches the Twilio Dark theme 1`] = `
16121612
\\"shadow-border-destructive\\": \\"0 0 0 1px #d61f1f\\",
16131613
\\"shadow-high\\": \\"0 16px 24px 4px rgba(0, 0, 0, 0.5)\\",
16141614
\\"shadow-right\\": \\"-4px 0 8px -4px rgba(0, 0, 0, 0.4)\\",
1615-
\\"shadow-elevation-right-inverse-05\\": \\"1px 1px 0 0 #1f304c\\",
1615+
\\"shadow-elevation-right-inverse-05\\": \\"1px 0 0 0 #1f304c\\",
16161616
\\"shadow-border-error-strong\\": \\"0 0 0 1px #f58a8a\\",
16171617
\\"shadow-border-bottom-inverse-weaker\\": \\"0 1px 0 #394762\\",
16181618
\\"shadow-border-primary-strongest\\": \\"0 0 0 1px #ebf4ff\\",
@@ -2094,7 +2094,7 @@ exports[`Design Tokens matches the Twilio theme 1`] = `
20942094
\\"shadow-border-destructive\\": \\"0 0 0 1px #c72323\\",
20952095
\\"shadow-high\\": \\"0 16px 24px 0 rgba(18, 28, 45, 0.2)\\",
20962096
\\"shadow-right\\": \\"-4px 0 8px -4px rgba(18, 28, 45, 0.2)\\",
2097-
\\"shadow-elevation-right-inverse-05\\": \\"1px 1px 0 0 #1f304c\\",
2097+
\\"shadow-elevation-right-inverse-05\\": \\"1px 0 0 0 #1f304c\\",
20982098
\\"shadow-border-error-strong\\": \\"0 0 0 1px #750c0c\\",
20992099
\\"shadow-border-bottom-inverse-weaker\\": \\"0 1px 0 #394762\\",
21002100
\\"shadow-border-primary-strongest\\": \\"0 0 0 1px #06033a\\",

packages/paste-design-tokens/tokens/global/box-shadow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ props:
275275
value: "{!offset-0} {!offset-05} {!offset-0} {!offset-0} {!palette-gray-90}"
276276
comment: Accent shadows that subtly define the bottom edge of an inverse element. They serve as a lightweight alternative to risen shadows at lower elevations.
277277
shadow-elevation-right-inverse-05:
278-
value: "{!offset-05} {!offset-05} {!offset-0} {!offset-0} {!palette-gray-90}"
278+
value: "{!offset-05} {!offset-0} {!offset-0} {!offset-0} {!palette-gray-90}"
279279
comment: Accent shadows that subtly define the right edge of an inverse element. They serve as a lightweight alternative to risen shadows at lower elevations.
280280
shadow-elevation-10:
281281
value: "{!offset-0} {!offset-negative-05} {!offset-0} {!offset-0} {!palette-gray-10}, {!offset-0} {!offset-15} {!offset-20} {!offset-0} {!palette-gray-110-transparent-10}"

packages/paste-website/src/components/tokens-list/index.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,10 @@ const Content: React.FC<React.PropsWithChildren<BoxProps>> = (props) => (
4040
const defaultTheme = "twilio";
4141
const defaultFormat = "css";
4242

43-
const hiddenTokens = { "box-shadows": ["shadow", "shadow-low", "shadow-high", "shadow-card"] };
43+
const hiddenTokens = {
44+
"box-shadows": ["shadow", "shadow-low", "shadow-high", "shadow-card"],
45+
"color-schemes": ["color-scheme"],
46+
};
4447

4548
const getTokenListByTheme = (theme: Themes): Tokens => {
4649
let tokenList: Tokens = TwilioThemeTokens.tokens;

0 commit comments

Comments
 (0)