@aragon/gov-ui-kit 2.0.1 → 2.2.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/build.css +1 -1
- package/dist/index.es.js +1 -1
- package/dist/index.es.js.map +1 -1
- package/dist/types/.storybook/components/styleBlock/index.d.ts +1 -1
- package/dist/types/.storybook/theme.d.ts +1 -1
- package/dist/types/jest.config.d.ts +3 -0
- package/dist/types/postcss.config.d.ts +3 -0
- package/dist/types/src/core/components/alerts/alertCard/alertCard.d.ts +1 -1
- package/dist/types/src/core/components/alerts/alertInline/alertInline.d.ts +1 -1
- package/dist/types/src/core/components/avatars/avatar/avatar.d.ts +1 -1
- package/dist/types/src/core/components/avatars/avatarIcon/avatarIcon.d.ts +2 -2
- package/dist/types/src/core/components/cards/cardSummary/index.d.ts +1 -1
- package/dist/types/src/core/components/collapsible/collapsible.api.d.ts +1 -1
- package/dist/types/src/core/components/collapsible/collapsible.d.ts +1 -1
- package/dist/types/src/core/components/collapsible/index.d.ts +1 -1
- package/dist/types/src/core/components/dataList/dataListContext/index.d.ts +1 -1
- package/dist/types/src/core/components/dataList/dataListItem/dataListItem.d.ts +1 -1
- package/dist/types/src/core/components/definitionList/definitionListContainer/definitionListContainer.d.ts +1 -1
- package/dist/types/src/core/components/definitionList/definitionListItem/definitionListItem.d.ts +1 -1
- package/dist/types/src/core/components/dialogs/dialog/dialogContent/dialogContent.d.ts +1 -1
- package/dist/types/src/core/components/dialogs/dialog/dialogHeader/dialogHeader.d.ts +1 -1
- package/dist/types/src/core/components/dialogs/dialog/dialogRoot/index.d.ts +1 -1
- package/dist/types/src/core/components/dialogs/dialogAlert/dialogAlertContent/dialogAlertContent.d.ts +1 -1
- package/dist/types/src/core/components/dialogs/dialogAlert/dialogAlertContext/index.d.ts +1 -1
- package/dist/types/src/core/components/forms/checkboxCard/checkboxCard.d.ts +1 -1
- package/dist/types/src/core/components/forms/hooks/index.d.ts +2 -2
- package/dist/types/src/core/components/forms/inputDate/index.d.ts +1 -1
- package/dist/types/src/core/components/forms/inputFileAvatar/index.d.ts +1 -1
- package/dist/types/src/core/components/forms/inputFileAvatar/inputFileAvatar.api.d.ts +2 -2
- package/dist/types/src/core/components/forms/inputNumber/index.d.ts +1 -1
- package/dist/types/src/core/components/forms/inputNumberMax/index.d.ts +1 -1
- package/dist/types/src/core/components/forms/inputSearch/index.d.ts +1 -1
- package/dist/types/src/core/components/forms/inputText/inputText.api.d.ts +9 -0
- package/dist/types/src/core/components/forms/inputTime/index.d.ts +1 -1
- package/dist/types/src/core/components/forms/radio/index.d.ts +1 -1
- package/dist/types/src/core/components/forms/radioCard/index.d.ts +1 -1
- package/dist/types/src/core/components/forms/radioGroup/index.d.ts +1 -1
- package/dist/types/src/core/components/forms/switch/index.d.ts +1 -1
- package/dist/types/src/core/components/forms/textArea/index.d.ts +1 -1
- package/dist/types/src/core/components/forms/textAreaRichText/index.d.ts +1 -1
- package/dist/types/src/core/components/gukCoreProvider/index.d.ts +1 -1
- package/dist/types/src/core/components/icon/icon.d.ts +1 -1
- package/dist/types/src/core/components/icon/iconList.d.ts +1 -1
- package/dist/types/src/core/components/icon/iconType.d.ts +9 -1
- package/dist/types/src/core/components/icon/index.d.ts +1 -1
- package/dist/types/src/core/components/illustrations/illustrationHuman/index.d.ts +1 -1
- package/dist/types/src/core/components/illustrations/illustrationObject/index.d.ts +1 -1
- package/dist/types/src/core/components/link/link/index.d.ts +1 -1
- package/dist/types/src/core/components/link/linkBase/index.d.ts +1 -1
- package/dist/types/src/core/components/progress/progress.api.d.ts +2 -2
- package/dist/types/src/core/components/rerender/index.d.ts +1 -1
- package/dist/types/src/core/components/spinner/index.d.ts +1 -1
- package/dist/types/src/core/components/spinner/spinner.d.ts +1 -1
- package/dist/types/src/core/components/states/statePingAnimation/index.d.ts +1 -1
- package/dist/types/src/core/components/states/statePingAnimation/statePingAnimation.d.ts +1 -1
- package/dist/types/src/core/components/states/stateSkeletonBar/index.d.ts +1 -1
- package/dist/types/src/core/components/states/stateSkeletonBar/stateSkeletonBar.d.ts +2 -2
- package/dist/types/src/core/components/states/stateSkeletonCircular/index.d.ts +1 -1
- package/dist/types/src/core/components/states/stateSkeletonCircular/stateSkeletonCircular.d.ts +1 -1
- package/dist/types/src/core/components/tabs/tabsContent/index.d.ts +1 -1
- package/dist/types/src/core/components/tabs/tabsContent/tabsContent.d.ts +1 -1
- package/dist/types/src/core/components/tabs/tabsList/index.d.ts +1 -1
- package/dist/types/src/core/components/tabs/tabsRoot/index.d.ts +1 -1
- package/dist/types/src/core/components/tabs/tabsTrigger/index.d.ts +1 -1
- package/dist/types/src/core/components/tag/index.d.ts +1 -1
- package/dist/types/src/core/components/toggles/toggle/index.d.ts +1 -1
- package/dist/types/src/core/components/toggles/toggleGroup/index.d.ts +1 -1
- package/dist/types/src/core/components/tooltip/index.d.ts +1 -1
- package/dist/types/src/core/components/tooltip/tooltip.d.ts +1 -1
- package/dist/types/src/core/hooks/useCopy/index.d.ts +1 -1
- package/dist/types/src/core/hooks/useDebouncedValue/index.d.ts +1 -1
- package/dist/types/src/core/utils/formatterUtils/formatterUtils.d.ts +1 -1
- package/dist/types/src/core/utils/formatterUtils/formatterUtilsDefinitions.d.ts +1 -1
- package/dist/types/src/core/utils/formatterUtils/index.d.ts +1 -1
- package/dist/types/src/modules/assets/copy/modulesCopy.d.ts +1 -1
- package/dist/types/src/modules/components/asset/assetTransfer/assetTransfer.d.ts +1 -1
- package/dist/types/src/modules/components/asset/assetTransfer/assetTransferAddress/assetTransferAddress.d.ts +1 -1
- package/dist/types/src/modules/components/gukModulesProvider/index.d.ts +1 -1
- package/dist/types/src/modules/components/member/memberAvatar/index.d.ts +1 -1
- package/dist/types/src/modules/components/member/memberDataListItem/memberDataListItemSkeleton/index.d.ts +1 -1
- package/dist/types/src/modules/components/member/memberDataListItem/memberDataListItemStructure/index.d.ts +1 -1
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsContainer/index.d.ts +1 -1
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsContext/index.d.ts +1 -1
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsDecoder/index.d.ts +1 -1
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsDecoder/proposalActionsDecoder.api.d.ts +1 -1
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsDecoder/proposalActionsDecoderField/index.d.ts +1 -1
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsDefinitions.d.ts +1 -1
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsFooter/index.d.ts +1 -1
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsRoot/index.d.ts +1 -1
- package/dist/types/src/modules/components/proposal/proposalDataListItem/proposalDataListItemSkeleton/index.d.ts +1 -1
- package/dist/types/src/modules/components/proposal/proposalDataListItem/proposalDataListItemStatus/index.d.ts +1 -1
- package/dist/types/src/modules/components/proposal/proposalDataListItem/proposalDataListItemStatus/proposalDataListItemStatus.d.ts +1 -1
- package/dist/types/src/modules/components/proposal/proposalDataListItem/proposalDataListItemStructure/proposalDataListItemStructure.api.d.ts +2 -2
- package/dist/types/src/modules/components/proposal/proposalDataListItem/proposalDataListItemStructure/proposalDataListItemStructure.d.ts +1 -1
- package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingBodyContent/index.d.ts +1 -1
- package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingBodySummary/index.d.ts +1 -1
- package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingBodySummaryList/index.d.ts +1 -1
- package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingBodySummaryListItem/index.d.ts +1 -1
- package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingBreakdownMultisig/index.d.ts +1 -1
- package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingBreakdownToken/index.d.ts +1 -1
- package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingContainer/index.d.ts +1 -1
- package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingContainer/proposalVotingContainer.d.ts +1 -1
- package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingDetails/index.d.ts +1 -1
- package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingStage/index.d.ts +1 -1
- package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingStage/proposalVotingStage.d.ts +1 -1
- package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingStageContainer/index.d.ts +1 -1
- package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingStatus/index.d.ts +1 -1
- package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingTabs/index.d.ts +1 -1
- package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingVotes/index.d.ts +1 -1
- package/dist/types/src/modules/components/smartContract/smartContractFunctionDataListItem/smartContractFunctionDataListItemSkeleton/index.d.ts +1 -1
- package/dist/types/src/modules/components/smartContract/smartContractFunctionDataListItem/smartContractFunctionDataListItemStructure/index.d.ts +1 -1
- package/dist/types/src/modules/components/transaction/transactionDataListItem/transactionDataListItemSkeleton/index.d.ts +1 -1
- package/dist/types/src/modules/components/transaction/transactionDataListItem/transactionDataListItemStructure/index.d.ts +1 -1
- package/dist/types/src/modules/components/transaction/transactionDataListItem/transactionDataListItemStructure/transactionDataListItemStructure.api.d.ts +2 -2
- package/dist/types/src/modules/components/vote/voteDataListItem/voteDataListItemSkeleton/index.d.ts +1 -1
- package/dist/types/src/modules/components/vote/voteDataListItem/voteDataListItemStructure/index.d.ts +1 -1
- package/dist/types/src/modules/components/vote/voteDataListItem/voteDataListItemStructure/voteDataListItemStructure.d.ts +1 -1
- package/dist/types/src/modules/components/vote/voteProposalDataListItem/voteProposalDataListItemSkeleton/index.d.ts +1 -1
- package/dist/types/src/modules/components/vote/voteProposalDataListItem/voteProposalDataListItemStructure/index.d.ts +1 -1
- package/dist/types/src/modules/components/vote/voteUtils.d.ts +1 -1
- package/dist/types/src/modules/components/wallet/index.d.ts +1 -1
- package/dist/types/src/modules/components/wallet/wallet.d.ts +1 -1
- package/dist/types/src/modules/hooks/useFormContext/index.d.ts +1 -1
- package/index.css +1 -1
- package/package.json +47 -58
- package/src/core/components/avatars/avatar/index.css +2 -2
- package/src/core/components/avatars/index.css +1 -1
- package/src/core/components/collapsible/index.css +2 -2
- package/src/core/components/dialogs/dialog/dialogRoot/index.css +4 -4
- package/src/core/components/dialogs/dialog/index.css +1 -1
- package/src/core/components/dialogs/dialogAlert/dialogAlertRoot/index.css +4 -4
- package/src/core/components/dialogs/dialogAlert/index.css +1 -1
- package/src/core/components/dialogs/index.css +2 -2
- package/src/core/components/dropdown/dropdownContainer/index.css +2 -2
- package/src/core/components/dropdown/index.css +1 -1
- package/src/core/components/forms/index.css +1 -1
- package/src/core/components/forms/textAreaRichText/index.css +2 -2
- package/src/core/components/illustrations/index.css +4 -4
- package/src/core/components/index.css +6 -6
- package/src/core/index.css +1 -1
- package/src/index.css +2 -2
- package/src/theme/index.css +2 -2
- package/src/theme/tokens/index.css +1 -1
- package/src/theme/tokens/primitives/borderRadius.css +8 -8
- package/src/theme/tokens/primitives/breakpoints.css +11 -11
- package/src/theme/tokens/primitives/colors.css +68 -68
- package/src/theme/tokens/primitives/focusRing.css +34 -34
- package/src/theme/tokens/primitives/shadows.css +93 -45
- package/src/theme/tokens/primitives/spacing.css +1 -1
- package/src/theme/tokens/primitives/typography.css +28 -28
- package/src/theme/utils/animations.css +19 -19
- package/src/theme/utils/prose.css +65 -65
- package/src/theme/utils/pseudoElements.css +17 -17
- package/dist/types/node_modules/.pnpm/events@3.3.0/node_modules/events/events.d.ts +0 -30
|
@@ -1,83 +1,83 @@
|
|
|
1
1
|
@theme {
|
|
2
|
-
|
|
2
|
+
--color-*: initial;
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
4
|
+
/* Primary */
|
|
5
|
+
--color-primary-50: #f5f8ff;
|
|
6
|
+
--color-primary-100: #c4d7ff;
|
|
7
|
+
--color-primary-200: #93b2ff;
|
|
8
|
+
--color-primary-300: #628cfe;
|
|
9
|
+
--color-primary-400: #3164fa;
|
|
10
|
+
--color-primary-500: #003bf5;
|
|
11
|
+
--color-primary-600: #0037d2;
|
|
12
|
+
--color-primary-700: #0031ad;
|
|
13
|
+
--color-primary-800: #002985;
|
|
14
|
+
--color-primary-900: #001f5c;
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
16
|
+
/* Neutral */
|
|
17
|
+
--color-neutral-0: #ffffff;
|
|
18
|
+
--color-neutral-50: #f5f7fa;
|
|
19
|
+
--color-neutral-100: #e4e7eb;
|
|
20
|
+
--color-neutral-200: #cbd2d9;
|
|
21
|
+
--color-neutral-300: #9aa5b1;
|
|
22
|
+
--color-neutral-400: #7b8794;
|
|
23
|
+
--color-neutral-500: #616e7c;
|
|
24
|
+
--color-neutral-600: #52606d;
|
|
25
|
+
--color-neutral-700: #3e4c59;
|
|
26
|
+
--color-neutral-800: #323f4b;
|
|
27
|
+
--color-neutral-900: #1f2933;
|
|
28
28
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
29
|
+
/* Info */
|
|
30
|
+
--color-info-100: #d1fdfa;
|
|
31
|
+
--color-info-200: #a4f9fb;
|
|
32
|
+
--color-info-300: #75e8f3;
|
|
33
|
+
--color-info-400: #52cfe7;
|
|
34
|
+
--color-info-500: #1eadd8;
|
|
35
|
+
--color-info-600: #1588b9;
|
|
36
|
+
--color-info-700: #0f669b;
|
|
37
|
+
--color-info-800: #09497d;
|
|
38
|
+
--color-info-900: #053467;
|
|
39
39
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
40
|
+
/* Success */
|
|
41
|
+
--color-success-100: #f3fccc;
|
|
42
|
+
--color-success-200: #e4f99a;
|
|
43
|
+
--color-success-300: #ccef66;
|
|
44
|
+
--color-success-400: #b2e040;
|
|
45
|
+
--color-success-500: #8ecc0a;
|
|
46
|
+
--color-success-600: #74af07;
|
|
47
|
+
--color-success-700: #5c9205;
|
|
48
|
+
--color-success-800: #467603;
|
|
49
|
+
--color-success-900: #366101;
|
|
50
50
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
51
|
+
/* Warning */
|
|
52
|
+
--color-warning-100: #fff3d6;
|
|
53
|
+
--color-warning-200: #ffe4ad;
|
|
54
|
+
--color-warning-300: #ffd083;
|
|
55
|
+
--color-warning-400: #ffbe65;
|
|
56
|
+
--color-warning-500: #ff9f32;
|
|
57
|
+
--color-warning-600: #db7d24;
|
|
58
|
+
--color-warning-700: #b75e19;
|
|
59
|
+
--color-warning-800: #93430f;
|
|
60
|
+
--color-warning-900: #7a3009;
|
|
61
61
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
62
|
+
/* Critical */
|
|
63
|
+
--color-critical-100: #fee4d6;
|
|
64
|
+
--color-critical-200: #fec3ae;
|
|
65
|
+
--color-critical-300: #fd9a86;
|
|
66
|
+
--color-critical-400: #fb7467;
|
|
67
|
+
--color-critical-500: #f93636;
|
|
68
|
+
--color-critical-600: #d62736;
|
|
69
|
+
--color-critical-700: #b31b35;
|
|
70
|
+
--color-critical-800: #901132;
|
|
71
|
+
--color-critical-900: #770a30;
|
|
72
72
|
|
|
73
|
-
|
|
74
|
-
|
|
73
|
+
/* Transparent */
|
|
74
|
+
--color-transparent: transparent;
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
@utility gradient-neutral-50-transparent-to-b {
|
|
78
|
-
|
|
78
|
+
@apply bg-linear-to-b from-neutral-50/100 to-neutral-50/0;
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
@utility gradient-neutral-50-transparent-to-t {
|
|
82
|
-
|
|
82
|
+
@apply bg-linear-to-t from-neutral-50/100 to-neutral-50/0;
|
|
83
83
|
}
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
@theme {
|
|
2
|
-
|
|
2
|
+
--ring-color-*: initial;
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
--ring-color-primary: var(--color-primary-200);
|
|
5
|
+
--ring-color-success: var(--color-success-200);
|
|
6
|
+
--ring-color-warning: var(--color-warning-200);
|
|
7
|
+
--ring-color-critical: var(--color-critical-200);
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
@utility focus-ring {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
11
|
+
&:focus,
|
|
12
|
+
&:has(:focus) {
|
|
13
|
+
outline: none;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
&:focus-visible,
|
|
17
|
+
&:has(:focus-visible) {
|
|
18
|
+
@apply ring-3 ring-offset-3;
|
|
19
|
+
}
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
@utility focus-ring-primary {
|
|
23
|
-
|
|
23
|
+
@apply focus-ring;
|
|
24
24
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
25
|
+
&:focus-visible,
|
|
26
|
+
&:has(:focus-visible) {
|
|
27
|
+
@apply ring-primary;
|
|
28
|
+
}
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
@utility focus-ring-success {
|
|
32
|
-
|
|
32
|
+
@apply focus-ring;
|
|
33
33
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
34
|
+
&:focus-visible,
|
|
35
|
+
&:has(:focus-visible) {
|
|
36
|
+
@apply ring-success;
|
|
37
|
+
}
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
@utility focus-ring-warning {
|
|
41
|
-
|
|
41
|
+
@apply focus-ring;
|
|
42
42
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
43
|
+
&:focus-visible,
|
|
44
|
+
&:has(:focus-visible) {
|
|
45
|
+
@apply ring-warning;
|
|
46
|
+
}
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
@utility focus-ring-critical {
|
|
50
|
-
|
|
50
|
+
@apply focus-ring;
|
|
51
51
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
52
|
+
&:focus-visible,
|
|
53
|
+
&:has(:focus-visible) {
|
|
54
|
+
@apply ring-critical;
|
|
55
|
+
}
|
|
56
56
|
}
|
|
@@ -1,54 +1,102 @@
|
|
|
1
1
|
@theme {
|
|
2
|
-
|
|
2
|
+
--shadow-*: initial;
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
4
|
+
/* Neutral */
|
|
5
|
+
--shadow-neutral-sm: 0px 1px 2px 0px rgba(97, 110, 124, 0.05);
|
|
6
|
+
--shadow-neutral:
|
|
7
|
+
0px 1px 3px 0px rgba(97, 110, 124, 0.1),
|
|
8
|
+
0px 1px 2px -1px rgba(97, 110, 124, 0.1);
|
|
9
|
+
--shadow-neutral-md:
|
|
10
|
+
0px 4px 6px -1px rgba(82, 96, 109, 0.1),
|
|
11
|
+
0px 2px 4px -2px rgba(82, 96, 109, 0.1);
|
|
12
|
+
--shadow-neutral-lg:
|
|
13
|
+
0px 10px 15px -3px rgba(82, 96, 109, 0.1),
|
|
14
|
+
0px 4px 6px -4px rgba(82, 96, 109, 0.1);
|
|
15
|
+
--shadow-neutral-xl:
|
|
16
|
+
0px 20px 25px -5px rgba(82, 96, 109, 0.1),
|
|
17
|
+
0px 8px 10px -6px rgba(82, 96, 109, 0.1);
|
|
18
|
+
--shadow-neutral-2xl: 0px 25px 50px -12px rgba(82, 96, 109, 0.24);
|
|
11
19
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
20
|
+
/* Primary */
|
|
21
|
+
--shadow-primary-sm: 0px 1px 2px 0px rgba(0, 59, 245, 0.05);
|
|
22
|
+
--shadow-primary:
|
|
23
|
+
0px 1px 3px 0px rgba(0, 59, 245, 0.1),
|
|
24
|
+
0px 1px 2px -1px rgba(0, 59, 245, 0.1);
|
|
25
|
+
--shadow-primary-md:
|
|
26
|
+
0px 4px 6px -1px rgba(0, 59, 245, 0.1),
|
|
27
|
+
0px 2px 4px -2px rgba(0, 59, 245, 0.1);
|
|
28
|
+
--shadow-primary-lg:
|
|
29
|
+
0px 10px 15px -3px rgba(0, 59, 245, 0.1),
|
|
30
|
+
0px 4px 6px -4px rgba(0, 59, 245, 0.1);
|
|
31
|
+
--shadow-primary-xl:
|
|
32
|
+
0px 20px 25px -5px rgba(0, 59, 245, 0.1),
|
|
33
|
+
0px 8px 10px -6px rgba(0, 59, 245, 0.1);
|
|
34
|
+
--shadow-primary-2xl: 0px 25px 50px -12px rgba(0, 59, 245, 0.24);
|
|
19
35
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
36
|
+
/* Success */
|
|
37
|
+
--shadow-success-sm: 0px 1px 2px 0px rgba(116, 175, 7, 0.05);
|
|
38
|
+
--shadow-success:
|
|
39
|
+
0px 1px 3px 0px rgba(116, 175, 7, 0.1),
|
|
40
|
+
0px 1px 2px -1px rgba(116, 175, 7, 0.1);
|
|
41
|
+
--shadow-success-md:
|
|
42
|
+
0px 4px 6px -1px rgba(116, 175, 7, 0.1),
|
|
43
|
+
0px 2px 4px -2px rgba(116, 175, 7, 0.1);
|
|
44
|
+
--shadow-success-lg:
|
|
45
|
+
0px 10px 15px -3px rgba(116, 175, 7, 0.1),
|
|
46
|
+
0px 4px 6px -4px rgba(116, 175, 7, 0.1);
|
|
47
|
+
--shadow-success-xl:
|
|
48
|
+
0px 20px 25px -5px rgba(116, 175, 7, 0.1),
|
|
49
|
+
0px 8px 10px -6px rgba(116, 175, 7, 0.1);
|
|
50
|
+
--shadow-success-2xl: 0px 25px 50px -12px rgba(116, 175, 7, 0.24);
|
|
27
51
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
52
|
+
/* Warning */
|
|
53
|
+
--shadow-warning-sm: 0px 1px 2px 0px rgba(219, 125, 36, 0.05);
|
|
54
|
+
--shadow-warning:
|
|
55
|
+
0px 1px 3px 0px rgba(219, 125, 36, 0.1),
|
|
56
|
+
0px 1px 2px -1px rgba(219, 125, 36, 0.1);
|
|
57
|
+
--shadow-warning-md:
|
|
58
|
+
0px 4px 6px -1px rgba(219, 125, 36, 0.1),
|
|
59
|
+
0px 2px 4px -2px rgba(219, 125, 36, 0.1);
|
|
60
|
+
--shadow-warning-lg:
|
|
61
|
+
0px 10px 15px -3px rgba(219, 125, 36, 0.1),
|
|
62
|
+
0px 4px 6px -4px rgba(219, 125, 36, 0.1);
|
|
63
|
+
--shadow-warning-xl:
|
|
64
|
+
0px 20px 25px -5px rgba(219, 125, 36, 0.1),
|
|
65
|
+
0px 8px 10px -6px rgba(219, 125, 36, 0.1);
|
|
66
|
+
--shadow-warning-2xl: 0px 25px 50px -12px rgba(219, 125, 36, 0.24);
|
|
35
67
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
68
|
+
/* Critical */
|
|
69
|
+
--shadow-critical-sm: 0px 1px 2px 0px rgba(214, 39, 54, 0.05);
|
|
70
|
+
--shadow-critical:
|
|
71
|
+
0px 1px 3px 0px rgba(214, 39, 54, 0.1),
|
|
72
|
+
0px 1px 2px -1px rgba(214, 39, 54, 0.1);
|
|
73
|
+
--shadow-critical-md:
|
|
74
|
+
0px 4px 6px -1px rgba(214, 39, 54, 0.1),
|
|
75
|
+
0px 2px 4px -2px rgba(214, 39, 54, 0.1);
|
|
76
|
+
--shadow-critical-lg:
|
|
77
|
+
0px 10px 15px -3px rgba(214, 39, 54, 0.1),
|
|
78
|
+
0px 4px 6px -4px rgba(214, 39, 54, 0.1);
|
|
79
|
+
--shadow-critical-xl:
|
|
80
|
+
0px 20px 25px -5px rgba(214, 39, 54, 0.1),
|
|
81
|
+
0px 8px 10px -6px rgba(214, 39, 54, 0.1);
|
|
82
|
+
--shadow-critical-2xl: 0px 25px 50px -12px rgba(214, 39, 54, 0.24);
|
|
43
83
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
84
|
+
/* Info */
|
|
85
|
+
--shadow-info-sm: 0px 1px 2px 0px rgba(21, 136, 185, 0.05);
|
|
86
|
+
--shadow-info:
|
|
87
|
+
0px 1px 3px 0px rgba(21, 136, 185, 0.1),
|
|
88
|
+
0px 1px 2px -1px rgba(21, 136, 185, 0.1);
|
|
89
|
+
--shadow-info-md:
|
|
90
|
+
0px 4px 6px -1px rgba(21, 136, 185, 0.1),
|
|
91
|
+
0px 2px 4px -2px rgba(21, 136, 185, 0.1);
|
|
92
|
+
--shadow-info-lg:
|
|
93
|
+
0px 10px 15px -3px rgba(21, 136, 185, 0.1),
|
|
94
|
+
0px 4px 6px -4px rgba(21, 136, 185, 0.1);
|
|
95
|
+
--shadow-info-xl:
|
|
96
|
+
0px 20px 25px -5px rgba(21, 136, 185, 0.1),
|
|
97
|
+
0px 8px 10px -6px rgba(21, 136, 185, 0.1);
|
|
98
|
+
--shadow-info-2xl: 0px 25px 50px -12px rgba(21, 136, 185, 0.24);
|
|
51
99
|
|
|
52
|
-
|
|
53
|
-
|
|
100
|
+
/* None */
|
|
101
|
+
--shadow-none: 0px 0px #0000;
|
|
54
102
|
}
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
@theme {
|
|
2
|
-
|
|
2
|
+
--font-*: initial;
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
--font-sans:
|
|
5
|
+
"Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial,
|
|
6
|
+
"Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
--font-weight-normal: 400;
|
|
9
|
+
--font-weight-semibold: 600;
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
11
|
+
--text-xs: 0.75rem;
|
|
12
|
+
--text-sm: 0.875rem;
|
|
13
|
+
--text-base: 1rem;
|
|
14
|
+
--text-lg: 1.125rem;
|
|
15
|
+
--text-xl: 1.25rem;
|
|
16
|
+
--text-2xl: 1.5rem;
|
|
17
|
+
--text-3xl: 1.875rem;
|
|
18
|
+
--text-4xl: 2.25rem;
|
|
19
|
+
--text-5xl: 3rem;
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
--leading-tight: 1.25;
|
|
22
|
+
--leading-normal: 1.5;
|
|
23
|
+
--leading-relaxed: 1.65;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
@font-face {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
27
|
+
font-family: "Manrope";
|
|
28
|
+
font-style: normal;
|
|
29
|
+
font-weight: 400;
|
|
30
|
+
font-display: swap;
|
|
31
|
+
src: url("../../fonts/Manrope-Regular.ttf") format("truetype");
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
@font-face {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
35
|
+
font-family: "Manrope";
|
|
36
|
+
font-style: normal;
|
|
37
|
+
font-weight: 600;
|
|
38
|
+
font-display: swap;
|
|
39
|
+
src: url("../../fonts/Manrope-SemiBold.ttf") format("truetype");
|
|
40
40
|
}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
@theme {
|
|
2
|
-
|
|
2
|
+
--animate-shake: shake 0.82s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
@keyframes shake {
|
|
5
|
+
10%,
|
|
6
|
+
90% {
|
|
7
|
+
transform: translate3d(-1px, 0, 0);
|
|
8
|
+
}
|
|
9
|
+
20%,
|
|
10
|
+
80% {
|
|
11
|
+
transform: translate3d(2px, 0, 0);
|
|
12
|
+
}
|
|
13
|
+
30%,
|
|
14
|
+
50%,
|
|
15
|
+
70% {
|
|
16
|
+
transform: translate3d(-4px, 0, 0);
|
|
17
|
+
}
|
|
18
|
+
40%,
|
|
19
|
+
60% {
|
|
20
|
+
transform: translate3d(4px, 0, 0);
|
|
21
|
+
}
|
|
8
22
|
}
|
|
9
|
-
20%,
|
|
10
|
-
80% {
|
|
11
|
-
transform: translate3d(2px, 0, 0);
|
|
12
|
-
}
|
|
13
|
-
30%,
|
|
14
|
-
50%,
|
|
15
|
-
70% {
|
|
16
|
-
transform: translate3d(-4px, 0, 0);
|
|
17
|
-
}
|
|
18
|
-
40%,
|
|
19
|
-
60% {
|
|
20
|
-
transform: translate3d(4px, 0, 0);
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
23
|
}
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
@plugin "@tailwindcss/typography";
|
|
2
2
|
|
|
3
3
|
@utility prose {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
4
|
+
h1 {
|
|
5
|
+
@apply mt-2 mb-10 text-2xl md:text-3xl;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
h2 {
|
|
9
|
+
@apply mt-2 mb-8 text-xl md:text-2xl;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
h3 {
|
|
13
|
+
@apply mt-2 mb-6 text-lg md:text-xl;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
h4 {
|
|
17
|
+
@apply mt-0 mb-4 text-base md:text-lg;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
h5 {
|
|
21
|
+
@apply mt-0 mb-2 text-sm md:text-base;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
h6 {
|
|
25
|
+
@apply mt-0 mb-1 text-xs md:text-sm;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
p {
|
|
29
|
+
@apply mt-0 mb-0 text-sm md:text-base;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
a {
|
|
33
|
+
@apply text-primary-400 hover:text-primary-600 active:text-primary-800 no-underline;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
strong {
|
|
37
|
+
@apply text-sm text-neutral-500 md:text-base;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
em {
|
|
41
|
+
@apply text-sm text-neutral-500 md:text-base;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
blockquote {
|
|
45
|
+
@apply shadow-neutral-md rounded-lg border border-neutral-200 bg-neutral-50 p-10;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
pre {
|
|
49
|
+
@apply rounded-lg bg-neutral-900 text-neutral-50;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
code {
|
|
53
|
+
@apply rounded-md bg-neutral-900 p-1 text-neutral-50 before:pl-1 before:content-[''] after:pr-1 after:content-[''];
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
img,
|
|
57
|
+
video {
|
|
58
|
+
@apply shadow-neutral-md overflow-hidden rounded-xl;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
hr {
|
|
62
|
+
@apply mt-10 border border-neutral-200;
|
|
63
|
+
}
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
@utility prose-neutral {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
67
|
+
--tw-prose-body: var(--color-neutral-500);
|
|
68
|
+
--tw-prose-headings: var(--color-neutral-800);
|
|
69
|
+
--tw-prose-lead: var(--color-neutral-600);
|
|
70
|
+
--tw-prose-links: var(--color-primary-400);
|
|
71
|
+
--tw-prose-quotes: var(--color-neutral-800);
|
|
72
72
|
}
|