Skip to content

Commit 3911e52

Browse files
committed
Fix dark mode
1 parent 552eab2 commit 3911e52

File tree

4 files changed

+17
-17
lines changed

4 files changed

+17
-17
lines changed

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

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -40,22 +40,22 @@
4040
function renderWebChat(uiState) {
4141
const theme = {
4242
...createDarkTheme({
43-
10: '#12174c',
44-
20: '#1a1f5b',
45-
30: '#21276a',
46-
40: '#293079',
47-
50: '#303788',
48-
60: '#384097',
49-
70: '#4049a7',
50-
80: '#151e80',
51-
90: '#4f59c5',
52-
100: '#5661d4',
53-
110: '#5e69e3',
54-
120: '#7982e8',
55-
130: '#949bec',
56-
140: '#afb5f1',
57-
150: '#c9cdf6',
58-
160: '#e4e6fa'
43+
10: '#124C32',
44+
20: '#1A5B3E',
45+
30: '#216A4A',
46+
40: '#297956',
47+
50: '#308861',
48+
60: '#38976D',
49+
70: '#40A779',
50+
80: '#158051',
51+
90: '#4FC590',
52+
100: '#56D49C',
53+
110: '#5EE3A8',
54+
120: '#79E8B7',
55+
130: '#94ECC5',
56+
140: '#AFF1D3',
57+
150: '#C9F6E2',
58+
160: '#E4FAF1'
5959
}),
6060
colorNeutralBackground1Disabled: '#101010',
6161
colorNeutralBackground1Hover: '#101010',
34 Bytes
Loading
16 Bytes
Loading

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,7 @@
645645
background-color: var(--webchat-colorBrandForeground1);
646646
border: var(--webchat-strokeWidthThin) solid var(--webchat-colorBrandForeground1);
647647
border-radius: var(--webchat-borderRadiusMedium);
648-
color: #ffffff; /* Always white in dark and light mode */
648+
color: var(--webchat-colorNeutralBackground1);
649649
cursor: pointer;
650650
font-family: var(--webchat-fontFamilyBase);
651651
font-size: var(--webchat-fontSizeBase300);

0 commit comments

Comments
 (0)