Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

theme-design

БесплатноБез исполняемых скриптовНе проверен

Figma-to-Odoo design workflow and complete page template reference. Covers Figma extraction pipeline (colors, typography, layout), Chrome MCP automation…

ahmed-lakoshaот ahmed-lakosha★ 79 звёзд на GitHub

Об этом скилле

Figma-to-Odoo Design Workflow

Design Workflow Methodology

1. ANALYZE DESIGN → Extract colors, fonts, layout, components
2. COMPARE TO ODOO TEMPLATES → Match header, footer, page layouts
3. CHOOSE CLOSEST TEMPLATE → Select best matching built-in template
4. CONFIGURE VIA VARIABLES → Set $o-website-values-palettes
5. ENHANCE WITH CUSTOM CSS → Only what templates can't provide
6. CREATE CUSTOM SNIPPETS → Components not available in Odoo

Figma Extraction Pipeline

Using Figma MCP

1. Use Figma MCP with prompt:
   "Convert this Figma design to HTML for Odoo <version> website theme.
   Use Bootstrap v5.1.3 classes (not Tailwind).
   Apply proper Odoo theme structure with sections and containers."

2. Extract Color Palette:
   "Extract the color palette and map to o-color-1 through o-color-5."

3. Extract Typography:
   "Convert text styling to Bootstrap typography classes."

Using Chrome MCP (Browser Automation)

  1. Navigate to Figma URL → Open Pages (not components!)
  2. Click on page elements to extract:
    • Header/navbar → primary color
    • CTA buttons → secondary color
    • Section backgrounds → o-color-3
    • Body text → text color, font family
    • Headings (H1-H6) → heading fonts, sizes

Pages to check: Homepage, About/Services, Contact, Footer area

Color Mapping

Design Element Maps To
Primary brand color (buttons, links) o-color-1
Accent/CTA color o-color-2
Light section backgrounds o-color-3
Main content background o-color-4
Dark text / headings o-color-5

Header Templates (11 Primary + Variants)

XML ID Name Best For
website.template_header_default Default Most websites
website.template_header_hamburger Hamburger Minimal designs
website.template_header_stretch Stretch Wide layouts
website.template_header_vertical Vertical App-like sites
website.template_header_search Search E-commerce, directories
website.template_header_sales_one Sales 1 Online stores
website.template_header_sales_two Sales 2 Large catalogs
website.template_header_sales_three Sales 3 Product-focused
website.template_header_sales_four Sales 4 Fashion, retail
website.template_header_sidebar Sidebar Dashboard sites
website.template_header_boxed Boxed Modern brands

Header Alignment Variants

  • ..._align_center / ..._align_right — Desktop alignment
  • ..._mobile_align_center / ..._mobile_align_right — Mobile alignment

Header Visibility (mutually exclusive)

XML ID Effect
website.header_visibility_standard Scrolls with page
website.header_visibility_fixed Sticks to top
website.header_visibility_disappears Hides on scroll down
website.header_visibility_fade_out Fades out

Header Components (combinable)

XML ID Component Default
website.option_header_brand_logo Logo image Active
website.option_header_brand_name Text name Inactive
website.header_call_to_action CTA button Active
website.header_search_box Search bar Active
website.header_social_links Social icons Inactive

Header Decision Flowchart

Is navigation hidden? → YES → template_header_hamburger
                       → NO → Vertical sidebar? → YES → Full page? → sidebar / vertical
                                                 → NO → E-commerce? → YES → Categories? → sales_two / sales_one
                                                                    → NO → Search prominent? → template_header_search
                                                                                             → Boxed? → boxed / stretch / default

Footer Templates (9 Options)

XML ID Name Best For
website.footer_custom Default General use
website.template_footer_descriptive Descriptive Corporate sites
website.template_footer_centered Centered Landing pages
website.template_footer_links Links Large sites
website.template_footer_minimalist Minimalist Clean designs
website.template_footer_contact Contact Service businesses
website.template_footer_call_to_action CTA Marketing sites
website.template_footer_headline Headline Brand statements
website.template_footer_slideout Slideout Modern/trendy

Footer Decision Flowchart

Minimal (just copyright)? → YES → template_footer_minimalist
                          → NO → Center-aligned? → template_footer_centered
                                 Newsletter/CTA? → template_footer_call_to_action
                                 Contact info? → template_footer_contact
                                 Primarily links? → template_footer_links
Полный SKILL.md на GitHub

Установить theme-design в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Grep
Glob
WebFetch

FAQ

Что делает скилл theme-design?

Figma-to-Odoo design workflow and complete page template reference. Covers Figma extraction pipeline (colors, typography, layout), Chrome MCP automation, design-to-template matching methodology, header/footer decision flowcharts, and dynamic page reference (11 headers, 9 footers, shop, blog, cart templates with XML IDs). <example> Context: User wants to implement a Figma design user: "Implement this Figma design as an Odoo 17 theme" assistant: "I will analyze the Figma design and match it to Odoo templates." <commentary>Design-to-code workflow.</commentary> </example> <example> Context: User asks which header template to use user: "Which Odoo header template matches a hamburger menu design?" assistant: "Use template_header_hamburger." <commentary>Template matching query.</commentary> </example> <example> Context: User wants to know footer options user: "What footer templates are available in Odoo?" assistant: "There are 9 footer templates ranging from default to slideout." <commentary>Footer template reference.</commentary> </example>

Как установить скилл theme-design?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл theme-design запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить theme-design с