ShtukbaseStandard

Shtukbase icons

shtukbase-icons · 版本 0.1.1
其他1 条规范1 项检查

The Shtukbase icon set: 131 flat drawings (the package icons of the package map and common interface icons) with one registry of what each means, style 79 (sticker, soft coloured outline) as the base IconStyle with its half-sticker variant and nine reserves, a build that renders the set into the shared set folder and as Iconify JSON, rules for agents to reuse before drawing, and a check that a drawing keeps the style.

关于该包

这段内容尚未翻译,下面是英文原文。

The icon set of Shtukbase. It follows the convention icon set of the icons package: flat drawings, one registry, the SVG contract, no plate; the icons package gives the fields, the tiers, the checks, the renderer and the icon lens.

What it puts in the project:

  • /design/shtukbase-icons/flat/<name>.svg — the flat drawings: 99 drawings of the package map of the Standard (taken as drawn: groups dissolved, app tiles dropped, colours snapped to the palette; ten drawings the map used twice are one icon each) and 29 common interface icons drawn for the set (search, settings, plus, x, check, …).
  • /design/shtukbase-icons/registry.json — the registry: a record per icon (name, file, description, use, avoid, aliases, group, added). Names follow Lucide where Lucide has the concept (bot, briefcase, list-checks, square-terminal), else a domain name (collection, lens, contour); Iconify prefix sb.
  • /design/shtukbase-icons/styles/ — the icon styles as IconStyle pages: 79 "sticker, soft coloured outline" (role: base: outline 1.75 in the dark step of the detail's hue, white rim 5, soft shadow), 79h the half sticker for cards (rim 4.5, a weaker shadow), and the reserves the owner chose: 65, 65h, 66, 66h, 71, 73, 76, 81, 82. The parameters are the style table of the package-map mock.
  • /design/shtukbase-icons/iconify.json — the set in style 79 as an Iconify icon set (sb:<name>).
  • /design/shtukbase-icons/shtukbase-icons.md — the set for people: sizes, styles, groups, how to use it.
  • /design/shtukbase-icons/agents.md — the rules for agents: reuse before drawing, how to draw a new icon in the style.

After installing: shtuk run shtukbase-icons build (the set in style 79 into /assets/icons/set/, so a page writes icon: /assets/icons/set/<name>.svg), then shtuk run icons lens and open /design/icons.html.

What is checked

  • SBI-R01 (MUST, enforce): every drawing keeps the style — the flat form (drawing elements with their paint as attributes, no groups), the canvas 0 0 96 96, colours from the palette, no plate under the thing (SBS-R06), no outline of its own (the style draws it), lines at least 2 wide, at most 1500 bytes flat; and every file of the set in /assets/icons/set/ is its drawing rendered in the held style. The style check.
  • From icons: ICN-R01 holds the rendered files (contract, budget, the palette of style 79); ICN-R04 (warn) holds the registry and the drawings together.

Where the boundary is

  • Here: the drawings, the registry, the styles, the build, the import and the style check.
  • The fields, tiers, contract, renderer, prompt, lens and the convention: icons. The design style of the interface (tokens, fonts): shtukbase-style.

规范 1

ID规范级别模式Enforcer
SBI-R01
Every drawing in /design/shtukbase-icons/flat/ is in the flat form on the 96 grid, uses only palette colours, stands on no plate, draws no outline of its own and no line thinner than 2; every rendered file in the shared set is its drawing in the held style.
MUST 拦截
检查

“拦截”:enforcer 会阻止违规;“观察”:只记录违规。MUST 级别表示必须遵守;SHOULD 表示默认应当遵守。

动作 3

名称作用文件时机
buildRender the set in a style into /assets/icons/set and as Iconify JSON: shtuk run shtukbase-icons build [--style <id>] [--out <folder>] [--check]actions/build.ts
shtuk run
importBring a drawing into the set without redrawing it (groups, tile, palette): shtuk run shtukbase-icons import <file.svg> --name <name> [--write]actions/import.ts
shtuk run
styleEvery drawing keeps the set's style (flat form, palette, no plate, no outline of its own) and the rendered set is fresh
规范 SBI-R01
checks/s01_style.ts
检查

shtuk check 运行检查;shtuk run shtukbase-icons <名称> 运行任意动作。“安装后”动作只有在包来自可信来源时才会自动运行。

页面 147

这些页面会放到项目中的以下路径。

包文件 7

它们会放到 .shtukbase/packages/shtukbase-icons/,动作从那里运行。