Skip to content

chore: Design Token Update (2025-06-15) #394

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

github-actions[bot]
Copy link

@github-actions github-actions bot commented Jun 15, 2025

This PR updates the design tokens from the quill-tokens repository. Automated PR created by the Design Token Sync workflow.

Summary by Sourcery

Sync design tokens from the quill-tokens repository to introduce new component typography, spacing, and sizing tokens, remove deprecated icon tokens, and revise core shadow representation.

Enhancements:

  • Add componentModalTitle typography tokens (font family, size, weight, line height, paragraph spacing)
  • Remove deprecated componentButtonIcon tokens for Google, Facebook, and Apple variants
  • Add underline textDecoration tokens for tertiary button label typography across Sm, Md, Lg, and Xl sizes
  • Add componentActionSheet title typography tokens and header title height token
  • Add componentNotification sizing item height token
  • Add new section message spacing variants (2xs, xs, lg, xl) and adjust md spacing value
  • Update coreElevationShadow50 to use an explicit list of two RGBA drop shadows

Copy link

sourcery-ai bot commented Jun 15, 2025

Reviewer's Guide

Automated sync of design tokens from quill-tokens: adds new modal and action sheet typography tokens, tertiary button underline decoration, notification sizing, and section message spacing sizes; removes deprecated social icon tokens; updates coreElevationShadow50 representation; and refreshes the tokens.json snapshot.

Updated Class Diagram for ComponentDesignTokens

classDiagram
  class ComponentDesignTokens {
    %% --- Added Fields ---
    +static const componentModalTitleTypographyFontFamily
    +static const componentModalTitleTypographyFontSize
    +static const componentModalTitleTypographyFontWeight
    +static const componentModalTitleTypographyLineHeight
    +static const componentModalTitleTypographyParagraphSpacing
    +static const componentButtonLabelTypographyTertiarySmTextDecoration
    +static const componentButtonLabelTypographyTertiaryMdTextDecoration
    +static const componentButtonLabelTypographyTertiaryLgTextDecoration
    +static const componentButtonLabelTypographyTertiaryXlTextDecoration
    +static const componentActionSheetTitleTypographyFontFamily
    +static const componentActionSheetTitleTypographyFontSize
    +static const componentActionSheetTitleTypographyFontWeight
    +static const componentActionSheetTitleTypographyLineHeight
    +static const componentActionSheetTitleTypographyParagraphSpacing
    +static const componentActionSheetHeightHeaderTitle
    +static const componentNotificationSizingItemHeight
    +static const componentSectionMessageSpacing2xs
    +static const componentSectionMessageSpacingXs
    +static const componentSectionMessageSpacingLg
    +static const componentSectionMessageSpacingXl

    %% --- Modified Fields ---
    +static const componentSectionMessageSpacingMd %% Value updated from CoreDesignTokens.coreSpacing800 to CoreDesignTokens.coreSpacing600

    %% --- Removed Fields (documented in comments) ---
    %% componentButtonIconGooglePrimary (Removed)
    %% componentButtonIconGoogleSecondary (Removed)
    %% componentButtonIconFacebookPrimary (Removed)
    %% componentButtonIconFacebookSecondary (Removed)
    %% componentButtonIconApplePrimary (Removed)
    %% componentButtonIconAppleSecondary (Removed)
  }
Loading

Updated Class Diagram for CoreDesignTokens

classDiagram
  class CoreDesignTokens {
    +static final coreElevationShadow50 : List~BoxShadow~ %% Type changed from BoxShadow to List<BoxShadow>
  }
Loading

File-Level Changes

Change Details Files
Added modal title typography tokens
  • Define componentModalTitle fontFamily
  • Define fontSize
  • Define fontWeight
  • Define lineHeight
  • Define paragraphSpacing
lib/src/theme/design_tokens/component_design_tokens.dart
Removed deprecated social button icon tokens
  • Removed componentButtonIconGooglePrimary & Secondary
  • Removed componentButtonIconFacebookPrimary & Secondary
  • Removed componentButtonIconApplePrimary & Secondary
lib/src/theme/design_tokens/component_design_tokens.dart
Added underline textDecoration for tertiary button labels
  • Add Sm textDecoration
  • Add Md textDecoration
  • Add Lg textDecoration
  • Add Xl textDecoration
lib/src/theme/design_tokens/component_design_tokens.dart
Added action sheet title design tokens
  • Define componentActionSheetTitle fontFamily
  • Define fontSize
  • Define fontWeight
  • Define lineHeight
  • Define paragraphSpacing
  • Define headerTitle height
lib/src/theme/design_tokens/component_design_tokens.dart
Added notification item sizing token
  • Define componentNotificationSizingItemHeight
lib/src/theme/design_tokens/component_design_tokens.dart
Adjusted section message spacing and added new size tokens
  • Add Spacing2xs & SpacingXs
  • Add SpacingLg & SpacingXl
  • Update SpacingMd value
lib/src/theme/design_tokens/component_design_tokens.dart
Updated coreElevationShadow50 representation
  • Convert single BoxShadow constant to list of two RGBA shadows
lib/src/theme/design_tokens/core_design_tokens.dart
Synchronized tokens JSON snapshot
  • Update tokens.json to latest design tokens export
lib/src/theme/design_tokens/tokens.json

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

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.

1 participant