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
|
// SPDX-License-Identifier: AGPL-3.0-only
|
||||||
|
|
||||||
.SignalConnectionsModal {
|
.SignalConnectionsModal {
|
||||||
color: $color-gray-05;
|
|
||||||
|
|
||||||
&__icon {
|
&__icon {
|
||||||
@include color-svg(
|
@include color-svg(
|
||||||
'../images/icons/v2/signal-connections.svg',
|
'../images/icons/v2/signal-connections.svg',
|
||||||
|
|
|
@ -7,6 +7,7 @@ import type { LocalizerType } from '../types/Util';
|
||||||
import { Button, ButtonVariant } from './Button';
|
import { Button, ButtonVariant } from './Button';
|
||||||
import { Intl } from './Intl';
|
import { Intl } from './Intl';
|
||||||
import { Modal } from './Modal';
|
import { Modal } from './Modal';
|
||||||
|
import { STORIES_COLOR_THEME } from './Stories';
|
||||||
|
|
||||||
export type PropsType = {
|
export type PropsType = {
|
||||||
i18n: LocalizerType;
|
i18n: LocalizerType;
|
||||||
|
@ -23,6 +24,7 @@ export function SignalConnectionsModal({
|
||||||
hasXButton
|
hasXButton
|
||||||
i18n={i18n}
|
i18n={i18n}
|
||||||
onClose={onClose}
|
onClose={onClose}
|
||||||
|
theme={STORIES_COLOR_THEME}
|
||||||
>
|
>
|
||||||
<div className="SignalConnectionsModal">
|
<div className="SignalConnectionsModal">
|
||||||
<i className="SignalConnectionsModal__icon" />
|
<i className="SignalConnectionsModal__icon" />
|
||||||
|
|
|
@ -56,6 +56,8 @@ export type PropsType = {
|
||||||
viewUserStories: ViewUserStoriesActionCreatorType;
|
viewUserStories: ViewUserStoriesActionCreatorType;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export const STORIES_COLOR_THEME = Theme.Dark;
|
||||||
|
|
||||||
export function Stories({
|
export function Stories({
|
||||||
addStoryData,
|
addStoryData,
|
||||||
deleteStoryForEveryone,
|
deleteStoryForEveryone,
|
||||||
|
@ -102,7 +104,7 @@ export function Stories({
|
||||||
);
|
);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={classNames('Stories', themeClassName(Theme.Dark))}>
|
<div className={classNames('Stories', themeClassName(STORIES_COLOR_THEME))}>
|
||||||
{addStoryData && renderStoryCreator()}
|
{addStoryData && renderStoryCreator()}
|
||||||
<div className="Stories__pane" style={{ width }}>
|
<div className="Stories__pane" style={{ width }}>
|
||||||
{isMyStories && myStories.length ? (
|
{isMyStories && myStories.length ? (
|
||||||
|
|
Loading…
Reference in a new issue