Shubh Porwal 1 месяц назад
Родитель
Сommit
923e3da973
2 измененных файлов с 134 добавлено и 0 удалено
  1. 3 0
      packages/ui/src/theme/default-themes.ts
  2. 131 0
      packages/ui/src/theme/themes/aura.json

+ 3 - 0
packages/ui/src/theme/default-themes.ts

@@ -13,6 +13,7 @@ import nightowlThemeJson from "./themes/nightowl.json"
 import vesperThemeJson from "./themes/vesper.json"
 import vesperThemeJson from "./themes/vesper.json"
 import carbonfoxThemeJson from "./themes/carbonfox.json"
 import carbonfoxThemeJson from "./themes/carbonfox.json"
 import gruvboxThemeJson from "./themes/gruvbox.json"
 import gruvboxThemeJson from "./themes/gruvbox.json"
+import auraThemeJson from "./themes/aura.json"
 
 
 export const oc1Theme = oc1ThemeJson as DesktopTheme
 export const oc1Theme = oc1ThemeJson as DesktopTheme
 export const tokyonightTheme = tokyoThemeJson as DesktopTheme
 export const tokyonightTheme = tokyoThemeJson as DesktopTheme
@@ -28,6 +29,7 @@ export const nightowlTheme = nightowlThemeJson as DesktopTheme
 export const vesperTheme = vesperThemeJson as DesktopTheme
 export const vesperTheme = vesperThemeJson as DesktopTheme
 export const carbonfoxTheme = carbonfoxThemeJson as DesktopTheme
 export const carbonfoxTheme = carbonfoxThemeJson as DesktopTheme
 export const gruvboxTheme = gruvboxThemeJson as DesktopTheme
 export const gruvboxTheme = gruvboxThemeJson as DesktopTheme
+export const auraTheme = auraThemeJson as DesktopTheme
 
 
 export const DEFAULT_THEMES: Record<string, DesktopTheme> = {
 export const DEFAULT_THEMES: Record<string, DesktopTheme> = {
   "oc-1": oc1Theme,
   "oc-1": oc1Theme,
@@ -44,4 +46,5 @@ export const DEFAULT_THEMES: Record<string, DesktopTheme> = {
   vesper: vesperTheme,
   vesper: vesperTheme,
   carbonfox: carbonfoxTheme,
   carbonfox: carbonfoxTheme,
   gruvbox: gruvboxTheme,
   gruvbox: gruvboxTheme,
+  aura: auraTheme,
 }
 }

+ 131 - 0
packages/ui/src/theme/themes/aura.json

@@ -0,0 +1,131 @@
+{
+  "$schema": "https://opencode.ai/desktop-theme.json",
+  "name": "Aura",
+  "id": "aura",
+  "light": {
+    "seeds": {
+      "neutral": "#f5f0ff",
+      "primary": "#a277ff",
+      "success": "#40bf7a",
+      "warning": "#d9a24a",
+      "error": "#d94f4f",
+      "info": "#5bb8d9",
+      "interactive": "#a277ff",
+      "diffAdd": "#b3e6cc",
+      "diffDelete": "#f5b3b3"
+    },
+    "overrides": {
+      "background-base": "#f5f0ff",
+      "background-weak": "#efe8fc",
+      "background-strong": "#faf7ff",
+      "background-stronger": "#fdfcff",
+      "border-weak-base": "#e0d6f2",
+      "border-weak-hover": "#d5c9eb",
+      "border-weak-active": "#cbbee3",
+      "border-weak-selected": "#c0b3dc",
+      "border-weak-disabled": "#f9f6ff",
+      "border-weak-focus": "#c5b8df",
+      "border-base": "#b5a6d4",
+      "border-hover": "#aa99cc",
+      "border-active": "#9f8dc4",
+      "border-selected": "#9480bc",
+      "border-disabled": "#ede7f9",
+      "border-focus": "#a593c8",
+      "border-strong-base": "#8068a8",
+      "border-strong-hover": "#735a9c",
+      "border-strong-active": "#664d90",
+      "border-strong-selected": "#5a4184",
+      "border-strong-disabled": "#d4c8ed",
+      "border-strong-focus": "#6d5396",
+      "surface-diff-add-base": "#e8f5ed",
+      "surface-diff-delete-base": "#fae8e8",
+      "surface-diff-hidden-base": "#e8e4f5",
+      "text-base": "#2d2640",
+      "text-weak": "#5c5270",
+      "text-strong": "#15101f",
+      "syntax-string": "#40bf7a",
+      "syntax-primitive": "#d94f4f",
+      "syntax-property": "#a277ff",
+      "syntax-type": "#d9a24a",
+      "syntax-constant": "#5bb8d9",
+      "syntax-info": "#5bb8d9",
+      "markdown-heading": "#a277ff",
+      "markdown-text": "#2d2640",
+      "markdown-link": "#c17ac8",
+      "markdown-link-text": "#a277ff",
+      "markdown-code": "#40bf7a",
+      "markdown-block-quote": "#6d6d6d",
+      "markdown-emph": "#d9a24a",
+      "markdown-strong": "#a277ff",
+      "markdown-horizontal-rule": "#d4c8ed",
+      "markdown-list-item": "#a277ff",
+      "markdown-list-enumeration": "#a277ff",
+      "markdown-image": "#c17ac8",
+      "markdown-image-text": "#a277ff",
+      "markdown-code-block": "#5bb8d9"
+    }
+  },
+  "dark": {
+    "seeds": {
+      "neutral": "#15141b",
+      "primary": "#a277ff",
+      "success": "#61ffca",
+      "warning": "#ffca85",
+      "error": "#ff6767",
+      "info": "#82e2ff",
+      "interactive": "#a277ff",
+      "diffAdd": "#61ffca",
+      "diffDelete": "#ff6767"
+    },
+    "overrides": {
+      "background-base": "#15141b",
+      "background-weak": "#1a1921",
+      "background-strong": "#121118",
+      "background-stronger": "#0f0e14",
+      "border-weak-base": "#2d2b38",
+      "border-weak-hover": "#332f42",
+      "border-weak-active": "#38354c",
+      "border-weak-selected": "#3e3a56",
+      "border-weak-disabled": "#1a1921",
+      "border-weak-focus": "#363350",
+      "border-base": "#433f5a",
+      "border-hover": "#4a4565",
+      "border-active": "#514c70",
+      "border-selected": "#58527b",
+      "border-disabled": "#1f1e28",
+      "border-focus": "#4e496c",
+      "border-strong-base": "#635c8a",
+      "border-strong-hover": "#6d6597",
+      "border-strong-active": "#776fa4",
+      "border-strong-selected": "#8179b1",
+      "border-strong-disabled": "#2a283a",
+      "border-strong-focus": "#716a9e",
+      "surface-diff-add-base": "#162620",
+      "surface-diff-delete-base": "#26161a",
+      "surface-diff-hidden-base": "#1e1d2a",
+      "text-base": "#edecee",
+      "text-weak": "#6d6d6d",
+      "text-strong": "#ffffff",
+      "syntax-string": "#61ffca",
+      "syntax-primitive": "#ff6767",
+      "syntax-property": "#a277ff",
+      "syntax-type": "#ffca85",
+      "syntax-constant": "#82e2ff",
+      "syntax-info": "#82e2ff",
+      "markdown-heading": "#a277ff",
+      "markdown-text": "#edecee",
+      "markdown-link": "#f694ff",
+      "markdown-link-text": "#a277ff",
+      "markdown-code": "#61ffca",
+      "markdown-block-quote": "#6d6d6d",
+      "markdown-emph": "#ffca85",
+      "markdown-strong": "#a277ff",
+      "markdown-horizontal-rule": "#2d2b38",
+      "markdown-list-item": "#a277ff",
+      "markdown-list-enumeration": "#a277ff",
+      "markdown-image": "#f694ff",
+      "markdown-image-text": "#a277ff",
+      "markdown-code-block": "#edecee"
+    }
+  }
+}