Initial RuneStone project
This commit is contained in:
@@ -0,0 +1,63 @@
|
||||
# RuneStone project instructions
|
||||
|
||||
## Documentation
|
||||
|
||||
Keep the README focused on the project, its usefulness, setup, help, and maintainers.
|
||||
Keep agent instructions in this file. Put detailed usage, development notes, and
|
||||
product plans in `docs/`, with links from the README.
|
||||
Keep the roadmap visual and organized around goals, user outcomes, and milestones.
|
||||
Keep detailed capability lists and design constraints in the product scope reference.
|
||||
|
||||
## UI work: prefer meaningful icons
|
||||
|
||||
Apply these rules whenever designing, implementing, modifying, or reviewing RuneStone UI.
|
||||
Apply them automatically without requiring the user to repeat them.
|
||||
|
||||
- Favor recognizable icons for actions, navigation, menus, and settings categories.
|
||||
Help users recognize functions without relying only on English vocabulary.
|
||||
Use icons to save space and reduce clutter.
|
||||
- Pair icons with concise visible labels when the meaning could be ambiguous.
|
||||
Keep labels that help users learn or distinguish functions.
|
||||
- Use icon-only controls for familiar actions in compact spaces.
|
||||
Give them accessible names, tooltips on hover and keyboard focus, and comfortable click targets.
|
||||
- Reuse existing icon components and artwork. Keep the same icon for the same function.
|
||||
Maintain consistent sizing and stroke weight.
|
||||
- Do not force icons onto every setting, label, or explanation.
|
||||
Use text alone when no clear icon exists. Omit decoration that does not improve understanding.
|
||||
Recognition and accessibility take priority over fitting more controls on screen.
|
||||
- Use Obsidian's settings pattern as a reference: icons with labels in navigation,
|
||||
readable text and ordinary controls in detailed settings.
|
||||
|
||||
For UI reviews, check changed controls against these rules.
|
||||
|
||||
## UI work: use rounded corners
|
||||
|
||||
Apply these rules whenever designing, implementing, modifying, or reviewing RuneStone UI.
|
||||
Apply them automatically without requiring the user to repeat them.
|
||||
|
||||
- Use rounded corners consistently for controls and navigation highlights, including file and folder selections.
|
||||
Compact controls and navigation rows share `--rs-control-radius`.
|
||||
Selection outlines use `--rs-item-selection-radius`.
|
||||
- Round exposed selection corners while keeping adjacent selected rows joined.
|
||||
Do not add rounded gaps or selection borders on shared edges.
|
||||
- Apply the same treatment to hover, active, and selected navigation states.
|
||||
- Tables inside documents are the exception: keep grids, cells, and cell selection outlines square.
|
||||
Table toolbar and menu controls still use rounded corners.
|
||||
|
||||
## UI work: outline only the outer boundary of a selection
|
||||
|
||||
Apply these rules whenever designing, implementing, modifying, or reviewing selection UI.
|
||||
Apply them automatically without requiring the user to repeat them.
|
||||
|
||||
- Adjacent selected rows or cells share one highlighted region.
|
||||
Highlight only its exposed perimeter. Omit selection borders on shared internal edges.
|
||||
Apply this to navigation rows, table cells, lists, and grids.
|
||||
- Use the shared `--rs-item-selection-*` theme values for fill, border color, and border width.
|
||||
Use table-cell selection as the fill and outline reference, with rounded exposed corners outside document tables.
|
||||
- Separate groups, divided by unselected items or physical gaps, retain separate outlines.
|
||||
A single selected item gets a complete outline.
|
||||
- Determine adjacency from visible layout order, including sorting and expanded tree branches.
|
||||
At indentation changes, preserve exposed edges and omit the portions shared by selected rows.
|
||||
- Keep the fill continuous within each selected region.
|
||||
Ordinary table grid lines can remain, but must not become highlighted selection borders inside the region.
|
||||
- Check single items, contiguous ranges, separated selections, and nested rows.
|
||||
Reference in New Issue
Block a user