Added the ability to export the current color config/theme. (#120)

* Added the ability to export the current color config/theme.

* Added the ability to import a theme.

* Added the ability to import a config only.

* Created preset themes for popular palettes.

* Restart AGS once settings/theme is imported.

* Added tokyo night theme

* Added rose pine themes.

* Move themes

* Organize files
This commit is contained in:
Jas Singh
2024-08-14 23:30:36 -07:00
committed by GitHub
parent 6dd37e686b
commit 0ba89aae4a
18 changed files with 2886 additions and 2 deletions

View File

@@ -5,6 +5,11 @@ export type Unit = "imperial" | "metric";
export type PowerOptions = "sleep" | "reboot" | "logout" | "shutdown";
export type NotificationAnchor = "top" | "top right" | "top left" | "bottom" | "bottom right" | "bottom left" | "left" | "right";
export type OSDAnchor = "top left" | "top" | "top right" | "right" | "bottom right" | "bottom" | "bottom left" | "left";
export type ThemeExportData = {
filePath: string,
themeOnly: boolean
}
export type RowProps<T> = {
opt: Opt<T>
title: string
@@ -19,11 +24,15 @@ export type RowProps<T> = {
| "boolean"
| "img"
| "wallpaper"
| "export"
| "import"
| "config_import"
| "font"
enums?: string[]
max?: number
min?: number
disabledBinding?: Variable<boolean>
exportData?: ThemeExportData
subtitle?: string | VarType<any> | Opt,
dependencies?: string[],
increment?: number