Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions client/src/actions/ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

export const SET_PANEL_SIZE = 'ui/SET_PANEL_SIZE'
export const SET_PANEL_MINIMIZED = 'ui/SET_PANEL_MINIMIZED'
export const SET_THEME = 'ui/SET_THEME'

export const CLICK_SIDEBAR_URL = 'mainframe/CLICK_SIDEBAR_URL'

Expand All @@ -29,3 +30,10 @@ export function setPanelMinimized(minimized) {
minimized,
}
}

export function setTheme(theme) {
return {
type: SET_THEME,
theme,
}
}
Loading
Loading