This commit is contained in:
Nathan Bierema 2024-04-07 15:26:55 -04:00
parent 81c03e4619
commit 6d39b836cb
2 changed files with 2 additions and 4 deletions

View File

@ -101,9 +101,7 @@ export const StyleUtilsContext = createContext<StyleUtils>({
invertTheme: false, invertTheme: false,
}); });
export function getJsonTreeTheme( export function getJsonTreeTheme(base16Theme: Base16Theme): StylingConfig {
base16Theme: base16Themes.Base16Theme,
): StylingConfig {
return { return {
extend: base16Theme, extend: base16Theme,
nestedNode: ({ style }, keyPath, nodeType, expanded) => ({ nestedNode: ({ style }, keyPath, nodeType, expanded) => ({

View File

@ -43,7 +43,7 @@ interface SliderMonitorProps<S, A extends Action<string>> // eslint-disable-next
dispatch: Dispatch<LiftedAction<S, A, {}>>; dispatch: Dispatch<LiftedAction<S, A, {}>>;
preserveScrollTop: boolean; preserveScrollTop: boolean;
select: (state: S) => unknown; select: (state: S) => unknown;
theme: keyof typeof themes | Base16Theme; theme: keyof typeof base16Themes | Base16Theme;
keyboardEnabled: boolean; keyboardEnabled: boolean;
hideResetButton?: boolean; hideResetButton?: boolean;
} }