本文へスキップ
Skillpedia
インターフェース(UI/UX)8.9k · #12322

serverbox-theme

できること

このスキルは、ServerBoxアプリ用のテーマパッケージを作ります。色、スタイル、アイコン、背景を含みます。サーバーアプリを自分のブランドや好みに合わせたい人向けです。

使う場面

  • ✓ServerBoxアプリに、ブランドに合う配色を使わせたいとき。
  • ✓既存の配色を移植したり、アプリ用に独自の見た目を作ったりしたいとき。
  • ✓どのテーマとも組み合わせられる、カスタムアイコンのセットが欲しいとき。

スキルのリンク

https://github.com/lollipopkit/flutter_server_box/blob/main/.claude/skills/serverbox-theme/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/lollipopkit/flutter_server_box/blob/main/.claude/skills/serverbox-theme/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“ダークブルーと会社のブランドカラーでServerBoxのテーマを作り、インストールできるようにパッケージしてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは、説明やブランドカラーを、設定ファイル付きのテーマフォルダに変換します。エラーがないか確認し、共有できる一つのファイルにまとめます。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

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 as yourname.nord avoids 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] / .light explicitly, so the app looks like the source. Read references/porting.md for 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.py drafts the palette block.
  • Set surfaceTint = 0x00000000 in a ported palette: Material otherwise tints elevated surfaces with primary, 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

よくある質問

テーマでフォントは変わりますか?

いいえ。テーマでは、フォント、ランチャーのアイコン、ターミナルの色は変わりません。

アイコンパックとは何ですか?

個別に選べるアイコンのセットです。どのテーマと組み合わせても使えます。

テーマはどのように共有しますか?

.fsbtの拡張子を持つ一つのファイルにまとめられ、共有できます。

詳細

作者による元の説明

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

repo: lollipopkit/flutter_server_box

人気

GitHubのスター
8.9k
ランキング
#12322
ライセンス
AGPL-3.0
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル