@cloudscape-design/components-themeable 3.0.817 → 3.0.818
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/lib/internal/manifest.json +1 -1
- package/lib/internal/scss/app-layout/test-classes/styles.scss +23 -67
- package/lib/internal/scss/app-layout/visual-refresh-toolbar/toolbar/styles.scss +5 -0
- package/lib/internal/template/app-layout/drawer/index.d.ts.map +1 -1
- package/lib/internal/template/app-layout/drawer/index.js +3 -2
- package/lib/internal/template/app-layout/drawer/index.js.map +1 -1
- package/lib/internal/template/app-layout/test-classes/styles.css.js +23 -22
- package/lib/internal/template/app-layout/test-classes/styles.scoped.css +23 -85
- package/lib/internal/template/app-layout/test-classes/styles.selectors.js +23 -22
- package/lib/internal/template/app-layout/toggles/index.d.ts.map +1 -1
- package/lib/internal/template/app-layout/toggles/index.js +4 -1
- package/lib/internal/template/app-layout/toggles/index.js.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh/drawers.d.ts.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh/drawers.js +8 -2
- package/lib/internal/template/app-layout/visual-refresh/drawers.js.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh/navigation.d.ts.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh/navigation.js +3 -3
- package/lib/internal/template/app-layout/visual-refresh/navigation.js.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh/tools.js +1 -1
- package/lib/internal/template/app-layout/visual-refresh/tools.js.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/toolbar/index.d.ts.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/toolbar/index.js +4 -2
- package/lib/internal/template/app-layout/visual-refresh-toolbar/toolbar/index.js.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/toolbar/styles.css.js +15 -13
- package/lib/internal/template/app-layout/visual-refresh-toolbar/toolbar/styles.scoped.css +19 -15
- package/lib/internal/template/app-layout/visual-refresh-toolbar/toolbar/styles.selectors.js +15 -13
- package/lib/internal/template/app-layout/visual-refresh-toolbar/toolbar/trigger-button/index.d.ts.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh-toolbar/toolbar/trigger-button/index.js +1 -0
- package/lib/internal/template/app-layout/visual-refresh-toolbar/toolbar/trigger-button/index.js.map +1 -1
- package/lib/internal/template/internal/base-component/styles.scoped.css +47 -32
- package/lib/internal/template/internal/environment.js +1 -1
- package/lib/internal/template/internal/environment.json +1 -1
- package/lib/internal/template/internal/generated/styles/tokens.js +3 -3
- package/lib/internal/template/internal/generated/theming/index.cjs +41 -41
- package/lib/internal/template/internal/generated/theming/index.js +41 -41
- package/lib/internal/template/internal/plugins/controllers/breadcrumbs.d.ts +5 -4
- package/lib/internal/template/internal/plugins/controllers/breadcrumbs.d.ts.map +1 -1
- package/lib/internal/template/internal/plugins/controllers/breadcrumbs.js +2 -4
- package/lib/internal/template/internal/plugins/controllers/breadcrumbs.js.map +1 -1
- package/lib/internal/template/internal/plugins/helpers/use-global-breadcrumbs.d.ts.map +1 -1
- package/lib/internal/template/internal/plugins/helpers/use-global-breadcrumbs.js +1 -1
- package/lib/internal/template/internal/plugins/helpers/use-global-breadcrumbs.js.map +1 -1
- package/lib/internal/template/test-utils/dom/app-layout/index.d.ts +12 -1
- package/lib/internal/template/test-utils/dom/app-layout/index.js +28 -2
- package/lib/internal/template/test-utils/dom/app-layout/index.js.map +1 -1
- package/lib/internal/template/test-utils/selectors/app-layout/index.d.ts +12 -1
- package/lib/internal/template/test-utils/selectors/app-layout/index.js +28 -2
- package/lib/internal/template/test-utils/selectors/app-layout/index.js.map +1 -1
- package/lib/internal/template/test-utils/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
package/lib/internal/template/app-layout/visual-refresh-toolbar/toolbar/trigger-button/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/app-layout/visual-refresh-toolbar/toolbar/tr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M,sBACF,6BAA6B;YAE9C,8BAAM,SAAS,EAAE,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,MAAM,CAAC,uBAAuB,CAAC,EAAE,MAAM,CAAC,uBAAuB,CAAC,CAAC,CAAC,IACnG,CAAC,QAAQ,IAAI,OAAO,CAAC,IAAI,oBAAC,IAAI,IAAC,IAAI,EAAE,QAAQ,EAAE,GAAG,EAAE,OAAO,GAAI,CAC3D,CACA;QACR,KAAK,IAAI,6BAAK,SAAS,EAAE,MAAM,CAAC,GAAG,GAAI;QACvC,cAAc,IAAI,CACjB,oBAAC,OAAO,IAAC,QAAQ,EAAE,YAAY,EAAE,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,cAAc,CAAC,iBAAiB,CAAC,GAAI,CACvG,CACG,CACP,CAAC;AACJ,CAAC;AAED,eAAe,KAAK,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { Ref, useCallback, useEffect, useMemo, useRef, useState } from 'react';\nimport clsx from 'clsx';\n\nimport { ButtonProps } from '../../../../button/interfaces';\nimport { IconProps } from '../../../../icon/interfaces';\nimport Icon from '../../../../icon/internal';\nimport Tooltip from '../../../../internal/components/tooltip';\nimport { registerTooltip } from '../../../../internal/components/tooltip/registry';\n\nimport testutilStyles from '../../../test-classes/styles.css.js';\nimport styles from './styles.css.js';\n\nexport interface TriggerButtonProps {\n ariaLabel?: string;\n className?: string;\n iconName?: IconProps.Name;\n iconSvg?: React.ReactNode;\n ariaExpanded: boolean | undefined;\n ariaControls?: string;\n disabled?: boolean;\n /**\n * Ovewrwrites any internal testIds when provided\n */\n testId?: string;\n /**\n * If button is selected. Used only for desktop and applies a selected class\n */\n selected?: boolean;\n onClick: React.MouseEventHandler<HTMLButtonElement>;\n\n badge?: boolean;\n /**\n * If the button is expected to have a tooltip. When false it will not set the event listeners\n *\n * defaults to false\n */\n hasTooltip?: boolean;\n /**\n * This text allows for a customized tooltip.\n *\n * When falsy, the tooltip will parse the tooltip form the aria-lable\n */\n tooltipText?: string;\n hasOpenDrawer?: boolean;\n /**\n * If the AppLayout is in mobile mode\n * Used to determine if and where to render tooltips\n */\n isMobile?: boolean;\n /**\n * set to true if the trigger button was used to open the last active drawer\n * this is also used to hide the tooltip should the focus be set programmatically\n * on focus from a drawer close using this\n */\n isForPreviousActiveDrawer?: boolean;\n /**\n * if the trigger button is for the split panel\n */\n isForSplitPanel?: boolean;\n tabIndex?: number | undefined;\n}\n\nfunction TriggerButton(\n {\n ariaLabel,\n className,\n iconName,\n iconSvg,\n ariaExpanded,\n ariaControls,\n onClick,\n testId,\n disabled = false,\n badge,\n selected = false,\n hasTooltip = false,\n tooltipText,\n hasOpenDrawer = false,\n isMobile = false,\n isForPreviousActiveDrawer = false,\n isForSplitPanel = false,\n }: TriggerButtonProps,\n ref: React.Ref<ButtonProps.Ref>\n) {\n const containerRef = useRef<HTMLDivElement | null>(null);\n const tooltipValue = tooltipText ? tooltipText : ariaLabel ? ariaLabel : '';\n const [showTooltip, setShowTooltip] = useState<boolean>(false);\n const [suppressTooltip, setSupressTooltip] = useState<boolean>(false);\n\n const handleTriggerClick = (event: React.MouseEvent<HTMLButtonElement>) => {\n event.stopPropagation(); // Stop the event from propagating to the badge icon\n setShowTooltip(false);\n setSupressTooltip(true);\n onClick(event);\n };\n\n const handleBlur = (keepSupressed = false) => {\n setSupressTooltip(keepSupressed);\n setShowTooltip(false);\n };\n\n const handlePointerEnter = () => {\n setSupressTooltip(false);\n setShowTooltip(true);\n };\n\n /**\n * Takes the drawer being closed and the data-shift-focus value from a close button on that drawer that persists\n * on the event relatedTarget to determine not to show the tooltip\n * @param event\n */\n const handleOnFocus = useCallback(\n (event: FocusEvent) => {\n let shouldShowTooltip = false;\n const eventWithRelatedTarget = event as any;\n const relatedTarget = eventWithRelatedTarget?.relatedTarget;\n const isFromAnotherTrigger = relatedTarget?.dataset?.shiftFocus === 'awsui-layout-drawer-trigger';\n if (\n (isForSplitPanel && !!relatedTarget) || // relatedTarget is null when split panel is closed\n (!isForSplitPanel &&\n (isFromAnotherTrigger || // for key navigation from another trigger button\n !isForPreviousActiveDrawer)) // for when the drawer was not opened recently\n ) {\n shouldShowTooltip = true;\n }\n setSupressTooltip(!shouldShowTooltip);\n setShowTooltip(true);\n },\n [\n // To assert reference equality check\n isForPreviousActiveDrawer,\n isForSplitPanel,\n ]\n );\n\n const tooltipVisible = useMemo(() => {\n return (\n hasTooltip &&\n showTooltip &&\n !suppressTooltip &&\n !!containerRef?.current &&\n tooltipValue &&\n !(isMobile && hasOpenDrawer)\n );\n }, [hasTooltip, showTooltip, containerRef, tooltipValue, isMobile, hasOpenDrawer, suppressTooltip]);\n\n useEffect(() => {\n if (hasTooltip && tooltipValue) {\n const close = () => {\n setShowTooltip(false);\n setSupressTooltip(false);\n };\n\n const shouldCloseTooltip = (event: PointerEvent) => {\n if (event.target && containerRef && (containerRef.current as any)?.contains(event.target as HTMLElement)) {\n return false;\n }\n return true;\n };\n\n const handlePointerDownEvent = (event: PointerEvent) => {\n if (shouldCloseTooltip(event)) {\n close();\n }\n };\n\n const handleKeyDownEvent = (event: KeyboardEvent) => {\n if (event.key === 'Escape') {\n close();\n }\n };\n\n const wrapperDiv = containerRef.current;\n if (wrapperDiv) {\n wrapperDiv.addEventListener('pointerdown', handlePointerDownEvent);\n wrapperDiv.addEventListener('keydown', handleKeyDownEvent);\n\n return () => {\n wrapperDiv.removeEventListener('pointerdown', handlePointerDownEvent);\n wrapperDiv.removeEventListener('keydown', handleKeyDownEvent);\n };\n }\n }\n }, [containerRef, hasTooltip, tooltipValue]);\n\n useEffect(() => {\n if (tooltipVisible) {\n return registerTooltip(() => {\n setShowTooltip(false);\n setSupressTooltip(false);\n });\n }\n }, [tooltipVisible]);\n\n return (\n <div\n ref={containerRef}\n {...(hasTooltip && {\n onPointerEnter: () => handlePointerEnter(),\n onPointerLeave: () => handleBlur(true),\n onFocus: e => handleOnFocus(e as any),\n onBlur: () => handleBlur(true),\n })}\n className={styles['trigger-wrapper']}\n >\n <button\n aria-expanded={ariaExpanded}\n aria-controls={ariaControls}\n aria-haspopup={true}\n aria-label={ariaLabel}\n aria-disabled={disabled}\n disabled={disabled}\n className={clsx(\n styles.trigger,\n styles['trigger-button-styles'],\n {\n [styles.selected]: selected,\n [styles.badge]: badge,\n },\n className\n )}\n onClick={handleTriggerClick}\n ref={ref as Ref<HTMLButtonElement>}\n type=\"button\"\n data-testid={testId}\n data-shift-focus=\"awsui-layout-drawer-trigger\"\n >\n <span className={clsx(badge && clsx(styles['trigger-badge-wrapper'], styles['trigger-button-styles']))}>\n {(iconName || iconSvg) && <Icon name={iconName} svg={iconSvg} />}\n </span>\n </button>\n {badge && <div className={styles.dot} />}\n {tooltipVisible && (\n <Tooltip trackRef={containerRef} value={tooltipValue} className={testutilStyles['trigger-tooltip']} />\n )}\n </div>\n );\n}\n\nexport default React.forwardRef(TriggerButton);\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/app-layout/visual-refresh-toolbar/toolbar/trigger-button/index.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAO,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACtF,OAAO,IAAI,MAAM,MAAM,CAAC;AAIxB,OAAO,IAAI,MAAM,2BAA2B,CAAC;AAC7C,OAAO,OAAO,MAAM,yCAAyC,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,kDAAkD,CAAC;AAEnF,OAAO,cAAc,MAAM,qCAAqC,CAAC;AACjE,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAoDrC,SAAS,aAAa,CACpB,EACE,SAAS,EACT,SAAS,EACT,QAAQ,EACR,OAAO,EACP,YAAY,EACZ,YAAY,EACZ,OAAO,EACP,MAAM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I,CACvG,CACG,CACP,CAAC;AACJ,CAAC;AAED,eAAe,KAAK,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { Ref, useCallback, useEffect, useMemo, useRef, useState } from 'react';\nimport clsx from 'clsx';\n\nimport { ButtonProps } from '../../../../button/interfaces';\nimport { IconProps } from '../../../../icon/interfaces';\nimport Icon from '../../../../icon/internal';\nimport Tooltip from '../../../../internal/components/tooltip';\nimport { registerTooltip } from '../../../../internal/components/tooltip/registry';\n\nimport testutilStyles from '../../../test-classes/styles.css.js';\nimport styles from './styles.css.js';\n\nexport interface TriggerButtonProps {\n ariaLabel?: string;\n className?: string;\n iconName?: IconProps.Name;\n iconSvg?: React.ReactNode;\n ariaExpanded: boolean | undefined;\n ariaControls?: string;\n disabled?: boolean;\n /**\n * Ovewrwrites any internal testIds when provided\n */\n testId?: string;\n /**\n * If button is selected. Used only for desktop and applies a selected class\n */\n selected?: boolean;\n onClick: React.MouseEventHandler<HTMLButtonElement>;\n\n badge?: boolean;\n /**\n * If the button is expected to have a tooltip. When false it will not set the event listeners\n *\n * defaults to false\n */\n hasTooltip?: boolean;\n /**\n * This text allows for a customized tooltip.\n *\n * When falsy, the tooltip will parse the tooltip form the aria-lable\n */\n tooltipText?: string;\n hasOpenDrawer?: boolean;\n /**\n * If the AppLayout is in mobile mode\n * Used to determine if and where to render tooltips\n */\n isMobile?: boolean;\n /**\n * set to true if the trigger button was used to open the last active drawer\n * this is also used to hide the tooltip should the focus be set programmatically\n * on focus from a drawer close using this\n */\n isForPreviousActiveDrawer?: boolean;\n /**\n * if the trigger button is for the split panel\n */\n isForSplitPanel?: boolean;\n tabIndex?: number | undefined;\n}\n\nfunction TriggerButton(\n {\n ariaLabel,\n className,\n iconName,\n iconSvg,\n ariaExpanded,\n ariaControls,\n onClick,\n testId,\n disabled = false,\n badge,\n selected = false,\n hasTooltip = false,\n tooltipText,\n hasOpenDrawer = false,\n isMobile = false,\n isForPreviousActiveDrawer = false,\n isForSplitPanel = false,\n }: TriggerButtonProps,\n ref: React.Ref<ButtonProps.Ref>\n) {\n const containerRef = useRef<HTMLDivElement | null>(null);\n const tooltipValue = tooltipText ? tooltipText : ariaLabel ? ariaLabel : '';\n const [showTooltip, setShowTooltip] = useState<boolean>(false);\n const [suppressTooltip, setSupressTooltip] = useState<boolean>(false);\n\n const handleTriggerClick = (event: React.MouseEvent<HTMLButtonElement>) => {\n event.stopPropagation(); // Stop the event from propagating to the badge icon\n setShowTooltip(false);\n setSupressTooltip(true);\n onClick(event);\n };\n\n const handleBlur = (keepSupressed = false) => {\n setSupressTooltip(keepSupressed);\n setShowTooltip(false);\n };\n\n const handlePointerEnter = () => {\n setSupressTooltip(false);\n setShowTooltip(true);\n };\n\n /**\n * Takes the drawer being closed and the data-shift-focus value from a close button on that drawer that persists\n * on the event relatedTarget to determine not to show the tooltip\n * @param event\n */\n const handleOnFocus = useCallback(\n (event: FocusEvent) => {\n let shouldShowTooltip = false;\n const eventWithRelatedTarget = event as any;\n const relatedTarget = eventWithRelatedTarget?.relatedTarget;\n const isFromAnotherTrigger = relatedTarget?.dataset?.shiftFocus === 'awsui-layout-drawer-trigger';\n if (\n (isForSplitPanel && !!relatedTarget) || // relatedTarget is null when split panel is closed\n (!isForSplitPanel &&\n (isFromAnotherTrigger || // for key navigation from another trigger button\n !isForPreviousActiveDrawer)) // for when the drawer was not opened recently\n ) {\n shouldShowTooltip = true;\n }\n setSupressTooltip(!shouldShowTooltip);\n setShowTooltip(true);\n },\n [\n // To assert reference equality check\n isForPreviousActiveDrawer,\n isForSplitPanel,\n ]\n );\n\n const tooltipVisible = useMemo(() => {\n return (\n hasTooltip &&\n showTooltip &&\n !suppressTooltip &&\n !!containerRef?.current &&\n tooltipValue &&\n !(isMobile && hasOpenDrawer)\n );\n }, [hasTooltip, showTooltip, containerRef, tooltipValue, isMobile, hasOpenDrawer, suppressTooltip]);\n\n useEffect(() => {\n if (hasTooltip && tooltipValue) {\n const close = () => {\n setShowTooltip(false);\n setSupressTooltip(false);\n };\n\n const shouldCloseTooltip = (event: PointerEvent) => {\n if (event.target && containerRef && (containerRef.current as any)?.contains(event.target as HTMLElement)) {\n return false;\n }\n return true;\n };\n\n const handlePointerDownEvent = (event: PointerEvent) => {\n if (shouldCloseTooltip(event)) {\n close();\n }\n };\n\n const handleKeyDownEvent = (event: KeyboardEvent) => {\n if (event.key === 'Escape') {\n close();\n }\n };\n\n const wrapperDiv = containerRef.current;\n if (wrapperDiv) {\n wrapperDiv.addEventListener('pointerdown', handlePointerDownEvent);\n wrapperDiv.addEventListener('keydown', handleKeyDownEvent);\n\n return () => {\n wrapperDiv.removeEventListener('pointerdown', handlePointerDownEvent);\n wrapperDiv.removeEventListener('keydown', handleKeyDownEvent);\n };\n }\n }\n }, [containerRef, hasTooltip, tooltipValue]);\n\n useEffect(() => {\n if (tooltipVisible) {\n return registerTooltip(() => {\n setShowTooltip(false);\n setSupressTooltip(false);\n });\n }\n }, [tooltipVisible]);\n\n return (\n <div\n ref={containerRef}\n {...(hasTooltip && {\n onPointerEnter: () => handlePointerEnter(),\n onPointerLeave: () => handleBlur(true),\n onFocus: e => handleOnFocus(e as any),\n onBlur: () => handleBlur(true),\n })}\n className={styles['trigger-wrapper']}\n >\n <button\n aria-expanded={ariaExpanded}\n aria-controls={ariaControls}\n aria-haspopup={true}\n aria-label={ariaLabel}\n aria-disabled={disabled}\n disabled={disabled}\n className={clsx(\n styles.trigger,\n styles['trigger-button-styles'],\n {\n [styles.selected]: selected,\n [styles.badge]: badge,\n [testutilStyles['drawers-trigger-with-badge']]: badge,\n },\n className\n )}\n onClick={handleTriggerClick}\n ref={ref as Ref<HTMLButtonElement>}\n type=\"button\"\n data-testid={testId}\n data-shift-focus=\"awsui-layout-drawer-trigger\"\n >\n <span className={clsx(badge && clsx(styles['trigger-badge-wrapper'], styles['trigger-button-styles']))}>\n {(iconName || iconSvg) && <Icon name={iconName} svg={iconSvg} />}\n </span>\n </button>\n {badge && <div className={styles.dot} />}\n {tooltipVisible && (\n <Tooltip trackRef={containerRef} value={tooltipValue} className={testutilStyles['trigger-tooltip']} />\n )}\n </div>\n );\n}\n\nexport default React.forwardRef(TriggerButton);\n"]}
|
|
@@ -243,9 +243,9 @@
|
|
|
243
243
|
--color-text-avatar-7icw2p:#ffffff;
|
|
244
244
|
--color-background-loading-bar-gen-ai-p03hst:linear-gradient(90deg, #99f7ff 0%, #0096fa 10%, #bf80ff 24%, #7300e5 50%, #bf80ff 76%, #0096fa 90%, #99f7ff 100%);
|
|
245
245
|
--color-background-chat-bubble-outgoing-7ajv6t:transparent;
|
|
246
|
-
--color-background-chat-bubble-incoming-
|
|
247
|
-
--color-text-chat-bubble-outgoing-
|
|
248
|
-
--color-text-chat-bubble-incoming-
|
|
246
|
+
--color-background-chat-bubble-incoming-g2lfei:#f2f3f3;
|
|
247
|
+
--color-text-chat-bubble-outgoing-a4whbc:#16191f;
|
|
248
|
+
--color-text-chat-bubble-incoming-wpxwg5:#16191f;
|
|
249
249
|
--color-border-button-normal-active-vm8kc9:#545b64;
|
|
250
250
|
--color-border-button-normal-default-g4ujwl:#545b64;
|
|
251
251
|
--color-border-toggle-button-normal-pressed-dxcaaj:#545b64;
|
|
@@ -876,9 +876,9 @@
|
|
|
876
876
|
--color-background-tiles-disabled-c21opp:#2a2e33;
|
|
877
877
|
--color-background-toggle-checked-disabled-m1mknq:#0a4a74;
|
|
878
878
|
--color-background-toggle-default-yhlddz:#879596;
|
|
879
|
-
--color-background-chat-bubble-incoming-
|
|
880
|
-
--color-text-chat-bubble-outgoing-
|
|
881
|
-
--color-text-chat-bubble-incoming-
|
|
879
|
+
--color-background-chat-bubble-incoming-g2lfei:#16191f;
|
|
880
|
+
--color-text-chat-bubble-outgoing-a4whbc:#d5dbdb;
|
|
881
|
+
--color-text-chat-bubble-incoming-wpxwg5:#d5dbdb;
|
|
882
882
|
--color-border-button-normal-active-vm8kc9:#879596;
|
|
883
883
|
--color-border-button-normal-default-g4ujwl:#879596;
|
|
884
884
|
--color-border-toggle-button-normal-pressed-dxcaaj:#879596;
|
|
@@ -1191,9 +1191,9 @@
|
|
|
1191
1191
|
--color-background-tiles-disabled-c21opp:#2a2e33;
|
|
1192
1192
|
--color-background-toggle-checked-disabled-m1mknq:#0a4a74;
|
|
1193
1193
|
--color-background-toggle-default-yhlddz:#879596;
|
|
1194
|
-
--color-background-chat-bubble-incoming-
|
|
1195
|
-
--color-text-chat-bubble-outgoing-
|
|
1196
|
-
--color-text-chat-bubble-incoming-
|
|
1194
|
+
--color-background-chat-bubble-incoming-g2lfei:#16191f;
|
|
1195
|
+
--color-text-chat-bubble-outgoing-a4whbc:#d5dbdb;
|
|
1196
|
+
--color-text-chat-bubble-incoming-wpxwg5:#d5dbdb;
|
|
1197
1197
|
--color-border-button-normal-active-vm8kc9:#879596;
|
|
1198
1198
|
--color-border-button-normal-default-g4ujwl:#879596;
|
|
1199
1199
|
--color-border-toggle-button-normal-pressed-dxcaaj:#879596;
|
|
@@ -1333,6 +1333,8 @@
|
|
|
1333
1333
|
}
|
|
1334
1334
|
|
|
1335
1335
|
.awsui-context-flashbar:not(#\9) {
|
|
1336
|
+
--color-text-chat-bubble-outgoing-a4whbc:#fafafa;
|
|
1337
|
+
--color-text-chat-bubble-incoming-wpxwg5:#fafafa;
|
|
1336
1338
|
--color-border-calendar-grid-3f7bvh:#fafafa;
|
|
1337
1339
|
--color-border-calendar-grid-selected-focus-ring-faye0i:#fafafa;
|
|
1338
1340
|
--color-border-container-divider-xr1vlc:#fafafa;
|
|
@@ -1404,6 +1406,8 @@
|
|
|
1404
1406
|
}
|
|
1405
1407
|
@media not print {
|
|
1406
1408
|
.awsui-dark-mode .awsui-context-flashbar-warning:not(#\9) {
|
|
1409
|
+
--color-text-chat-bubble-outgoing-a4whbc:#16191f;
|
|
1410
|
+
--color-text-chat-bubble-incoming-wpxwg5:#16191f;
|
|
1407
1411
|
--color-border-tabs-shadow-eb3y7s:rgba(0, 0, 0, 0.3);
|
|
1408
1412
|
--color-text-body-default-agk00h:#16191f;
|
|
1409
1413
|
--color-text-expandable-section-hover-4hvgvf:#16191f;
|
|
@@ -1411,6 +1415,8 @@
|
|
|
1411
1415
|
}
|
|
1412
1416
|
@media not print {
|
|
1413
1417
|
.awsui-context-flashbar-warning.awsui-dark-mode:not(#\9) {
|
|
1418
|
+
--color-text-chat-bubble-outgoing-a4whbc:#16191f;
|
|
1419
|
+
--color-text-chat-bubble-incoming-wpxwg5:#16191f;
|
|
1414
1420
|
--color-border-tabs-shadow-eb3y7s:rgba(0, 0, 0, 0.3);
|
|
1415
1421
|
--color-text-body-default-agk00h:#16191f;
|
|
1416
1422
|
--color-text-expandable-section-hover-4hvgvf:#16191f;
|
|
@@ -1525,9 +1531,9 @@
|
|
|
1525
1531
|
--color-background-toggle-checked-disabled-m1mknq:#b8e7ff;
|
|
1526
1532
|
--color-background-toggle-default-yhlddz:#424650;
|
|
1527
1533
|
--color-background-avatar-default-mwwgjf:#424650;
|
|
1528
|
-
--color-background-chat-bubble-incoming-
|
|
1529
|
-
--color-text-chat-bubble-outgoing-
|
|
1530
|
-
--color-text-chat-bubble-incoming-
|
|
1534
|
+
--color-background-chat-bubble-incoming-g2lfei:#f3f3f7;
|
|
1535
|
+
--color-text-chat-bubble-outgoing-a4whbc:#0f141a;
|
|
1536
|
+
--color-text-chat-bubble-incoming-wpxwg5:#0f141a;
|
|
1531
1537
|
--color-border-button-normal-active-vm8kc9:#002b66;
|
|
1532
1538
|
--color-border-button-normal-default-g4ujwl:#006ce0;
|
|
1533
1539
|
--color-border-toggle-button-normal-pressed-dxcaaj:#006ce0;
|
|
@@ -1894,9 +1900,9 @@
|
|
|
1894
1900
|
--color-background-tiles-disabled-c21opp:#1b232d;
|
|
1895
1901
|
--color-background-toggle-checked-disabled-m1mknq:#002b66;
|
|
1896
1902
|
--color-background-toggle-default-yhlddz:#8c8c94;
|
|
1897
|
-
--color-background-chat-bubble-incoming-
|
|
1898
|
-
--color-text-chat-bubble-outgoing-
|
|
1899
|
-
--color-text-chat-bubble-incoming-
|
|
1903
|
+
--color-background-chat-bubble-incoming-g2lfei:#0f141a;
|
|
1904
|
+
--color-text-chat-bubble-outgoing-a4whbc:#c6c6cd;
|
|
1905
|
+
--color-text-chat-bubble-incoming-wpxwg5:#c6c6cd;
|
|
1900
1906
|
--color-border-button-normal-active-vm8kc9:#75cfff;
|
|
1901
1907
|
--color-border-button-normal-default-g4ujwl:#42b4ff;
|
|
1902
1908
|
--color-border-toggle-button-normal-pressed-dxcaaj:#42b4ff;
|
|
@@ -2171,8 +2177,9 @@
|
|
|
2171
2177
|
--color-background-tiles-disabled-c21opp:#1b232d;
|
|
2172
2178
|
--color-background-toggle-checked-disabled-m1mknq:#002b66;
|
|
2173
2179
|
--color-background-toggle-default-yhlddz:#8c8c94;
|
|
2174
|
-
--color-
|
|
2175
|
-
--color-text-chat-bubble-
|
|
2180
|
+
--color-background-chat-bubble-incoming-g2lfei:#0f141a;
|
|
2181
|
+
--color-text-chat-bubble-outgoing-a4whbc:#c6c6cd;
|
|
2182
|
+
--color-text-chat-bubble-incoming-wpxwg5:#c6c6cd;
|
|
2176
2183
|
--color-border-button-normal-active-vm8kc9:#75cfff;
|
|
2177
2184
|
--color-border-button-normal-default-g4ujwl:#42b4ff;
|
|
2178
2185
|
--color-border-toggle-button-normal-pressed-dxcaaj:#42b4ff;
|
|
@@ -2378,9 +2385,9 @@
|
|
|
2378
2385
|
--color-background-tiles-disabled-c21opp:#1b232d;
|
|
2379
2386
|
--color-background-toggle-checked-disabled-m1mknq:#002b66;
|
|
2380
2387
|
--color-background-toggle-default-yhlddz:#8c8c94;
|
|
2381
|
-
--color-background-chat-bubble-incoming-
|
|
2382
|
-
--color-text-chat-bubble-outgoing-
|
|
2383
|
-
--color-text-chat-bubble-incoming-
|
|
2388
|
+
--color-background-chat-bubble-incoming-g2lfei:#0f141a;
|
|
2389
|
+
--color-text-chat-bubble-outgoing-a4whbc:#c6c6cd;
|
|
2390
|
+
--color-text-chat-bubble-incoming-wpxwg5:#c6c6cd;
|
|
2384
2391
|
--color-border-button-normal-active-vm8kc9:#75cfff;
|
|
2385
2392
|
--color-border-button-normal-default-g4ujwl:#42b4ff;
|
|
2386
2393
|
--color-border-toggle-button-normal-pressed-dxcaaj:#42b4ff;
|
|
@@ -2583,9 +2590,9 @@
|
|
|
2583
2590
|
--color-background-tiles-disabled-c21opp:#1b232d;
|
|
2584
2591
|
--color-background-toggle-checked-disabled-m1mknq:#002b66;
|
|
2585
2592
|
--color-background-toggle-default-yhlddz:#8c8c94;
|
|
2586
|
-
--color-background-chat-bubble-incoming-
|
|
2587
|
-
--color-text-chat-bubble-outgoing-
|
|
2588
|
-
--color-text-chat-bubble-incoming-
|
|
2593
|
+
--color-background-chat-bubble-incoming-g2lfei:#0f141a;
|
|
2594
|
+
--color-text-chat-bubble-outgoing-a4whbc:#c6c6cd;
|
|
2595
|
+
--color-text-chat-bubble-incoming-wpxwg5:#c6c6cd;
|
|
2589
2596
|
--color-border-button-normal-active-vm8kc9:#75cfff;
|
|
2590
2597
|
--color-border-button-normal-default-g4ujwl:#42b4ff;
|
|
2591
2598
|
--color-border-toggle-button-normal-pressed-dxcaaj:#42b4ff;
|
|
@@ -2801,9 +2808,9 @@
|
|
|
2801
2808
|
--color-background-tiles-disabled-c21opp:#1b232d;
|
|
2802
2809
|
--color-background-toggle-checked-disabled-m1mknq:#002b66;
|
|
2803
2810
|
--color-background-toggle-default-yhlddz:#8c8c94;
|
|
2804
|
-
--color-background-chat-bubble-incoming-
|
|
2805
|
-
--color-text-chat-bubble-outgoing-
|
|
2806
|
-
--color-text-chat-bubble-incoming-
|
|
2811
|
+
--color-background-chat-bubble-incoming-g2lfei:#0f141a;
|
|
2812
|
+
--color-text-chat-bubble-outgoing-a4whbc:#c6c6cd;
|
|
2813
|
+
--color-text-chat-bubble-incoming-wpxwg5:#c6c6cd;
|
|
2807
2814
|
--color-border-button-normal-active-vm8kc9:#75cfff;
|
|
2808
2815
|
--color-border-button-normal-default-g4ujwl:#42b4ff;
|
|
2809
2816
|
--color-border-toggle-button-normal-pressed-dxcaaj:#42b4ff;
|
|
@@ -2965,6 +2972,8 @@
|
|
|
2965
2972
|
--color-background-button-primary-hover-288r60:#ffffff;
|
|
2966
2973
|
--color-background-segment-default-i67ckm:transparent;
|
|
2967
2974
|
--color-background-segment-hover-rizmh0:transparent;
|
|
2975
|
+
--color-text-chat-bubble-outgoing-a4whbc:#f9f9fa;
|
|
2976
|
+
--color-text-chat-bubble-incoming-wpxwg5:#f9f9fa;
|
|
2968
2977
|
--color-border-button-normal-active-vm8kc9:#ffffff;
|
|
2969
2978
|
--color-border-button-normal-default-g4ujwl:#f9f9fa;
|
|
2970
2979
|
--color-border-button-normal-hover-eyyshk:#ffffff;
|
|
@@ -3002,6 +3011,8 @@
|
|
|
3002
3011
|
--color-background-button-primary-hover-288r60:#ffffff;
|
|
3003
3012
|
--color-background-segment-default-i67ckm:transparent;
|
|
3004
3013
|
--color-background-segment-hover-rizmh0:transparent;
|
|
3014
|
+
--color-text-chat-bubble-outgoing-a4whbc:#f9f9fa;
|
|
3015
|
+
--color-text-chat-bubble-incoming-wpxwg5:#f9f9fa;
|
|
3005
3016
|
--color-border-button-normal-active-vm8kc9:#ffffff;
|
|
3006
3017
|
--color-border-button-normal-default-g4ujwl:#f9f9fa;
|
|
3007
3018
|
--color-border-button-normal-hover-eyyshk:#ffffff;
|
|
@@ -3213,9 +3224,9 @@
|
|
|
3213
3224
|
--color-background-tiles-disabled-c21opp:#1b232d;
|
|
3214
3225
|
--color-background-toggle-checked-disabled-m1mknq:#002b66;
|
|
3215
3226
|
--color-background-toggle-default-yhlddz:#8c8c94;
|
|
3216
|
-
--color-background-chat-bubble-incoming-
|
|
3217
|
-
--color-text-chat-bubble-outgoing-
|
|
3218
|
-
--color-text-chat-bubble-incoming-
|
|
3227
|
+
--color-background-chat-bubble-incoming-g2lfei:#0f141a;
|
|
3228
|
+
--color-text-chat-bubble-outgoing-a4whbc:#c6c6cd;
|
|
3229
|
+
--color-text-chat-bubble-incoming-wpxwg5:#c6c6cd;
|
|
3219
3230
|
--color-border-button-normal-active-vm8kc9:#ffffff;
|
|
3220
3231
|
--color-border-button-normal-default-g4ujwl:#dedee3;
|
|
3221
3232
|
--color-border-toggle-button-normal-pressed-dxcaaj:#42b4ff;
|
|
@@ -3419,9 +3430,9 @@
|
|
|
3419
3430
|
--color-background-tiles-disabled-c21opp:#1b232d;
|
|
3420
3431
|
--color-background-toggle-checked-disabled-m1mknq:#002b66;
|
|
3421
3432
|
--color-background-toggle-default-yhlddz:#8c8c94;
|
|
3422
|
-
--color-background-chat-bubble-incoming-
|
|
3423
|
-
--color-text-chat-bubble-outgoing-
|
|
3424
|
-
--color-text-chat-bubble-incoming-
|
|
3433
|
+
--color-background-chat-bubble-incoming-g2lfei:#0f141a;
|
|
3434
|
+
--color-text-chat-bubble-outgoing-a4whbc:#c6c6cd;
|
|
3435
|
+
--color-text-chat-bubble-incoming-wpxwg5:#c6c6cd;
|
|
3425
3436
|
--color-border-button-normal-active-vm8kc9:#ffffff;
|
|
3426
3437
|
--color-border-button-normal-default-g4ujwl:#dedee3;
|
|
3427
3438
|
--color-border-toggle-button-normal-pressed-dxcaaj:#42b4ff;
|
|
@@ -3581,6 +3592,8 @@
|
|
|
3581
3592
|
}
|
|
3582
3593
|
@media not print {
|
|
3583
3594
|
.awsui-dark-mode.awsui-visual-refresh .awsui-context-flashbar-warning:not(#\9) {
|
|
3595
|
+
--color-text-chat-bubble-outgoing-a4whbc:#0f141a;
|
|
3596
|
+
--color-text-chat-bubble-incoming-wpxwg5:#0f141a;
|
|
3584
3597
|
--color-border-calendar-grid-selected-focus-ring-faye0i:#161d26;
|
|
3585
3598
|
--color-border-dropdown-item-selected-3l3bsn:#42b4ff;
|
|
3586
3599
|
--color-border-input-focused-rg4ms2:#b8e7ff;
|
|
@@ -3590,6 +3603,8 @@
|
|
|
3590
3603
|
}
|
|
3591
3604
|
@media not print {
|
|
3592
3605
|
.awsui-context-flashbar-warning.awsui-dark-mode.awsui-visual-refresh:not(#\9) {
|
|
3606
|
+
--color-text-chat-bubble-outgoing-a4whbc:#0f141a;
|
|
3607
|
+
--color-text-chat-bubble-incoming-wpxwg5:#0f141a;
|
|
3593
3608
|
--color-border-calendar-grid-selected-focus-ring-faye0i:#161d26;
|
|
3594
3609
|
--color-border-dropdown-item-selected-3l3bsn:#42b4ff;
|
|
3595
3610
|
--color-border-input-focused-rg4ms2:#b8e7ff;
|
|
@@ -297,9 +297,9 @@ export var colorBackgroundAvatarDefault = "var(--color-background-avatar-default
|
|
|
297
297
|
export var colorTextAvatar = "var(--color-text-avatar-jddpvm, #ffffff)";
|
|
298
298
|
export var colorBackgroundLoadingBarGenAi = "var(--color-background-loading-bar-gen-ai-7qfi9s, linear-gradient(90deg, #99f7ff 0%, #0096fa 10%, #bf80ff 24%, #7300e5 50%, #bf80ff 76%, #0096fa 90%, #99f7ff 100%))";
|
|
299
299
|
export var colorBackgroundChatBubbleOutgoing = "var(--color-background-chat-bubble-outgoing-pfqan2, transparent)";
|
|
300
|
-
export var colorBackgroundChatBubbleIncoming = "var(--color-background-chat-bubble-incoming-
|
|
301
|
-
export var colorTextChatBubbleOutgoing = "var(--color-text-chat-bubble-outgoing-
|
|
302
|
-
export var colorTextChatBubbleIncoming = "var(--color-text-chat-bubble-incoming-
|
|
300
|
+
export var colorBackgroundChatBubbleIncoming = "var(--color-background-chat-bubble-incoming-ljtp6c, #f3f3f7)";
|
|
301
|
+
export var colorTextChatBubbleOutgoing = "var(--color-text-chat-bubble-outgoing-bvbr0v, #0f141a)";
|
|
302
|
+
export var colorTextChatBubbleIncoming = "var(--color-text-chat-bubble-incoming-x2kig8, #0f141a)";
|
|
303
303
|
export var colorBorderButtonNormalActive = "var(--color-border-button-normal-active-mn0ayd, #002b66)";
|
|
304
304
|
export var colorBorderButtonNormalDefault = "var(--color-border-button-normal-default-uzqi0v, #006ce0)";
|
|
305
305
|
export var colorBorderToggleButtonNormalPressed = "var(--color-border-toggle-button-normal-pressed-lylxt2, #006ce0)";
|
|
@@ -1075,15 +1075,15 @@ module.exports.preset = {
|
|
|
1075
1075
|
},
|
|
1076
1076
|
"colorBackgroundChatBubbleIncoming": {
|
|
1077
1077
|
"light": "{colorGrey150}",
|
|
1078
|
-
"dark": "{
|
|
1078
|
+
"dark": "{colorGrey900}"
|
|
1079
1079
|
},
|
|
1080
1080
|
"colorTextChatBubbleOutgoing": {
|
|
1081
|
-
"light": "{
|
|
1082
|
-
"dark": "{
|
|
1081
|
+
"light": "{colorTextBodyDefault}",
|
|
1082
|
+
"dark": "{colorTextBodyDefault}"
|
|
1083
1083
|
},
|
|
1084
1084
|
"colorTextChatBubbleIncoming": {
|
|
1085
|
-
"light": "{
|
|
1086
|
-
"dark": "{
|
|
1085
|
+
"light": "{colorTextBodyDefault}",
|
|
1086
|
+
"dark": "{colorTextBodyDefault}"
|
|
1087
1087
|
},
|
|
1088
1088
|
"colorBorderButtonNormalActive": {
|
|
1089
1089
|
"light": "{colorBlue800}",
|
|
@@ -3309,16 +3309,16 @@ module.exports.preset = {
|
|
|
3309
3309
|
"dark": "transparent"
|
|
3310
3310
|
},
|
|
3311
3311
|
"colorBackgroundChatBubbleIncoming": {
|
|
3312
|
-
"light": "{
|
|
3313
|
-
"dark": "{
|
|
3312
|
+
"light": "{colorGrey900}",
|
|
3313
|
+
"dark": "{colorGrey900}"
|
|
3314
3314
|
},
|
|
3315
3315
|
"colorTextChatBubbleOutgoing": {
|
|
3316
|
-
"light": "{
|
|
3317
|
-
"dark": "{
|
|
3316
|
+
"light": "{colorTextBodyDefault}",
|
|
3317
|
+
"dark": "{colorTextBodyDefault}"
|
|
3318
3318
|
},
|
|
3319
3319
|
"colorTextChatBubbleIncoming": {
|
|
3320
|
-
"light": "{
|
|
3321
|
-
"dark": "{
|
|
3320
|
+
"light": "{colorTextBodyDefault}",
|
|
3321
|
+
"dark": "{colorTextBodyDefault}"
|
|
3322
3322
|
},
|
|
3323
3323
|
"colorBorderButtonNormalActive": {
|
|
3324
3324
|
"light": "{colorBlue400}",
|
|
@@ -4463,16 +4463,16 @@ module.exports.preset = {
|
|
|
4463
4463
|
"dark": "transparent"
|
|
4464
4464
|
},
|
|
4465
4465
|
"colorBackgroundChatBubbleIncoming": {
|
|
4466
|
-
"light": "{
|
|
4467
|
-
"dark": "{
|
|
4466
|
+
"light": "{colorGrey900}",
|
|
4467
|
+
"dark": "{colorGrey900}"
|
|
4468
4468
|
},
|
|
4469
4469
|
"colorTextChatBubbleOutgoing": {
|
|
4470
|
-
"light": "{
|
|
4471
|
-
"dark": "{
|
|
4470
|
+
"light": "{colorTextBodyDefault}",
|
|
4471
|
+
"dark": "{colorTextBodyDefault}"
|
|
4472
4472
|
},
|
|
4473
4473
|
"colorTextChatBubbleIncoming": {
|
|
4474
|
-
"light": "{
|
|
4475
|
-
"dark": "{
|
|
4474
|
+
"light": "{colorTextBodyDefault}",
|
|
4475
|
+
"dark": "{colorTextBodyDefault}"
|
|
4476
4476
|
},
|
|
4477
4477
|
"colorBorderButtonNormalActive": {
|
|
4478
4478
|
"light": "{colorBlue400}",
|
|
@@ -5550,15 +5550,15 @@ module.exports.preset = {
|
|
|
5550
5550
|
},
|
|
5551
5551
|
"colorBackgroundChatBubbleIncoming": {
|
|
5552
5552
|
"light": "{colorGrey150}",
|
|
5553
|
-
"dark": "{
|
|
5553
|
+
"dark": "{colorGrey900}"
|
|
5554
5554
|
},
|
|
5555
5555
|
"colorTextChatBubbleOutgoing": {
|
|
5556
|
-
"light": "{
|
|
5557
|
-
"dark": "{
|
|
5556
|
+
"light": "{colorTextBodyDefault}",
|
|
5557
|
+
"dark": "{colorTextBodyDefault}"
|
|
5558
5558
|
},
|
|
5559
5559
|
"colorTextChatBubbleIncoming": {
|
|
5560
|
-
"light": "{
|
|
5561
|
-
"dark": "{
|
|
5560
|
+
"light": "{colorTextBodyDefault}",
|
|
5561
|
+
"dark": "{colorTextBodyDefault}"
|
|
5562
5562
|
},
|
|
5563
5563
|
"colorBorderButtonNormalActive": {
|
|
5564
5564
|
"light": "{colorWhite}",
|
|
@@ -6636,15 +6636,15 @@ module.exports.preset = {
|
|
|
6636
6636
|
},
|
|
6637
6637
|
"colorBackgroundChatBubbleIncoming": {
|
|
6638
6638
|
"light": "{colorGrey150}",
|
|
6639
|
-
"dark": "{
|
|
6639
|
+
"dark": "{colorGrey900}"
|
|
6640
6640
|
},
|
|
6641
6641
|
"colorTextChatBubbleOutgoing": {
|
|
6642
|
-
"light": "{
|
|
6643
|
-
"dark": "{
|
|
6642
|
+
"light": "{colorTextBodyDefault}",
|
|
6643
|
+
"dark": "{colorTextBodyDefault}"
|
|
6644
6644
|
},
|
|
6645
6645
|
"colorTextChatBubbleIncoming": {
|
|
6646
|
-
"light": "{
|
|
6647
|
-
"dark": "{
|
|
6646
|
+
"light": "{colorTextBodyDefault}",
|
|
6647
|
+
"dark": "{colorTextBodyDefault}"
|
|
6648
6648
|
},
|
|
6649
6649
|
"colorBorderButtonNormalActive": {
|
|
6650
6650
|
"light": "{colorTextButtonNormalHover}",
|
|
@@ -7722,15 +7722,15 @@ module.exports.preset = {
|
|
|
7722
7722
|
},
|
|
7723
7723
|
"colorBackgroundChatBubbleIncoming": {
|
|
7724
7724
|
"light": "{colorGrey150}",
|
|
7725
|
-
"dark": "{
|
|
7725
|
+
"dark": "{colorGrey900}"
|
|
7726
7726
|
},
|
|
7727
7727
|
"colorTextChatBubbleOutgoing": {
|
|
7728
|
-
"light": "{
|
|
7729
|
-
"dark": "{
|
|
7728
|
+
"light": "{colorTextBodyDefault}",
|
|
7729
|
+
"dark": "{colorTextBodyDefault}"
|
|
7730
7730
|
},
|
|
7731
7731
|
"colorTextChatBubbleIncoming": {
|
|
7732
|
-
"light": "{
|
|
7733
|
-
"dark": "{
|
|
7732
|
+
"light": "{colorTextBodyDefault}",
|
|
7733
|
+
"dark": "{colorTextBodyDefault}"
|
|
7734
7734
|
},
|
|
7735
7735
|
"colorBorderButtonNormalActive": {
|
|
7736
7736
|
"light": "{colorTextButtonNormalHover}",
|
|
@@ -8809,16 +8809,16 @@ module.exports.preset = {
|
|
|
8809
8809
|
"dark": "transparent"
|
|
8810
8810
|
},
|
|
8811
8811
|
"colorBackgroundChatBubbleIncoming": {
|
|
8812
|
-
"light": "{
|
|
8813
|
-
"dark": "{
|
|
8812
|
+
"light": "{colorGrey900}",
|
|
8813
|
+
"dark": "{colorGrey900}"
|
|
8814
8814
|
},
|
|
8815
8815
|
"colorTextChatBubbleOutgoing": {
|
|
8816
|
-
"light": "{
|
|
8817
|
-
"dark": "{
|
|
8816
|
+
"light": "{colorTextBodyDefault}",
|
|
8817
|
+
"dark": "{colorTextBodyDefault}"
|
|
8818
8818
|
},
|
|
8819
8819
|
"colorTextChatBubbleIncoming": {
|
|
8820
|
-
"light": "{
|
|
8821
|
-
"dark": "{
|
|
8820
|
+
"light": "{colorTextBodyDefault}",
|
|
8821
|
+
"dark": "{colorTextBodyDefault}"
|
|
8822
8822
|
},
|
|
8823
8823
|
"colorBorderButtonNormalActive": {
|
|
8824
8824
|
"light": "{colorTextButtonNormalHover}",
|
|
@@ -11752,9 +11752,9 @@ module.exports.preset = {
|
|
|
11752
11752
|
"colorTextAvatar": "--color-text-avatar-jddpvm",
|
|
11753
11753
|
"colorBackgroundLoadingBarGenAi": "--color-background-loading-bar-gen-ai-7qfi9s",
|
|
11754
11754
|
"colorBackgroundChatBubbleOutgoing": "--color-background-chat-bubble-outgoing-pfqan2",
|
|
11755
|
-
"colorBackgroundChatBubbleIncoming": "--color-background-chat-bubble-incoming-
|
|
11756
|
-
"colorTextChatBubbleOutgoing": "--color-text-chat-bubble-outgoing-
|
|
11757
|
-
"colorTextChatBubbleIncoming": "--color-text-chat-bubble-incoming-
|
|
11755
|
+
"colorBackgroundChatBubbleIncoming": "--color-background-chat-bubble-incoming-ljtp6c",
|
|
11756
|
+
"colorTextChatBubbleOutgoing": "--color-text-chat-bubble-outgoing-bvbr0v",
|
|
11757
|
+
"colorTextChatBubbleIncoming": "--color-text-chat-bubble-incoming-x2kig8",
|
|
11758
11758
|
"colorBorderButtonNormalActive": "--color-border-button-normal-active-mn0ayd",
|
|
11759
11759
|
"colorBorderButtonNormalDefault": "--color-border-button-normal-default-uzqi0v",
|
|
11760
11760
|
"colorBorderToggleButtonNormalPressed": "--color-border-toggle-button-normal-pressed-lylxt2",
|
|
@@ -1075,15 +1075,15 @@ export var preset = {
|
|
|
1075
1075
|
},
|
|
1076
1076
|
"colorBackgroundChatBubbleIncoming": {
|
|
1077
1077
|
"light": "{colorGrey150}",
|
|
1078
|
-
"dark": "{
|
|
1078
|
+
"dark": "{colorGrey900}"
|
|
1079
1079
|
},
|
|
1080
1080
|
"colorTextChatBubbleOutgoing": {
|
|
1081
|
-
"light": "{
|
|
1082
|
-
"dark": "{
|
|
1081
|
+
"light": "{colorTextBodyDefault}",
|
|
1082
|
+
"dark": "{colorTextBodyDefault}"
|
|
1083
1083
|
},
|
|
1084
1084
|
"colorTextChatBubbleIncoming": {
|
|
1085
|
-
"light": "{
|
|
1086
|
-
"dark": "{
|
|
1085
|
+
"light": "{colorTextBodyDefault}",
|
|
1086
|
+
"dark": "{colorTextBodyDefault}"
|
|
1087
1087
|
},
|
|
1088
1088
|
"colorBorderButtonNormalActive": {
|
|
1089
1089
|
"light": "{colorBlue800}",
|
|
@@ -3309,16 +3309,16 @@ export var preset = {
|
|
|
3309
3309
|
"dark": "transparent"
|
|
3310
3310
|
},
|
|
3311
3311
|
"colorBackgroundChatBubbleIncoming": {
|
|
3312
|
-
"light": "{
|
|
3313
|
-
"dark": "{
|
|
3312
|
+
"light": "{colorGrey900}",
|
|
3313
|
+
"dark": "{colorGrey900}"
|
|
3314
3314
|
},
|
|
3315
3315
|
"colorTextChatBubbleOutgoing": {
|
|
3316
|
-
"light": "{
|
|
3317
|
-
"dark": "{
|
|
3316
|
+
"light": "{colorTextBodyDefault}",
|
|
3317
|
+
"dark": "{colorTextBodyDefault}"
|
|
3318
3318
|
},
|
|
3319
3319
|
"colorTextChatBubbleIncoming": {
|
|
3320
|
-
"light": "{
|
|
3321
|
-
"dark": "{
|
|
3320
|
+
"light": "{colorTextBodyDefault}",
|
|
3321
|
+
"dark": "{colorTextBodyDefault}"
|
|
3322
3322
|
},
|
|
3323
3323
|
"colorBorderButtonNormalActive": {
|
|
3324
3324
|
"light": "{colorBlue400}",
|
|
@@ -4463,16 +4463,16 @@ export var preset = {
|
|
|
4463
4463
|
"dark": "transparent"
|
|
4464
4464
|
},
|
|
4465
4465
|
"colorBackgroundChatBubbleIncoming": {
|
|
4466
|
-
"light": "{
|
|
4467
|
-
"dark": "{
|
|
4466
|
+
"light": "{colorGrey900}",
|
|
4467
|
+
"dark": "{colorGrey900}"
|
|
4468
4468
|
},
|
|
4469
4469
|
"colorTextChatBubbleOutgoing": {
|
|
4470
|
-
"light": "{
|
|
4471
|
-
"dark": "{
|
|
4470
|
+
"light": "{colorTextBodyDefault}",
|
|
4471
|
+
"dark": "{colorTextBodyDefault}"
|
|
4472
4472
|
},
|
|
4473
4473
|
"colorTextChatBubbleIncoming": {
|
|
4474
|
-
"light": "{
|
|
4475
|
-
"dark": "{
|
|
4474
|
+
"light": "{colorTextBodyDefault}",
|
|
4475
|
+
"dark": "{colorTextBodyDefault}"
|
|
4476
4476
|
},
|
|
4477
4477
|
"colorBorderButtonNormalActive": {
|
|
4478
4478
|
"light": "{colorBlue400}",
|
|
@@ -5550,15 +5550,15 @@ export var preset = {
|
|
|
5550
5550
|
},
|
|
5551
5551
|
"colorBackgroundChatBubbleIncoming": {
|
|
5552
5552
|
"light": "{colorGrey150}",
|
|
5553
|
-
"dark": "{
|
|
5553
|
+
"dark": "{colorGrey900}"
|
|
5554
5554
|
},
|
|
5555
5555
|
"colorTextChatBubbleOutgoing": {
|
|
5556
|
-
"light": "{
|
|
5557
|
-
"dark": "{
|
|
5556
|
+
"light": "{colorTextBodyDefault}",
|
|
5557
|
+
"dark": "{colorTextBodyDefault}"
|
|
5558
5558
|
},
|
|
5559
5559
|
"colorTextChatBubbleIncoming": {
|
|
5560
|
-
"light": "{
|
|
5561
|
-
"dark": "{
|
|
5560
|
+
"light": "{colorTextBodyDefault}",
|
|
5561
|
+
"dark": "{colorTextBodyDefault}"
|
|
5562
5562
|
},
|
|
5563
5563
|
"colorBorderButtonNormalActive": {
|
|
5564
5564
|
"light": "{colorWhite}",
|
|
@@ -6636,15 +6636,15 @@ export var preset = {
|
|
|
6636
6636
|
},
|
|
6637
6637
|
"colorBackgroundChatBubbleIncoming": {
|
|
6638
6638
|
"light": "{colorGrey150}",
|
|
6639
|
-
"dark": "{
|
|
6639
|
+
"dark": "{colorGrey900}"
|
|
6640
6640
|
},
|
|
6641
6641
|
"colorTextChatBubbleOutgoing": {
|
|
6642
|
-
"light": "{
|
|
6643
|
-
"dark": "{
|
|
6642
|
+
"light": "{colorTextBodyDefault}",
|
|
6643
|
+
"dark": "{colorTextBodyDefault}"
|
|
6644
6644
|
},
|
|
6645
6645
|
"colorTextChatBubbleIncoming": {
|
|
6646
|
-
"light": "{
|
|
6647
|
-
"dark": "{
|
|
6646
|
+
"light": "{colorTextBodyDefault}",
|
|
6647
|
+
"dark": "{colorTextBodyDefault}"
|
|
6648
6648
|
},
|
|
6649
6649
|
"colorBorderButtonNormalActive": {
|
|
6650
6650
|
"light": "{colorTextButtonNormalHover}",
|
|
@@ -7722,15 +7722,15 @@ export var preset = {
|
|
|
7722
7722
|
},
|
|
7723
7723
|
"colorBackgroundChatBubbleIncoming": {
|
|
7724
7724
|
"light": "{colorGrey150}",
|
|
7725
|
-
"dark": "{
|
|
7725
|
+
"dark": "{colorGrey900}"
|
|
7726
7726
|
},
|
|
7727
7727
|
"colorTextChatBubbleOutgoing": {
|
|
7728
|
-
"light": "{
|
|
7729
|
-
"dark": "{
|
|
7728
|
+
"light": "{colorTextBodyDefault}",
|
|
7729
|
+
"dark": "{colorTextBodyDefault}"
|
|
7730
7730
|
},
|
|
7731
7731
|
"colorTextChatBubbleIncoming": {
|
|
7732
|
-
"light": "{
|
|
7733
|
-
"dark": "{
|
|
7732
|
+
"light": "{colorTextBodyDefault}",
|
|
7733
|
+
"dark": "{colorTextBodyDefault}"
|
|
7734
7734
|
},
|
|
7735
7735
|
"colorBorderButtonNormalActive": {
|
|
7736
7736
|
"light": "{colorTextButtonNormalHover}",
|
|
@@ -8809,16 +8809,16 @@ export var preset = {
|
|
|
8809
8809
|
"dark": "transparent"
|
|
8810
8810
|
},
|
|
8811
8811
|
"colorBackgroundChatBubbleIncoming": {
|
|
8812
|
-
"light": "{
|
|
8813
|
-
"dark": "{
|
|
8812
|
+
"light": "{colorGrey900}",
|
|
8813
|
+
"dark": "{colorGrey900}"
|
|
8814
8814
|
},
|
|
8815
8815
|
"colorTextChatBubbleOutgoing": {
|
|
8816
|
-
"light": "{
|
|
8817
|
-
"dark": "{
|
|
8816
|
+
"light": "{colorTextBodyDefault}",
|
|
8817
|
+
"dark": "{colorTextBodyDefault}"
|
|
8818
8818
|
},
|
|
8819
8819
|
"colorTextChatBubbleIncoming": {
|
|
8820
|
-
"light": "{
|
|
8821
|
-
"dark": "{
|
|
8820
|
+
"light": "{colorTextBodyDefault}",
|
|
8821
|
+
"dark": "{colorTextBodyDefault}"
|
|
8822
8822
|
},
|
|
8823
8823
|
"colorBorderButtonNormalActive": {
|
|
8824
8824
|
"light": "{colorTextButtonNormalHover}",
|
|
@@ -11752,9 +11752,9 @@ export var preset = {
|
|
|
11752
11752
|
"colorTextAvatar": "--color-text-avatar-jddpvm",
|
|
11753
11753
|
"colorBackgroundLoadingBarGenAi": "--color-background-loading-bar-gen-ai-7qfi9s",
|
|
11754
11754
|
"colorBackgroundChatBubbleOutgoing": "--color-background-chat-bubble-outgoing-pfqan2",
|
|
11755
|
-
"colorBackgroundChatBubbleIncoming": "--color-background-chat-bubble-incoming-
|
|
11756
|
-
"colorTextChatBubbleOutgoing": "--color-text-chat-bubble-outgoing-
|
|
11757
|
-
"colorTextChatBubbleIncoming": "--color-text-chat-bubble-incoming-
|
|
11755
|
+
"colorBackgroundChatBubbleIncoming": "--color-background-chat-bubble-incoming-ljtp6c",
|
|
11756
|
+
"colorTextChatBubbleOutgoing": "--color-text-chat-bubble-outgoing-bvbr0v",
|
|
11757
|
+
"colorTextChatBubbleIncoming": "--color-text-chat-bubble-incoming-x2kig8",
|
|
11758
11758
|
"colorBorderButtonNormalActive": "--color-border-button-normal-active-mn0ayd",
|
|
11759
11759
|
"colorBorderButtonNormalDefault": "--color-border-button-normal-default-uzqi0v",
|
|
11760
11760
|
"colorBorderToggleButtonNormalPressed": "--color-border-toggle-button-normal-pressed-lylxt2",
|