mirror of
https://github.com/wavetermdev/backup.git
synced 2026-08-05 13:57:07 -07:00
Terminal theming (#485)
* init * use setStyleVar * backend implementation. scrope level terminal theming. * only invoke this.applyTermTheme for keys that are updated. command runner for global term theme * invoke applyTermTheme for global terminal themes as well * fix nil error * fix issue were theme can't be found * fix issue where selected termtheme is not set as default value * term theme switcher for session * do not force reload after setting css vars * fix issues. screenview terminal theme switcher * remove debugging code * move getTermThemes to util * fix global theme reset * fix workspace theme reset * fix screenview terminal theme reset issue * cleanup * do not apply theme if theme hasn't changed * do not apply theme if theme hasn't changed in workspace view * cleanup * cleanup * force reload terminal * fix inconsistency * fix reset issue * add a mobx reaction so that theming working when switching sessions * workig reset * simplify and cleanup * refactor * working global and session terminal theming * add check * perf improvement * more perf improvements * put reaction componentDidUpdate to make sure ref is already associated to the element * cleanup * fix issue where session theme is overriden by global theme on reload * reduce flickering on reload * more on reducing flickering on reload * cleanup * more cleanup * fix file not found when no global theme is set * screen level terminal theming * update comment * re-render terminal in history view. cleanup. * cleanup * merge main
This commit is contained in:
@@ -250,9 +250,10 @@ type ClientOptsType struct {
|
||||
}
|
||||
|
||||
type FeOptsType struct {
|
||||
TermFontSize int `json:"termfontsize,omitempty"`
|
||||
TermFontFamily string `json:"termfontfamily,omitempty"`
|
||||
Theme string `json:"theme,omitempty"`
|
||||
TermFontSize int `json:"termfontsize,omitempty"`
|
||||
TermFontFamily string `json:"termfontfamily,omitempty"`
|
||||
Theme string `json:"theme,omitempty"`
|
||||
TermTheme map[string]string `json:"termtheme"`
|
||||
}
|
||||
|
||||
type ReleaseInfoType struct {
|
||||
|
||||
Reference in New Issue
Block a user