Chuyển đến nội dung
Skillpedia
Giao diện (UI/UX)28k · #9944

wox-theme-creator

Skill này làm gì

Skill này tạo hoặc chỉnh sửa file giao diện JSON cho trình khởi chạy Wox. Skill dành cho người muốn tùy chỉnh cách Wox hiển thị hoặc chia sẻ một giao diện mà họ đã làm.

Khi nào nên dùng

  • ✓Khi bạn muốn thiết kế một bảng màu mới cho trình khởi chạy Wox.
  • ✓Khi bạn muốn chuyển một giao diện Wox hiện có và giữ nguyên diện mạo của nó.
  • ✓Khi bạn cần điều chỉnh độ trong suốt hoặc cài đặt riêng cho từng nền tảng trong giao diện.

Liên kết skill

https://github.com/Wox-launcher/Wox/blob/master/.agents/skills/wox-theme-creator/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/Wox-launcher/Wox/blob/master/.agents/skills/wox-theme-creator/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Thiết kế một giao diện Wox tối với tông xanh dương nhẹ, dễ đọc.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent của bạn chọn một bảng màu nhất quán, kiểm tra chữ và các trạng thái có dễ đọc không, rồi viết một file giao diện hợp lệ để bạn thử cục bộ.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Wox Theme Creator

Create a deliberately designed theme with a coherent palette, readable states, and a valid authored JSON document. Prefer schema v2 for new themes. Preserve the requested output location and existing theme identity when editing; generate a fresh UUID for a new theme.

Embedded theme editor

When invoked by Wox's theme editor, work on the supplied current draft and editable property list. These are the authoritative available fields. Apply the design guidance below; return only the requested JSON patch of changed properties, preserving unrelated values and theme identity. Do not require repository access, filesystem tools, or a new theme file. The editor validates the patch and handles preview, undo, and saving. A normal AI Chat or repository authoring session continues to use the document workflow below.

Source of truth

Paths below are relative to the Wox repository root. Read the current implementation before choosing fields; do not invent theme tokens or copy resolved runtime values into a new theme.

  • wox.core/common/theme_schema_v2.go: complete v2 document, accepted fields, color/geometry defaults, validation, and platform resolution.
  • wox.core/resource/themes/: built-in themes as working examples.
  • wox.core/common/theme_surfaces.go and theme_package.go: image surface declarations, resource validation, and package parsing.
  • wox.core/common/theme_schema_v1.go: legacy wire format and behavior, needed when converting an old theme.
  • wox.core/common/theme_runtime.go and theme.go: independent runtime representation, schema dispatch, and Wox version checks. These are not the authored JSON schema.

Each schema owns its complete document and parser. Missing SchemaVersion or historical zero means v1. Loading must not rewrite old files. Changing v2 default semantics would change sparse themes; a new format belongs in a separately registered schema, not a retrofit of v1 or v2.

Image-backed themes

Wox 2.4.4 adds optional image surfaces to schema 2. Existing v1/v2 JSON files, color defaults, window materials, and Action Panel placement are unchanged. Use MinWoxVersion: "2.4.4" when publishing a theme using these fields.

Package layout

A .wox-theme file is a ZIP archive with theme.json at its root, not inside an enclosing folder:

ming.wox-theme
  theme.json
  assets/lacquer.png
  assets/palace-frame.png
  assets/crest.png

Open the package with Wox, or select the file and invoke Wox's selection query. The installer shows its name and an Install action. Installation validates all entries before replacing <theme-directory>/<ThemeId>/; failed staging leaves the previous package intact. Plain <ThemeId>.json themes remain supported. Resource-backed themes are excluded from Cloud Sync. Theme editor color changes and Save As retain the image declarations and assets.

The package accepts PNG and JPEG images. Paths are case-sensitive, slash-separated, relative to the package root. Absolute paths, traversal, symlinks, Windows device names, and case-colliding archive entries are rejected. Limits are 128 archive entries, 32 MiB uncompressed data, and 16 megapixels across all images. Nine-slice source cuts must leave a nonempty center. Assets for inactive platforms must also be included. No network image URLs or executable theme code are supported.

Example theme.json

{
  "SchemaVersion": 2,
  "MinWoxVersion": "2.4.5",
  "ThemeId": "6cf090bd-ef04-44e9-aa61-cbe0e1dc2275",
  "ThemeName": "明",
  "BaseBackgroundColor": "#721D16",
  "BaseTextColor": "#FFF0CA",
  "BaseAccentColor": "#F4C453",
  "AppBackgroundColor": "transparent",
  "OverlayBackgroundColor": "#721D16",
  "OverlayFontColor": "#FFF0CA",
  "Surfaces": {
    "App": {
      "ContentInsets": {"Top": 110, "Right": 48, "Bottom": 32, "Left": 48},
      "Background": {
        "Source": "assets/lacquer.png",
        "Mode": "tile",
        "Size": {"Width": 128, "Height": 128}
      },
      "Frame": {
        "Source": "assets/palace-frame.png",
        "Mode": "nineSlice",
        "Slice": {"Top": 160, "Right": 96, "Bottom": 96, "Left": 96},
        "Insets": {"Top": 80, "Right": 48, "Bottom": 48, "Left": 48}
      },
      "Decorations": [{
        "Source": "assets/crest.png",
        "Anchor": "topCenter",
        "Offset": {"X": 0, "Y": 0},
        "Size": {"Width": 120, "Height": 110}
      }]
    },
    "ActionContainer": {
      "Background": {"Source": "assets/lacquer.png", "Mode": "t
Câu hỏi thường gặp

Giao diện có định dạng gì?

Giao diện là file JSON theo chuẩn của Wox, và skill khuyến nghị phiên bản mới hơn cho giao diện mới.

Tôi có thể chỉnh sửa một giao diện hiện có không?

Có. Khi chỉnh sửa, skill giữ nguyên danh tính của giao diện, còn với giao diện mới thì nó tạo một ID mới.

Tôi có thể thử giao diện không?

Có. Skill hướng dẫn gỡ lỗi cục bộ để bạn xem giao diện hiển thị thế nào trong Wox.

Chi tiết

Mô tả gốc của tác giả

Design, create, and refine Wox theme JSON files, including schema v2 base colors, optional styles, transparency, platform overrides, and local debugging. Use for authoring themes or converting an existing theme while preserving its appearance.

repo: Wox-launcher/Wox

Độ phổ biến

Sao GitHub
28k
Vị trí xếp hạng
#9944
Giấy phép
GPL-3.0
Cập nhật
1/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự