fix(react): export correct themes
This commit is contained in:
parent
151b80bc9b
commit
c87619c6ec
|
@ -1,5 +1,5 @@
|
||||||
export type { CommunityProps } from './modules/community'
|
export type { CommunityProps } from './modules/community'
|
||||||
export { Community } 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 type { Config } from './types/config'
|
||||||
export { HashRouter, MemoryRouter } from 'react-router-dom'
|
export { HashRouter, MemoryRouter } from 'react-router-dom'
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import type { Theme } from './theme'
|
import type { Theme } from '../styles/config'
|
||||||
import type { BrowserRouter, HashRouter, MemoryRouter } from 'react-router-dom'
|
import type { BrowserRouter, HashRouter, MemoryRouter } from 'react-router-dom'
|
||||||
|
|
||||||
export type Environment = 'production' | 'test'
|
export type Environment = 'production' | 'test'
|
||||||
|
|
|
@ -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
|
|
||||||
}
|
|
Loading…
Reference in New Issue