Problem/Motivation

The Typography page in Varbase Storybook is outdated and does not follow the latest design structure or Bootstrap typography utilities.
It also references missing components and relies on inline styles instead of Bootstrap utility classes.
The page must be rebuilt to align with Varbase design foundations and atomic components.

https://www.figma.com/design/shEqHupsCBTp2CmIiA84rv/VB---Stylesheet_2024...
Using Figma Remove MCP server with Claude

Steps to reproduce

  • Open Varbase Storybook.
  • Navigate to the Typography page.
  • Observe missing components, inline styles, and incorrect layout.

Proposed resolution

  • Refactor the Typography Storybook page.
  • Structure content based on design: Typeface, Colors, Headings, Display, Body Text, Other Typography.
  • Remove all inline styles and replace them with Bootstrap 5.3.8 typography utilities.
  • Use Varbase atom components (heading, link) with correct include() syntax.
  • Ensure the page builds correctly in Storybook JSON.

Remaining tasks

  • ✅ File an issue about this project
  • ✅ Addition/Change/Update/Fix to this project
  • ✅ Testing to ensure no regression
  • ➖ Automated unit/functional testing coverage
  • ➖ Developer Documentation support on feature change/addition
  • ➖ User Guide Documentation support on feature change/addition
  • ✅ UX/UI designer responsibilities
  • ✅ Accessibility and Readability
  • ✅ Code review from 1 Varbase core team member
  • ✅ Full testing and approval
  • ✅ Credit contributors
  • ✅ Review with the product owner
  • ✅ Update Release Notes and Update Helper on new feature change/addition
  • ✅ Release varbase-10.1.0, vartheme_bs5-4.0.2

Varbase update type

  • ✅ No Update
  • ➖ Optional Update
  • ➖ Forced Update
  • ➖ Forced Update if Unchanged

User interface changes

Foundation Typography

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

  • feat: #3561315 Typography Page in Varbase Storybook to Use Bootstrap Utility Classes and Showcase (Text, heading, links, ...) Components

Comments

rajab natshah created an issue. See original summary.

  • rajab natshah committed 97d9f1cc on 4.0.x
    feat: #3561315 Typography Page in Varbase Storybook to Use Bootstrap...
rajab natshah’s picture

It feels like a starting point for an @agent-component-storybook-creator AI Agent
about 30m then I got this ready

claude --permission-mode bypassPermissions """
Implement this design from Figma:
@https://www.figma.com/design/shEqHupsCBTp2CmIiA84rv/VB---Stylesheet_2024?node-id=6618-2619&m=dev

Target path: /var/www/html/dev/v10x01b1typography/docroot/themes/contrib/vartheme_bs5/components/foundation/typography

Requirements:
- Do not add any custom SCSS or CSS files
- This is a storybook component only for foundation display
- Follow the same pattern as colors component
- Use direct HTML with Bootstrap utility classes and inline styles

Tasks:
1. Create the component structure
2. Run: ddev yarn storybook:gen && ddev yarn storybook:build
3. Create Playwright tests in tests/e2e/typography.spec.js
4. Keep in a loop from 1-6 until no errors and implemented
5. Run: ddev drush cr
6. List all prompts in an .md file

Reference: Look at /var/www/html/dev/v10x01b1typography/docroot/themes/contrib/vartheme_bs5/components/foundation/colors for the correct implementation pattern.
"""

Then
Foundation Typography

rajab natshah’s picture

Issue summary: View changes
StatusFileSize
new259.99 KB
rajab natshah’s picture

Assigned: rajab natshah » mohammed j. razem
Issue summary: View changes
Status: Active » Needs review
Issue tags: +varbase-10.1.0, +vartheme_bs5-4.0.2
rajab natshah’s picture

Assigned: mohammed j. razem » Unassigned
Status: Needs review » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

rajab natshah’s picture

Issue summary: View changes

✅ Released vartheme_bs5-4.0.2

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

rajab natshah’s picture

Issue summary: View changes

✅ Release varbase-10.1.0