Skip to content

Add schematic section title font size prop#683

Merged
seveibar merged 1 commit into
tscircuit:mainfrom
rushabhcodes:add-schematic-section-title-font-size
May 31, 2026
Merged

Add schematic section title font size prop#683
seveibar merged 1 commit into
tscircuit:mainfrom
rushabhcodes:add-schematic-section-title-font-size

Conversation

@rushabhcodes
Copy link
Copy Markdown
Contributor

Summary

Adds an optional sectionTitleFontSize prop to <schematicsection />, allowing callers to configure schematic section title sizing.

Changes

  • Added sectionTitleFontSize?: number | string to SchematicSectionProps
  • Added sectionTitleFontSize: distance.optional() to schematicSectionProps
  • Regenerated component type and props documentation

Validation

  • bun scripts/generate-component-types.ts
  • bun scripts/generate-manual-edits-docs.ts
  • bun scripts/generate-readme-docs.ts
  • bun scripts/generate-props-overview.ts
  • bunx tsc --noEmit
  • bun run format:check

@rushabhcodes rushabhcodes marked this pull request as ready for review May 31, 2026 10:12
Copilot AI review requested due to automatic review settings May 31, 2026 10:12
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Copy link
Copy Markdown
Member

@imrishabh18 imrishabh18 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirm with Seve before merge

@seveibar
Copy link
Copy Markdown
Contributor

@rushabhcodes on second thought- maybe we should introduce schStyle wdyt? Same thing we do with pcbStyle but for schematic- same property name just inside schStyle?

@seveibar seveibar merged commit 8c6abd6 into tscircuit:main May 31, 2026
6 checks passed
@seveibar
Copy link
Copy Markdown
Contributor

this is ok too tho

@tscircuitbot
Copy link
Copy Markdown
Contributor


Thank you for your contribution! 🎉

PR Rating:
Impact: Tiny

Track your contributions and see the leaderboard at: tscircuit Contribution Tracker


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants