← Back to registry

TOOL · edit_app_theme

Edit the CSS theme variables for any sovereign app. Reads the app's media/css/main.css, modifies CSS custom properties (colors, fonts, spacing), and writes the updated file. Use this when a user asks to change colors, fonts, or visual theme of any app (Movilo, Vetra, Latinos, etc.).

Canonical Definition

{
  "description": "Edit the CSS theme variables for any sovereign app. Reads the app's media/css/main.css, modifies CSS custom properties (colors, fonts, spacing), and writes the updated file. Use this when a user asks to change colors, fonts, or visual theme of any app (Movilo, Vetra, Latinos, etc.).",
  "name": "edit_app_theme",
  "parameters": {
    "properties": {
      "app": {
        "description": "The name of the app to edit (e.g., 'Movilo', 'Vetra-rust', 'Latinos-rust'). Must match the directory name under Apps/.",
        "type": "string"
      },
      "theme": {
        "description": "Which theme variant to edit: 'light', 'dark', or 'both'.",
        "enum": [
          "light",
          "dark",
          "both"
        ],
        "type": "string"
      },
      "variables": {
        "description": "A map of CSS variable names to their new values. Example: {'--primary': '#ff0000', '--bg': '#1a1a2e', '--accent': '#e94560'}. Only include variables you want to change.",
        "type": "object"
      }
    },
    "required": [
      "app",
      "theme",
      "variables"
    ],
    "type": "object"
  }
}