@tcn/ui 0.3.2 → 0.4.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/dist/Color-6BZIO3FS-CWWwv-fq.js +1004 -0
- package/dist/Color-6BZIO3FS-CWWwv-fq.js.map +1 -0
- package/dist/{WithTooltip-IO6J4KBT-B1oq93K5.js → WithTooltip-65CFNBJE-DvcUZizH.js} +4 -4
- package/dist/WithTooltip-65CFNBJE-DvcUZizH.js.map +1 -0
- package/dist/actions/__docs__/components/showcase.d.ts.map +1 -1
- package/dist/actions/__docs__/components/showcase.js +1 -1
- package/dist/actions/button/base_button/base_button.d.ts +2 -4
- package/dist/actions/button/base_button/base_button.d.ts.map +1 -1
- package/dist/actions/button/base_button/base_button.js +35 -35
- package/dist/actions/button/base_button/base_button.js.map +1 -1
- package/dist/actions/button/button/button.d.ts +7 -1
- package/dist/actions/button/button/button.d.ts.map +1 -1
- package/dist/actions/button/button/button.js +9 -7
- package/dist/actions/button/button/button.js.map +1 -1
- package/dist/actions/button/slim_button/slim_button.d.ts +6 -1
- package/dist/actions/button/slim_button/slim_button.d.ts.map +1 -1
- package/dist/actions/button/slim_button/slim_button.js +13 -14
- package/dist/actions/button/slim_button/slim_button.js.map +1 -1
- package/dist/actions/toggle/toggle.d.ts +9 -0
- package/dist/actions/toggle/toggle.d.ts.map +1 -0
- package/dist/actions/toggle/toggle.js +21 -0
- package/dist/actions/toggle/toggle.js.map +1 -0
- package/dist/date_picker_time_selector.css +1 -1
- package/dist/feedback/lazy/lazy.js +3 -3
- package/dist/form/field/common/field_error.js +16 -9
- package/dist/form/field/common/field_error.js.map +1 -1
- package/dist/formatter-EIJCOSYU-D6nmx63h.js +6 -0
- package/dist/formatter-EIJCOSYU-D6nmx63h.js.map +1 -0
- package/dist/input.css +1 -1
- package/dist/inputs/mask_input/mask.d.ts.map +1 -1
- package/dist/inputs/mask_input/mask.js.map +1 -1
- package/dist/inputs/multiselect/multiselect_inline_values.js +3 -2
- package/dist/inputs/multiselect/multiselect_inline_values.js.map +1 -1
- package/dist/inputs/multiselect/multiselect_values.js +3 -2
- package/dist/inputs/multiselect/multiselect_values.js.map +1 -1
- package/dist/layouts/index.d.ts +2 -1
- package/dist/layouts/index.d.ts.map +1 -1
- package/dist/layouts/index.js +20 -18
- package/dist/layouts/index.js.map +1 -1
- package/dist/layouts/row/row.d.ts +4 -0
- package/dist/layouts/row/row.d.ts.map +1 -0
- package/dist/layouts/row/row.js +11 -0
- package/dist/layouts/row/row.js.map +1 -0
- package/dist/layouts/section/heading.d.ts +7 -0
- package/dist/layouts/section/heading.d.ts.map +1 -0
- package/dist/layouts/section/heading.js +9 -0
- package/dist/layouts/section/heading.js.map +1 -0
- package/dist/layouts/section/section.d.ts +4 -0
- package/dist/layouts/section/section.d.ts.map +1 -0
- package/dist/layouts/section/section.js +22 -0
- package/dist/layouts/section/section.js.map +1 -0
- package/dist/navigation/index.d.ts +7 -0
- package/dist/navigation/index.d.ts.map +1 -0
- package/dist/navigation/index.js +17 -0
- package/dist/navigation/index.js.map +1 -0
- package/dist/navigation/tabs/primitives/tabs_bar.d.ts +7 -0
- package/dist/navigation/tabs/primitives/tabs_bar.d.ts.map +1 -0
- package/dist/navigation/tabs/primitives/tabs_bar.js +21 -0
- package/dist/navigation/tabs/primitives/tabs_bar.js.map +1 -0
- package/dist/navigation/tabs/primitives/tabs_list.d.ts +10 -0
- package/dist/navigation/tabs/primitives/tabs_list.d.ts.map +1 -0
- package/dist/navigation/tabs/primitives/tabs_list.js +29 -0
- package/dist/navigation/tabs/primitives/tabs_list.js.map +1 -0
- package/dist/navigation/tabs/state/context.d.ts +21 -0
- package/dist/navigation/tabs/state/context.d.ts.map +1 -0
- package/dist/navigation/tabs/state/context.js +34 -0
- package/dist/navigation/tabs/state/context.js.map +1 -0
- package/dist/navigation/tabs/state/link/tab_link.d.ts +9 -0
- package/dist/navigation/tabs/state/link/tab_link.d.ts.map +1 -0
- package/dist/navigation/tabs/state/link/tab_link.js +36 -0
- package/dist/navigation/tabs/state/link/tab_link.js.map +1 -0
- package/dist/navigation/tabs/state/link/use_tab_link.d.ts +5 -0
- package/dist/navigation/tabs/state/link/use_tab_link.d.ts.map +1 -0
- package/dist/navigation/tabs/state/link/use_tab_link.js +13 -0
- package/dist/navigation/tabs/state/link/use_tab_link.js.map +1 -0
- package/dist/navigation/tabs/state/nav_bar.d.ts +5 -0
- package/dist/navigation/tabs/state/nav_bar.d.ts.map +1 -0
- package/dist/navigation/tabs/state/nav_bar.js +36 -0
- package/dist/navigation/tabs/state/nav_bar.js.map +1 -0
- package/dist/navigation/tabs/state/tab.d.ts +6 -0
- package/dist/navigation/tabs/state/tab.d.ts.map +1 -0
- package/dist/navigation/tabs/state/tab.js +6 -0
- package/dist/navigation/tabs/state/tab.js.map +1 -0
- package/dist/overlay/carrot/base_carrot.d.ts +8 -0
- package/dist/overlay/carrot/base_carrot.d.ts.map +1 -0
- package/dist/overlay/carrot/base_carrot.js +21 -0
- package/dist/overlay/carrot/base_carrot.js.map +1 -0
- package/dist/overlay/portal/portal_platform.d.ts.map +1 -1
- package/dist/overlay/portal/portal_platform.js +3 -3
- package/dist/overlay/portal/portal_platform.js.map +1 -1
- package/dist/row.css +1 -0
- package/dist/section.css +1 -0
- package/dist/section.module-0wyGkhDg.js +5 -0
- package/dist/section.module-0wyGkhDg.js.map +1 -0
- package/dist/{showcase-WfP6kBEb.js → showcase-DK557szS.js} +18018 -16269
- package/dist/showcase-DK557szS.js.map +1 -0
- package/dist/surfaces/pop_confirm/pop_confirm.js +4 -3
- package/dist/surfaces/pop_confirm/pop_confirm.js.map +1 -1
- package/dist/{syntaxhighlighter-IQDEPFLK-BX_eF8__.js → syntaxhighlighter-ED5Y7EFY-DaMS-2cF.js} +54 -54
- package/dist/syntaxhighlighter-ED5Y7EFY-DaMS-2cF.js.map +1 -0
- package/dist/tabs_bar.css +1 -0
- package/dist/textarea.css +1 -1
- package/dist/theme_provider.css +1 -0
- package/dist/theme_provider.module-ChZQ5Xsk.js +5 -0
- package/dist/theme_provider.module-ChZQ5Xsk.js.map +1 -0
- package/dist/themes/stylesheets/reset.css +1 -1
- package/dist/themes/stylesheets/reset.js +1 -0
- package/dist/themes/stylesheets/reset.js.map +1 -1
- package/dist/themes/theme.d.ts +3 -2
- package/dist/themes/theme.d.ts.map +1 -1
- package/dist/themes/theme.js +20 -10
- package/dist/themes/theme.js.map +1 -1
- package/dist/themes/themes/ergo/ergo_theme.css +1 -1
- package/dist/themes/themes/ergo/ergo_theme.d.ts.map +1 -1
- package/dist/themes/themes/ergo/ergo_theme.js +488 -238
- package/dist/themes/themes/ergo/ergo_theme.js.map +1 -1
- package/dist/themes/themes/windows_98/windows_98.css +1 -1
- package/dist/themes/themes/windows_98/windows_98_theme.js +149 -4
- package/dist/themes/themes/windows_98/windows_98_theme.js.map +1 -1
- package/dist/tokens/bubble/bubble.js +31 -24
- package/dist/tokens/bubble/bubble.js.map +1 -1
- package/dist/tokens/chip/chip.js +15 -8
- package/dist/tokens/chip/chip.js.map +1 -1
- package/dist/tokens/index.d.ts +2 -0
- package/dist/tokens/index.d.ts.map +1 -1
- package/dist/tokens/index.js +5 -1
- package/dist/tokens/index.js.map +1 -1
- package/dist/tokens/key/key.d.ts +3 -0
- package/dist/tokens/key/key.d.ts.map +1 -0
- package/dist/tokens/key/key.js +8 -0
- package/dist/tokens/key/key.js.map +1 -0
- package/dist/tokens/value/value.d.ts +3 -0
- package/dist/tokens/value/value.d.ts.map +1 -0
- package/dist/tokens/value/value.js +8 -0
- package/dist/tokens/value/value.js.map +1 -0
- package/dist/utils/css_utils.d.ts +9 -0
- package/dist/utils/css_utils.d.ts.map +1 -0
- package/dist/utils/css_utils.js +45 -0
- package/dist/utils/css_utils.js.map +1 -0
- package/package.json +8 -1
- package/src/actions/__docs__/actions.mdx +159 -34
- package/src/actions/__docs__/actions.stories.tsx +416 -101
- package/src/actions/__docs__/components/showcase.tsx +10 -6
- package/src/actions/button/__stories__/button.stories.tsx +10 -0
- package/src/actions/button/__stories__/toggle.stories.tsx +177 -0
- package/src/actions/button/base_button/base_button.tsx +8 -10
- package/src/actions/button/button/button.tsx +11 -2
- package/src/actions/button/slim_button/slim_button.tsx +20 -13
- package/src/actions/toggle/toggle.tsx +26 -0
- package/src/inputs/date_picker/date_picker_time_selector.module.css +0 -1
- package/src/inputs/input/input.module.css +0 -1
- package/src/inputs/mask_input/mask.ts +7 -1
- package/src/inputs/textarea/textarea.module.css +0 -1
- package/src/layouts/index.ts +3 -2
- package/src/layouts/row/row.module.css +5 -0
- package/src/layouts/row/row.tsx +15 -0
- package/src/layouts/section/__stories__/section.stories.module.css +6 -0
- package/src/layouts/section/__stories__/section.stories.tsx +152 -0
- package/src/layouts/section/heading.tsx +16 -0
- package/src/layouts/section/section.module.css +41 -0
- package/src/layouts/section/section.tsx +21 -0
- package/src/navigation/index.ts +18 -0
- package/src/navigation/tabs/__stories__/state.stories.tsx +136 -0
- package/src/navigation/tabs/__stories__/tabs.stories.tsx +40 -0
- package/src/navigation/tabs/primitives/tabs_bar.module.css +13 -0
- package/src/navigation/tabs/primitives/tabs_bar.tsx +25 -0
- package/src/navigation/tabs/primitives/tabs_list.tsx +41 -0
- package/src/navigation/tabs/state/context.tsx +61 -0
- package/src/navigation/tabs/state/link/tab_link.tsx +45 -0
- package/src/navigation/tabs/state/link/use_tab_link.ts +17 -0
- package/src/navigation/tabs/state/nav_bar.tsx +37 -0
- package/src/navigation/tabs/state/tab.tsx +12 -0
- package/src/overlay/carrot/base_carrot.tsx +24 -0
- package/src/overlay/carrot/carrot.stories.tsx +54 -0
- package/src/overlay/portal/portal_platform.tsx +1 -0
- package/src/surfaces/card/card.stories.tsx +14 -14
- package/src/surfaces/modal/__stories__/modal.stories.tsx +19 -8
- package/src/surfaces/window/window.stories.tsx +16 -10
- package/src/themes/stylesheets/reset.css +1 -0
- package/src/themes/theme.tsx +13 -4
- package/src/themes/theme_provider.module.css +6 -0
- package/src/themes/themes/ergo/__stories__/components/material_picker/sb_inverted_materials.module.css +4 -4
- package/src/themes/themes/ergo/__stories__/components/tone_picker/sb_tone_picker.module.css +3 -0
- package/src/themes/themes/ergo/__stories__/components/tone_picker/sb_tone_picker.tsx +5 -2
- package/src/themes/themes/ergo/__stories__/material.stories.tsx +2 -2
- package/src/themes/themes/ergo/__stories__/sb_materials.module.css +31 -26
- package/src/themes/themes/ergo/ergo_theme.css +484 -235
- package/src/themes/themes/ergo/ergo_theme.ts +1 -0
- package/src/themes/themes/windows_98/windows_98.css +149 -4
- package/src/tokens/index.ts +2 -0
- package/src/tokens/key/key.tsx +10 -0
- package/src/tokens/value/value.tsx +10 -0
- package/src/utils/css_utils.ts +64 -0
- package/tsconfig.json +6 -0
- package/dist/Color-ASIRERSW-B4GaVKuQ.js +0 -990
- package/dist/Color-ASIRERSW-B4GaVKuQ.js.map +0 -1
- package/dist/WithTooltip-IO6J4KBT-B1oq93K5.js.map +0 -1
- package/dist/formatter-QJ4M4OGQ-DaIl2Wi_.js +0 -6
- package/dist/formatter-QJ4M4OGQ-DaIl2Wi_.js.map +0 -1
- package/dist/layouts/list/section_header.d.ts +0 -6
- package/dist/layouts/list/section_header.d.ts.map +0 -1
- package/dist/layouts/list/section_header.js +0 -22
- package/dist/layouts/list/section_header.js.map +0 -1
- package/dist/showcase-WfP6kBEb.js.map +0 -1
- package/dist/syntaxhighlighter-IQDEPFLK-BX_eF8__.js.map +0 -1
- package/src/layouts/list/section_header.module.css +0 -20
- package/src/layouts/list/section_header.tsx +0 -21
|
@@ -3,7 +3,7 @@ import { Window } from './window.js';
|
|
|
3
3
|
import { Footer, Header, UtilityBar, VBody } from '../../layouts/index.js';
|
|
4
4
|
import { BodyText, Title } from '../../typography/index.js';
|
|
5
5
|
import { Spacer } from '../../stacks/spacer.js';
|
|
6
|
-
import { Button
|
|
6
|
+
import { Button } from '../../actions/index.js';
|
|
7
7
|
import { CrossIcon } from '@tcn/icons/cross_icon.js';
|
|
8
8
|
import { ZStack } from '../../stacks/z_stack.js';
|
|
9
9
|
import { DragHandle } from '../../utils/dnd/handle.js';
|
|
@@ -24,29 +24,35 @@ export const WindowStory = () => {
|
|
|
24
24
|
|
|
25
25
|
return (
|
|
26
26
|
<ZStack height="100%" width="100%" minHeight="600px">
|
|
27
|
-
<
|
|
27
|
+
<Button onClick={toggle}>{isOpen ? 'Close' : 'Open'}</Button>
|
|
28
28
|
<Window isOpen={isOpen} width="400px" height="500px">
|
|
29
29
|
<DragHandle>
|
|
30
30
|
<Header>
|
|
31
31
|
<Title>Window Title</Title>
|
|
32
32
|
<Spacer />
|
|
33
|
-
<
|
|
33
|
+
<Button utility hierarchy="tertiary" size="md" onClick={toggle}>
|
|
34
34
|
<CrossIcon />
|
|
35
|
-
</
|
|
35
|
+
</Button>
|
|
36
|
+
<Button utility hierarchy="secondary" size="md" onClick={toggle}>
|
|
37
|
+
<CrossIcon />
|
|
38
|
+
</Button>
|
|
39
|
+
<Button utility hierarchy="primary" size="md" onClick={toggle}>
|
|
40
|
+
<CrossIcon />
|
|
41
|
+
</Button>
|
|
36
42
|
</Header>
|
|
37
43
|
</DragHandle>
|
|
38
44
|
<UtilityBar>
|
|
39
45
|
<Title>Utility Bar</Title>
|
|
40
46
|
<Spacer />
|
|
41
|
-
<
|
|
47
|
+
<Button utility hierarchy="tertiary">
|
|
42
48
|
<BugIcon />
|
|
43
|
-
</
|
|
44
|
-
<
|
|
49
|
+
</Button>
|
|
50
|
+
<Button utility hierarchy="secondary">
|
|
45
51
|
<BugIcon />
|
|
46
|
-
</
|
|
47
|
-
<
|
|
52
|
+
</Button>
|
|
53
|
+
<Button utility size="md" hierarchy="primary">
|
|
48
54
|
<BugIcon />
|
|
49
|
-
</
|
|
55
|
+
</Button>
|
|
50
56
|
</UtilityBar>
|
|
51
57
|
<VBody>
|
|
52
58
|
<BodyText>This is a window</BodyText>
|
package/src/themes/theme.tsx
CHANGED
|
@@ -1,13 +1,18 @@
|
|
|
1
1
|
import React, { useLayoutEffect } from 'react';
|
|
2
|
-
import
|
|
2
|
+
import { Box, type BoxProps } from '../stacks/index.js';
|
|
3
|
+
import { clsx } from 'clsx';
|
|
4
|
+
|
|
5
|
+
// Styles
|
|
3
6
|
import './stylesheets/reset.css';
|
|
7
|
+
import styles from './theme_provider.module.css';
|
|
8
|
+
import layers from '../css/layers.css?raw';
|
|
4
9
|
|
|
5
|
-
export interface ThemeProps {
|
|
10
|
+
export interface ThemeProps extends BoxProps {
|
|
6
11
|
styleSheets: CSSStyleSheet[];
|
|
7
12
|
children: React.ReactNode;
|
|
8
13
|
}
|
|
9
14
|
|
|
10
|
-
export function Theme({ styleSheets, children }: ThemeProps) {
|
|
15
|
+
export function Theme({ styleSheets, children, ...boxProps }: ThemeProps) {
|
|
11
16
|
useLayoutEffect(() => {
|
|
12
17
|
document.adoptedStyleSheets = styleSheets;
|
|
13
18
|
}, [styleSheets]);
|
|
@@ -27,5 +32,9 @@ export function Theme({ styleSheets, children }: ThemeProps) {
|
|
|
27
32
|
};
|
|
28
33
|
}, []);
|
|
29
34
|
|
|
30
|
-
return
|
|
35
|
+
return (
|
|
36
|
+
<Box className={clsx('tcn-theme-root', styles['tcn-theme-provider'])} {...boxProps}>
|
|
37
|
+
{children}
|
|
38
|
+
</Box>
|
|
39
|
+
);
|
|
31
40
|
}
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
.surface-custom-inverted {
|
|
30
|
-
--action: var(--custom-material);
|
|
31
|
-
--on-action: var(--custom-on-material);
|
|
32
|
-
--material: var(--
|
|
33
|
-
--on-material: var(--
|
|
30
|
+
--action: var(--custom-material-value);
|
|
31
|
+
--on-action: var(--custom-on-material-value);
|
|
32
|
+
--material: var(--custom-material-value);
|
|
33
|
+
--on-material: var(--custom-on-material-value);
|
|
34
34
|
}
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import { useState } from 'react';
|
|
2
2
|
import { BodyText } from '../../../../../../typography/body_text/body_text.js';
|
|
3
|
-
import { Item, List
|
|
3
|
+
import { Item, List } from '../../../../../../layouts/index.js';
|
|
4
4
|
import { HStack } from '../../../../../../stacks/h_stack.js';
|
|
5
5
|
import type { SB_ToneListItem } from './types.js';
|
|
6
6
|
import { SB_ToneCard } from './sb_tone_card.js';
|
|
7
7
|
import { theme } from '../../../../../theme_variables.js';
|
|
8
8
|
import { VStack } from '../../../../../../stacks/v_stack.js';
|
|
9
|
+
import { Heading } from '../../../../../../layouts/section/heading.js';
|
|
10
|
+
|
|
11
|
+
import styles from './sb_tone_picker.module.css';
|
|
9
12
|
|
|
10
13
|
const items: SB_ToneListItem[] = [
|
|
11
14
|
{
|
|
@@ -60,7 +63,7 @@ export const SB_TonePicker = () => {
|
|
|
60
63
|
maxWidth="300px"
|
|
61
64
|
minWidth="200px"
|
|
62
65
|
>
|
|
63
|
-
<
|
|
66
|
+
<Heading className={styles.heading}>Tone Picker (WIP)</Heading>
|
|
64
67
|
<List padding={theme.padding.md} growWeight={1} height="100%" overflowY="auto">
|
|
65
68
|
{items.map(item => (
|
|
66
69
|
<Item
|
|
@@ -23,12 +23,12 @@ export default {
|
|
|
23
23
|
materialColor: {
|
|
24
24
|
control: { type: 'color', presetColors: [], disableAlpha: false },
|
|
25
25
|
label: 'Custom Material Color',
|
|
26
|
-
format: '
|
|
26
|
+
format: 'rgb',
|
|
27
27
|
},
|
|
28
28
|
accentColor: {
|
|
29
29
|
control: { type: 'color', presetColors: [], disableAlpha: false },
|
|
30
30
|
label: 'Custom Accent Color',
|
|
31
|
-
format: '
|
|
31
|
+
format: 'rgb',
|
|
32
32
|
},
|
|
33
33
|
},
|
|
34
34
|
args: {
|
|
@@ -1,32 +1,37 @@
|
|
|
1
1
|
.storybook-palette {
|
|
2
|
-
--background:
|
|
3
|
-
--primary:
|
|
4
|
-
--navy:
|
|
5
|
-
--white:
|
|
6
|
-
--tan:
|
|
7
|
-
--secondary:
|
|
8
|
-
--secondary-light:
|
|
9
|
-
--slate:
|
|
10
|
-
|
|
11
|
-
--positive:
|
|
12
|
-
--notice:
|
|
13
|
-
--neutral:
|
|
14
|
-
--warning:
|
|
15
|
-
--danger:
|
|
2
|
+
--background: var(--ergo-white);
|
|
3
|
+
--primary: var(--ergo-primary);
|
|
4
|
+
--navy: var(--ergo-accent-blue);
|
|
5
|
+
--white: var(--ergo-white);
|
|
6
|
+
--tan: var(--ergo-tertiary);
|
|
7
|
+
--secondary: var(--ergo-secondary);
|
|
8
|
+
--secondary-light: var(--ergo-secondary-light);
|
|
9
|
+
--slate: #1e293b;
|
|
10
|
+
|
|
11
|
+
--positive: var(--ergo-status-green);
|
|
12
|
+
--notice: var(--ergo-status-blue);
|
|
13
|
+
--neutral: var(--ergo-primary);
|
|
14
|
+
--warning: var(--ergo-status-yellow);
|
|
15
|
+
--danger: var(--ergo-status-red);
|
|
16
|
+
|
|
17
|
+
--custom-action-value: hsl(var(--custom-action));
|
|
18
|
+
--custom-on-action-value: hsl(var(--custom-on-action));
|
|
19
|
+
--custom-material-value: hsl(var(--custom-material));
|
|
20
|
+
--custom-on-material-value: hsl(var(--custom-on-material));
|
|
16
21
|
|
|
17
22
|
background: var(--background);
|
|
18
23
|
|
|
19
24
|
/* This behavior can be moved to ergo theme once dialed and the global will be dropped */
|
|
20
25
|
:global(.tcn-card) {
|
|
21
26
|
:global(.tcn-header) {
|
|
22
|
-
background:
|
|
23
|
-
color:
|
|
27
|
+
background: var(--material);
|
|
28
|
+
color: var(--on-material);
|
|
24
29
|
}
|
|
25
30
|
}
|
|
26
31
|
|
|
27
32
|
:global(.tcn-surface) {
|
|
28
|
-
background:
|
|
29
|
-
color:
|
|
33
|
+
background: var(--material);
|
|
34
|
+
color: var(--on-material);
|
|
30
35
|
}
|
|
31
36
|
|
|
32
37
|
:global(.tcn-card[data-tone="positive"]) {
|
|
@@ -104,15 +109,15 @@
|
|
|
104
109
|
}
|
|
105
110
|
|
|
106
111
|
.surface-custom {
|
|
107
|
-
--action: var(--custom-action);
|
|
108
|
-
--on-action: var(--custom-on-action);
|
|
109
|
-
--material: var(--custom-material);
|
|
110
|
-
--on-material: var(--custom-on-material);
|
|
112
|
+
--action: var(--custom-action-value);
|
|
113
|
+
--on-action: var(--custom-on-action-value);
|
|
114
|
+
--material: var(--custom-material-value);
|
|
115
|
+
--on-material: var(--custom-on-material-value);
|
|
111
116
|
}
|
|
112
117
|
|
|
113
118
|
.surface-custom-inverted {
|
|
114
|
-
--action: var(--custom-material);
|
|
115
|
-
--on-action: var(--custom-on-material);
|
|
116
|
-
--material: var(--
|
|
117
|
-
--on-material: var(--
|
|
119
|
+
--action: var(--custom-material-value);
|
|
120
|
+
--on-action: var(--custom-on-material-value);
|
|
121
|
+
--material: var(--custom-action-value);
|
|
122
|
+
--on-material: var(--custom-on-action-value);
|
|
118
123
|
}
|