Skip to content

Commit

Permalink
Fix light mode on SignalConnectionsModal
Browse files Browse the repository at this point in the history
  • Loading branch information
trevor-signal committed Apr 25, 2023
1 parent 0cd09c6 commit bedfbbc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 0 additions & 2 deletions stylesheets/components/SignalConnectionsModal.scss
Expand Up @@ -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',
Expand Down
2 changes: 2 additions & 0 deletions ts/components/SignalConnectionsModal.tsx
Expand Up @@ -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;
Expand All @@ -23,6 +24,7 @@ export function SignalConnectionsModal({
hasXButton
i18n={i18n}
onClose={onClose}
theme={STORIES_COLOR_THEME}
>
<div className="SignalConnectionsModal">
<i className="SignalConnectionsModal__icon" />
Expand Down
4 changes: 3 additions & 1 deletion ts/components/Stories.tsx
Expand Up @@ -56,6 +56,8 @@ export type PropsType = {
viewUserStories: ViewUserStoriesActionCreatorType;
};

export const STORIES_COLOR_THEME = Theme.Dark;

export function Stories({
addStoryData,
deleteStoryForEveryone,
Expand Down Expand Up @@ -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 ? (
Expand Down

0 comments on commit bedfbbc

Please sign in to comment.