Skip to content

Commit d6b1032

Browse files
chore: post-review (post-cleanup) fixes (#3123)
1 parent 4d357b8 commit d6b1032

7 files changed

Lines changed: 11 additions & 11 deletions

File tree

src/components/Channel/styling/Channel.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
--str-chat__channel-color: var(--text-primary);
187187

188188
/* The background color of the component */
189-
--str-chat__channel-background-color: transparent;
189+
--str-chat__channel-background-color: var(--background-core-app);
190190

191191
/* Box shadow applied to the component */
192192
--str-chat__channel-box-shadow: none;

src/components/ChannelHeader/styling/ChannelHeader.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242

4343
.str-chat__channel-header__data {
4444
@include utils.header-text-layout;
45+
width: unset;
4546
}
4647

4748
.str-chat__channel-header__end {

src/components/ChatView/styling/ChatView.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
height: 100%;
2121
min-height: 0;
2222
position: relative;
23-
background-color: var(--str-chat__background-color);
23+
background-color: var(--background-core-app);
2424

2525
.str-chat__chat-view__selector {
2626
display: flex;

src/components/Form/styling/SwitchField.scss

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,7 @@
33
// CSS variables aligned with Figma tokens; fallbacks from get_variable_defs.
44

55
.str-chat {
6-
--str-chat__switch-field-background-color: var(
7-
--input-cards-bg,
8-
var(--background-core-surface-subtle)
9-
);
6+
--str-chat__switch-field-background-color: var(--background-core-surface-card);
107
--str-chat__switch-field-border-radius: var(--radius-md);
118
--str-chat__switch-field__track-off-bg: var(
129
--control-toggle-switch-bg,

src/components/MessageComposer/styling/CommandChip.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
gap: var(--spacing-xxs);
99
border-radius: var(--radius-max);
1010

11-
color: var(--text-inverse);
12-
background-color: var(--background-core-inverse, var(--slate-900));
11+
color: var(--text-on-inverse);
12+
background-color: var(--background-core-inverse);
1313
text-transform: uppercase;
1414
font: var(--str-chat__font-metadata-emphasis);
1515

@@ -19,6 +19,6 @@
1919
justify-content: center;
2020
align-items: center;
2121
cursor: pointer;
22-
color: var(--text-inverse);
22+
color: inherit;
2323
}
2424
}

src/components/Reactions/styling/MessageReactionsDetail.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@
6666
@include common.reaction-button;
6767
box-shadow: unset;
6868
min-width: var(--size-48);
69+
background: none;
70+
border: 1px solid var(--control-chip-border);
6971

7072
.str-chat__message-reactions-detail__reaction-type-list-item-icon {
7173
font-family: system-ui;

src/components/Reactions/styling/common.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
background: linear-gradient(
6565
to bottom,
6666
transparent 5%,
67-
var(--background-core-elevation-0) 95%
67+
var(--background-core-elevation-2) 95%
6868
);
6969
}
7070

@@ -77,7 +77,7 @@
7777
background: linear-gradient(
7878
to top,
7979
transparent 5%,
80-
var(--background-core-elevation-0) 95%
80+
var(--background-core-elevation-2) 95%
8181
);
8282
}
8383
}

0 commit comments

Comments
 (0)