feat: add support for commenting and reacting on external content
This commit is contained in:
parent
5ba5c26fcd
commit
0bb62dd3fb
76 changed files with 1635 additions and 639 deletions
|
|
@ -4,6 +4,7 @@ import { TTheme, TThemeSetting } from '@/types'
|
|||
import { createContext, useContext, useEffect, useState } from 'react'
|
||||
|
||||
type ThemeProviderState = {
|
||||
theme: TTheme
|
||||
themeSetting: TThemeSetting
|
||||
setThemeSetting: (themeSetting: TThemeSetting) => void
|
||||
primaryColor: TPrimaryColor
|
||||
|
|
@ -83,6 +84,7 @@ export function ThemeProvider({ children }: { children: React.ReactNode }) {
|
|||
return (
|
||||
<ThemeProviderContext.Provider
|
||||
value={{
|
||||
theme,
|
||||
themeSetting,
|
||||
setThemeSetting: updateThemeSetting,
|
||||
primaryColor,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue