serverbox-theme
Skill này làm gì
Skill này tạo một gói chủ đề cho app ServerBox, gồm màu sắc, kiểu dáng, icon và hình nền. Nó dành cho người dùng muốn app quản lý máy chủ khớp với thương hiệu hoặc sở thích của họ.
Khi nào nên dùng
- ✓Khi bạn muốn app ServerBox dùng một bảng màu khớp với thương hiệu của bạn.
- ✓Khi bạn muốn chuyển một bảng màu có sẵn hoặc tạo giao diện riêng cho app.
- ✓Khi bạn muốn một bộ icon tùy chỉnh hoạt động với mọi chủ đề.
Liên kết skill
https://github.com/lollipopkit/flutter_server_box/blob/main/.claude/skills/serverbox-theme/SKILL.mdSao 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
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tạo một chủ đề ServerBox màu xanh đậm với màu thương hiệu của công ty tôi, rồi đóng gói để tôi cài đặt.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill biến mô tả hoặc màu thương hiệu của bạn thành một thư mục chủ đề có file cài đặt, kiểm tra xem có lỗi không, rồi đóng gói thành một file có thể chia sẻ.
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.
ServerBox themes
A ServerBox theme is a folder that becomes a .fsbt file (a ZIP) when shared:
my-theme/
manifest.toml required
icons/tab_server.svg optional, one file per icon key
background.png optional (.jpg/.jpeg)
splash_logo.svg optional (.png/.jpg/.jpeg)
A theme changes the app's colors (the Material 3 ColorScheme, per light and dark), component styles (cards, tiles, buttons, inputs, search fields, the top bar, navigation, the side bar, segmented tabs, menus, dialogs, sheets, toasts, switches, sliders, progress, badges, chips, dividers, scrollbars), control density, corner radii, in-app icons, a background, and a launch splash. It does not change fonts, the launcher icon, or terminal/editor colors — say so if the request asks for those, rather than inventing fields: the installer rejects unknown tables and fields.
An icon pack is the same kind of folder with kind = "icons" and only
[icons] (images, colors): icons the user picks apart from the theme, drawn
over whichever theme is in use — such as Files-window file.<ext> logos. Make
one when the request is about icons alone and should work with any theme; it
needs [schema] min = 4. See "Icon packs" in references/manifest.md.
The format is strict on purpose: every field is checked, and a misspelled table is an error, not a no-op. So write the manifest from the reference, validate it with the script, and only then pack it.
Workflow
1. Settle the basics
Ask only for what cannot be decided from the request; propose defaults for the rest and say what they were.
- Name and id. The id is stable and lowercase
(
^[a-z0-9][a-z0-9._-]{0,63}$); a reverse-DNS style such asyourname.nordavoids clashing with other people's themes. - Modes:
["dark"],["light"], or both. A single mode locks the app to it while the theme is selected, so a theme that only makes sense dark should say["dark"]. Both modes means two palettes to get right. - Where the colors come from: a mood or a single brand color (use
seed, optionally a few overrides), or an existing scheme to port (write full palettes — see step 3). - Extras: icons, background, splash. Each is optional and adds files and checks; don't add them unless asked.
2. Start from the template
Copy assets/manifest.template.toml into a new folder as manifest.toml and
fill it in. Its first line is a schema directive, so editors with Taplo/Even
Better TOML/Tombi report mistakes as you type. For every field, its range and
default, read references/manifest.md.
Schema range: [schema] min = 1, max = 4 unless the theme uses an SVG icon,
[icons.colors], or [splash]. These schema 2 features require min = 2, or
an older app may install the theme but silently drop them. Schema 3 features
require min = 3: components beyond card, tile, button, input, navigation,
dialog, and sheet; button minHeight; background.tile; [layout]; or
[variants]. Packages with more than 48 icons and all icon packs require schema 4 and
min = 4.
3. Colors
Colors are ARGB integers written as hex: 0xFF1E1E2E (the FF is opacity).
Palette values can also be named anywhere a component or icon color is
expected (backgroundColor = "surfaceContainer").
- Seed only:
[colors] seed = 0xFF…generates every role. Quick and always legible; the result is Material's interpretation of the color, not the color. - Porting a scheme (Nord, Dracula, Catppuccin, a VS Code or terminal
theme, a brand palette): set the roles in
[colors.palette.dark]/.lightexplicitly, so the app looks like the source. Readreferences/porting.mdfor which source color goes to which role, how to derive the surface ladder and containers, and how to handle a source with only one mode. For a VS Code theme JSON,scripts/port_vscode.pydrafts the palette block. - Set
surfaceTint = 0x00000000in a ported palette: Material otherwise tints elevated surfaces withprimary, which shifts carefully chosen surfaces. - Keep text legible: the validator reports contrast for the text pairs a
palette sets and warns under 4.5:1 (3:1 for outline). Fix warnings by moving
the foreground's lightness, not by giving up the source's hue. Upstream
themes often have muted comment/description colors under 4.5:1; lighten
(dark) or darken (light) them for
onSurfaceVariant.
4. Optional parts
Only when asked; details in `references
Câu hỏi thường gặp
Chủ đề có thay đổi phông chữ không?
Không. Chủ đề không thay đổi phông chữ, icon khởi động hay màu của terminal.
Icon pack là gì?
Đó là một bộ icon bạn có thể chọn riêng, hoạt động với bất kỳ chủ đề nào bạn đang dùng.
Chủ đề được chia sẻ như thế nào?
Nó được đóng gói thành một file duy nhất có phần mở rộng .fsbt, có thể chia sẻ.
Chi tiết
Mô tả gốc của tác giả
Make a ServerBox app theme — a `.fsbt` package (a folder with `manifest.toml`, optional icons, background and splash) — or an icon pack (icons only, chosen apart from the theme) from a description, a brand color or an existing color scheme, then validate it, pack it and share it. Use this whenever someone wants to create, port, tweak, fix, validate or publish a theme for ServerBox, including requests that never say ".fsbt" or "manifest", such as "make ServerBox look like Nord", "port my VS Code theme to the app", "a dark purple theme for server box", "why does my theme fail to install", "add c
Độ phổ biến
- Sao GitHub
- 8.9k
- Vị trí xếp hạng
- #12322
- Giấy phép
- AGPL-3.0
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
Skill tương tự
canvas
394kCho phép agent của bạn hiện một widget trực quan được lưu trữ trên bảng Mac đã kết nối, rồi ẩn bảng hoặc chuyển nó sang trang khác.
control-ui
394kGiúp agent của bạn sắp xếp và khắc phục sự cố Control UI của OpenClaw, gồm các phiên, bảng điều khiển và Gateway đã kết nối.
diagram-maker
394kGiúp agent của bạn vẽ sơ đồ rõ ràng dạng SVG, HTML hoặc Excalidraw có thể sửa, cho quy trình, kiến trúc hệ thống và bản phác bảng trắng.