@iota/apps-ui-kit 0.6.0 → 0.7.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/CHANGELOG.md +29 -0
- package/dist/index.d.ts +219 -34
- package/dist/index.es.js +3429 -6082
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +28 -160
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +11 -4
- package/src/lib/components/atoms/badge/badge.classes.ts +18 -18
- package/src/lib/components/atoms/badge/badge.enums.ts +1 -1
- package/src/lib/components/atoms/button/Button.tsx +1 -0
- package/src/lib/components/atoms/button/button-variants/ButtonPill.tsx +1 -1
- package/src/lib/components/atoms/button/button.classes.ts +12 -12
- package/src/lib/components/atoms/button-segment/ButtonSegment.tsx +1 -1
- package/src/lib/components/atoms/button-segment/buttonSegment.classes.ts +15 -36
- package/src/lib/components/atoms/checkbox/Checkbox.tsx +19 -9
- package/src/lib/components/atoms/divider/divider.classes.ts +1 -1
- package/src/lib/components/atoms/header/Header.tsx +1 -1
- package/src/lib/components/atoms/image/Image.tsx +32 -0
- package/src/lib/components/atoms/image/index.ts +4 -0
- package/src/lib/components/atoms/index.ts +4 -1
- package/src/lib/components/atoms/info-box/InfoBox.tsx +2 -8
- package/src/lib/components/atoms/info-box/infoBox.classes.ts +8 -9
- package/src/lib/components/atoms/key-value-info/KeyValueInfo.tsx +5 -5
- package/src/lib/components/atoms/label-text/LabelText.tsx +4 -6
- package/src/lib/components/atoms/list-item/ListItem.tsx +4 -5
- package/src/lib/components/atoms/loading-indicator/LoadingIndicator.tsx +1 -1
- package/src/lib/components/atoms/media-fallback/MediaFallback.tsx +12 -0
- package/src/lib/components/atoms/media-fallback/index.ts +4 -0
- package/src/lib/components/atoms/panel/Panel.tsx +2 -4
- package/src/lib/components/atoms/radio-button/RadioButton.tsx +5 -9
- package/src/lib/components/atoms/secondary-text/SecondaryText.tsx +3 -2
- package/src/lib/components/atoms/skeleton/Skeleton.tsx +6 -23
- package/src/lib/components/atoms/snackbar/snackbar.classes.ts +8 -8
- package/src/lib/components/atoms/toggle/toggle.classes.ts +6 -6
- package/src/lib/components/atoms/tooltip/Tooltip.tsx +3 -2
- package/src/lib/components/atoms/video/Video.tsx +33 -0
- package/src/lib/components/atoms/video/index.ts +4 -0
- package/src/lib/components/atoms/video/video.constants.ts +31 -0
- package/src/lib/components/index.ts +0 -2
- package/src/lib/components/molecules/account/Account.tsx +4 -4
- package/src/lib/components/molecules/address/Address.tsx +1 -1
- package/src/lib/components/molecules/asset-media-renderer/AssetMediaRenderer.tsx +50 -0
- package/src/lib/components/molecules/asset-media-renderer/index.ts +4 -0
- package/src/lib/components/molecules/card/CardAction.tsx +3 -5
- package/src/lib/components/molecules/card/CardBody.tsx +3 -2
- package/src/lib/components/molecules/card/card.classes.ts +3 -3
- package/src/lib/components/molecules/chip/Chip.tsx +59 -18
- package/src/lib/components/molecules/chip/chip.classes.ts +37 -15
- package/src/lib/components/molecules/chip/chip.enums.ts +10 -2
- package/src/lib/components/molecules/chip/index.ts +1 -0
- package/src/lib/components/molecules/display-stats/DisplayStats.tsx +2 -2
- package/src/lib/components/molecules/display-stats/displayStats.classes.ts +6 -6
- package/src/lib/components/molecules/dropdown/Dropdown.tsx +1 -1
- package/src/lib/components/molecules/index.ts +2 -0
- package/src/lib/components/molecules/input/Input.tsx +37 -22
- package/src/lib/components/molecules/input/InputWrapper.tsx +1 -1
- package/src/lib/components/molecules/input/TextArea.tsx +4 -8
- package/src/lib/components/molecules/input/input.classes.ts +7 -8
- package/src/lib/components/molecules/navbar-item/NavbarItem.tsx +0 -1
- package/src/lib/components/molecules/navbar-item/NavbarItemHorizontal.tsx +1 -1
- package/src/lib/components/molecules/navbar-item/NavbarItemVertical.tsx +1 -1
- package/src/lib/components/molecules/navbar-item/navbarItem.classes.ts +4 -4
- package/src/lib/components/molecules/search/Search.tsx +10 -7
- package/src/lib/components/molecules/search/search.classes.ts +5 -5
- package/src/lib/components/molecules/segmented-button/segmentedButton.classes.ts +2 -2
- package/src/lib/components/molecules/select/Select.tsx +29 -16
- package/src/lib/components/molecules/table-cell/TableCell.tsx +2 -2
- package/src/lib/components/molecules/table-header-cell/TableHeaderCell.tsx +2 -2
- package/src/lib/components/molecules/title/Title.tsx +3 -3
- package/src/lib/components/{atoms → molecules}/visual-asset-card/VisualAssetCard.tsx +26 -40
- package/src/lib/components/organisms/accordion/Accordion.tsx +2 -3
- package/src/lib/components/organisms/accordion/accordion.classes.ts +1 -1
- package/src/lib/components/organisms/dialog/Dialog.tsx +39 -24
- package/src/lib/components/organisms/navbar/Navbar.tsx +2 -2
- package/src/lib/components/organisms/navbar/NavbarSlideout.tsx +1 -1
- package/src/lib/components/organisms/table/Table.tsx +2 -2
- package/src/lib/constants/colors.constants.ts +114 -8
- package/src/lib/enums/index.ts +1 -0
- package/src/lib/enums/theme.enums.ts +8 -0
- package/src/lib/index.ts +2 -0
- package/src/lib/styles/base.css +137 -0
- package/src/lib/styles/components.css +735 -0
- package/src/lib/styles/fonts.css +2 -0
- package/src/lib/styles/index.css +10 -141
- package/src/lib/styles/utilities.css +61 -0
- package/src/lib/styles/variables/dark-variables.css +262 -0
- package/src/lib/styles/variables/general-variables.css +9 -0
- package/src/lib/styles/variables/light-variables.css +276 -0
- package/src/lib/styles/variables/names-variables.css +270 -0
- package/src/lib/tailwind/base.presets.ts +17 -8
- package/src/lib/tailwind/constants/customColors.constants.ts +13 -0
- package/src/lib/tailwind/constants/fontFamily.constants.ts +8 -0
- package/src/lib/tailwind/constants/fontSizes.constants.ts +9 -9
- package/src/lib/tailwind/constants/gradients.constants.ts +6 -0
- package/src/lib/tailwind/constants/index.ts +1 -0
- package/src/lib/tailwind/plugins.ts +4 -0
- package/src/storybook/blocks/Showcase.tsx +2 -2
- package/src/storybook/blocks/TypeSet.tsx +3 -3
- package/src/storybook/blocks/TypeSetItem.tsx +3 -3
- package/src/storybook/constants/gradients.constants.ts +8 -0
- package/src/storybook/helpers/formatGradientNames.ts +15 -0
- package/src/storybook/stories/atoms/Skeleton.stories.tsx +6 -6
- package/src/storybook/stories/atoms/Tooltip.stories.tsx +4 -2
- package/src/storybook/stories/atoms/VisualAssetCard.stories.tsx +3 -2
- package/src/storybook/stories/components/DocsSyncTheme.tsx +20 -0
- package/src/storybook/stories/components/VariableSpacingShowcase.tsx +2 -2
- package/src/storybook/stories/components/index.ts +1 -0
- package/src/storybook/stories/design-tokens/colors.stories.mdx +21 -0
- package/src/storybook/stories/design-tokens/icons.stories.mdx +2 -0
- package/src/storybook/stories/design-tokens/typeset.stories.mdx +2 -0
- package/src/storybook/stories/design-tokens/variable-spacing.stories.mdx +2 -1
- package/src/storybook/stories/molecules/Account.stories.tsx +3 -1
- package/src/storybook/stories/molecules/Chip.stories.tsx +5 -0
- package/src/storybook/stories/molecules/Input.stories.tsx +79 -2
- package/src/storybook/stories/molecules/Search.stories.tsx +2 -2
- package/src/storybook/stories/molecules/TableCell.stories.tsx +1 -1
- package/src/storybook/stories/molecules/TextArea.stories.tsx +1 -1
- package/src/storybook/stories/organisms/Dialog.stories.tsx +54 -28
- /package/src/lib/components/{atoms → molecules}/visual-asset-card/index.ts +0 -0
- /package/src/lib/components/{atoms → molecules}/visual-asset-card/visualAssetCard.enums.ts +0 -0
package/src/lib/styles/fonts.css
CHANGED
package/src/lib/styles/index.css
CHANGED
|
@@ -3,147 +3,16 @@
|
|
|
3
3
|
|
|
4
4
|
@import './fonts.css';
|
|
5
5
|
|
|
6
|
-
@
|
|
7
|
-
@
|
|
8
|
-
@tailwind utilities;
|
|
6
|
+
@import 'tailwindcss/base';
|
|
7
|
+
@import './base.css';
|
|
9
8
|
|
|
10
|
-
@
|
|
11
|
-
|
|
12
|
-
.text-display-md,
|
|
13
|
-
.text-display-sm,
|
|
14
|
-
.text-headline-lg,
|
|
15
|
-
.text-headline-md,
|
|
16
|
-
.text-headline-sm {
|
|
17
|
-
@apply font-alliance-no2;
|
|
18
|
-
}
|
|
9
|
+
@import 'tailwindcss/components';
|
|
10
|
+
@import './components.css';
|
|
19
11
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
.text-title-sm,
|
|
23
|
-
.text-body-lg,
|
|
24
|
-
.text-body-md,
|
|
25
|
-
.text-body-sm,
|
|
26
|
-
.text-body-ds-lg,
|
|
27
|
-
.text-body-ds-md,
|
|
28
|
-
.text-body-ds-sm,
|
|
29
|
-
.text-label-lg,
|
|
30
|
-
.text-label-md,
|
|
31
|
-
.text-label-sm {
|
|
32
|
-
@apply font-inter;
|
|
33
|
-
}
|
|
12
|
+
@import 'tailwindcss/utilities';
|
|
13
|
+
@import './utilities.css';
|
|
34
14
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
.text-headline-md,
|
|
40
|
-
.text-headline-sm,
|
|
41
|
-
.text-body-ds-lg {
|
|
42
|
-
font-variant-alternates: 'ss02';
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.text-label-md {
|
|
46
|
-
font-variant-alternates: 'ss01';
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
input:-webkit-autofill,
|
|
50
|
-
input:-webkit-autofill:enabled,
|
|
51
|
-
input:-webkit-autofill:hover,
|
|
52
|
-
input:-webkit-autofill:focus {
|
|
53
|
-
@apply appearance-none !bg-transparent !bg-none;
|
|
54
|
-
@apply !text-neutral-92 dark:!text-neutral-10;
|
|
55
|
-
transition: background-color 5000s ease-in-out 0s;
|
|
56
|
-
-webkit-text-fill-color: theme('colors.neutral.92') !important;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
:root:not(.dark) {
|
|
60
|
-
input:-webkit-autofill,
|
|
61
|
-
input:-webkit-autofill:enabled,
|
|
62
|
-
input:-webkit-autofill:hover,
|
|
63
|
-
input:-webkit-autofill:focus {
|
|
64
|
-
-webkit-text-fill-color: theme('colors.neutral.10') !important;
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
@layer utilities {
|
|
70
|
-
.state-layer,
|
|
71
|
-
.state-layer-inverted,
|
|
72
|
-
.state-active {
|
|
73
|
-
&::after {
|
|
74
|
-
content: '';
|
|
75
|
-
border-radius: inherit;
|
|
76
|
-
@apply absolute;
|
|
77
|
-
@apply h-full w-full;
|
|
78
|
-
@apply left-0 top-0;
|
|
79
|
-
@apply transition-opacity duration-75;
|
|
80
|
-
@apply pointer-events-none;
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.state-layer,
|
|
85
|
-
.state-layer-inverted {
|
|
86
|
-
&::after {
|
|
87
|
-
@apply opacity-0;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
&:hover::after {
|
|
91
|
-
@apply opacity-8;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
&:active::after {
|
|
95
|
-
@apply opacity-12;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
&:disabled::after {
|
|
99
|
-
@apply opacity-0;
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.state-active,
|
|
104
|
-
.state-layer {
|
|
105
|
-
&::after {
|
|
106
|
-
@apply bg-primary-60;
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.state-layer-inverted {
|
|
111
|
-
&::after {
|
|
112
|
-
@apply bg-primary-80;
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
.state-active {
|
|
117
|
-
&::after {
|
|
118
|
-
@apply opacity-12;
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
@-moz-document url-prefix() {
|
|
124
|
-
* {
|
|
125
|
-
scrollbar-width: thin;
|
|
126
|
-
scrollbar-color: theme('colors.neutral.30') transparent;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
:root:not(.dark) {
|
|
130
|
-
* {
|
|
131
|
-
scrollbar-color: theme('colors.neutral.80') transparent;
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
@supports selector(::-webkit-scrollbar) {
|
|
137
|
-
*::-webkit-scrollbar {
|
|
138
|
-
@apply w-3.5;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
*::-webkit-scrollbar-track {
|
|
142
|
-
@apply rounded-xl bg-transparent;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
*::-webkit-scrollbar-thumb {
|
|
146
|
-
@apply shadow-[inset_0_0_10px_10px] shadow-neutral-80 dark:shadow-neutral-30;
|
|
147
|
-
@apply rounded-xl border-4 border-solid border-transparent;
|
|
148
|
-
}
|
|
149
|
-
}
|
|
15
|
+
@import './variables/general-variables.css';
|
|
16
|
+
@import './variables/light-variables.css';
|
|
17
|
+
@import './variables/dark-variables.css';
|
|
18
|
+
@import './variables/names-variables.css';
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
@layer utilities {
|
|
2
|
+
.state-layer,
|
|
3
|
+
.state-layer-inverted,
|
|
4
|
+
.state-active,
|
|
5
|
+
.state-layer-secondary {
|
|
6
|
+
&::after {
|
|
7
|
+
content: '';
|
|
8
|
+
border-radius: inherit;
|
|
9
|
+
@apply absolute;
|
|
10
|
+
@apply h-full w-full;
|
|
11
|
+
@apply left-0 top-0;
|
|
12
|
+
@apply transition-opacity duration-75;
|
|
13
|
+
@apply pointer-events-none;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.state-layer,
|
|
18
|
+
.state-layer-secondary,
|
|
19
|
+
.state-layer-inverted {
|
|
20
|
+
&::after {
|
|
21
|
+
@apply opacity-0;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&:hover::after {
|
|
25
|
+
@apply opacity-8;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&:active::after {
|
|
29
|
+
@apply opacity-12;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&:disabled::after {
|
|
33
|
+
@apply opacity-0;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.state-active,
|
|
38
|
+
.state-layer {
|
|
39
|
+
&::after {
|
|
40
|
+
background-color: var(--state-layer-bg-color);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.state-layer-inverted {
|
|
45
|
+
&::after {
|
|
46
|
+
background-color: var(--state-layer-inverted-bg-color);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.state-layer-secondary {
|
|
51
|
+
&::after {
|
|
52
|
+
background-color: var(--state-layer-secondary-bg-color);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.state-active {
|
|
57
|
+
&::after {
|
|
58
|
+
@apply opacity-12;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
@@ -0,0 +1,262 @@
|
|
|
1
|
+
:root.dark {
|
|
2
|
+
/* COLORS */
|
|
3
|
+
--warning-surface: theme('colors.iota-warning.10');
|
|
4
|
+
--on-warning: theme('colors.iota-warning.90');
|
|
5
|
+
--error-surface: theme('colors.iota-error.10');
|
|
6
|
+
--on-error: theme('colors.iota-error.90');
|
|
7
|
+
--success-surface: theme('colors.iota-tertiary.10');
|
|
8
|
+
--on-success: theme('colors.iota-tertiary.90');
|
|
9
|
+
--default-surface: theme('colors.iota-primary.10');
|
|
10
|
+
--on-default: theme('colors.iota-neutral.90');
|
|
11
|
+
|
|
12
|
+
/* STATE LAYER */
|
|
13
|
+
--state-layer-bg-color: theme('colors.iota-primary.60');
|
|
14
|
+
--state-layer-secondary-bg-color: theme('colors.shader-primary-dark.100');
|
|
15
|
+
--state-layer-inverted-bg-color: theme('colors.iota-primary.80');
|
|
16
|
+
|
|
17
|
+
/* ---------------- ATOMS ---------------- */
|
|
18
|
+
|
|
19
|
+
/* BADGE */
|
|
20
|
+
--badge-bg-color-neutral: theme('colors.iota-neutral.12');
|
|
21
|
+
--badge-text-color-neutral: theme('colors.iota-neutral.92');
|
|
22
|
+
--badge-border-color-neutral: theme('colors.iota-neutral.12');
|
|
23
|
+
--badge-bg-color-primary: theme('colors.iota-primary.30');
|
|
24
|
+
--badge-border-color-primary: theme('colors.iota-primary.30');
|
|
25
|
+
--badge-text-color-primary: theme('colors.iota-neutral.100');
|
|
26
|
+
--badge-bg-color-primary-soft: theme('colors.iota-primary.10');
|
|
27
|
+
--badge-text-color-primary-soft: theme('colors.iota-primary.90');
|
|
28
|
+
--badge-border-color-soft: theme('colors.iota-primary.10');
|
|
29
|
+
|
|
30
|
+
/* INFOBOX */
|
|
31
|
+
--infobox-text-title: theme('colors.iota-neutral.92');
|
|
32
|
+
--infobox-supporting-text: theme('colors.iota-neutral.60');
|
|
33
|
+
|
|
34
|
+
/* BUTTON */
|
|
35
|
+
--button-bg-color-primary: theme('colors.iota-primary.30');
|
|
36
|
+
--button-bg-color-disabled-primary: theme('colors.iota-neutral.30');
|
|
37
|
+
--button-bg-color-secondary: theme('colors.iota-neutral.20');
|
|
38
|
+
--button-bg-color-error: theme('colors.iota-error.10');
|
|
39
|
+
--button-border-color-outline: theme('colors.iota-neutral.60');
|
|
40
|
+
--button-text-color-primary: theme('colors.iota-primary.100');
|
|
41
|
+
--button-text-color-neutral: theme('colors.iota-neutral.92');
|
|
42
|
+
--button-text-color-error: theme('colors.iota-error.90');
|
|
43
|
+
|
|
44
|
+
/* BUTTON PILL */
|
|
45
|
+
--button-pill-border-color: theme('colors.iota-neutral.40');
|
|
46
|
+
--button-pill-text-color: theme('colors.iota-neutral.60');
|
|
47
|
+
|
|
48
|
+
/* HEADER */
|
|
49
|
+
--header-bg-color: theme('colors.iota-neutral.6');
|
|
50
|
+
--header-text-color: theme('colors.iota-neutral.92');
|
|
51
|
+
|
|
52
|
+
/* LABEL */
|
|
53
|
+
--label-text-primary-neutral: theme('colors.iota-neutral.92');
|
|
54
|
+
--label-text-secondary-neutral: theme('colors.iota-neutral.40');
|
|
55
|
+
|
|
56
|
+
/* KEY VALUE */
|
|
57
|
+
--key-supporting-text-color: theme('colors.iota-neutral.40');
|
|
58
|
+
--key-value-hover-text-color: theme('colors.iota-neutral.92');
|
|
59
|
+
--key-value-key-text-color: theme('colors.iota-neutral.60');
|
|
60
|
+
|
|
61
|
+
/* CHECKBOX */
|
|
62
|
+
--checkbox-border-color-default: theme('colors.iota-neutral.20');
|
|
63
|
+
--checkbox-border-color-checked: theme('colors.iota-primary.30');
|
|
64
|
+
--checkbox-border-color-disabled: theme('colors.iota-neutral.30');
|
|
65
|
+
--checkbox-border-color-disabled-checked: theme('colors.iota-neutral.40');
|
|
66
|
+
--checkbox-bg-color-checked: theme('colors.iota-primary.30');
|
|
67
|
+
--checkbox-bg-color-disabled-checked: theme('colors.iota-neutral.40');
|
|
68
|
+
--checkbox-text-color: theme('colors.iota-neutral.60');
|
|
69
|
+
--checkbox-text-color-checked: theme('colors.white');
|
|
70
|
+
--checkbox-label-text-color: theme('colors.iota-neutral.60');
|
|
71
|
+
|
|
72
|
+
/* DIVIDER */
|
|
73
|
+
--divider-bg-color: theme('colors.shader-neutral-dark.8');
|
|
74
|
+
|
|
75
|
+
/* BUTTON SEGMENT */
|
|
76
|
+
--button-segment-text-color-default: theme('colors.iota-neutral.40');
|
|
77
|
+
--button-segment-text-color-hover: theme('colors.iota-neutral.60');
|
|
78
|
+
--button-segment-text-color-focused: theme('colors.iota-neutral.60');
|
|
79
|
+
--button-segment-text-color-selected: theme('colors.iota-neutral.92');
|
|
80
|
+
--button-segment-underline-default-color: theme('colors.shader-neutral-dark.8');
|
|
81
|
+
--button-segment-underline-hover-color: theme('colors.iota-neutral.40');
|
|
82
|
+
--button-segment-underline-selected-color: theme('colors.iota-primary.80');
|
|
83
|
+
--button-segment-bg-color-selected: theme('colors.iota-neutral.6');
|
|
84
|
+
|
|
85
|
+
/* LOADING INDICATOR */
|
|
86
|
+
--loading-indicator-color: theme('colors.iota-primary.80');
|
|
87
|
+
|
|
88
|
+
/* LIST ITEM */
|
|
89
|
+
--list-item-color: theme('colors.iota-neutral.92');
|
|
90
|
+
--list-item-border-color: theme('colors.shader-neutral-dark.8');
|
|
91
|
+
--list-item-highlight-bg: theme('colors.shader-inverted-dark.16');
|
|
92
|
+
|
|
93
|
+
/* PANEL */
|
|
94
|
+
--panel-bg: theme('colors.iota-neutral.6');
|
|
95
|
+
--panel-border-color: theme('colors.shader-neutral-dark.8');
|
|
96
|
+
|
|
97
|
+
/* RADIO BUTTON */
|
|
98
|
+
--radio-icon-color: theme('colors.iota-neutral.60');
|
|
99
|
+
--radio-icon-checked-color: theme('colors.iota-primary.30');
|
|
100
|
+
--radio-icon-checked-disabled-color: theme('colors.iota-neutral.40');
|
|
101
|
+
--radio-label-color: theme('colors.iota-neutral.60');
|
|
102
|
+
|
|
103
|
+
/* SECONDARY TEXT */
|
|
104
|
+
--secondary-text-color: theme('colors.iota-neutral.60');
|
|
105
|
+
--secondary-text-error-color: theme('colors.iota-error.90');
|
|
106
|
+
|
|
107
|
+
/* SKELETON */
|
|
108
|
+
--skeleton-bg: theme('colors.iota-neutral.12');
|
|
109
|
+
--skeleton-secondary-bg: theme('colors.iota-neutral.10');
|
|
110
|
+
|
|
111
|
+
/* TOGGLE */
|
|
112
|
+
--toggle-bg-active: theme('colors.iota-primary.30');
|
|
113
|
+
--toggle-border-active: theme('colors.iota-primary.30');
|
|
114
|
+
--toggle-bg-inactive: theme('colors.iota-neutral.6');
|
|
115
|
+
--toggle-border-inactive: theme('colors.iota-neutral.40');
|
|
116
|
+
--toggle-bg-disabled-active: theme('colors.iota-neutral.70');
|
|
117
|
+
--toggle-border-disabled-active: theme('colors.iota-neutral.70');
|
|
118
|
+
--toggle-thumb-color: theme('colors.iota-neutral.60');
|
|
119
|
+
--toggle-thumb-color-checked: theme('colors.iota-neutral.100');
|
|
120
|
+
--toggle-label-color: theme('colors.iota-neutral.60');
|
|
121
|
+
|
|
122
|
+
/* TOOLTIP */
|
|
123
|
+
--tooltip-bg: theme('colors.iota-neutral.30');
|
|
124
|
+
--tooltip-text-color: theme('colors.iota-neutral.92');
|
|
125
|
+
|
|
126
|
+
/* VISUAL ASSET CARD */
|
|
127
|
+
--visual-asset-placeholder-bg: theme('colors.iota-neutral.10');
|
|
128
|
+
--visual-asset-placeholder-icon: theme('colors.iota-neutral.60');
|
|
129
|
+
--visual-asset-title-color: theme('colors.iota-neutral.100');
|
|
130
|
+
--visual-asset-icon-color: theme('colors.iota-neutral.100');
|
|
131
|
+
|
|
132
|
+
/* ---------------- MOLECULES ---------------- */
|
|
133
|
+
|
|
134
|
+
/* ACCOUNT */
|
|
135
|
+
--account-title-color: theme('colors.iota-neutral.92');
|
|
136
|
+
--account-icon-color: theme('colors.iota-neutral.60');
|
|
137
|
+
--account-check-active-color: theme('colors.iota-primary.80');
|
|
138
|
+
--account-check-inactive-color: theme('colors.iota-neutral.60');
|
|
139
|
+
|
|
140
|
+
/* ADDRESS */
|
|
141
|
+
--address-text-color: theme('colors.iota-neutral.60');
|
|
142
|
+
|
|
143
|
+
/* CARD */
|
|
144
|
+
--card-filled-bg: theme('colors.iota-neutral.10');
|
|
145
|
+
--card-image-bg-solid: theme('colors.iota-neutral.10');
|
|
146
|
+
--card-image-bg-white: theme('colors.iota-neutral.6');
|
|
147
|
+
--card-action-link-color: theme('colors.iota-neutral.92');
|
|
148
|
+
--card-action-title-color: theme('colors.iota-neutral.92');
|
|
149
|
+
--card-action-subtitle-color: theme('colors.iota-neutral.40');
|
|
150
|
+
--card-body-title-color: theme('colors.iota-neutral.92');
|
|
151
|
+
--card-body-subtitle-color: theme('colors.iota-neutral.60');
|
|
152
|
+
|
|
153
|
+
/* CHIP */
|
|
154
|
+
--chip-bg-selected-outline: theme('colors.iota-primary.10');
|
|
155
|
+
--chip-bg-elevated: theme('colors.iota-primary.10');
|
|
156
|
+
--chip-bg-brand: theme('colors.iota-primary.30');
|
|
157
|
+
--chip-border-default: theme('colors.iota-neutral.40');
|
|
158
|
+
--chip-text-default: theme('colors.iota-neutral.60');
|
|
159
|
+
--chip-text-secondary: theme('colors.iota-neutral.92');
|
|
160
|
+
--chip-focus-ring: theme('colors.iota-primary.80');
|
|
161
|
+
--chip-border-color-brand: theme('colors.iota-primary.30');
|
|
162
|
+
--chip-text-brand: theme('colors.iota-primary.100');
|
|
163
|
+
--chip-bg-selected-overlay: theme('colors.shader-primary-dark.16');
|
|
164
|
+
--chip-close-icon-opacity: 100;
|
|
165
|
+
|
|
166
|
+
--chip-outline-color: theme('colors.shader-primary-dark.16');
|
|
167
|
+
--chip-outline-color-hover: theme('colors.shader-primary-dark.8');
|
|
168
|
+
--chip-outline-color-active: theme('colors.shader-primary-dark.12');
|
|
169
|
+
|
|
170
|
+
--chip-bg-color-hover: theme('colors.shader-primary-dark.8');
|
|
171
|
+
--chip-bg-color-active: theme('colors.shader-primary-dark.12');
|
|
172
|
+
--chip-bg-color-focus: theme('colors.shader-primary-dark.12');
|
|
173
|
+
|
|
174
|
+
/* DISPLAY STATS */
|
|
175
|
+
--display-stats-bg-default: theme('colors.iota-neutral.10');
|
|
176
|
+
--display-stats-bg-highlight: theme('colors.iota-primary.80');
|
|
177
|
+
--display-stats-bg-secondary: theme('colors.iota-secondary.10');
|
|
178
|
+
|
|
179
|
+
--display-stats-text-default: theme('colors.iota-neutral.92');
|
|
180
|
+
--display-stats-text-highlight: theme('colors.iota-primary.10');
|
|
181
|
+
--display-stats-text-secondary: theme('colors.iota-neutral.92');
|
|
182
|
+
|
|
183
|
+
--display-stats-icon-color: theme('colors.iota-neutral.92');
|
|
184
|
+
--display-stats-copy-icon-color: theme('colors.iota-neutral.40');
|
|
185
|
+
|
|
186
|
+
/* DROPDOWN */
|
|
187
|
+
--dropdown-bg: theme('colors.iota-neutral.6');
|
|
188
|
+
--dropdown-border-color: theme('colors.iota-neutral.20');
|
|
189
|
+
|
|
190
|
+
/* INPUT */
|
|
191
|
+
--input-text-color: theme('colors.iota-neutral.92');
|
|
192
|
+
--input-placeholder-color: rgba(136, 146, 161, 0.4); /* neutral.60 with 40% opacity */
|
|
193
|
+
--input-label-color: theme('colors.iota-neutral.60');
|
|
194
|
+
--input-border-color: theme('colors.iota-neutral.20');
|
|
195
|
+
--input-border-hover-color: theme('colors.iota-neutral.60');
|
|
196
|
+
--input-border-error-color: theme('colors.iota-error.80');
|
|
197
|
+
--input-border-focus-color: theme('colors.iota-primary.80');
|
|
198
|
+
--input-caret-color: theme('colors.iota-primary.80');
|
|
199
|
+
--input-icon-color: theme('colors.iota-neutral.92');
|
|
200
|
+
--input-copy-icon-color: theme('colors.iota-neutral.40');
|
|
201
|
+
--input-visibility-bar-color: rgba(23, 29, 38, 0.6); /* neutral.10 with 60% opacity */
|
|
202
|
+
|
|
203
|
+
/* NAVBAR ITEM */
|
|
204
|
+
--navbar-item-icon-color: theme('colors.iota-neutral.60');
|
|
205
|
+
--navbar-item-icon-selected-color: theme('colors.iota-neutral.92');
|
|
206
|
+
--navbar-item-label-color: theme('colors.iota-neutral.40');
|
|
207
|
+
--navbar-item-label-selected-color: theme('colors.iota-neutral.92');
|
|
208
|
+
|
|
209
|
+
/* SEARCH */
|
|
210
|
+
--search-text-color: theme('colors.iota-neutral.92');
|
|
211
|
+
--search-placeholder-color: theme('colors.iota-neutral.60');
|
|
212
|
+
--search-border-color: theme('colors.iota-neutral.40');
|
|
213
|
+
--search-bg-color-filled: theme('colors.iota-neutral.12');
|
|
214
|
+
--search-suggestion-bg-color: theme('colors.iota-neutral.10');
|
|
215
|
+
--search-selected-index-bg-color: theme('colors.shader-inverted-dark.16');
|
|
216
|
+
|
|
217
|
+
/* SEGMENTED BUTTON */
|
|
218
|
+
--segmented-filled-bg-color: theme('colors.iota-neutral.10');
|
|
219
|
+
--segmented-outlined-border-color: theme('colors.iota-neutral.40');
|
|
220
|
+
|
|
221
|
+
/* SELECT */
|
|
222
|
+
--select-border-color: theme('colors.iota-neutral.20');
|
|
223
|
+
--select-border-hover-color: theme('colors.iota-neutral.60');
|
|
224
|
+
--select-border-focus-color: theme('colors.iota-primary.80');
|
|
225
|
+
--select-border-error-color: theme('colors.iota-error.80');
|
|
226
|
+
--select-icon-color: theme('colors.iota-neutral.92');
|
|
227
|
+
--select-label-color: theme('colors.iota-neutral.92');
|
|
228
|
+
|
|
229
|
+
/* TABLE CELL */
|
|
230
|
+
--table-cell-supporting-label-color: theme('colors.iota-neutral.40');
|
|
231
|
+
--table-cell-border-color: theme('colors.shader-neutral-dark.8');
|
|
232
|
+
|
|
233
|
+
/* TABLE HEADER CELL */
|
|
234
|
+
--table-header-text-color: theme('colors.iota-neutral.92');
|
|
235
|
+
|
|
236
|
+
/* TITLE */
|
|
237
|
+
--title-main-color: theme('colors.iota-neutral.92');
|
|
238
|
+
--title-subtitle-color: theme('colors.iota-neutral.40');
|
|
239
|
+
--title-icon-color: theme('colors.iota-neutral.40');
|
|
240
|
+
/* ---------------- ORGANISMS ---------------- */
|
|
241
|
+
|
|
242
|
+
/* ACCORDION */
|
|
243
|
+
--accordion-bg: theme('colors.iota-neutral.6');
|
|
244
|
+
--accordion-icon-color: theme('colors.iota-neutral.92');
|
|
245
|
+
--accordion-border-color: theme('colors.shader-neutral-dark.8');
|
|
246
|
+
|
|
247
|
+
/* DIALOG */
|
|
248
|
+
--dialog-content-bg: theme('colors.iota-neutral.6');
|
|
249
|
+
--dialog-title-color: theme('colors.iota-neutral.92');
|
|
250
|
+
--dialog-body-color: theme('colors.iota-neutral.60');
|
|
251
|
+
|
|
252
|
+
/* NAVBAR */
|
|
253
|
+
--navbar-icon-color: theme('colors.iota-neutral.92');
|
|
254
|
+
--navbar-slideout-bg: theme('colors.iota-neutral.6');
|
|
255
|
+
|
|
256
|
+
/* TABLE */
|
|
257
|
+
--table-text-color: theme('colors.iota-neutral.60');
|
|
258
|
+
|
|
259
|
+
/* DIALOG */
|
|
260
|
+
--dialog-outline: none;
|
|
261
|
+
--dialog-overlay-bg: theme('colors.shader-neutral-light.48');
|
|
262
|
+
}
|