- 0009 and 0010 versioned the file names; both are now superseded. - 0011: fonts keep fixed names with no version; a changed font ships under a new name. - 0012: the sprite stays symbol-defs.svg, linked with ?v=<N>, written by icon-sprite-plugin and font-copy-plugin. - 0007 and 0008 are marked superseded, and the index lists 0011 and 0012. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| 0001-one-platform-shared-by-mobile-and-desktop.md | ||
| 0002-island-layout-and-element-over-native-tags.md | ||
| 0003-semantic-tokens-only-in-theme.md | ||
| 0004-self-hosted-yekan-bakh.md | ||
| 0005-island-components-take-text-as-props.md | ||
| 0006-pnpm-workspaces-and-package-exports.md | ||
| 0007-yekan-bakh-from-public-or-cdn.md | ||
| 0008-island-asset-plugin.md | ||
| 0009-versioned-yekan-bakh-never-hashed.md | ||
| 0010-island-sprite-and-font-plugins.md | ||
| 0011-yekan-bakh-under-fixed-names.md | ||
| 0012-sprite-version-in-link.md | ||
| README.md | ||
README.md
Decisions
Design (DDR)
- 0002 Render every tag through island
Element, flex layouts throughFlexBox, grid layouts throughGridBox; never native JSX tags orflex/gridclasses, island included. - 0011 Serve Yekan Bakh FaNum (
font-sans, all UI text) and Yekan Bakh (font-latin, شبا and bank codes only) frompublic/fonts/under fixed names declared in islandfonts.css; no version, never hashed, nevernext/font; a changed font gets a new name.
Architecture (ADR)
- 0001 Share one platform,
platforms/market, betweenapps/bullandapps/bear; tag all threescope:market. - 0012 Wrap each app's
next.configin island'swithIconSpriteandwithFontCopy; they writesymbol-defs.svgand the fonts intopublic/unhashed, served immutable; link the sprite as?v=<ICON_SPRITE_VERSION>.
Proposed
- 0003 design: Only semantic tokens, named as in the Lumina Design System, produce Tailwind utilities (
@theme inline); primitives stay plain:rootvariables and Tailwind's defaults are removed. - 0005 design: Island holds Lumina's product components and status-to-tone map; they take every text as props (
childrenorlabels) and never import i18next or platform code. - 0006 architecture: Make every non-app project a pnpm workspace package
@lumina/<name>with subpathexports; third-party dependencies stay in the root package.json.