@infonomic/uikit 2.0.0 → 2.1.1
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/dist/components/button/index.js +1 -17
- package/dist/components/card/card.d.ts.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +35 -31
- package/src/astro.d.ts +43 -0
- package/src/astro.js +2 -2
- package/src/components/@types/shared.ts +24 -0
- package/src/components/accordion/accordion.module.css +60 -0
- package/src/components/accordion/accordion.stories.tsx +117 -0
- package/src/components/accordion/accordion.tsx +105 -0
- package/src/components/animation/fade-in-lift.stories.tsx +81 -0
- package/src/components/animation/fade-in-lift.tsx +42 -0
- package/src/components/avatar/avatar.module.css +54 -0
- package/src/components/avatar/avatar.stories.tsx +28 -0
- package/src/components/avatar/avatar.tsx +19 -0
- package/src/components/button/@types/button.ts +17 -0
- package/src/components/button/button-group.module.css +17 -0
- package/src/components/button/button-group.stories.tsx +45 -0
- package/src/components/button/button-group.tsx +132 -0
- package/src/components/button/button-icon.stories.tsx +145 -0
- package/src/components/button/button-intents.stories.tsx +50 -0
- package/src/components/button/button-variants.stories.tsx +60 -0
- package/src/components/button/button.astro +86 -0
- package/src/components/button/button.module.css +533 -0
- package/src/components/button/button.tsx +81 -0
- package/src/components/button/control-buttons.module.css +144 -0
- package/src/components/button/control-buttons.stories.tsx +60 -0
- package/src/components/button/control-buttons.tsx +137 -0
- package/src/components/button/copy-button.module.css +31 -0
- package/src/components/button/copy-button.stories.tsx +50 -0
- package/src/components/button/copy-button.tsx +92 -0
- package/src/components/button/icon-button.astro +47 -0
- package/src/components/button/icon-button.tsx +44 -0
- package/src/components/button/index.ts +5 -0
- package/src/components/calendar/calendar.module.css +315 -0
- package/src/components/calendar/calendar.stories.tsx +139 -0
- package/src/components/calendar/calendar.tsx +173 -0
- package/src/components/card/card-content.astro +14 -0
- package/src/components/card/card-description.astro +14 -0
- package/src/components/card/card-footer.astro +14 -0
- package/src/components/card/card-header.astro +14 -0
- package/src/components/card/card-title.astro +14 -0
- package/src/components/card/card.astro +41 -0
- package/src/components/card/card.module.css +67 -0
- package/src/components/card/card.stories.tsx +61 -0
- package/src/components/card/card.tsx +86 -0
- package/src/components/container/container.astro +13 -0
- package/src/components/container/container.module.css +28 -0
- package/src/components/container/container.stories.tsx +42 -0
- package/src/components/container/container.tsx +23 -0
- package/src/components/dropdown/dropdown.module.css +131 -0
- package/src/components/dropdown/dropdown.stories.tsx +103 -0
- package/src/components/dropdown/dropdown.tsx +193 -0
- package/src/components/hamburger/hamburger.astro +30 -0
- package/src/components/hamburger/hamburger.tsx +66 -0
- package/src/components/input/@types/checkbox.ts +20 -0
- package/src/components/input/@types/input.ts +20 -0
- package/src/components/input/checkbox-group.tsx +78 -0
- package/src/components/input/checkbox.module.css +267 -0
- package/src/components/input/checkbox.stories.tsx +240 -0
- package/src/components/input/checkbox.tsx +95 -0
- package/src/components/input/error-text.astro +14 -0
- package/src/components/input/error-text.module.css +19 -0
- package/src/components/input/error-text.tsx +18 -0
- package/src/components/input/errors.tsx +37 -0
- package/src/components/input/help-text.astro +13 -0
- package/src/components/input/help-text.module.css +19 -0
- package/src/components/input/help-text.tsx +13 -0
- package/src/components/input/index.tsx +8 -0
- package/src/components/input/input-adornment.astro +26 -0
- package/src/components/input/input-adornment.module.css +18 -0
- package/src/components/input/input-adornment.tsx +36 -0
- package/src/components/input/input.astro +99 -0
- package/src/components/input/input.module.css +310 -0
- package/src/components/input/input.stories.tsx +174 -0
- package/src/components/input/input.tsx +103 -0
- package/src/components/input/label.astro +24 -0
- package/src/components/input/label.module.css +28 -0
- package/src/components/input/label.tsx +25 -0
- package/src/components/input/radio-group.module.css +219 -0
- package/src/components/input/radio-group.stories.tsx +73 -0
- package/src/components/input/radio-group.tsx +67 -0
- package/src/components/input/select.module.css +75 -0
- package/src/components/input/select.stories.tsx +34 -0
- package/src/components/input/select.tsx +115 -0
- package/src/components/input/text-area.module.css +9 -0
- package/src/components/input/text-area.stories.tsx +51 -0
- package/src/components/input/text-area.tsx +81 -0
- package/src/components/input/utils.ts +21 -0
- package/src/components/notifications/@types/alert.ts +12 -0
- package/src/components/notifications/@types/toast.ts +12 -0
- package/src/components/notifications/alert.module.css +114 -0
- package/src/components/notifications/alert.stories.tsx +39 -0
- package/src/components/notifications/alert.tsx +117 -0
- package/src/components/notifications/index.ts +2 -0
- package/src/components/notifications/toast.module.css +237 -0
- package/src/components/notifications/toast.stories.tsx +42 -0
- package/src/components/notifications/toast.tsx +124 -0
- package/src/components/overlay/index.stories.tsx +29 -0
- package/src/components/overlay/index.ts +2 -0
- package/src/components/overlay/overlay.module.css +41 -0
- package/src/components/overlay/overlay.tsx +61 -0
- package/src/components/pager/@types/index.ts +2 -0
- package/src/components/pager/ellipses.tsx +18 -0
- package/src/components/pager/event-pager.tsx +18 -0
- package/src/components/pager/first-button.tsx +53 -0
- package/src/components/pager/hooks/types/usePagination.ts +80 -0
- package/src/components/pager/hooks/usePagination.ts +140 -0
- package/src/components/pager/icons/first.tsx +33 -0
- package/src/components/pager/icons/index.tsx +4 -0
- package/src/components/pager/icons/last.tsx +33 -0
- package/src/components/pager/icons/next.tsx +20 -0
- package/src/components/pager/icons/previous.tsx +20 -0
- package/src/components/pager/index.ts +4 -0
- package/src/components/pager/last-button.tsx +57 -0
- package/src/components/pager/next-button.tsx +55 -0
- package/src/components/pager/number-button.tsx +83 -0
- package/src/components/pager/pagination.module.css +165 -0
- package/src/components/pager/pagination.stories.tsx +190 -0
- package/src/components/pager/pagination.tsx +266 -0
- package/src/components/pager/previous-button.tsx +51 -0
- package/src/components/scroll-area/scroll-area.module.css +80 -0
- package/src/components/scroll-area/scroll-area.stories.tsx +33 -0
- package/src/components/scroll-area/scroll-area.tsx +22 -0
- package/src/components/scroll-to-top/scroll-to-top.tsx +59 -0
- package/src/components/section/section.astro +13 -0
- package/src/components/section/section.module.css +7 -0
- package/src/components/section/section.tsx +23 -0
- package/src/components/shimmer/shimmer.module.css +53 -0
- package/src/components/shimmer/shimmer.stories.tsx +24 -0
- package/src/components/shimmer/shimmer.tsx +70 -0
- package/src/components/table/table.module.css +100 -0
- package/src/components/table/table.stories.tsx +95 -0
- package/src/components/table/table.tsx +165 -0
- package/src/components/tabs/tabs.module.css +64 -0
- package/src/components/tabs/tabs.stories.tsx +47 -0
- package/src/components/tabs/tabs.tsx +75 -0
- package/src/components/timeline/timeline.module.css +87 -0
- package/src/components/timeline/timeline.stories.tsx +50 -0
- package/src/components/timeline/timeline.tsx +177 -0
- package/src/components/tooltip/tooltip.module.css +55 -0
- package/src/components/tooltip/tooltip.stories.tsx +59 -0
- package/src/components/tooltip/tooltip.tsx +51 -0
- package/src/declarations.d.ts +4 -0
- package/src/hooks/use-media-query.ts +20 -0
- package/src/icons/activity-icon.tsx +40 -0
- package/src/icons/calendar-icon.tsx +39 -0
- package/src/icons/check-icon.tsx +33 -0
- package/src/icons/chevron-down-icon.tsx +39 -0
- package/src/icons/chevron-left-double-icon.tsx +58 -0
- package/src/icons/chevron-left-icon.tsx +58 -0
- package/src/icons/chevron-right-double-icon.tsx +58 -0
- package/src/icons/chevron-right-icon.tsx +58 -0
- package/src/icons/chevrons-up-down.tsx +37 -0
- package/src/icons/close-icon.astro +38 -0
- package/src/icons/close-icon.tsx +30 -0
- package/src/icons/copy-icon.tsx +35 -0
- package/src/icons/danger-icon.tsx +18 -0
- package/src/icons/dashboard-icon.tsx +41 -0
- package/src/icons/delete-icon.tsx +34 -0
- package/src/icons/document-icon.tsx +38 -0
- package/src/icons/download-icon.tsx +39 -0
- package/src/icons/edit-icon.tsx +35 -0
- package/src/icons/ellipsis-icon.tsx +38 -0
- package/src/icons/email-icon.tsx +33 -0
- package/src/icons/external-link-icon.tsx +39 -0
- package/src/icons/github-icon.tsx +27 -0
- package/src/icons/globe-icon.tsx +50 -0
- package/src/icons/google-icon.tsx +44 -0
- package/src/icons/gripper-vertical-icon.tsx +43 -0
- package/src/icons/history-icon.tsx +32 -0
- package/src/icons/home-icon.tsx +34 -0
- package/src/icons/icon-element.astro +27 -0
- package/src/icons/icon-element.tsx +32 -0
- package/src/icons/icon-sprite.tsx +18 -0
- package/src/icons/icons.module.css +147 -0
- package/src/icons/index.stories.tsx +25 -0
- package/src/icons/index.ts +39 -0
- package/src/icons/info-icon.tsx +18 -0
- package/src/icons/infonomic-icon.tsx +173 -0
- package/src/icons/light-icon.astro +36 -0
- package/src/icons/light-icon.tsx +29 -0
- package/src/icons/location-pin-icon.tsx +36 -0
- package/src/icons/moon-icon.astro +38 -0
- package/src/icons/moon-icon.tsx +42 -0
- package/src/icons/plus-icon.tsx +34 -0
- package/src/icons/primary-icon.tsx +22 -0
- package/src/icons/refresh-icon.tsx +33 -0
- package/src/icons/return-icon.tsx +36 -0
- package/src/icons/roles-icon.tsx +34 -0
- package/src/icons/search-icon.astro +40 -0
- package/src/icons/search-icon.tsx +29 -0
- package/src/icons/search-menu-icon.tsx +42 -0
- package/src/icons/settings-gear-icon.tsx +36 -0
- package/src/icons/settings-sliders-icon.tsx +43 -0
- package/src/icons/sign-out-icon.tsx +35 -0
- package/src/icons/source/icon-calendar.svg +1 -0
- package/src/icons/source/icon-check.svg +4 -0
- package/src/icons/source/icon-close.svg +3 -0
- package/src/icons/source/icon-coinbase.svg +9 -0
- package/src/icons/source/icon-copy.svg +4 -0
- package/src/icons/source/icon-document.svg +5 -0
- package/src/icons/source/icon-download.svg +4 -0
- package/src/icons/source/icon-edit.svg +6 -0
- package/src/icons/source/icon-eth-purple.svg +15 -0
- package/src/icons/source/icon-etherscan.svg +5 -0
- package/src/icons/source/icon-external-link.svg +4 -0
- package/src/icons/source/icon-globe.svg +7 -0
- package/src/icons/source/icon-gripper-vertical.svg +9 -0
- package/src/icons/source/icon-info.svg +4 -0
- package/src/icons/source/icon-infonomic.svg +43 -0
- package/src/icons/source/icon-ledger.svg +4 -0
- package/src/icons/source/icon-light.svg +3 -0
- package/src/icons/source/icon-location-pin.svg +8 -0
- package/src/icons/source/icon-logout.svg +6 -0
- package/src/icons/source/icon-metamask.svg +32 -0
- package/src/icons/source/icon-moon.svg +3 -0
- package/src/icons/source/icon-plus.svg +4 -0
- package/src/icons/source/icon-refresh.svg +4 -0
- package/src/icons/source/icon-return.svg +4 -0
- package/src/icons/source/icon-search-menu.svg +13 -0
- package/src/icons/source/icon-search.svg +3 -0
- package/src/icons/source/icon-settings-gear.svg +5 -0
- package/src/icons/source/icon-settings.svg +12 -0
- package/src/icons/source/icon-wallet.svg +3 -0
- package/src/icons/source/icon-walletconnect.svg +4 -0
- package/src/icons/source/icon-x.svg +4 -0
- package/src/icons/stopwatch-icon.tsx +39 -0
- package/src/icons/success-icon.tsx +18 -0
- package/src/icons/types/icon.ts +8 -0
- package/src/icons/user-icon.tsx +33 -0
- package/src/icons/users-icon.tsx +35 -0
- package/src/icons/wallet-icon.tsx +29 -0
- package/src/icons/warning-icon.tsx +18 -0
- package/src/icons/x-icon.tsx +33 -0
- package/src/loaders/ellipses.tsx +36 -0
- package/src/loaders/loaders.stories.tsx +46 -0
- package/src/loaders/ring.tsx +33 -0
- package/src/loaders/spinner.tsx +28 -0
- package/src/loaders/types/index.ts +6 -0
- package/src/react.ts +99 -0
- package/src/styles/base/animations.css +143 -0
- package/src/styles/base/base.css +5 -0
- package/src/styles/base/colors.css +163 -0
- package/src/styles/base/colors.stories.tsx +671 -0
- package/src/styles/base/reset.css +464 -0
- package/src/styles/base/typography.css +25 -0
- package/src/styles/base/vars.css +188 -0
- package/src/styles/components/card.css +20 -0
- package/src/styles/components/checkbox.css +55 -0
- package/src/styles/components/components.css +11 -0
- package/src/styles/components/directional-button.css +92 -0
- package/src/styles/components/dropdown.css +19 -0
- package/src/styles/components/fade-in-lift.css +13 -0
- package/src/styles/components/hamburger.css +107 -0
- package/src/styles/components/icon-element.css +4 -0
- package/src/styles/components/list-checkbox.css +60 -0
- package/src/styles/components/loaders.css +196 -0
- package/src/styles/components/popover.css +15 -0
- package/src/styles/components/scroll-to-top.css +89 -0
- package/src/styles/components/toast.css +18 -0
- package/src/styles/styles.css +6 -0
- package/src/styles/theme/autofill.css +58 -0
- package/src/styles/theme/scrollers.css +52 -0
- package/src/styles/theme/theme.css +130 -0
- package/src/styles/theme/theme.stories.tsx +33 -0
- package/src/styles/typography/code.stories.tsx +76 -0
- package/src/styles/typography/default.stories.tsx +51 -0
- package/src/styles/typography/fonts.css +30 -0
- package/src/styles/typography/lists.stories.tsx +50 -0
- package/src/styles/typography/prose.css +404 -0
- package/src/styles/typography/quote.stories.tsx +37 -0
- package/src/styles/typography.css +24 -0
- package/src/styles/utils/scroll-layout-shift.css +9 -0
- package/src/styles/utils/utility-classes.css +1278 -0
- package/src/styles/utils/utils.css +2 -0
- package/src/theme/theme-provider/index.ts +1 -0
- package/src/theme/theme-provider/provider.tsx +44 -0
- package/src/utils/capitalize.ts +6 -0
- package/src/utils/externalLinkProps.ts +6 -0
- package/src/utils/findMatch.ts +7 -0
- package/src/utils/getPortalRoot.ts +3 -0
- package/src/utils/isTouchDevice.ts +11 -0
- package/src/utils/objectsToArray.ts +15 -0
- package/src/utils/objectsToString.ts +5 -0
- package/src/utils/polymorphic.ts +16 -0
- package/src/utils/to-kebab-case.ts +5 -0
- package/src/widgets/datepicker/datepicker.module.css +189 -0
- package/src/widgets/datepicker/datepicker.stories.tsx +25 -0
- package/src/widgets/datepicker/datepicker.tsx +310 -0
- package/src/widgets/drawer/drawer-container.tsx +26 -0
- package/src/widgets/drawer/drawer-content.tsx +26 -0
- package/src/widgets/drawer/drawer-context.tsx +49 -0
- package/src/widgets/drawer/drawer-header.tsx +27 -0
- package/src/widgets/drawer/drawer-top-actions.tsx +27 -0
- package/src/widgets/drawer/drawer-wrapper.tsx +54 -0
- package/src/widgets/drawer/drawer.module.css +116 -0
- package/src/widgets/drawer/drawer.stories.tsx +224 -0
- package/src/widgets/drawer/drawer.tsx +115 -0
- package/src/widgets/drawer/motionDomAnimation.ts +4 -0
- package/src/widgets/drawer/motionDomMax.ts +4 -0
- package/src/widgets/modal/modal-actions.tsx +26 -0
- package/src/widgets/modal/modal-container.tsx +26 -0
- package/src/widgets/modal/modal-content.tsx +26 -0
- package/src/widgets/modal/modal-header.tsx +27 -0
- package/src/widgets/modal/modal-wrapper.tsx +50 -0
- package/src/widgets/modal/modal.module.css +85 -0
- package/src/widgets/modal/modal.stories.tsx +71 -0
- package/src/widgets/modal/modal.tsx +110 -0
- package/src/widgets/modal/motionDomAnimation.ts +4 -0
- package/src/widgets/modal/motionDomMax.ts +4 -0
- package/src/widgets/search/index.ts +1 -0
- package/src/widgets/search/search.stories.tsx +18 -0
- package/src/widgets/search/search.tsx +186 -0
|
@@ -0,0 +1,464 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Based on Tailwind reset / preflight
|
|
3
|
+
* If used in a tailwind project, turn preflight off.
|
|
4
|
+
* Copyright (c) Tailwind Labs, Inc.
|
|
5
|
+
*/
|
|
6
|
+
@layer infonomic-base {
|
|
7
|
+
/*
|
|
8
|
+
1. Prevent padding and border from affecting element width. (https: //github.com/mozdevs/cssremedy/issues/4)
|
|
9
|
+
2. Allow adding a border to an element by just adding a border-width. (https: //github.com/tailwindcss/tailwindcss/pull/116)
|
|
10
|
+
|
|
11
|
+
*/
|
|
12
|
+
*,
|
|
13
|
+
::before,
|
|
14
|
+
::after {
|
|
15
|
+
box-sizing: border-box;
|
|
16
|
+
/* 1 */
|
|
17
|
+
border-width: 0;
|
|
18
|
+
/* 2 */
|
|
19
|
+
border-style: solid;
|
|
20
|
+
/* 2 */
|
|
21
|
+
border-color: #e5e7eb;
|
|
22
|
+
/* 2 */
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
::before,
|
|
26
|
+
::after {
|
|
27
|
+
--tw-content: "";
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/*
|
|
31
|
+
1. Use a consistent sensible line-height in all browsers.
|
|
32
|
+
2. Prevent adjustments of font size after orientation changes in iOS.
|
|
33
|
+
3. Use a more readable tab size.
|
|
34
|
+
4. Use the user's configured `sans` font-family by default.
|
|
35
|
+
5. Use the user's configured `sans` font-feature-settings by default.
|
|
36
|
+
6. Use the user's configured `sans` font-variation-settings by default.
|
|
37
|
+
7. Disable tap highlights on iOS
|
|
38
|
+
*/
|
|
39
|
+
|
|
40
|
+
html,
|
|
41
|
+
:host {
|
|
42
|
+
scroll-behavior: smooth;
|
|
43
|
+
|
|
44
|
+
line-height: 1.5;
|
|
45
|
+
/* 1 */
|
|
46
|
+
-webkit-text-size-adjust: 100%;
|
|
47
|
+
/* 2 */
|
|
48
|
+
-moz-tab-size: 4;
|
|
49
|
+
/* 3 */
|
|
50
|
+
-o-tab-size: 4;
|
|
51
|
+
tab-size: 4;
|
|
52
|
+
/* 3 */
|
|
53
|
+
font-family: Inter, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
|
|
54
|
+
"Segoe UI Symbol", "Noto Color Emoji";
|
|
55
|
+
/* 4 */
|
|
56
|
+
font-feature-settings: normal;
|
|
57
|
+
/* 5 */
|
|
58
|
+
font-variation-settings: normal;
|
|
59
|
+
/* 6 */
|
|
60
|
+
-webkit-tap-highlight-color: transparent;
|
|
61
|
+
/* 7 */
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/*
|
|
65
|
+
1. Remove the margin in all browsers.
|
|
66
|
+
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
|
|
67
|
+
*/
|
|
68
|
+
|
|
69
|
+
body {
|
|
70
|
+
margin: 0;
|
|
71
|
+
/* 1 */
|
|
72
|
+
line-height: inherit;
|
|
73
|
+
/* 2 */
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
/*
|
|
77
|
+
1. Add the correct height in Firefox.
|
|
78
|
+
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
|
|
79
|
+
3. Ensure horizontal rules are visible by default.
|
|
80
|
+
*/
|
|
81
|
+
|
|
82
|
+
hr {
|
|
83
|
+
height: 0;
|
|
84
|
+
/* 1 */
|
|
85
|
+
color: inherit;
|
|
86
|
+
/* 2 */
|
|
87
|
+
border-top-width: 1px;
|
|
88
|
+
/* 3 */
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
/*
|
|
92
|
+
Add the correct text decoration in Chrome, Edge, and Safari.
|
|
93
|
+
*/
|
|
94
|
+
|
|
95
|
+
abbr:where([title]) {
|
|
96
|
+
-webkit-text-decoration: underline dotted;
|
|
97
|
+
text-decoration: underline dotted;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
/*
|
|
101
|
+
Remove the default font size and weight for headings.
|
|
102
|
+
*/
|
|
103
|
+
|
|
104
|
+
h1,
|
|
105
|
+
h2,
|
|
106
|
+
h3,
|
|
107
|
+
h4,
|
|
108
|
+
h5,
|
|
109
|
+
h6 {
|
|
110
|
+
font-size: inherit;
|
|
111
|
+
font-weight: inherit;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
/*
|
|
115
|
+
Reset links to optimize for opt-in styling instead of opt-out.
|
|
116
|
+
*/
|
|
117
|
+
|
|
118
|
+
a {
|
|
119
|
+
color: inherit;
|
|
120
|
+
text-decoration: inherit;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
/*
|
|
124
|
+
Add the correct font weight in Edge and Safari.
|
|
125
|
+
*/
|
|
126
|
+
|
|
127
|
+
b,
|
|
128
|
+
strong {
|
|
129
|
+
font-weight: bolder;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
/*
|
|
133
|
+
1. Use the user's configured `mono` font-family by default.
|
|
134
|
+
2. Use the user's configured `mono` font-feature-settings by default.
|
|
135
|
+
3. Use the user's configured `mono` font-variation-settings by default.
|
|
136
|
+
4. Correct the odd `em` font sizing in all browsers.
|
|
137
|
+
*/
|
|
138
|
+
|
|
139
|
+
code,
|
|
140
|
+
kbd,
|
|
141
|
+
samp,
|
|
142
|
+
pre {
|
|
143
|
+
font-family: "Source Code Pro", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
|
|
144
|
+
"Liberation Mono", "Courier New", monospace;
|
|
145
|
+
/* 1 */
|
|
146
|
+
font-feature-settings: normal;
|
|
147
|
+
/* 2 */
|
|
148
|
+
font-variation-settings: normal;
|
|
149
|
+
/* 3 */
|
|
150
|
+
font-size: 1em;
|
|
151
|
+
/* 4 */
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
/*
|
|
155
|
+
Add the correct font size in all browsers.
|
|
156
|
+
*/
|
|
157
|
+
|
|
158
|
+
small {
|
|
159
|
+
font-size: 80%;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
/*
|
|
163
|
+
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
|
|
164
|
+
*/
|
|
165
|
+
|
|
166
|
+
sub,
|
|
167
|
+
sup {
|
|
168
|
+
font-size: 75%;
|
|
169
|
+
line-height: 0;
|
|
170
|
+
position: relative;
|
|
171
|
+
vertical-align: baseline;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
sub {
|
|
175
|
+
bottom: -0.25em;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
sup {
|
|
179
|
+
top: -0.5em;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
/*
|
|
183
|
+
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
|
|
184
|
+
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
|
|
185
|
+
3. Remove gaps between table borders by default.
|
|
186
|
+
*/
|
|
187
|
+
|
|
188
|
+
table {
|
|
189
|
+
text-indent: 0;
|
|
190
|
+
/* 1 */
|
|
191
|
+
border-color: inherit;
|
|
192
|
+
/* 2 */
|
|
193
|
+
border-collapse: collapse;
|
|
194
|
+
/* 3 */
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
/*
|
|
198
|
+
1. Change the font styles in all browsers.
|
|
199
|
+
2. Remove the margin in Firefox and Safari.
|
|
200
|
+
3. Remove default padding in all browsers.
|
|
201
|
+
*/
|
|
202
|
+
|
|
203
|
+
button,
|
|
204
|
+
input,
|
|
205
|
+
optgroup,
|
|
206
|
+
select,
|
|
207
|
+
textarea {
|
|
208
|
+
font-family: inherit;
|
|
209
|
+
/* 1 */
|
|
210
|
+
font-feature-settings: inherit;
|
|
211
|
+
/* 1 */
|
|
212
|
+
font-variation-settings: inherit;
|
|
213
|
+
/* 1 */
|
|
214
|
+
font-size: 100%;
|
|
215
|
+
/* 1 */
|
|
216
|
+
font-weight: inherit;
|
|
217
|
+
/* 1 */
|
|
218
|
+
line-height: inherit;
|
|
219
|
+
/* 1 */
|
|
220
|
+
letter-spacing: inherit;
|
|
221
|
+
/* 1 */
|
|
222
|
+
color: inherit;
|
|
223
|
+
/* 1 */
|
|
224
|
+
margin: 0;
|
|
225
|
+
/* 2 */
|
|
226
|
+
padding: 0;
|
|
227
|
+
/* 3 */
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
/*
|
|
231
|
+
* Remove the inheritance of text transform in Edge and Firefox.
|
|
232
|
+
*/
|
|
233
|
+
|
|
234
|
+
button,
|
|
235
|
+
select {
|
|
236
|
+
text-transform: none;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
/*
|
|
240
|
+
1. Correct the inability to style clickable types in iOS and Safari.
|
|
241
|
+
2. Remove default button styles.
|
|
242
|
+
*/
|
|
243
|
+
|
|
244
|
+
button,
|
|
245
|
+
input:where([type="button"]),
|
|
246
|
+
input:where([type="reset"]),
|
|
247
|
+
input:where([type="submit"]) {
|
|
248
|
+
-webkit-appearance: button;
|
|
249
|
+
/* 1 */
|
|
250
|
+
background-color: transparent;
|
|
251
|
+
/* 2 */
|
|
252
|
+
background-image: none;
|
|
253
|
+
/* 2 */
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
/*
|
|
257
|
+
Use the modern Firefox focus style for all focusable elements.
|
|
258
|
+
*/
|
|
259
|
+
|
|
260
|
+
:-moz-focusring {
|
|
261
|
+
outline: auto;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
/*
|
|
265
|
+
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
|
|
266
|
+
*/
|
|
267
|
+
|
|
268
|
+
:-moz-ui-invalid {
|
|
269
|
+
box-shadow: none;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
/*
|
|
273
|
+
Add the correct vertical alignment in Chrome and Firefox.
|
|
274
|
+
*/
|
|
275
|
+
|
|
276
|
+
progress {
|
|
277
|
+
vertical-align: baseline;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
/*
|
|
281
|
+
Correct the cursor style of increment and decrement buttons in Safari.
|
|
282
|
+
*/
|
|
283
|
+
|
|
284
|
+
::-webkit-inner-spin-button,
|
|
285
|
+
::-webkit-outer-spin-button {
|
|
286
|
+
height: auto;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
/*
|
|
290
|
+
1. Correct the odd appearance in Chrome and Safari.
|
|
291
|
+
2. Correct the outline style in Safari.
|
|
292
|
+
*/
|
|
293
|
+
|
|
294
|
+
[type="search"] {
|
|
295
|
+
-webkit-appearance: textfield;
|
|
296
|
+
/* 1 */
|
|
297
|
+
outline-offset: -2px;
|
|
298
|
+
/* 2 */
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
/*
|
|
302
|
+
Remove the inner padding in Chrome and Safari on macOS.
|
|
303
|
+
*/
|
|
304
|
+
|
|
305
|
+
::-webkit-search-decoration {
|
|
306
|
+
-webkit-appearance: none;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
/*
|
|
310
|
+
1. Correct the inability to style clickable types in iOS and Safari.
|
|
311
|
+
2. Change font properties to `inherit` in Safari.
|
|
312
|
+
*/
|
|
313
|
+
|
|
314
|
+
::-webkit-file-upload-button {
|
|
315
|
+
-webkit-appearance: button;
|
|
316
|
+
/* 1 */
|
|
317
|
+
font: inherit;
|
|
318
|
+
/* 2 */
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
/*
|
|
322
|
+
Add the correct display in Chrome and Safari.
|
|
323
|
+
*/
|
|
324
|
+
|
|
325
|
+
summary {
|
|
326
|
+
display: list-item;
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
/*
|
|
330
|
+
Removes the default spacing and border for appropriate elements.
|
|
331
|
+
*/
|
|
332
|
+
|
|
333
|
+
blockquote,
|
|
334
|
+
dl,
|
|
335
|
+
dd,
|
|
336
|
+
h1,
|
|
337
|
+
h2,
|
|
338
|
+
h3,
|
|
339
|
+
h4,
|
|
340
|
+
h5,
|
|
341
|
+
h6,
|
|
342
|
+
hr,
|
|
343
|
+
figure,
|
|
344
|
+
p,
|
|
345
|
+
pre {
|
|
346
|
+
margin: 0;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
fieldset {
|
|
350
|
+
margin: 0;
|
|
351
|
+
padding: 0;
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
legend {
|
|
355
|
+
padding: 0;
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
ol,
|
|
359
|
+
ul,
|
|
360
|
+
menu {
|
|
361
|
+
list-style: none;
|
|
362
|
+
margin: 0;
|
|
363
|
+
padding: 0;
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
/*
|
|
367
|
+
Reset default styling for dialogs.
|
|
368
|
+
*/
|
|
369
|
+
dialog {
|
|
370
|
+
padding: 0;
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
/*
|
|
374
|
+
Prevent resizing textareas horizontally by default.
|
|
375
|
+
*/
|
|
376
|
+
|
|
377
|
+
textarea {
|
|
378
|
+
resize: vertical;
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
/*
|
|
382
|
+
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
|
|
383
|
+
2. Set the default placeholder color to the user's configured gray 400 color.
|
|
384
|
+
*/
|
|
385
|
+
|
|
386
|
+
input::-moz-placeholder,
|
|
387
|
+
textarea::-moz-placeholder {
|
|
388
|
+
opacity: 1;
|
|
389
|
+
/* 1 */
|
|
390
|
+
color: #9ca3af;
|
|
391
|
+
/* 2 */
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
input::placeholder,
|
|
395
|
+
textarea::placeholder {
|
|
396
|
+
opacity: 1;
|
|
397
|
+
/* 1 */
|
|
398
|
+
color: #9ca3af;
|
|
399
|
+
/* 2 */
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
/*
|
|
403
|
+
Set the default cursor for buttons.
|
|
404
|
+
*/
|
|
405
|
+
|
|
406
|
+
button,
|
|
407
|
+
[role="button"] {
|
|
408
|
+
cursor: pointer;
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
/*
|
|
412
|
+
Make sure disabled buttons don't get the pointer cursor.
|
|
413
|
+
*/
|
|
414
|
+
:disabled {
|
|
415
|
+
cursor: default;
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
/*
|
|
419
|
+
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
|
|
420
|
+
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
|
|
421
|
+
This can trigger a poorly considered lint error in some tools but is included by design.
|
|
422
|
+
*/
|
|
423
|
+
|
|
424
|
+
img,
|
|
425
|
+
svg,
|
|
426
|
+
video,
|
|
427
|
+
canvas,
|
|
428
|
+
audio,
|
|
429
|
+
iframe,
|
|
430
|
+
embed,
|
|
431
|
+
object {
|
|
432
|
+
display: block;
|
|
433
|
+
/* 1 */
|
|
434
|
+
vertical-align: middle;
|
|
435
|
+
/* 2 */
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
/*
|
|
439
|
+
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
|
|
440
|
+
*/
|
|
441
|
+
|
|
442
|
+
img,
|
|
443
|
+
video {
|
|
444
|
+
max-width: 100%;
|
|
445
|
+
height: auto;
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
/* Make elements with the HTML hidden attribute stay hidden by default */
|
|
449
|
+
[hidden]:where(:not([hidden="until-found"])) {
|
|
450
|
+
display: none;
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
/* Remove all animations and transitions for people that prefer not to see them */
|
|
454
|
+
@media (prefers-reduced-motion: reduce) {
|
|
455
|
+
*,
|
|
456
|
+
*::before,
|
|
457
|
+
*::after {
|
|
458
|
+
animation-duration: 0.01ms !important;
|
|
459
|
+
animation-iteration-count: 1 !important;
|
|
460
|
+
transition-duration: 0.01ms !important;
|
|
461
|
+
scroll-behavior: auto !important;
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
@layer infonomic-base {
|
|
2
|
+
h1 {
|
|
3
|
+
font-size: 1.75rem;
|
|
4
|
+
font-weight: 600;
|
|
5
|
+
line-height: 1.125;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
h2 {
|
|
9
|
+
font-size: 1.5rem;
|
|
10
|
+
font-weight: 600;
|
|
11
|
+
line-height: 1.125;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
h3 {
|
|
15
|
+
font-size: 1.25rem;
|
|
16
|
+
font-weight: 600;
|
|
17
|
+
line-height: 1.1;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
h4 {
|
|
21
|
+
font-size: 1rem;
|
|
22
|
+
font-weight: 600;
|
|
23
|
+
line-height: 1.1;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
@layer infonomic-base {
|
|
2
|
+
:root {
|
|
3
|
+
/* ========================================
|
|
4
|
+
BREAKPOINTS
|
|
5
|
+
======================================== */
|
|
6
|
+
--breakpoint-xs: 480px;
|
|
7
|
+
--breakpoint-sm: 640px;
|
|
8
|
+
--breakpoint-md: 768px;
|
|
9
|
+
--breakpoint-lg: 1024px;
|
|
10
|
+
/* our container component will set max width to common screen size */
|
|
11
|
+
--breakpoint-xl: 1320px;
|
|
12
|
+
--breakpoint-2xl: 1536px;
|
|
13
|
+
|
|
14
|
+
/* 12px */
|
|
15
|
+
--font-size-xs: 0.75rem;
|
|
16
|
+
/* 14px */
|
|
17
|
+
--font-size-sm: 0.875rem;
|
|
18
|
+
/* 16px */
|
|
19
|
+
--font-size-base: 1rem;
|
|
20
|
+
/* 18px */
|
|
21
|
+
--font-size-lg: 1.125rem;
|
|
22
|
+
/* 20px */
|
|
23
|
+
--font-size-xl: 1.25rem;
|
|
24
|
+
/* 24px */
|
|
25
|
+
--font-size-2xl: 1.5rem;
|
|
26
|
+
/* 30px */
|
|
27
|
+
--font-size-3xl: 1.875rem;
|
|
28
|
+
/* 36px */
|
|
29
|
+
--font-size-4xl: 2.25rem;
|
|
30
|
+
/* 42px */
|
|
31
|
+
--font-size-5xl: 2.625rem;
|
|
32
|
+
/* 48px */
|
|
33
|
+
--font-size-6xl: 3rem;
|
|
34
|
+
/* 54px */
|
|
35
|
+
--font-size-7xl: 3.375rem;
|
|
36
|
+
/* 60px */
|
|
37
|
+
--font-size-8xl: 3.75rem;
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
--font-weight-light: 300;
|
|
41
|
+
--font-weight-normal: 400;
|
|
42
|
+
--font-weight-medium: 500;
|
|
43
|
+
--font-weight-semibold: 600;
|
|
44
|
+
--font-weight-bold: 700;
|
|
45
|
+
--font-weight-extrabold: 800;
|
|
46
|
+
--font-weight-ultrabold: 900;
|
|
47
|
+
|
|
48
|
+
--line-height-tight: 1.1;
|
|
49
|
+
--line-height-snug: 1.25;
|
|
50
|
+
--line-height-normal: 1.5;
|
|
51
|
+
--line-height-relaxed: 1.625;
|
|
52
|
+
--line-height-loose: 2;
|
|
53
|
+
|
|
54
|
+
--letter-spacing-tight: -0.02em;
|
|
55
|
+
--letter-spacing-normal: 0;
|
|
56
|
+
--letter-spacing-wide: 0.05em;
|
|
57
|
+
|
|
58
|
+
/* ========================================
|
|
59
|
+
SPACING SYSTEM (8px grid)
|
|
60
|
+
======================================== */
|
|
61
|
+
--spacing-0: 0px;
|
|
62
|
+
--spacing-1: 4px;
|
|
63
|
+
--spacing-2: 8px;
|
|
64
|
+
--spacing-3: 12px;
|
|
65
|
+
--spacing-4: 16px;
|
|
66
|
+
--spacing-5: 20px;
|
|
67
|
+
--spacing-6: 24px;
|
|
68
|
+
--spacing-8: 32px;
|
|
69
|
+
--spacing-10: 40px;
|
|
70
|
+
--spacing-12: 48px;
|
|
71
|
+
--spacing-16: 64px;
|
|
72
|
+
--spacing-20: 80px;
|
|
73
|
+
--spacing-24: 96px;
|
|
74
|
+
--spacing-32: 128px;
|
|
75
|
+
|
|
76
|
+
/* ========================================
|
|
77
|
+
BORDER & RADIUS
|
|
78
|
+
======================================== */
|
|
79
|
+
--border-radius-none: 0px;
|
|
80
|
+
--border-radius-sm: 4px;
|
|
81
|
+
--border-radius-md: 8px;
|
|
82
|
+
--border-radius-lg: 12px;
|
|
83
|
+
--border-radius-xl: 16px;
|
|
84
|
+
--border-radius-2xl: 24px;
|
|
85
|
+
--border-radius-full: 9999px;
|
|
86
|
+
|
|
87
|
+
--border-width-thin: 1px;
|
|
88
|
+
--border-width-normal: 2px;
|
|
89
|
+
--border-width-thick: 4px;
|
|
90
|
+
|
|
91
|
+
--border-style-solid: solid;
|
|
92
|
+
--border-style-dashed: dashed;
|
|
93
|
+
--border-style-dotted: dotted;
|
|
94
|
+
|
|
95
|
+
/* ========================================
|
|
96
|
+
RINGS
|
|
97
|
+
======================================== */
|
|
98
|
+
|
|
99
|
+
--ring-offset-width: 2px;
|
|
100
|
+
--ring-inset: ;
|
|
101
|
+
--ring-shadow: 0 0 #0000;
|
|
102
|
+
|
|
103
|
+
/* ========================================
|
|
104
|
+
SHADOWS
|
|
105
|
+
======================================== */
|
|
106
|
+
|
|
107
|
+
--shadow: 0 0 #0000;
|
|
108
|
+
--shadow-xs: 0px 1px 2px rgba(0, 0, 0, 0.05);
|
|
109
|
+
--shadow-sm: 0px 2px 4px rgba(0, 0, 0, 0.1);
|
|
110
|
+
--shadow-md: 0px 4px 6px rgba(0, 0, 0, 0.1);
|
|
111
|
+
--shadow-lg: 0px 6px 12px rgba(0, 0, 0, 0.15);
|
|
112
|
+
--shadow-xl: 0px 8px 16px rgba(0, 0, 0, 0.2);
|
|
113
|
+
|
|
114
|
+
/* ========================================
|
|
115
|
+
TRANSITIONS
|
|
116
|
+
======================================== */
|
|
117
|
+
--transition-fast: 175ms ease-in-out;
|
|
118
|
+
--transition-normal: 230ms ease-in-out;
|
|
119
|
+
--transition-slow: 400ms ease-in-out;
|
|
120
|
+
|
|
121
|
+
/* ========================================
|
|
122
|
+
Z-INDEX SYSTEM
|
|
123
|
+
======================================== */
|
|
124
|
+
--z-index-low: 10;
|
|
125
|
+
--z-index-medium: 100;
|
|
126
|
+
--z-index-high: 1000;
|
|
127
|
+
--z-index-modal: 1050;
|
|
128
|
+
--z-index-toast: 1100;
|
|
129
|
+
|
|
130
|
+
/* ========================================
|
|
131
|
+
OPACITY LEVELS
|
|
132
|
+
======================================== */
|
|
133
|
+
--opacity-0: 0;
|
|
134
|
+
--opacity-25: 0.25;
|
|
135
|
+
--opacity-50: 0.5;
|
|
136
|
+
--opacity-75: 0.75;
|
|
137
|
+
--opacity-100: 1;
|
|
138
|
+
|
|
139
|
+
/* ========================================
|
|
140
|
+
GRID SYSTEM
|
|
141
|
+
======================================== */
|
|
142
|
+
--grid-columns-2: 2;
|
|
143
|
+
--grid-columns-3: 3;
|
|
144
|
+
--grid-columns-4: 4;
|
|
145
|
+
--grid-columns-5: 5;
|
|
146
|
+
--grid-columns-6: 6;
|
|
147
|
+
--grid-columns-7: 7;
|
|
148
|
+
--grid-columns-8: 8;
|
|
149
|
+
--grid-columns-9: 9;
|
|
150
|
+
--grid-columns-10: 10;
|
|
151
|
+
--grid-columns-11: 11;
|
|
152
|
+
--grid-columns-12: 12;
|
|
153
|
+
--grid-gap-sm: 8px;
|
|
154
|
+
--grid-gap-md: 16px;
|
|
155
|
+
--grid-gap-lg: 24px;
|
|
156
|
+
--grid-column-size-xs: 240px;
|
|
157
|
+
--grid-column-size-sm: 260px;
|
|
158
|
+
--grid-column-size-md: 320px;
|
|
159
|
+
--grid-column-size-lg: 480px;
|
|
160
|
+
|
|
161
|
+
/* ========================================
|
|
162
|
+
GAP SYSTEM (For Grid & Flexbox)
|
|
163
|
+
======================================== */
|
|
164
|
+
--gap-0: var(--spacing-0);
|
|
165
|
+
--gap-1: var(--spacing-1);
|
|
166
|
+
--gap-2: var(--spacing-2);
|
|
167
|
+
--gap-3: var(--spacing-3);
|
|
168
|
+
--gap-4: var(--spacing-4);
|
|
169
|
+
--gap-5: var(--spacing-5);
|
|
170
|
+
--gap-6: var(--spacing-6);
|
|
171
|
+
--gap-8: var(--spacing-8);
|
|
172
|
+
--gap-10: var(--spacing-10);
|
|
173
|
+
--gap-12: var(--spacing-12);
|
|
174
|
+
--gap-16: var(--spacing-16);
|
|
175
|
+
--gap-20: var(--spacing-20);
|
|
176
|
+
--gap-24: var(--spacing-24);
|
|
177
|
+
--gap-32: var(--spacing-32);
|
|
178
|
+
|
|
179
|
+
/* ========================================
|
|
180
|
+
FLEXBOX HELPERS
|
|
181
|
+
======================================== */
|
|
182
|
+
--flex-row: row;
|
|
183
|
+
--flex-column: column;
|
|
184
|
+
--flex-wrap: wrap;
|
|
185
|
+
--flex-nowrap: nowrap;
|
|
186
|
+
--flex-center: center;
|
|
187
|
+
}
|
|
188
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
.component--card {
|
|
2
|
+
background: var(--theme-25);
|
|
3
|
+
color: oklch(12.97% 0.005 285.67);
|
|
4
|
+
border: solid 1px var(--gray-50);
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.component--card:is(.dark *) {
|
|
8
|
+
background: var(--canvas-800);
|
|
9
|
+
color: var(--gray-100);
|
|
10
|
+
border: solid 1px var(--canvas-700);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.component--card--hover:hover {
|
|
14
|
+
background: oklch(from var(--theme-50) 1 0.03 h);
|
|
15
|
+
transition: ease-in-out 200ms;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.component--card--hover:hover:is(.dark *) {
|
|
19
|
+
background: oklch(from var(--canvas-700) 0.258 c h);
|
|
20
|
+
}
|