Remove iOS theme in favor of plain light/dark themes
This commit is contained in:
parent
19cbfae127
commit
fc5c52fbdf
16 changed files with 51 additions and 623 deletions
|
@ -5,7 +5,7 @@ interface Props {
|
|||
/**
|
||||
* Corresponds to the theme setting in the app, and the class added to the root element.
|
||||
*/
|
||||
theme: 'ios' | 'android' | 'android-dark';
|
||||
theme: 'light-theme' | 'dark-theme';
|
||||
type: 'private' | 'group';
|
||||
}
|
||||
|
||||
|
@ -18,7 +18,7 @@ export class ConversationContext extends React.Component<Props> {
|
|||
const { theme, type } = this.props;
|
||||
|
||||
return (
|
||||
<div className={theme || 'android'}>
|
||||
<div className={theme || 'light-theme'}>
|
||||
<div className={classNames('conversation', type || 'private')}>
|
||||
<div className="discussion-container" style={{ padding: '0.5em' }}>
|
||||
<ul className="message-list">{this.props.children}</ul>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue