{
  "manifest_version": 3,

  "browser_specific_settings": {
    "gecko": {
      "id": "firefox-aiwindow-nova@mozilla.org"
    }
  },

  "name": "Firefox AI Window Nova",
  "description": "Nova theme for AI Window",
  "author": "Mozilla",
  "version": "1.0.0",

  "theme": {
    "properties": {
      "color_scheme": "light",
      "ai_background_color": "#f5f4fe",
      "link_color": "{color.violet.50}",
      "tab_background_color_hover": "color-mix(in srgb, {color.violet-desaturated.60} 16%, transparent)",
      "additional_backgrounds_alignment": ["center"]
    },
    "colors": {
      "button_background_active": "color-mix(in srgb, {color.violet-desaturated.60} 30%, transparent)",
      "button_background_hover": "color-mix(in srgb, {color.violet-desaturated.60} 16%, transparent)",
      "frame": "#f5f4fe",
      "frame_inactive": "#f5f4fe",
      "icons": "{toolbarbutton.icon.fill.@base}",
      "icons_attention": "{color.accent.primary.@base}",
      "popup": "{background.color.box.@base}",
      "popup_border": "{color.violet-desaturated.20.value}",
      "popup_highlight": "{urlbarview.background.color.selected}",
      "popup_highlight_text": "{urlbarview.text.color.selected}",
      "popup_text": "{text.color.@base}",
      "tab_background_text": "{text.color.@base}",
      "tab_line": "transparent",
      "tab_loading": "{color.accent.primary.@base}",
      "toolbar": "color-mix(in srgb, #f5f4fe 80%, transparent)",
      "toolbar_field": "{background.color.box.@base}",
      "toolbar_field_border": "{toolbar.field.border.color.@base}",
      "toolbar_field_border_focus": "{toolbar.field.border.color.focus}",
      "toolbar_field_focus": "{toolbar.field.background.color.focus}",
      "toolbar_field_text": "{toolbar.field.text.color.@base}",
      "toolbar_field_text_focus": "{toolbar.field.text.color.focus}",
      "toolbar_top_separator": "transparent",
      "toolbar_bottom_separator": "{color.violet-desaturated.20}"
    },
    "images": {
      "additional_backgrounds": [
        { "linear-gradient": "color-mix(in srgb, #f5f4fe 80%, transparent)" }
      ]
    }
  },

  "dark_theme": {
    "properties": {
      "color_scheme": "dark",
      "ai_background_color": "#1d1f30",
      "link_color": "{color.violet.20}",
      "tab_background_color_hover": "color-mix(in srgb, {color.violet.30} 24%, transparent)",
      "additional_backgrounds_alignment": ["center"]
    },
    "colors": {
      "button_background_active": "color-mix(in srgb, {color.violet.30} 36%, transparent)",
      "button_background_hover": "color-mix(in srgb, {color.violet.30} 24%, transparent)",
      "frame": "#1d1f30",
      "frame_inactive": "#1d1f30",
      "icons": "{toolbarbutton.icon.fill.@base}",
      "icons_attention": "{color.accent.primary.@base}",
      "popup": "{background.color.box.@base}",
      "popup_border": "{color.violet-desaturated.50.value}",
      "popup_highlight": "{urlbarview.background.color.selected}",
      "popup_highlight_text": "{urlbarview.text.color.selected}",
      "popup_text": "{text.color.@base}",
      "tab_background_text": "{text.color.@base}",
      "tab_line": "transparent",
      "tab_loading": "{color.accent.primary.@base}",
      "toolbar": "color-mix(in srgb, #1d1f30 80%, transparent)",
      "toolbar_field": "{background.color.box.@base}",
      "toolbar_field_border": "{toolbar.field.border.color.@base}",
      "toolbar_field_border_focus": "{toolbar.field.border.color.focus}",
      "toolbar_field_focus": "{toolbar.field.background.color.focus}",
      "toolbar_field_text": "{toolbar.field.text.color.@base}",
      "toolbar_field_text_focus": "{toolbar.field.text.color.focus}",
      "toolbar_top_separator": "transparent",
      "toolbar_bottom_separator": "{color.gray.60}"
    },
    "images": {
      "additional_backgrounds": [
        { "linear-gradient": "color-mix(in srgb, #1d1f30 80%, transparent)" }
      ]
    }
  },

  "theme_experiment": {
    "stylesheet": "aiwindow-theme-nova.css",
    "properties": {
      "ai_background_color": "--ai-background-color",
      "tab_background_color_hover": "--tab-background-color-hover"
    }
  }
}
