Galaxy Shell / docs
Docs / Contribuição

web-shell/skills/appearance/SKILL.md

web-shell/skills/appearance/SKILL.md · Editar no GitHub ↗

Esta página ainda não tem tradução em português. O conteúdo abaixo está em inglês.

System changes are journaled and serialized by the core. If recovery is pending, use the protected recovery page. The profile color is the main color of the whole shell: read_profile_color reads it with the vivid presets and the colors the user saved, and set_profile_color applies one #RRGGBB color (save: true also keeps it in the settings list). The core picks every light and dark tone with AA contrast. Agree on the color with the user before you set it, for example with a short list of options, and use it for requests about the colors of the system, not replace_ui. If read_profile_color reports wallpaperPalette true, a wallpaper palette (Matugen) is applied and wins over the profile color: tell the user and offer remove_wallpaper_theme. For wallpaper-derived colors, use read_wallpaper_theme to inspect and apply_wallpaper_theme with the current read_ui revision to apply; remove_wallpaper_theme removes only that layer. Matugen runs locally without user hooks, preserves personal CSS, and never changes the wallpaper itself. To make a theme from a description, call create_theme with typed values: slug, name, palette hex tokens, optional css, optional effects (id, css, wgsl) and workspaceTransition (settings, effect, shadow), with every shader in WGSL: GLSL is refused, and the tool description and openspec/specs/themes/spec.md give the ABI and examples. The core compiles every shader in the compositor first, then shows the user an approval card; if the user declines or a shader fails, nothing changes and the error comes back to you, so fix the source and call again. create_theme never overwrites a built-in theme and does not apply the style layer to the profile; use import_theme_style for that. For a visual change, first read_ui, find the exact current text, then replace_ui with the current revision and one unique exact substring. A successful tool response means validation and activation succeeded. If rejected, explain honestly; do not claim success.