@expo/styleguide-native 6.1.2 → 7.0.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +2 -2
- package/README.md +4 -16
- package/dist/index.d.ts +4 -11
- package/dist/index.js +288 -30
- package/dist/{logos → src/logos}/DocsLogo.d.ts +0 -1
- package/dist/{logos → src/logos}/ExpoGoLogo.d.ts +0 -1
- package/dist/{logos → src/logos}/Logo.d.ts +0 -1
- package/dist/{logos → src/logos}/SnackLogo.d.ts +0 -1
- package/dist/{logos → src/logos}/WordMarkLogo.d.ts +0 -1
- package/dist/{logos → src/logos}/index.d.ts +0 -0
- package/dist/{styles → src/styles}/shadows.d.ts +0 -0
- package/dist/{styles → src/styles}/typography.d.ts +0 -0
- package/dist/{types → src/types}/index.d.ts +1 -1
- package/package.json +13 -17
- package/dist/icons/ActivityIcon.d.ts +0 -3
- package/dist/icons/ActivityIcon.js +0 -32
- package/dist/icons/AddPhotoIcon.d.ts +0 -3
- package/dist/icons/AddPhotoIcon.js +0 -32
- package/dist/icons/AndroidIcon.d.ts +0 -3
- package/dist/icons/AndroidIcon.js +0 -32
- package/dist/icons/AppleAppStoreIcon.d.ts +0 -3
- package/dist/icons/AppleAppStoreIcon.js +0 -34
- package/dist/icons/AppleIcon.d.ts +0 -3
- package/dist/icons/AppleIcon.js +0 -32
- package/dist/icons/AppleSimulatorIcon.d.ts +0 -3
- package/dist/icons/AppleSimulatorIcon.js +0 -36
- package/dist/icons/ArrowDownIcon.d.ts +0 -3
- package/dist/icons/ArrowDownIcon.js +0 -32
- package/dist/icons/ArrowLeftIcon.d.ts +0 -3
- package/dist/icons/ArrowLeftIcon.js +0 -32
- package/dist/icons/ArrowRightIcon.d.ts +0 -3
- package/dist/icons/ArrowRightIcon.js +0 -32
- package/dist/icons/ArrowUpIcon.d.ts +0 -3
- package/dist/icons/ArrowUpIcon.js +0 -32
- package/dist/icons/ArrowUpRightIcon.d.ts +0 -3
- package/dist/icons/ArrowUpRightIcon.js +0 -32
- package/dist/icons/AtSignIcon.d.ts +0 -3
- package/dist/icons/AtSignIcon.js +0 -32
- package/dist/icons/BadgeIcon.d.ts +0 -3
- package/dist/icons/BadgeIcon.js +0 -33
- package/dist/icons/BellIcon.d.ts +0 -3
- package/dist/icons/BellIcon.js +0 -32
- package/dist/icons/BranchIcon.d.ts +0 -3
- package/dist/icons/BranchIcon.js +0 -32
- package/dist/icons/BugInspectIcon.d.ts +0 -3
- package/dist/icons/BugInspectIcon.js +0 -34
- package/dist/icons/BuildIcon.d.ts +0 -3
- package/dist/icons/BuildIcon.js +0 -32
- package/dist/icons/BuildNumberIcon.d.ts +0 -3
- package/dist/icons/BuildNumberIcon.js +0 -32
- package/dist/icons/BuildProfileIcon.d.ts +0 -3
- package/dist/icons/BuildProfileIcon.js +0 -32
- package/dist/icons/ChangelogIcon.d.ts +0 -3
- package/dist/icons/ChangelogIcon.js +0 -33
- package/dist/icons/ChannelIcon.d.ts +0 -3
- package/dist/icons/ChannelIcon.js +0 -33
- package/dist/icons/ChartIcon.d.ts +0 -3
- package/dist/icons/ChartIcon.js +0 -33
- package/dist/icons/CheckIcon.d.ts +0 -3
- package/dist/icons/CheckIcon.js +0 -32
- package/dist/icons/ChevronDownIcon.d.ts +0 -3
- package/dist/icons/ChevronDownIcon.js +0 -32
- package/dist/icons/ChevronLeftIcon.d.ts +0 -3
- package/dist/icons/ChevronLeftIcon.js +0 -32
- package/dist/icons/ChevronRightIcon.d.ts +0 -3
- package/dist/icons/ChevronRightIcon.js +0 -32
- package/dist/icons/ChevronUpIcon.d.ts +0 -3
- package/dist/icons/ChevronUpIcon.js +0 -32
- package/dist/icons/ClipboardIcon.d.ts +0 -3
- package/dist/icons/ClipboardIcon.js +0 -34
- package/dist/icons/CloudSlashIcon.d.ts +0 -3
- package/dist/icons/CloudSlashIcon.js +0 -32
- package/dist/icons/CodeIcon.d.ts +0 -3
- package/dist/icons/CodeIcon.js +0 -32
- package/dist/icons/CommandLineIcon.d.ts +0 -3
- package/dist/icons/CommandLineIcon.js +0 -32
- package/dist/icons/CommitIcon.d.ts +0 -3
- package/dist/icons/CommitIcon.js +0 -32
- package/dist/icons/CredentialIcon.d.ts +0 -3
- package/dist/icons/CredentialIcon.js +0 -34
- package/dist/icons/CreditCardIcon.d.ts +0 -3
- package/dist/icons/CreditCardIcon.js +0 -33
- package/dist/icons/DatabaseIcon.d.ts +0 -3
- package/dist/icons/DatabaseIcon.js +0 -33
- package/dist/icons/DebugIcon.d.ts +0 -3
- package/dist/icons/DebugIcon.js +0 -33
- package/dist/icons/DeploymentIcon.d.ts +0 -3
- package/dist/icons/DeploymentIcon.js +0 -32
- package/dist/icons/DeploymentsIcon.d.ts +0 -3
- package/dist/icons/DeploymentsIcon.js +0 -35
- package/dist/icons/DiscordIcon.d.ts +0 -3
- package/dist/icons/DiscordIcon.js +0 -32
- package/dist/icons/DiscourseIcon.d.ts +0 -3
- package/dist/icons/DiscourseIcon.js +0 -32
- package/dist/icons/DownloadIcon.d.ts +0 -3
- package/dist/icons/DownloadIcon.js +0 -33
- package/dist/icons/EasMetadataIcon.d.ts +0 -3
- package/dist/icons/EasMetadataIcon.js +0 -39
- package/dist/icons/EasSubmitIcon.d.ts +0 -3
- package/dist/icons/EasSubmitIcon.js +0 -39
- package/dist/icons/EditIcon.d.ts +0 -3
- package/dist/icons/EditIcon.js +0 -37
- package/dist/icons/ErrorIcon.d.ts +0 -3
- package/dist/icons/ErrorIcon.js +0 -32
- package/dist/icons/FacebookIcon.d.ts +0 -3
- package/dist/icons/FacebookIcon.js +0 -32
- package/dist/icons/GeneralIcon.d.ts +0 -3
- package/dist/icons/GeneralIcon.js +0 -43
- package/dist/icons/GithubIcon.d.ts +0 -3
- package/dist/icons/GithubIcon.js +0 -32
- package/dist/icons/GoogleAppStoreIcon.d.ts +0 -3
- package/dist/icons/GoogleAppStoreIcon.js +0 -32
- package/dist/icons/HamburgerIcon.d.ts +0 -3
- package/dist/icons/HamburgerIcon.js +0 -32
- package/dist/icons/HeadsetIcon.d.ts +0 -3
- package/dist/icons/HeadsetIcon.js +0 -36
- package/dist/icons/HomeFilledIcon.d.ts +0 -3
- package/dist/icons/HomeFilledIcon.js +0 -32
- package/dist/icons/HomeIcon.d.ts +0 -3
- package/dist/icons/HomeIcon.js +0 -32
- package/dist/icons/InfoIcon.d.ts +0 -3
- package/dist/icons/InfoIcon.js +0 -32
- package/dist/icons/InspectElementIcon.d.ts +0 -3
- package/dist/icons/InspectElementIcon.js +0 -33
- package/dist/icons/InstagramIcon.d.ts +0 -3
- package/dist/icons/InstagramIcon.js +0 -32
- package/dist/icons/InvoicesIcon.d.ts +0 -3
- package/dist/icons/InvoicesIcon.js +0 -33
- package/dist/icons/LifebuoyIcon.d.ts +0 -3
- package/dist/icons/LifebuoyIcon.js +0 -32
- package/dist/icons/LockIcon.d.ts +0 -3
- package/dist/icons/LockIcon.js +0 -32
- package/dist/icons/LogoutMobileIcon.d.ts +0 -3
- package/dist/icons/LogoutMobileIcon.js +0 -33
- package/dist/icons/LogsIcon.d.ts +0 -3
- package/dist/icons/LogsIcon.js +0 -34
- package/dist/icons/MailIcon.d.ts +0 -3
- package/dist/icons/MailIcon.js +0 -32
- package/dist/icons/MegaphoneIcon.d.ts +0 -3
- package/dist/icons/MegaphoneIcon.js +0 -33
- package/dist/icons/MessageIcon.d.ts +0 -3
- package/dist/icons/MessageIcon.js +0 -32
- package/dist/icons/MoreHorizontalIcon.d.ts +0 -3
- package/dist/icons/MoreHorizontalIcon.js +0 -34
- package/dist/icons/MoreVerticalIcon.d.ts +0 -3
- package/dist/icons/MoreVerticalIcon.js +0 -34
- package/dist/icons/OneTimePasswordIcon.d.ts +0 -3
- package/dist/icons/OneTimePasswordIcon.js +0 -34
- package/dist/icons/OpenInternalIcon.d.ts +0 -3
- package/dist/icons/OpenInternalIcon.js +0 -33
- package/dist/icons/OrganizationIcon.d.ts +0 -3
- package/dist/icons/OrganizationIcon.js +0 -33
- package/dist/icons/OverviewIcon.d.ts +0 -3
- package/dist/icons/OverviewIcon.js +0 -32
- package/dist/icons/PerformanceIcon.d.ts +0 -3
- package/dist/icons/PerformanceIcon.js +0 -33
- package/dist/icons/PersonalTrainerIcon.d.ts +0 -3
- package/dist/icons/PersonalTrainerIcon.js +0 -32
- package/dist/icons/PinIcon.d.ts +0 -3
- package/dist/icons/PinIcon.js +0 -32
- package/dist/icons/PlanEnterpriseIcon.d.ts +0 -3
- package/dist/icons/PlanEnterpriseIcon.js +0 -32
- package/dist/icons/PlanFreeIcon.d.ts +0 -3
- package/dist/icons/PlanFreeIcon.js +0 -32
- package/dist/icons/PlanProductionIcon.d.ts +0 -3
- package/dist/icons/PlanProductionIcon.js +0 -33
- package/dist/icons/PlansIcon.d.ts +0 -3
- package/dist/icons/PlansIcon.js +0 -33
- package/dist/icons/PlusIcon.d.ts +0 -3
- package/dist/icons/PlusIcon.js +0 -32
- package/dist/icons/PrivacyIcon.d.ts +0 -3
- package/dist/icons/PrivacyIcon.js +0 -32
- package/dist/icons/ProjectTransferIcon.d.ts +0 -3
- package/dist/icons/ProjectTransferIcon.js +0 -33
- package/dist/icons/PushToDeviceIcon.d.ts +0 -3
- package/dist/icons/PushToDeviceIcon.js +0 -35
- package/dist/icons/QrCodeIcon.d.ts +0 -3
- package/dist/icons/QrCodeIcon.js +0 -36
- package/dist/icons/QuestionIcon.d.ts +0 -3
- package/dist/icons/QuestionIcon.js +0 -32
- package/dist/icons/QuestionMarkIcon.d.ts +0 -3
- package/dist/icons/QuestionMarkIcon.js +0 -32
- package/dist/icons/ReceiptIcon.d.ts +0 -3
- package/dist/icons/ReceiptIcon.js +0 -33
- package/dist/icons/RedditIcon.d.ts +0 -3
- package/dist/icons/RedditIcon.js +0 -32
- package/dist/icons/RefreshIcon.d.ts +0 -3
- package/dist/icons/RefreshIcon.js +0 -35
- package/dist/icons/RolloutIcon.d.ts +0 -3
- package/dist/icons/RolloutIcon.js +0 -33
- package/dist/icons/RunIcon.d.ts +0 -3
- package/dist/icons/RunIcon.js +0 -33
- package/dist/icons/RuntimeVersionIcon.d.ts +0 -3
- package/dist/icons/RuntimeVersionIcon.js +0 -32
- package/dist/icons/ScanIcon.d.ts +0 -3
- package/dist/icons/ScanIcon.js +0 -33
- package/dist/icons/SearchIcon.d.ts +0 -3
- package/dist/icons/SearchIcon.js +0 -33
- package/dist/icons/SecretsIcon.d.ts +0 -3
- package/dist/icons/SecretsIcon.js +0 -32
- package/dist/icons/SettingsFilledIcon.d.ts +0 -3
- package/dist/icons/SettingsFilledIcon.js +0 -32
- package/dist/icons/SettingsIcon.d.ts +0 -3
- package/dist/icons/SettingsIcon.js +0 -32
- package/dist/icons/SlashShortcutIcon.d.ts +0 -3
- package/dist/icons/SlashShortcutIcon.js +0 -32
- package/dist/icons/SparklesIcon.d.ts +0 -3
- package/dist/icons/SparklesIcon.js +0 -32
- package/dist/icons/StatusCanceledIcon.d.ts +0 -3
- package/dist/icons/StatusCanceledIcon.js +0 -32
- package/dist/icons/StatusFailedIcon.d.ts +0 -3
- package/dist/icons/StatusFailedIcon.js +0 -32
- package/dist/icons/StatusNewIcon.d.ts +0 -3
- package/dist/icons/StatusNewIcon.js +0 -33
- package/dist/icons/StatusSuccessIcon.d.ts +0 -3
- package/dist/icons/StatusSuccessIcon.js +0 -32
- package/dist/icons/StatusWaitingIcon.d.ts +0 -3
- package/dist/icons/StatusWaitingIcon.js +0 -32
- package/dist/icons/StoreIcon.d.ts +0 -3
- package/dist/icons/StoreIcon.js +0 -39
- package/dist/icons/ThemeAutoIcon.d.ts +0 -3
- package/dist/icons/ThemeAutoIcon.js +0 -33
- package/dist/icons/ThemeDarkIcon.d.ts +0 -3
- package/dist/icons/ThemeDarkIcon.js +0 -32
- package/dist/icons/ThemeIcon.d.ts +0 -3
- package/dist/icons/ThemeIcon.js +0 -32
- package/dist/icons/ThemeLightIcon.d.ts +0 -3
- package/dist/icons/ThemeLightIcon.js +0 -33
- package/dist/icons/ThumbsDownIcon.d.ts +0 -3
- package/dist/icons/ThumbsDownIcon.js +0 -32
- package/dist/icons/ThumbsUpIcon.d.ts +0 -3
- package/dist/icons/ThumbsUpIcon.js +0 -32
- package/dist/icons/TokensIcon.d.ts +0 -3
- package/dist/icons/TokensIcon.js +0 -34
- package/dist/icons/TrashIcon.d.ts +0 -3
- package/dist/icons/TrashIcon.js +0 -32
- package/dist/icons/TriangleDownIcon.d.ts +0 -3
- package/dist/icons/TriangleDownIcon.js +0 -32
- package/dist/icons/TriangleLeftIcon.d.ts +0 -3
- package/dist/icons/TriangleLeftIcon.js +0 -32
- package/dist/icons/TriangleRightIcon.d.ts +0 -3
- package/dist/icons/TriangleRightIcon.js +0 -32
- package/dist/icons/TriangleUpIcon.d.ts +0 -3
- package/dist/icons/TriangleUpIcon.js +0 -32
- package/dist/icons/TwitchIcon.d.ts +0 -3
- package/dist/icons/TwitchIcon.js +0 -33
- package/dist/icons/TwitterIcon.d.ts +0 -3
- package/dist/icons/TwitterIcon.js +0 -32
- package/dist/icons/UndoIcon.d.ts +0 -3
- package/dist/icons/UndoIcon.js +0 -32
- package/dist/icons/UpdateIcon.d.ts +0 -3
- package/dist/icons/UpdateIcon.js +0 -33
- package/dist/icons/UpgradeIcon.d.ts +0 -3
- package/dist/icons/UpgradeIcon.js +0 -32
- package/dist/icons/UploadIcon.d.ts +0 -3
- package/dist/icons/UploadIcon.js +0 -33
- package/dist/icons/UserFilledIcon.d.ts +0 -3
- package/dist/icons/UserFilledIcon.js +0 -32
- package/dist/icons/UserIcon.d.ts +0 -3
- package/dist/icons/UserIcon.js +0 -32
- package/dist/icons/UsersFilledIcon.d.ts +0 -3
- package/dist/icons/UsersFilledIcon.js +0 -33
- package/dist/icons/UsersIcon.d.ts +0 -3
- package/dist/icons/UsersIcon.js +0 -33
- package/dist/icons/VersionIcon.d.ts +0 -3
- package/dist/icons/VersionIcon.js +0 -33
- package/dist/icons/WarningIcon.d.ts +0 -3
- package/dist/icons/WarningIcon.js +0 -32
- package/dist/icons/WrapLinesIcon.d.ts +0 -3
- package/dist/icons/WrapLinesIcon.js +0 -33
- package/dist/icons/XIcon.d.ts +0 -3
- package/dist/icons/XIcon.js +0 -32
- package/dist/icons/YoutubeIcon.d.ts +0 -3
- package/dist/icons/YoutubeIcon.js +0 -32
- package/dist/icons/index.d.ts +0 -130
- package/dist/icons/index.js +0 -268
- package/dist/logos/DocsLogo.js +0 -33
- package/dist/logos/ExpoGoLogo.js +0 -32
- package/dist/logos/Logo.js +0 -32
- package/dist/logos/SnackLogo.js +0 -33
- package/dist/logos/WordMarkLogo.js +0 -32
- package/dist/logos/index.js +0 -16
- package/dist/styles/breakpoints.d.ts +0 -5
- package/dist/styles/breakpoints.js +0 -8
- package/dist/styles/palette.d.ts +0 -200
- package/dist/styles/palette.js +0 -50
- package/dist/styles/shadows.js +0 -40
- package/dist/styles/sizing.d.ts +0 -19
- package/dist/styles/sizing.js +0 -22
- package/dist/styles/spacing.d.ts +0 -36
- package/dist/styles/spacing.js +0 -40
- package/dist/styles/themes.d.ts +0 -236
- package/dist/styles/themes.js +0 -240
- package/dist/styles/typography.js +0 -338
- package/dist/types/index.js +0 -2
package/dist/styles/themes.js
DELETED
|
@@ -1,240 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.darkTheme = exports.lightTheme = void 0;
|
|
4
|
-
const palette_1 = require("./palette");
|
|
5
|
-
exports.lightTheme = {
|
|
6
|
-
background: {
|
|
7
|
-
default: palette_1.palette.white,
|
|
8
|
-
screen: palette_1.palette.light.gray1,
|
|
9
|
-
subtle: palette_1.palette.light.gray2,
|
|
10
|
-
element: palette_1.palette.light.gray3,
|
|
11
|
-
hover: palette_1.palette.light.gray4,
|
|
12
|
-
selected: palette_1.palette.light.gray5,
|
|
13
|
-
overlay: palette_1.palette.white,
|
|
14
|
-
success: palette_1.palette.light.green3,
|
|
15
|
-
warning: palette_1.palette.light.yellow3,
|
|
16
|
-
danger: palette_1.palette.light.red3,
|
|
17
|
-
info: palette_1.palette.light.blue3,
|
|
18
|
-
},
|
|
19
|
-
icon: {
|
|
20
|
-
default: palette_1.palette.light.gray11,
|
|
21
|
-
secondary: palette_1.palette.light.gray10,
|
|
22
|
-
tertiary: palette_1.palette.light.gray9,
|
|
23
|
-
quaternary: palette_1.palette.light.gray8,
|
|
24
|
-
success: palette_1.palette.light.green10,
|
|
25
|
-
warning: palette_1.palette.light.yellow11,
|
|
26
|
-
danger: palette_1.palette.light.red10,
|
|
27
|
-
info: palette_1.palette.light.blue10,
|
|
28
|
-
},
|
|
29
|
-
text: {
|
|
30
|
-
default: palette_1.palette.light.gray12,
|
|
31
|
-
secondary: palette_1.palette.light.gray11,
|
|
32
|
-
tertiary: palette_1.palette.light.gray10,
|
|
33
|
-
quaternary: palette_1.palette.light.gray9,
|
|
34
|
-
link: palette_1.palette.light.blue11,
|
|
35
|
-
success: palette_1.palette.light.green11,
|
|
36
|
-
warning: palette_1.palette.light.yellow11,
|
|
37
|
-
danger: palette_1.palette.light.red11,
|
|
38
|
-
info: palette_1.palette.light.blue11,
|
|
39
|
-
},
|
|
40
|
-
border: {
|
|
41
|
-
default: palette_1.palette.light.gray7,
|
|
42
|
-
secondary: palette_1.palette.light.gray6,
|
|
43
|
-
success: palette_1.palette.light.green7,
|
|
44
|
-
warning: palette_1.palette.light.yellow7,
|
|
45
|
-
danger: palette_1.palette.light.red7,
|
|
46
|
-
info: palette_1.palette.light.blue7,
|
|
47
|
-
},
|
|
48
|
-
button: {
|
|
49
|
-
primary: {
|
|
50
|
-
background: palette_1.palette.light.blue10,
|
|
51
|
-
border: palette_1.palette.light.blue10,
|
|
52
|
-
hover: palette_1.palette.light.blue11,
|
|
53
|
-
icon: palette_1.palette.light.blue3,
|
|
54
|
-
text: palette_1.palette.white,
|
|
55
|
-
disabled: {
|
|
56
|
-
background: palette_1.palette.light.blue7,
|
|
57
|
-
border: palette_1.palette.light.blue7,
|
|
58
|
-
text: palette_1.palette.white,
|
|
59
|
-
},
|
|
60
|
-
destructive: {
|
|
61
|
-
background: palette_1.palette.light.red10,
|
|
62
|
-
border: palette_1.palette.light.red10,
|
|
63
|
-
hover: palette_1.palette.light.red11,
|
|
64
|
-
icon: palette_1.palette.light.red3,
|
|
65
|
-
text: palette_1.palette.white,
|
|
66
|
-
disabled: {
|
|
67
|
-
background: palette_1.palette.light.red7,
|
|
68
|
-
border: palette_1.palette.light.red7,
|
|
69
|
-
text: palette_1.palette.white,
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
},
|
|
73
|
-
secondary: {
|
|
74
|
-
background: palette_1.palette.white,
|
|
75
|
-
border: palette_1.palette.light.gray8,
|
|
76
|
-
hover: palette_1.palette.light.gray3,
|
|
77
|
-
icon: palette_1.palette.light.gray11,
|
|
78
|
-
text: palette_1.palette.light.gray12,
|
|
79
|
-
disabled: {
|
|
80
|
-
background: palette_1.palette.white,
|
|
81
|
-
border: palette_1.palette.light.gray6,
|
|
82
|
-
text: palette_1.palette.light.gray9,
|
|
83
|
-
},
|
|
84
|
-
destructive: {
|
|
85
|
-
background: palette_1.palette.white,
|
|
86
|
-
border: palette_1.palette.light.red7,
|
|
87
|
-
hover: palette_1.palette.light.red3,
|
|
88
|
-
icon: palette_1.palette.light.red9,
|
|
89
|
-
text: palette_1.palette.light.red11,
|
|
90
|
-
disabled: {
|
|
91
|
-
background: palette_1.palette.white,
|
|
92
|
-
border: palette_1.palette.light.red5,
|
|
93
|
-
text: palette_1.palette.light.red8,
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
},
|
|
97
|
-
tertiary: {
|
|
98
|
-
background: 'transparent',
|
|
99
|
-
border: 'transparent',
|
|
100
|
-
hover: palette_1.palette.light.blue4,
|
|
101
|
-
icon: palette_1.palette.light.blue9,
|
|
102
|
-
text: palette_1.palette.light.blue10,
|
|
103
|
-
disabled: {
|
|
104
|
-
background: 'transparent',
|
|
105
|
-
border: 'transparent',
|
|
106
|
-
text: palette_1.palette.light.blue8,
|
|
107
|
-
}
|
|
108
|
-
},
|
|
109
|
-
quaternary: {
|
|
110
|
-
background: 'transparent',
|
|
111
|
-
border: 'transparent',
|
|
112
|
-
hover: palette_1.palette.light.gray4,
|
|
113
|
-
icon: palette_1.palette.light.gray11,
|
|
114
|
-
text: palette_1.palette.light.gray12,
|
|
115
|
-
disabled: {
|
|
116
|
-
background: 'transparent',
|
|
117
|
-
border: 'transparent',
|
|
118
|
-
text: palette_1.palette.light.gray9,
|
|
119
|
-
}
|
|
120
|
-
},
|
|
121
|
-
},
|
|
122
|
-
};
|
|
123
|
-
exports.darkTheme = {
|
|
124
|
-
background: {
|
|
125
|
-
default: palette_1.palette.dark.gray1,
|
|
126
|
-
screen: '#0C0D0E',
|
|
127
|
-
subtle: palette_1.palette.dark.gray2,
|
|
128
|
-
element: palette_1.palette.dark.gray3,
|
|
129
|
-
hover: palette_1.palette.dark.gray4,
|
|
130
|
-
selected: palette_1.palette.dark.gray5,
|
|
131
|
-
overlay: palette_1.palette.dark.gray2,
|
|
132
|
-
success: palette_1.palette.dark.green3,
|
|
133
|
-
warning: palette_1.palette.dark.yellow3,
|
|
134
|
-
danger: palette_1.palette.dark.red3,
|
|
135
|
-
info: palette_1.palette.dark.blue3,
|
|
136
|
-
},
|
|
137
|
-
icon: {
|
|
138
|
-
default: palette_1.palette.dark.gray11,
|
|
139
|
-
secondary: palette_1.palette.dark.gray10,
|
|
140
|
-
tertiary: palette_1.palette.dark.gray9,
|
|
141
|
-
quaternary: palette_1.palette.dark.gray8,
|
|
142
|
-
success: palette_1.palette.dark.green10,
|
|
143
|
-
warning: palette_1.palette.dark.yellow11,
|
|
144
|
-
danger: palette_1.palette.dark.red10,
|
|
145
|
-
info: palette_1.palette.dark.blue10,
|
|
146
|
-
},
|
|
147
|
-
text: {
|
|
148
|
-
default: palette_1.palette.dark.gray12,
|
|
149
|
-
secondary: palette_1.palette.dark.gray11,
|
|
150
|
-
tertiary: palette_1.palette.dark.gray10,
|
|
151
|
-
quaternary: palette_1.palette.dark.gray9,
|
|
152
|
-
link: palette_1.palette.dark.blue11,
|
|
153
|
-
success: palette_1.palette.dark.green11,
|
|
154
|
-
warning: palette_1.palette.dark.yellow11,
|
|
155
|
-
danger: palette_1.palette.dark.red11,
|
|
156
|
-
info: palette_1.palette.dark.blue11,
|
|
157
|
-
},
|
|
158
|
-
border: {
|
|
159
|
-
default: palette_1.palette.dark.gray7,
|
|
160
|
-
secondary: palette_1.palette.dark.gray6,
|
|
161
|
-
success: palette_1.palette.dark.green7,
|
|
162
|
-
warning: palette_1.palette.dark.yellow7,
|
|
163
|
-
danger: palette_1.palette.dark.red7,
|
|
164
|
-
info: palette_1.palette.dark.blue7,
|
|
165
|
-
},
|
|
166
|
-
button: {
|
|
167
|
-
primary: {
|
|
168
|
-
background: palette_1.palette.dark.blue8,
|
|
169
|
-
border: palette_1.palette.dark.blue8,
|
|
170
|
-
hover: palette_1.palette.dark.blue7,
|
|
171
|
-
icon: palette_1.palette.dark.blue12,
|
|
172
|
-
text: palette_1.palette.white,
|
|
173
|
-
disabled: {
|
|
174
|
-
background: palette_1.palette.dark.blue7,
|
|
175
|
-
border: palette_1.palette.dark.blue7,
|
|
176
|
-
text: palette_1.palette.dark.gray11,
|
|
177
|
-
},
|
|
178
|
-
destructive: {
|
|
179
|
-
background: palette_1.palette.dark.red8,
|
|
180
|
-
border: palette_1.palette.dark.red8,
|
|
181
|
-
hover: palette_1.palette.dark.red7,
|
|
182
|
-
icon: palette_1.palette.dark.red12,
|
|
183
|
-
text: palette_1.palette.white,
|
|
184
|
-
disabled: {
|
|
185
|
-
background: palette_1.palette.dark.red6,
|
|
186
|
-
border: palette_1.palette.dark.red6,
|
|
187
|
-
text: palette_1.palette.dark.red11,
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
},
|
|
191
|
-
secondary: {
|
|
192
|
-
background: palette_1.palette.dark.gray3,
|
|
193
|
-
border: palette_1.palette.dark.gray8,
|
|
194
|
-
hover: palette_1.palette.dark.gray4,
|
|
195
|
-
icon: palette_1.palette.dark.gray12,
|
|
196
|
-
text: palette_1.palette.white,
|
|
197
|
-
disabled: {
|
|
198
|
-
background: palette_1.palette.dark.gray1,
|
|
199
|
-
border: palette_1.palette.dark.gray7,
|
|
200
|
-
text: palette_1.palette.dark.gray11,
|
|
201
|
-
},
|
|
202
|
-
destructive: {
|
|
203
|
-
background: palette_1.palette.dark.red3,
|
|
204
|
-
border: palette_1.palette.dark.red7,
|
|
205
|
-
hover: palette_1.palette.dark.red2,
|
|
206
|
-
icon: palette_1.palette.dark.red9,
|
|
207
|
-
text: palette_1.palette.white,
|
|
208
|
-
disabled: {
|
|
209
|
-
background: palette_1.palette.dark.red2,
|
|
210
|
-
border: palette_1.palette.dark.red6,
|
|
211
|
-
text: palette_1.palette.dark.red10,
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
},
|
|
215
|
-
tertiary: {
|
|
216
|
-
background: 'transparent',
|
|
217
|
-
border: 'transparent',
|
|
218
|
-
hover: palette_1.palette.dark.blue4,
|
|
219
|
-
icon: palette_1.palette.dark.blue10,
|
|
220
|
-
text: palette_1.palette.dark.blue11,
|
|
221
|
-
disabled: {
|
|
222
|
-
background: 'transparent',
|
|
223
|
-
border: 'transparent',
|
|
224
|
-
text: palette_1.palette.dark.blue8,
|
|
225
|
-
}
|
|
226
|
-
},
|
|
227
|
-
quaternary: {
|
|
228
|
-
background: 'transparent',
|
|
229
|
-
border: 'transparent',
|
|
230
|
-
hover: palette_1.palette.dark.gray4,
|
|
231
|
-
icon: palette_1.palette.dark.gray10,
|
|
232
|
-
text: palette_1.palette.dark.gray11,
|
|
233
|
-
disabled: {
|
|
234
|
-
background: 'transparent',
|
|
235
|
-
border: 'transparent',
|
|
236
|
-
text: palette_1.palette.dark.gray9,
|
|
237
|
-
}
|
|
238
|
-
},
|
|
239
|
-
},
|
|
240
|
-
};
|
|
@@ -1,338 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.typography = void 0;
|
|
4
|
-
const baseFontSize = 16;
|
|
5
|
-
const fontSizes = {
|
|
6
|
-
61: {
|
|
7
|
-
fontSize: 61,
|
|
8
|
-
lineHeight: 73,
|
|
9
|
-
letterSpacing: -0.022 * baseFontSize,
|
|
10
|
-
},
|
|
11
|
-
53: {
|
|
12
|
-
fontSize: 53,
|
|
13
|
-
lineHeight: 64,
|
|
14
|
-
letterSpacing: -0.022 * baseFontSize,
|
|
15
|
-
},
|
|
16
|
-
49: {
|
|
17
|
-
fontSize: 49,
|
|
18
|
-
lineHeight: 59,
|
|
19
|
-
letterSpacing: -0.022 * baseFontSize,
|
|
20
|
-
},
|
|
21
|
-
46: {
|
|
22
|
-
fontSize: 46,
|
|
23
|
-
lineHeight: 55,
|
|
24
|
-
letterSpacing: -0.022 * baseFontSize,
|
|
25
|
-
},
|
|
26
|
-
43: {
|
|
27
|
-
fontSize: 43,
|
|
28
|
-
lineHeight: 52,
|
|
29
|
-
letterSpacing: -0.022 * baseFontSize,
|
|
30
|
-
},
|
|
31
|
-
39: {
|
|
32
|
-
fontSize: 39,
|
|
33
|
-
lineHeight: 51,
|
|
34
|
-
letterSpacing: -0.022 * baseFontSize,
|
|
35
|
-
},
|
|
36
|
-
37: {
|
|
37
|
-
fontSize: 37,
|
|
38
|
-
lineHeight: 48,
|
|
39
|
-
letterSpacing: -0.022 * baseFontSize,
|
|
40
|
-
},
|
|
41
|
-
34: {
|
|
42
|
-
fontSize: 34,
|
|
43
|
-
lineHeight: 44,
|
|
44
|
-
letterSpacing: -0.022 * baseFontSize,
|
|
45
|
-
},
|
|
46
|
-
31: {
|
|
47
|
-
fontSize: 31,
|
|
48
|
-
lineHeight: 40,
|
|
49
|
-
letterSpacing: -0.021 * baseFontSize,
|
|
50
|
-
},
|
|
51
|
-
29: {
|
|
52
|
-
fontSize: 29,
|
|
53
|
-
lineHeight: 38,
|
|
54
|
-
letterSpacing: -0.021 * baseFontSize,
|
|
55
|
-
},
|
|
56
|
-
27: {
|
|
57
|
-
fontSize: 27,
|
|
58
|
-
lineHeight: 36,
|
|
59
|
-
letterSpacing: -0.021 * baseFontSize,
|
|
60
|
-
},
|
|
61
|
-
25: {
|
|
62
|
-
fontSize: 25,
|
|
63
|
-
lineHeight: 35,
|
|
64
|
-
letterSpacing: -0.021 * baseFontSize,
|
|
65
|
-
},
|
|
66
|
-
23: {
|
|
67
|
-
fontSize: 23,
|
|
68
|
-
lineHeight: 32,
|
|
69
|
-
letterSpacing: -0.019 * baseFontSize,
|
|
70
|
-
},
|
|
71
|
-
22: {
|
|
72
|
-
fontSize: 22,
|
|
73
|
-
lineHeight: 31,
|
|
74
|
-
letterSpacing: -0.018 * baseFontSize,
|
|
75
|
-
},
|
|
76
|
-
20: {
|
|
77
|
-
fontSize: 20,
|
|
78
|
-
lineHeight: 30,
|
|
79
|
-
letterSpacing: -0.017 * baseFontSize,
|
|
80
|
-
},
|
|
81
|
-
19: {
|
|
82
|
-
fontSize: 19,
|
|
83
|
-
lineHeight: 29,
|
|
84
|
-
letterSpacing: -0.015 * baseFontSize,
|
|
85
|
-
},
|
|
86
|
-
18: {
|
|
87
|
-
fontSize: 18,
|
|
88
|
-
lineHeight: 28,
|
|
89
|
-
letterSpacing: -0.014 * baseFontSize,
|
|
90
|
-
},
|
|
91
|
-
16: {
|
|
92
|
-
fontSize: 16,
|
|
93
|
-
lineHeight: 26,
|
|
94
|
-
letterSpacing: -0.011 * baseFontSize,
|
|
95
|
-
},
|
|
96
|
-
15: {
|
|
97
|
-
fontSize: 15,
|
|
98
|
-
lineHeight: 24,
|
|
99
|
-
letterSpacing: -0.009 * baseFontSize,
|
|
100
|
-
},
|
|
101
|
-
14: {
|
|
102
|
-
fontSize: 14,
|
|
103
|
-
lineHeight: 22,
|
|
104
|
-
letterSpacing: -0.006 * baseFontSize,
|
|
105
|
-
},
|
|
106
|
-
13: {
|
|
107
|
-
fontSize: 13,
|
|
108
|
-
lineHeight: 21,
|
|
109
|
-
letterSpacing: -0.003 * baseFontSize,
|
|
110
|
-
},
|
|
111
|
-
12: {
|
|
112
|
-
fontSize: 12,
|
|
113
|
-
lineHeight: 19,
|
|
114
|
-
},
|
|
115
|
-
};
|
|
116
|
-
const headers = {
|
|
117
|
-
xl: {
|
|
118
|
-
large: {
|
|
119
|
-
huge: {
|
|
120
|
-
fontWeight: '900',
|
|
121
|
-
...fontSizes[61],
|
|
122
|
-
},
|
|
123
|
-
h1: {
|
|
124
|
-
fontWeight: '600',
|
|
125
|
-
...fontSizes[49],
|
|
126
|
-
},
|
|
127
|
-
h2: {
|
|
128
|
-
fontWeight: '600',
|
|
129
|
-
...fontSizes[39],
|
|
130
|
-
},
|
|
131
|
-
h3: {
|
|
132
|
-
fontWeight: '600',
|
|
133
|
-
...fontSizes[31],
|
|
134
|
-
},
|
|
135
|
-
h4: {
|
|
136
|
-
fontWeight: '600',
|
|
137
|
-
...fontSizes[25],
|
|
138
|
-
},
|
|
139
|
-
h5: {
|
|
140
|
-
fontWeight: '600',
|
|
141
|
-
...fontSizes[20],
|
|
142
|
-
},
|
|
143
|
-
h6: {
|
|
144
|
-
fontWeight: '600',
|
|
145
|
-
...fontSizes[16],
|
|
146
|
-
},
|
|
147
|
-
},
|
|
148
|
-
medium: {
|
|
149
|
-
huge: {
|
|
150
|
-
fontWeight: '900',
|
|
151
|
-
...fontSizes[53],
|
|
152
|
-
},
|
|
153
|
-
h1: {
|
|
154
|
-
fontWeight: '600',
|
|
155
|
-
...fontSizes[43],
|
|
156
|
-
},
|
|
157
|
-
h2: {
|
|
158
|
-
fontWeight: '600',
|
|
159
|
-
...fontSizes[34],
|
|
160
|
-
},
|
|
161
|
-
h3: {
|
|
162
|
-
fontWeight: '600',
|
|
163
|
-
...fontSizes[27],
|
|
164
|
-
},
|
|
165
|
-
h4: {
|
|
166
|
-
fontWeight: '600',
|
|
167
|
-
...fontSizes[22],
|
|
168
|
-
},
|
|
169
|
-
h5: {
|
|
170
|
-
fontWeight: '600',
|
|
171
|
-
...fontSizes[18],
|
|
172
|
-
},
|
|
173
|
-
h6: {
|
|
174
|
-
fontWeight: '600',
|
|
175
|
-
...fontSizes[16],
|
|
176
|
-
},
|
|
177
|
-
},
|
|
178
|
-
small: {
|
|
179
|
-
huge: {
|
|
180
|
-
fontWeight: '900',
|
|
181
|
-
...fontSizes[46],
|
|
182
|
-
},
|
|
183
|
-
h1: {
|
|
184
|
-
fontWeight: '600',
|
|
185
|
-
...fontSizes[37],
|
|
186
|
-
},
|
|
187
|
-
h2: {
|
|
188
|
-
fontWeight: '600',
|
|
189
|
-
...fontSizes[29],
|
|
190
|
-
},
|
|
191
|
-
h3: {
|
|
192
|
-
fontWeight: '600',
|
|
193
|
-
...fontSizes[23],
|
|
194
|
-
},
|
|
195
|
-
h4: {
|
|
196
|
-
fontWeight: '600',
|
|
197
|
-
...fontSizes[19],
|
|
198
|
-
},
|
|
199
|
-
h5: {
|
|
200
|
-
fontWeight: '600',
|
|
201
|
-
...fontSizes[16],
|
|
202
|
-
},
|
|
203
|
-
h6: {
|
|
204
|
-
fontWeight: '600',
|
|
205
|
-
...fontSizes[16],
|
|
206
|
-
},
|
|
207
|
-
},
|
|
208
|
-
},
|
|
209
|
-
default: {
|
|
210
|
-
large: {
|
|
211
|
-
huge: {
|
|
212
|
-
fontWeight: '900',
|
|
213
|
-
...fontSizes[39],
|
|
214
|
-
},
|
|
215
|
-
h1: {
|
|
216
|
-
fontWeight: '600',
|
|
217
|
-
...fontSizes[31],
|
|
218
|
-
},
|
|
219
|
-
h2: {
|
|
220
|
-
fontWeight: '600',
|
|
221
|
-
...fontSizes[25],
|
|
222
|
-
},
|
|
223
|
-
h3: {
|
|
224
|
-
fontWeight: '600',
|
|
225
|
-
...fontSizes[20],
|
|
226
|
-
},
|
|
227
|
-
h4: {
|
|
228
|
-
fontWeight: '600',
|
|
229
|
-
...fontSizes[16],
|
|
230
|
-
},
|
|
231
|
-
h5: {
|
|
232
|
-
fontWeight: '600',
|
|
233
|
-
...fontSizes[13],
|
|
234
|
-
},
|
|
235
|
-
h6: {
|
|
236
|
-
fontWeight: '600',
|
|
237
|
-
...fontSizes[12],
|
|
238
|
-
},
|
|
239
|
-
},
|
|
240
|
-
medium: {
|
|
241
|
-
huge: {
|
|
242
|
-
fontWeight: '900',
|
|
243
|
-
...fontSizes[34],
|
|
244
|
-
},
|
|
245
|
-
h1: {
|
|
246
|
-
fontWeight: '600',
|
|
247
|
-
...fontSizes[27],
|
|
248
|
-
},
|
|
249
|
-
h2: {
|
|
250
|
-
fontWeight: '600',
|
|
251
|
-
...fontSizes[22],
|
|
252
|
-
},
|
|
253
|
-
h3: {
|
|
254
|
-
fontWeight: '600',
|
|
255
|
-
...fontSizes[18],
|
|
256
|
-
},
|
|
257
|
-
h4: {
|
|
258
|
-
fontWeight: '600',
|
|
259
|
-
...fontSizes[16],
|
|
260
|
-
},
|
|
261
|
-
h5: {
|
|
262
|
-
fontWeight: '600',
|
|
263
|
-
...fontSizes[13],
|
|
264
|
-
},
|
|
265
|
-
h6: {
|
|
266
|
-
fontWeight: '600',
|
|
267
|
-
...fontSizes[12],
|
|
268
|
-
},
|
|
269
|
-
},
|
|
270
|
-
small: {
|
|
271
|
-
huge: {
|
|
272
|
-
fontWeight: '900',
|
|
273
|
-
...fontSizes[29],
|
|
274
|
-
},
|
|
275
|
-
h1: {
|
|
276
|
-
fontWeight: '600',
|
|
277
|
-
...fontSizes[23],
|
|
278
|
-
},
|
|
279
|
-
h2: {
|
|
280
|
-
fontWeight: '600',
|
|
281
|
-
...fontSizes[19],
|
|
282
|
-
},
|
|
283
|
-
h3: {
|
|
284
|
-
fontWeight: '600',
|
|
285
|
-
...fontSizes[16],
|
|
286
|
-
},
|
|
287
|
-
h4: {
|
|
288
|
-
fontWeight: '600',
|
|
289
|
-
...fontSizes[16],
|
|
290
|
-
},
|
|
291
|
-
h5: {
|
|
292
|
-
fontWeight: '600',
|
|
293
|
-
...fontSizes[13],
|
|
294
|
-
},
|
|
295
|
-
h6: {
|
|
296
|
-
fontWeight: '600',
|
|
297
|
-
...fontSizes[12],
|
|
298
|
-
},
|
|
299
|
-
},
|
|
300
|
-
},
|
|
301
|
-
};
|
|
302
|
-
const baseStyle = {
|
|
303
|
-
fontWeight: '400',
|
|
304
|
-
...fontSizes[16],
|
|
305
|
-
};
|
|
306
|
-
const body = {
|
|
307
|
-
headline: {
|
|
308
|
-
fontWeight: '500',
|
|
309
|
-
...fontSizes[16],
|
|
310
|
-
},
|
|
311
|
-
paragraph: baseStyle,
|
|
312
|
-
label: {
|
|
313
|
-
fontWeight: '500',
|
|
314
|
-
...fontSizes[15],
|
|
315
|
-
},
|
|
316
|
-
callout: {
|
|
317
|
-
fontWeight: '400',
|
|
318
|
-
...fontSizes[14],
|
|
319
|
-
},
|
|
320
|
-
footnote: {
|
|
321
|
-
fontWeight: '400',
|
|
322
|
-
...fontSizes[13],
|
|
323
|
-
},
|
|
324
|
-
caption: {
|
|
325
|
-
fontWeight: '400',
|
|
326
|
-
...fontSizes[12],
|
|
327
|
-
},
|
|
328
|
-
code: {
|
|
329
|
-
fontWeight: '400',
|
|
330
|
-
...fontSizes[13],
|
|
331
|
-
},
|
|
332
|
-
};
|
|
333
|
-
exports.typography = {
|
|
334
|
-
baseFontSize,
|
|
335
|
-
headers,
|
|
336
|
-
body,
|
|
337
|
-
fontSizes,
|
|
338
|
-
};
|
package/dist/types/index.js
DELETED