Skip to content

Commit 51ca789

Browse files
committed
Final fix the dark theme
1 parent 3911e52 commit 51ca789

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

__tests__/html2/fluentTheme/defaultFeedback.activity.dark.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@
5959
}),
6060
colorNeutralBackground1Disabled: '#101010',
6161
colorNeutralBackground1Hover: '#101010',
62-
colorNeutralForeground5: '#424242'
62+
colorNeutralForeground5: '#424242',
63+
colorNeutralForegroundOnBrand: '#292929'
6364
};
6465

6566
root.render(

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
--webchat-colorNeutralForeground4: var(--colorNeutralForeground4, #707070);
2222
--webchat-colorNeutralForeground5: var(--colorNeutralForeground5, #7e7e7e);
2323

24+
--webchat-colorNeutralForegroundOnBrand: var(--colorNeutralForegroundOnBrand, #fff);
25+
2426
--webchat-colorNeutralBackgroundDisabled: var(--colorNeutralBackgroundDisabled, #f0f0f0);
2527
--webchat-colorNeutralBackground1: var(--colorNeutralBackground1, #ffffff);
2628
--webchat-colorNeutralBackground1Hover: var(--colorNeutralBackground1Hover, #f5f5f5);
@@ -645,7 +647,7 @@
645647
background-color: var(--webchat-colorBrandForeground1);
646648
border: var(--webchat-strokeWidthThin) solid var(--webchat-colorBrandForeground1);
647649
border-radius: var(--webchat-borderRadiusMedium);
648-
color: var(--webchat-colorNeutralBackground1);
650+
color: var(--webchat-colorNeutralForegroundOnBrand);
649651
cursor: pointer;
650652
font-family: var(--webchat-fontFamilyBase);
651653
font-size: var(--webchat-fontSizeBase300);

0 commit comments

Comments
 (0)