Fix light mode on SignalConnectionsModal

This commit is contained in:
trevor-signal 2023-04-25 13:48:29 -04:00 committed by GitHub
parent 0cd09c6259
commit bedfbbca5f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 3 deletions

View file

@ -2,8 +2,6 @@
// SPDX-License-Identifier: AGPL-3.0-only
.SignalConnectionsModal {
color: $color-gray-05;
&__icon {
@include color-svg(
'../images/icons/v2/signal-connections.svg',

View file

@ -7,6 +7,7 @@ import type { LocalizerType } from '../types/Util';
import { Button, ButtonVariant } from './Button';
import { Intl } from './Intl';
import { Modal } from './Modal';
import { STORIES_COLOR_THEME } from './Stories';
export type PropsType = {
i18n: LocalizerType;
@ -23,6 +24,7 @@ export function SignalConnectionsModal({
hasXButton
i18n={i18n}
onClose={onClose}
theme={STORIES_COLOR_THEME}
>
<div className="SignalConnectionsModal">
<i className="SignalConnectionsModal__icon" />

View file

@ -56,6 +56,8 @@ export type PropsType = {
viewUserStories: ViewUserStoriesActionCreatorType;
};
export const STORIES_COLOR_THEME = Theme.Dark;
export function Stories({
addStoryData,
deleteStoryForEveryone,
@ -102,7 +104,7 @@ export function Stories({
);
return (
<div className={classNames('Stories', themeClassName(Theme.Dark))}>
<div className={classNames('Stories', themeClassName(STORIES_COLOR_THEME))}>
{addStoryData && renderStoryCreator()}
<div className="Stories__pane" style={{ width }}>
{isMyStories && myStories.length ? (