theme

Featured

Make, change or remove a custom look for the Wenlan app: colors, fonts, corner roundness, a background image and a corner sticker. The AI tool designs the theme; Wenlan checks it and applies it. Use for "make Wenlan purple", "換個主題", "做一個可愛的主題", "go back to the normal look". Invoked as `/wenlan theme [what the user wants]`.

AI & Automation 498 stars 8 forks Updated today Apache-2.0

Install

View on GitHub

Quality Score: 97/100

Stars 20%
90
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# /wenlan theme You design the theme; Wenlan checks it and applies it. Be creative with the user's idea, but every value must pass Wenlan's checks, and nothing is applied until it does. ## 1. Find the folder Call `theme(action="list")`. It returns `themes_dir`, the themes already there, and which one is in use. To change an existing theme, read its `theme.json` first and edit it in place. ## 2. Write the theme Pick an id: lowercase letters, digits and dashes, such as `night-bunny`. Write `<themes_dir>/<id>/theme.json`: ```json { "schema": 1, "name": "Night Bunny", "base": "dark", "author": "<this AI tool's name>", "colors": { "background": "#15101E", "surface": "#1F1729", "sidebar": "#120D1A", "text": "#F3ECF8", "textSecondary": "#CDBFD9", "textTertiary": "#9C8CAD", "border": "#352841", "accent": "#F29AC9", "textOnAccent": "#1A0F1F", "accentWarm": "#B99AE6", "link": "#E7A6D2" }, "fonts": { "heading": "Fraunces", "body": "Instrument Sans" }, "radius": 1.4, "images": { "background": { "file": "stars.png", "placement": "sidebar", "opacity": 0.35 }, "sticker": { "file": "bunny.png", "corner": "bottom-right", "size": 88 } } } ``` Rules the checks enforce: - `base` is `dark` or `light`. Every color you leave out keeps that base's built-in value, so a theme can set only two or three colors. - Colors are `#RRGGBB` only. Color slots: `background`, `surface`, `card`, `sidebar`, `text`, `textSecondary`, ...

Details

Author
wenlan-app
Repository
wenlan-app/wenlan
Created
7 months ago
Last Updated
today
Language
Rust
License
Apache-2.0

Similar Skills

Semantically similar based on skill content — not just same category