theme-authoring
Skill2.8k starsChanged 6 months agoMITView on GitHub
Add a new color theme to the Ontology Playground. Use when someone wants to create, author, or plug in a theme, palette, color scheme, dark mode, or light mode, or add an entry to the theme picker. Covers the appStore registration plus the CSS token block.
Trending
Quiet since August.thin dataabout the whole repository
Who's talking about microsoft/Ontology-Playground
- @github-trending.bsky.social“🚀 Skyrocketing! 🚀 (200+ new stars) 📦 microsoft / Ontology-Playground ⭐ 1,537 (+487) 🗒 TypeScript Free, …”Bluesky · Jul 20, 2026 · 6 likes
- @yug1224.com“ブラウザ上でオントロジーの構造を視覚的に設計して確認できるツールらしい データモデルの学習やFabric連携の準備にすごく使えそう yug1224 starred …”Bluesky · Jul 27, 2026 · 3 likes
- @github-trending-js.bsky.social“🚀 Skyrocketing! 🚀 (200+ new stars) 📦 microsoft / Ontology-Playground ⭐ 1,537 (+487) 🗒 TypeScript Free, …”Bluesky · Jul 20, 2026 · 2 likes
- @yug1224.com“ブラウザ上でオントロジー構造を視覚的に設計したり学習したりできるツールっぽい データ構造やナレッジグラフの整理に試したい yug1224 starred microsoft/Ontology-Playground…”Bluesky · Jul 27, 2026 · 1 likes
- @rahulpandit.us“github.com/microsoft/On... A free, open-source web application for learning about ontologies and Microsoft …”Bluesky · Jul 25, 2026 · 1 likes
The biggest 5 of 9 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 9
Talked about on Bluesky and GitHub (9 times).
On Bluesky · 6
- Jul 20, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 microsoft / Ontology-Playground ⭐ 1,537 (+487) 🗒 TypeScript Free, open-source web app for learning… — @github-trending.bsky.social6 likes and reposts · 1 reply
- Jul 27, 2026ブラウザ上でオントロジーの構造を視覚的に設計して確認できるツールらしい データモデルの学習やFabric連携の準備にすごく使えそう yug1224 starred microsoft/Ontology-Playground… — @yug1224.com3 likes and reposts
- Jul 20, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 microsoft / Ontology-Playground ⭐ 1,537 (+487) 🗒 TypeScript Free, open-source web app for learning… — @github-trending-js.bsky.social2 likes and reposts · 1 reply
- Jul 27, 2026ブラウザ上でオントロジー構造を視覚的に設計したり学習したりできるツールっぽい データ構造やナレッジグラフの整理に試したい yug1224 starred microsoft/Ontology-Playground… — @yug1224.com1 likes and repost
- Jul 25, 2026github.com/microsoft/On... A free, open-source web application for learning about ontologies and Microsoft Fabric IQ. Explore pre-built… — @rahulpandit.us1 likes and repost
1 more on Bluesky
- Jul 22, 2026github.com/microsoft/On... — @lolkain.bsky.social1 likes and repost
On GitHub · 3
- Aug 3, 2026aug 2026 — kimtth/azure-openai-llm-notes0 reactions
- Jul 3, 2026 feat(solutions): Ontology Playground (Korean) 솔루션 + 라이브 데모 추가 — microsoft/azure-solution-hub0 reactions
- Mar 8, 2026microsoft/Ontology-Playground — kinlane/bookmarks0 reactions
In this repository5 other files it gives its agents.
- AGENTS.mdAGENTS.md
- community-ontology-contributionSkill
- name-generatorSkill
- ontology-catalog-importSkill
- ontology-school-path-generatorSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 0 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 35
Add the id to the ThemeId union.
- Very specific: line 36
Add a THEME_OPTIONS entry: { id, label, swatch } (swatch = accent hex).
- Very specific: line 37
If dark-based, add the id to DARK_BASED_THEMES.
- Very specific: line 38
Add a themeClass() case:
- Very specific: line 41
Add a .theme-<id> block in app.css by copying .theme-aurora (dark) or .theme-crimson (light) and retuning the tokens.
- Very specific: line 72
If any example data, docs, or sample instances need person names, use the name-generator skill — do not invent names.
- Very specific: line 84
If npm run build only changed public/learn.json (a timestamp), revert it: git checkout -- public/learn.json.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Theme Authoring Skill
Goal
Plug a new color theme into the Playground so it appears in the header theme picker, is remembered across sessions, and themes every surface (main graph, designer preview, learn pages) — with no component or graph-rendering edits.
Read First
docs/theme-authoring-guide.md— full architecture, token table, gotchas, worked example.src/store/appStore.ts—ThemeId,THEME_OPTIONS,DARK_BASED_THEMES,isDarkTheme,themeClass.src/styles/app.css— the:root/.light-theme/.theme-aurora/.theme-crimsontoken blocks (copy the nearest one).
Intake Questions
Ask the user:
- Theme id (lowercase, e.g.
indigo) and display label (e.g.Indigo)? - Dark-based or light-based? (Determines
DARK_BASED_THEMESmembership and which block to copy.) - Accent / signature color (used for the picker swatch and
--ms-blue*/--info)? - Any specific surface, text, or graph colors, or should they be derived from the accent?
Procedure
Make all edits in src/store/appStore.ts and
src/styles/app.css. The guide's
"Add a theme in six steps" section has copy-paste snippets.
- Add the id to the
ThemeIdunion. - Add a
THEME_OPTIONSentry:{ id, label, swatch }(swatch = accent hex). - If dark-based, add the id to
DARK_BASED_THEMES. If light-based, leave it out. - Add a
themeClass()case:- dark-based →
return 'theme-<id>'; - light-based →
return 'light-theme theme-<id>';(layer over the light base).
- dark-based →
- Add a
.theme-<id>block inapp.cssby copying.theme-aurora(dark) or.theme-crimson(light) and retuning the tokens. - Verify (see below).
Critical Rules
- Opaque canvas base for light themes.
--chess-square-lightis the graph canvas's solid backdrop. The theme class sits on.app-container, not<body>, and<body>stays dark (#1B1B1B). A translucent--chess-square-lightlets the dark body bleed through → dark canvas + unreadable labels. Use an opaque light color (e.g.#FBF7F8), notrgba(..., 0.03). (Guide → Gotcha 1.) - Graph colors are CSS-driven. Define
--graph-bg,--graph-node-text,--graph-edge-color,--graph-edge-text,--graph-edge-label-bgin the block; the graph and designer read them at runtime. No.tsxedits. - Meet WCAG 2.1 AA contrast. Text and labels need 4.5:1; graph edge lines and
other non-text need 3:1. Set
--on-accent(label color on accent fills) to a dark value for a light accent (white fails on Aurora's mint) and white for a dark accent. Edge text must clear 4.5:1 against--graph-edge-label-bg. Stat-tile icons/values (--stat-blue/green/purple) need 3:1 over the tint and cascade automatically (bright from:root, dark from.light-theme). Amber text/icons use--ms-yellow-fg(bright#FFB900on dark, dark gold#8A6A00on light); the.progress-fillstops--progress-from/--progress-toeach need 3:1 on the--bg-tertiarytrack.npm run test:a11yenforces this for every theme. (Guide → Accessibility.) - Register dark themes in
DARK_BASED_THEMESsodarkModeis correct (graph fallback, label backplate, PNG export bg). - Don't introduce brand names in ids, labels, comments, or commits. Use generic palette names (e.g. Aurora, Crimson, Indigo, Sand).
Person Names
If any example data, docs, or sample instances need person names, use the
name-generator skill — do not invent names.
Validate
npm run dev # switch to the theme in the header; check graph, designer, learn pages
npm run test:a11y # WCAG 2.1 AA contrast for every theme (also a CI gate)
npx tsc --noEmit # the ThemeId union change is type-checked here
npm run build # full buildIf npm run build only changed public/learn.json (a timestamp), revert it:
git checkout -- public/learn.json.
Done Criteria
- New swatch + label appear in the picker; selection check mark tracks state.
- Theme persists across reload (
localStorage['theme']). - Main graph, designer preview, and learn pages are legible in the new theme; the graph canvas backdrop matches the theme (Gotcha 1 satisfied).
- Dark, Light, Aurora, Crimson unchanged.
npm run test:a11ypasses (WCAG 2.1 AA contrast for the new theme).tsc --noEmitandnpm run buildpass; no brand references introduced.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

