Skip to content

Commit 0a2ff53

Browse files
committed
Use a subtle highlight for time/date captions.
1 parent 51d8bfa commit 0a2ff53

File tree

6 files changed

+6
-1
lines changed

6 files changed

+6
-1
lines changed

ts/components/conversation/message/message-item/DateBreak.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const DateBreakText = styled.div`
1212
font-weight: bold;
1313
text-align: center;
1414
15-
color: var(--text-primary-color);
15+
color: var(--text-last-seen-indicator-color);
1616
`;
1717

1818
export const MessageDateBreak = (props: { timestamp: number; messageId: string }) => {

ts/themes/classicDark.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ export const classicDark: ThemeColorVariables = {
2626
'--message-bubbles-received-text-color': 'var(--text-primary-color)',
2727

2828
'--text-author-color': THEMES.CLASSIC_DARK.HIGHLIGHT,
29+
'--text-last-seen-indicator-color': THEMES.CLASSIC_DARK.HIGHLIGHT,
2930

3031
'--menu-button-background-color': 'var(--primary-color)',
3132
'--menu-button-background-hover-color': THEMES.CLASSIC_DARK.COLOR4,

ts/themes/classicLight.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ export const classicLight: ThemeColorVariables = {
2626
'--message-bubbles-received-text-color': 'var(--text-primary-color)',
2727

2828
'--text-author-color': THEMES.CLASSIC_LIGHT.HIGHLIGHT,
29+
'--text-last-seen-indicator-color': THEMES.CLASSIC_LIGHT.HIGHLIGHT,
2930

3031
'--menu-button-background-color': THEMES.CLASSIC_LIGHT.COLOR0,
3132
'--menu-button-background-hover-color': THEMES.CLASSIC_LIGHT.COLOR1,

ts/themes/oceanDark.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ export const oceanDark: ThemeColorVariables = {
2727
'--message-bubbles-received-text-color': 'var(--text-primary-color)',
2828

2929
'--text-author-color': THEMES.OCEAN_DARK.HIGHLIGHT,
30+
'--text-last-seen-indicator-color': THEMES.OCEAN_DARK.HIGHLIGHT,
3031

3132
'--menu-button-background-color': 'var(--primary-color)',
3233
'--menu-button-background-hover-color': THEMES.OCEAN_DARK.COLOR6,

ts/themes/oceanLight.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ export const oceanLight: ThemeColorVariables = {
2727
'--message-bubbles-received-text-color': 'var(--text-primary-color)',
2828

2929
'--text-author-color': THEMES.OCEAN_LIGHT.HIGHLIGHT,
30+
'--text-last-seen-indicator-color': THEMES.OCEAN_LIGHT.HIGHLIGHT,
3031

3132
'--menu-button-background-color': 'var(--primary-color)',
3233
'--menu-button-background-hover-color': THEMES.OCEAN_LIGHT.COLOR3,

ts/themes/variableColors.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ export type ThemeColorVariables = {
1212
'--text-secondary-color': string;
1313
'--text-selection-color': string;
1414
'--text-author-color': string;
15+
'--text-last-seen-indicator-color': string;
1516

1617
/* Borders */
1718
'--border-color': string;

0 commit comments

Comments
 (0)