Skip to content

Commit 32d1afb

Browse files
committed
Add background colors
1 parent 51ca789 commit 32d1afb

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

packages/fluent-theme/src/components/theme/Theme.module.css

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@
6363
--webchat-colorBrandForegroundLinkPressed: var(--colorBrandForegroundLinkPressed, #014259);
6464
--webchat-colorBrandForegroundLinkSelected: var(--colorBrandForegroundLinkSelected, #01678c);
6565

66+
--webchat-colorBrandBackground: var(--colorBrandBackground, #077fab);
67+
--webchat-colorBrandBackgroundHover: var(--colorBrandBackgroundHover, #06729a);
68+
--webchat-colorBrandBackgroundPressed: var(--colorBrandBackgroundPressed, #044760);
6669
--webchat-colorBrandBackground2: var(--colorBrandBackground2, #def2fc);
6770
--webchat-colorBrandBackground2Hover: var(--colorBrandBackground2Hover, #bee7fa);
6871
--webchat-colorBrandBackground2Pressed: var(--colorBrandBackground2Pressed, #7fd2f5);
@@ -655,8 +658,8 @@
655658
transition: background-color var(--webchat-durationNormal) var(--webchat-curveDecelerateMid);
656659

657660
&:hover {
658-
background-color: var(--webchat-colorBrandForeground2Hover);
659-
border: var(--webchat-strokeWidthThin) solid var(--webchat-colorBrandForeground2Hover);
661+
background-color: var(--webchat-colorBrandBackgroundHover);
662+
border: var(--webchat-strokeWidthThin) solid var(--webchat-colorBrandBackgroundHover);
660663
}
661664

662665
&:focus-visible {
@@ -665,8 +668,8 @@
665668
}
666669

667670
&:active {
668-
background-color: var(--webchat-colorBrandForeground2Pressed);
669-
border: var(--webchat-strokeWidthThin) solid var(--webchat-colorBrandForeground2Pressed);
671+
background-color: var(--webchat-colorBrandBackgroundPressed);
672+
border: var(--webchat-strokeWidthThin) solid var(--webchat-colorBrandBackgroundPressed);
670673
}
671674
}
672675

0 commit comments

Comments
 (0)