Fix light mode on SignalConnectionsModal
This commit is contained in:
parent
0cd09c6259
commit
bedfbbca5f
3 changed files with 5 additions and 3 deletions
|
@ -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',
|
||||
|
|
|
@ -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" />
|
||||
|
|
|
@ -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 ? (
|
||||
|
|
Loading…
Reference in a new issue