fix(react): export correct themes

This commit is contained in:
Pavel Prichodko 2022-04-14 13:42:35 +02:00
parent 151b80bc9b
commit c87619c6ec
No known key found for this signature in database
GPG Key ID: 0EB8D75C775AB6F1
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
}