fix(react): export correct themes

This commit is contained in:
Pavel Prichodko 2022-04-14 13:42:35 +02:00
parent 688fd70d81
commit 3d07c02bff
No known key found for this signature in database
GPG Key ID: 8E4C82D464215E83
3 changed files with 2 additions and 35 deletions

View File

@ -1,5 +1,5 @@
export type { CommunityProps } from './modules/community'
export { Community } from './modules/community'
export { darkTheme, lightTheme } from './styles/themes'
export { darkTheme, theme as lightTheme } from './styles/config'
export type { Config } from './types/config'
export { HashRouter, MemoryRouter } from 'react-router-dom'

View File

@ -1,4 +1,4 @@
import type { Theme } from './theme'
import type { Theme } from '../styles/config'
import type { BrowserRouter, HashRouter, MemoryRouter } from 'react-router-dom'
export type Environment = 'production' | 'test'

View File

@ -1,33 +0,0 @@
export interface Theme {
primary: string
secondary: string
tertiary: string
bodyBackgroundColor: string
sectionBackgroundColor: string
bodyBackgroundGradient: string
guestNameColor: string
iconColor: string
iconUserColor: string
iconTextColor: string
logoColor: string
activeChannelBackground: string
notificationColor: string
inputColor: string
border: string
buttonBg: string
buttonBgHover: string
buttonNoBg: string
buttonNoBgHover: string
skeletonLight: string
skeletonDark: string
redColor: string
greenColor: string
greenBg: string
mentionColor: string
mentionHover: string
mentionBg: string
mentionBgHover: string
shadow: string
reactionBg: string
blueBg: string
}