Skip to content

Commit c7eb78c

Browse files
committed
chore: feb 12 tokens
1 parent 3e9bf5f commit c7eb78c

30 files changed

+445
-3
lines changed

.storybook/preview-head.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@
3333
crossorigin="anonymous"
3434
/>
3535
<link rel="stylesheet" href="https://assets.twilio.com/public_assets/paste-fonts/1.5.2/fonts.css" />
36+
<link rel="preconnect" href="https://fonts.googleapis.com" />
37+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
38+
<link href="https://fonts.googleapis.com/css2?family=Tektur:wght@400..900&display=swap" rel="stylesheet" />
3639
<script>
3740
window.global = window;
3841
window.process = {

.storybook/preview.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export const globalTypes = {
2222
// https://github.com/storybookjs/storybook/blob/master/lib/components/src/icon/icons.tsx
2323
icon: "paintbrush",
2424
// array of plain string values or MenuItem shape (see below)
25-
items: ["default", "dark", "sendgrid", "evergreen", "twilio", "twilio-dark"],
25+
items: ["default", "dark", "sendgrid", "evergreen", "twilio", "twilio-dark", "rebrand"],
2626
},
2727
},
2828
theme_layout: {
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
imports:
2+
- ../../../aliases/color-palette.yml
3+
aliases:
4+
## Colors
5+
amaranth: "#EF223A"
6+
palette-blue-05: "E4F7FF"
7+
palette-blue-10: "A5EBFF"
8+
palette-blue-20: "3ACEFA"
9+
palette-blue-30: "19ABF3"
10+
palette-blue-40: "2188EF"
11+
palette-blue-50: "1866EE"
12+
palette-blue-60: "1953B9"
13+
palette-blue-70: "0E3E92"
14+
palette-blue-80: "0B2A60"
15+
palette-blue-85: "081F47"
16+
palette-blue-90: "000D25"
17+
palette-blue-50-transparent-30: "EEEEEE"
18+
palette-gray-05: "F3F4F7"
19+
palette-gray-10: "DDE0E6"
20+
palette-gray-20: "BABECC"
21+
palette-gray-30: "9AA0B4"
22+
palette-gray-40: "7E869C"
23+
palette-gray-50: "656E87"
24+
palette-gray-60: "4D5777"
25+
palette-gray-70: "38425E"
26+
palette-gray-80: "232B45"
27+
palette-gray-85: "191F36"
28+
palette-gray-90: "080C18"
29+
palette-gray-100: "080C18"
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
aliases:
2+
font-family-rebrand: "'Tektur', 'TwilioSansDisplay', 'Inter var experimental', 'Inter var', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif"
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
aliases:
2+
font-size-display-10: "2.25rem" #36px
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
global:
2+
type: color
3+
category: background-color
4+
imports:
5+
- ../../twilio-dark/global/background-color.yml
6+
- ../../../aliases/border-radius.yml
7+
props:
8+
color-background:
9+
value: "{!palette-gray-80}"
10+
color-background-weaker:
11+
value: "{!palette-gray-85}"
12+
color-background-strong:
13+
value: "{!palette-gray-75}"
14+
color-background-body:
15+
value: "{!palette-gray-100}"
16+
color-background-body-inverse:
17+
value: "{!palette-gray-110}"
18+
color-background-inverse:
19+
value: "{!palette-gray-110}"
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
global:
2+
type: color
3+
category: border-color
4+
imports:
5+
- ../../twilio-dark/global/border-color.yml
6+
- ../../../aliases/color-palette.yml
7+
8+
props:
9+
color-border-primary:
10+
value: "{!palette-blue-30}"
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
global:
2+
type: size
3+
category: radius
4+
imports:
5+
- ../../twilio-dark/global/border-radius.yml
6+
- ../../../aliases/border-radius.yml
7+
props:
8+
border-radius-20:
9+
value: "{!border-radius-pill}"
10+
border-radius-30:
11+
value: "{!border-radius-60}"
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
global:
2+
type: size
3+
category: border-width
4+
imports:
5+
- ../../twilio-dark/global/border-width.yml
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
global:
2+
type: shadow
3+
category: box-shadow
4+
imports:
5+
- ../../twilio-dark/global/box-shadow.yml
6+
- ../aliases/color-palette.yml
7+
props:
8+
shadow-brand-10:
9+
value: "{!offset-0} {!offset-0} {!offset-80} {!offset-0} {!palette-blue-50-transparent-30}"
10+
shadow-border-weak:
11+
value: "{!palette-gray-55}"

0 commit comments

Comments
 (0)