feat(foundation): add company colors story

Add Foundation > Company Colors as a separate Storybook menu placed right
after Color. It shows the 7 affiliates and 14 colors from the existing
companyColorPresets (main first, then secondary) with the Color chip styles
and the Default emphasis reused for the main color. Theme tokens, public API
and the existing Color story are unchanged.

- Foundation sort order: Color, Company Colors, Typography, Layout
- Company chip width rule scoped to the company rows
- Document the menu in brand-color-steps.md
- Add the new story to the Story Inventory records
This commit is contained in:
shkim4 committed 2026-11-06 10:56:04 +09:00
1 parent 37e6c996f9
commit 51e8ab8c42
6 files changed
+66 -9

No files matched your search

+1 -1
View File
@@ -25,7 +25,7 @@ const preview: Preview = {
includeNames: true,
order: [
"Foundation",
["Color", "Typography", "Layout"],
["Color", "Company Colors", "Typography", "Layout"],
"Components",
[
"Form",
+10 -4
View File
@@ -6,16 +6,16 @@ This is a classification record. No Story IDs, exports or titles are renamed. HI
## Summary
- PRIMARY: 65
- PRIMARY: 66
- VERIFICATION: 212
- UTILITY: 15
- LEGACY / DUPLICATE: 0
- KEEP: 65
- KEEP: 66
- HIDE: 227
- MERGE_CANDIDATE: 31
- DELETE_CANDIDATE: 0
- Story files: 63
- Stories: 292
- Story files: 64
- Stories: 293
- Hierarchy: Foundation → Components → Patterns → Center Graphic → Theme
## Full inventory
@@ -504,6 +504,12 @@ Source: `src/foundation/color.stories.tsx`; meta.tags: []
- All — Color; tags: []; PRIMARY; KEEP. Representative story or distinct reference page.
### Foundation/Company Colors
Source: `src/foundation/company-colors.stories.tsx`; meta.tags: []
- All — Company Colors; tags: []; PRIMARY; KEEP. Representative story or distinct reference page.
### Foundation/Layout
Source: `src/foundation/layout.stories.tsx`; meta.tags: []
+22 -4
View File
@@ -1,15 +1,15 @@
{
"summary": {
"storyFiles": 63,
"stories": 292,
"storyFiles": 64,
"stories": 293,
"categories": {
"PRIMARY": 65,
"PRIMARY": 66,
"VERIFICATION": 212,
"UTILITY": 15,
"LEGACY / DUPLICATE": 0
},
"decisions": {
"KEEP": 65,
"KEEP": 66,
"HIDE": 227,
"MERGE_CANDIDATE": 31,
"DELETE_CANDIDATE": 0
@@ -3631,6 +3631,24 @@
}
]
},
{
"file": "src/foundation/company-colors.stories.tsx",
"title": "Foundation/Company Colors",
"metaTags": [],
"stories": [
{
"id": "foundation-company-colors--all",
"exportName": "All",
"name": "Company Colors",
"storyTags": [],
"effectiveTags": [],
"category": "PRIMARY",
"decision": "KEEP",
"candidate": null,
"reason": "Representative story or distinct reference page."
}
]
},
{
"file": "src/foundation/layout.stories.tsx",
"title": "Foundation/Layout",