{
    "key": "kitt-core",
    "name": "Kitt Core",
    "version": "1.0.0",
    "api": 1,
    "library": true,
    "bundled": true,
    "author": "Kitt Apps",
    "description": "The shared design system, layouts, cards and blocks every Kitt theme is built from.",
    "supports": [],
    "assets": { "css": ["assets/dist/theme.css"], "js": ["assets/dist/theme.js"] },
    "templates": {
        "home": { "label": "Home", "zones": ["main"] },
        "listing": { "label": "Listing", "zones": ["main"] },
        "genre": { "label": "Genre", "zones": ["main"] },
        "title": { "label": "Title page", "zones": ["main"] },
        "watch": { "label": "Episode page", "zones": ["main"] },
        "chapter": { "label": "Chapter reader", "zones": ["main"] },
        "person": { "label": "Person", "zones": ["main"] },
        "collection": { "label": "Collection", "zones": ["main"] },
        "collections": { "label": "Collections list", "zones": ["main"] },
        "people": { "label": "People list", "zones": ["main"] },
        "search": { "label": "Search", "zones": ["main"] },
        "page": { "label": "Static page", "zones": ["main"] },
        "error": { "label": "Not found", "zones": ["main"] },
        "embed": { "label": "Embed player", "zones": ["main"] }
    },
    "cards": [
        { "value": "auto", "label": "Theme default" },
        { "value": "poster", "label": "Poster" },
        { "value": "backdrop", "label": "Landscape" },
        { "value": "overlay", "label": "Title on image" },
        { "value": "ranked", "label": "Ranked" },
        { "value": "episode", "label": "Episode" },
        { "value": "compact", "label": "Compact row" },
        { "value": "manga", "label": "Manga (with chapters)" },
        { "value": "video", "label": "Video" },
        { "value": "video-row", "label": "Video row" }
    ],
    "settings": [
        { "key": "color_mode", "type": "select", "label": "Colour mode", "group": "Colours", "default": "light", "options": [
            { "value": "light", "label": "Light" }, { "value": "dark", "label": "Dark" }, { "value": "auto", "label": "Follow the device" }
        ] },
        { "key": "mode_switch", "type": "toggle", "label": "Let visitors switch light and dark", "group": "Colours", "default": true },
        { "key": "primary", "type": "color", "label": "Primary colour", "group": "Colours", "default": "#1a8cff" },
        { "key": "accent", "type": "color", "label": "Accent colour", "group": "Colours", "default": "#f59e0b", "hint": "Used for highlights such as badges and section icons." },

        { "key": "font", "type": "select", "label": "Font", "group": "Typography", "default": "inter", "options": [
            { "value": "inter", "label": "Inter" }, { "value": "plus-jakarta-sans", "label": "Plus Jakarta Sans" }, { "value": "manrope", "label": "Manrope" },
            { "value": "poppins", "label": "Poppins" }, { "value": "nunito", "label": "Nunito" }, { "value": "dm-sans", "label": "DM Sans" },
            { "value": "outfit", "label": "Outfit" }, { "value": "figtree", "label": "Figtree" }, { "value": "lexend", "label": "Lexend" },
            { "value": "cairo", "label": "Cairo (Arabic)" }, { "value": "tajawal", "label": "Tajawal (Arabic)" }, { "value": "almarai", "label": "Almarai (Arabic)" },
            { "value": "noto-sans-arabic", "label": "Noto Sans Arabic" }, { "value": "noto-naskh-arabic", "label": "Noto Naskh Arabic" }, { "value": "alexandria", "label": "Alexandria (Arabic)" },
            { "value": "system", "label": "System font (fastest)" }
        ] },
        { "key": "heading_font", "type": "select", "label": "Heading font", "group": "Typography", "default": "same", "options": [
            { "value": "same", "label": "Same as text" }, { "value": "inter", "label": "Inter" }, { "value": "plus-jakarta-sans", "label": "Plus Jakarta Sans" },
            { "value": "manrope", "label": "Manrope" }, { "value": "poppins", "label": "Poppins" }, { "value": "outfit", "label": "Outfit" },
            { "value": "lexend", "label": "Lexend" }, { "value": "dm-sans", "label": "DM Sans" }, { "value": "nunito", "label": "Nunito" },
            { "value": "cairo", "label": "Cairo (Arabic)" }, { "value": "tajawal", "label": "Tajawal (Arabic)" }, { "value": "almarai", "label": "Almarai (Arabic)" },
            { "value": "noto-sans-arabic", "label": "Noto Sans Arabic" }, { "value": "noto-naskh-arabic", "label": "Noto Naskh Arabic" }, { "value": "alexandria", "label": "Alexandria (Arabic)" }
        ] },
        { "key": "heading_weight", "type": "select", "label": "Heading weight", "group": "Typography", "default": "700", "options": [
            { "value": "600", "label": "Semibold" }, { "value": "700", "label": "Bold" }, { "value": "800", "label": "Extra bold" }
        ] },
        { "key": "base_size", "type": "range", "label": "Text size", "group": "Typography", "default": 16, "min": 14, "max": 18, "step": 1 },
        { "key": "font_host", "type": "select", "label": "Load fonts from", "group": "Typography", "default": "bunny", "options": [
            { "value": "bunny", "label": "Bunny Fonts (privacy-friendly)" }, { "value": "google", "label": "Google Fonts" }
        ] },

        { "key": "container", "type": "select", "label": "Page width", "group": "Layout", "default": "default", "options": [
            { "value": "narrow", "label": "Narrow (1200px)" }, { "value": "default", "label": "Default (1440px)" },
            { "value": "wide", "label": "Wide (1680px)" }, { "value": "full", "label": "Full width" }
        ] },
        { "key": "radius", "type": "select", "label": "Corner rounding", "group": "Layout", "default": "lg", "options": [
            { "value": "none", "label": "Square" }, { "value": "sm", "label": "Subtle" }, { "value": "md", "label": "Medium" },
            { "value": "lg", "label": "Rounded" }, { "value": "xl", "label": "Extra rounded" }
        ] },
        { "key": "button_shape", "type": "select", "label": "Buttons and chips", "group": "Layout", "default": "pill", "options": [
            { "value": "pill", "label": "Pill" }, { "value": "rounded", "label": "Rounded" }
        ] },
        { "key": "section_gap", "type": "select", "label": "Space between sections", "group": "Layout", "default": "normal", "options": [
            { "value": "compact", "label": "Compact" }, { "value": "normal", "label": "Normal" }, { "value": "relaxed", "label": "Relaxed" }
        ] },

        { "key": "header_style", "type": "select", "label": "Header", "group": "Header", "default": "sticky", "options": [
            { "value": "sticky", "label": "Sticky" }, { "value": "overlay", "label": "Transparent over full-width heroes" }, { "value": "solid", "label": "Scrolls with the page" }
        ] },
        { "key": "nav_style", "type": "select", "label": "Menu style", "group": "Header", "default": "pills", "options": [
            { "value": "pills", "label": "Pills" }, { "value": "underline", "label": "Underline" }, { "value": "plain", "label": "Plain" }
        ] },
        { "key": "logo_height", "type": "range", "label": "Logo height", "group": "Header", "default": 32, "min": 20, "max": 60, "step": 2 },
        { "key": "header_search", "type": "toggle", "label": "Search box", "group": "Header", "default": true },
        { "key": "header_watchlist", "type": "toggle", "label": "“My list” button", "group": "Header", "default": true },
        { "key": "search_placeholder", "type": "text", "label": "Search placeholder", "group": "Header", "default": "Search movies, shows, people…" },

        { "key": "card_style", "type": "select", "label": "Default card", "group": "Cards", "default": "poster", "hint": "Used by blocks set to “Theme default”.", "options": [
            { "value": "poster", "label": "Poster" }, { "value": "backdrop", "label": "Landscape" }, { "value": "overlay", "label": "Title on image" },
            { "value": "compact", "label": "Compact row" }, { "value": "manga", "label": "Manga (with chapters)" }, { "value": "video", "label": "Video" }
        ] },
        { "key": "card_rating", "type": "toggle", "label": "Show rating", "group": "Cards", "default": true },
        { "key": "card_year", "type": "toggle", "label": "Show year", "group": "Cards", "default": true },
        { "key": "card_genre", "type": "toggle", "label": "Show genre", "group": "Cards", "default": true },
        { "key": "card_quality", "type": "toggle", "label": "Show quality badge", "group": "Cards", "default": true },
        { "key": "quality_fallback", "type": "text", "label": "Badge when quality is unknown", "group": "Cards", "default": "HD", "hint": "Leave empty to show nothing." },
        { "key": "card_latest", "type": "toggle", "label": "Show latest episode or chapter", "group": "Cards", "default": true },
        { "key": "card_hover", "type": "select", "label": "Hover effect", "group": "Cards", "default": "zoom", "options": [
            { "value": "zoom", "label": "Zoom image" }, { "value": "lift", "label": "Lift" }, { "value": "brighten", "label": "Brighten" }, { "value": "none", "label": "None" }
        ] },
        { "key": "card_radius", "type": "select", "label": "Image corners", "group": "Cards", "default": "md", "options": [
            { "value": "none", "label": "Square" }, { "value": "sm", "label": "Subtle" }, { "value": "md", "label": "Medium" }, { "value": "lg", "label": "Rounded" }, { "value": "xl", "label": "Extra rounded" }
        ] },
        { "key": "card_title_lines", "type": "select", "label": "Title lines", "group": "Cards", "default": "1", "options": [
            { "value": "1", "label": "One line" }, { "value": "2", "label": "Up to two lines" }
        ] },

        { "key": "footer_layout", "type": "select", "label": "Layout", "group": "Footer", "default": "columns", "options": [
            { "value": "columns", "label": "Columns" }, { "value": "compact", "label": "Compact" }
        ] },
        { "key": "footer_columns", "type": "range", "label": "Link columns", "group": "Footer", "default": 4, "min": 1, "max": 4, "step": 1, "when": { "footer_layout": ["columns"] } },
        { "key": "footer_types", "type": "toggle", "label": "List content types", "group": "Footer", "default": true },
        { "key": "footer_genres", "type": "toggle", "label": "List top genres", "group": "Footer", "default": true, "when": { "footer_layout": ["columns"] } },
        { "key": "footer_years", "type": "toggle", "label": "List recent years", "group": "Footer", "default": true, "when": { "footer_layout": ["columns"] } },
        { "key": "footer_pages", "type": "toggle", "label": "List site pages", "group": "Footer", "default": true },
        { "key": "footer_social", "type": "toggle", "label": "Social links", "group": "Footer", "default": true },
        { "key": "back_to_top", "type": "toggle", "label": "“Back to top” button", "group": "Footer", "default": true }
    ],
    "presets": {
        "home": { "zones": { "main": [
            { "block": "hero-slider", "settings": { "sort": "popular", "limit": 5 } },
            { "block": "genre-chips", "settings": {} },
            { "block": "title-row", "settings": { "title": "Trending this week", "icon": "flame-filled", "icon_tone": "orange", "sort": "popular", "card": "backdrop", "columns": 6, "columns_tablet": 3, "columns_mobile": 1 } },
            { "block": "title-row", "settings": { "title": "Latest additions", "icon": "sparkles", "icon_tone": "sky", "sort": "latest" } },
            { "block": "title-row", "settings": { "title": "Top rated", "icon": "star-filled", "icon_tone": "amber", "sort": "rating" } }
        ] } },
        "listing": { "zones": { "main": [ { "block": "listing-grid", "settings": {} } ] } },
        "genre": { "zones": { "main": [
            { "block": "genre-chips", "settings": { "all_label": "" } },
            { "block": "listing-grid", "settings": { "show_genre_filter": false } }
        ] } },
        "title": { "zones": { "main": [
            { "block": "title-hero", "settings": {} },
            { "block": "title-player", "settings": {} },
            { "block": "seasons-episodes", "settings": {} },
            { "block": "chapter-list", "settings": {} },
            { "block": "title-info", "settings": {} },
            { "block": "related-row", "settings": {} }
        ] } },
        "watch": { "zones": { "main": [
            { "block": "title-player", "settings": {} },
            { "block": "episode-nav", "settings": {} },
            { "block": "related-row", "settings": { "title": "You may also like" } }
        ] } },
        "chapter": { "zones": { "main": [ { "block": "chapter-reader", "settings": {} } ] } },
        "person": { "zones": { "main": [ { "block": "person-profile", "settings": {} } ] } },
        "collection": { "zones": { "main": [ { "block": "collection-grid", "settings": {} } ] } },
        "collections": { "zones": { "main": [ { "block": "collections-grid", "settings": {} } ] } },
        "people": { "zones": { "main": [ { "block": "people-grid", "settings": {} } ] } },
        "search": { "zones": { "main": [ { "block": "search-results", "settings": {} } ] } },
        "page": { "zones": { "main": [ { "block": "page-content", "settings": {} } ] } },
        "error": { "zones": { "main": [ { "block": "not-found", "settings": {} } ] } },
        "embed": { "zones": { "main": [ { "block": "embed-player", "settings": {} } ] } }
    }
}
