Skip to content

feat: automation design-to-code #23

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 3 commits into
base: main
Choose a base branch
from

Conversation

afreire-laptop
Copy link
Contributor

@afreire-laptop afreire-laptop commented Aug 4, 2025

Description

This PR adds Automation from Design-to-code:

  • Automated generation of Themes from JSON token files
  • GitHub Workflow that runs specific for Themes generation
  • Dedicated package for Themes (outside of React scope)

Theme Generation workflow:

  • Download of JSON Token files from Figma Variables. We use of the following Figma Plugin  which is compliant with W3C Design Token draft)
  • Open new branch
  • Add JSON Tokens to dedicated themes/tokens folder
  • Commit and push changes

Issue

DTUI-76

Screenshots

Type of change

  • Feature
  • Bug fix
  • Breaking change
  • Refactor
  • Chore
  • Documentation
  • Tests
  • Other (please specify):

Check requirements

  • The code follows the project's coding standards and guidelines
  • Documentation is updated accordingly
  • All existing tests are passing
  • I have added new tests to cover the changes

Live Preview

https://daimlertruck.github.io/DT-DDS/PR-23

@afreire-laptop afreire-laptop self-assigned this Aug 4, 2025
@afreire-laptop afreire-laptop requested a review from a team as a code owner August 4, 2025 09:27
Copy link

github-actions bot commented Aug 4, 2025

ℹ️ Theme Generation - No Changes

The theme generation process completed successfully, but no changes were detected in the generated theme files.

This means the token changes in this PR don't affect the theme generation output.

@afreire-laptop afreire-laptop marked this pull request as draft August 4, 2025 09:38
@afreire-laptop afreire-laptop changed the title Feat: Automation design-to-code feat: Automation design-to-code Aug 5, 2025
@afreire-laptop afreire-laptop changed the title feat: Automation design-to-code feat: automation design-to-code Aug 5, 2025
* Themes moved to a dedicated package
* Themes creation automation flow
* New Github Workflow triggers
* on changes to tokens

Signed-off-by: afreire-laptop <[email protected]>
* updates imports to new themes reference
* fix storybook and add missing fonts
* update node version in workflows

Signed-off-by: afreire-laptop <[email protected]>
@afreire-laptop afreire-laptop force-pushed the feat/DTUI-76/automation-design-to-code branch 8 times, most recently from f7f0c3f to 4a41d04 Compare August 10, 2025 17:02
* updates all imports from @dt-ui/* to @dt-dds/*
* fixes build issues

Signed-off-by: afreire-laptop <[email protected]>
@afreire-laptop afreire-laptop force-pushed the feat/DTUI-76/automation-design-to-code branch from 4a41d04 to aab825d Compare August 11, 2025 07:33
@daimlertruck daimlertruck deleted a comment from github-actions bot Aug 11, 2025
@daimlertruck daimlertruck deleted a comment from github-actions bot Aug 11, 2025
@daimlertruck daimlertruck deleted a comment from github-actions bot Aug 11, 2025
@daimlertruck daimlertruck deleted a comment from github-actions bot Aug 11, 2025
@daimlertruck daimlertruck deleted a comment from github-actions bot Aug 11, 2025
@daimlertruck daimlertruck deleted a comment from github-actions bot Aug 11, 2025
@daimlertruck daimlertruck deleted a comment from github-actions bot Aug 11, 2025
@daimlertruck daimlertruck deleted a comment from github-actions bot Aug 11, 2025
@daimlertruck daimlertruck deleted a comment from github-actions bot Aug 11, 2025
@daimlertruck daimlertruck deleted a comment from github-actions bot Aug 11, 2025
@afreire-laptop afreire-laptop marked this pull request as ready for review August 11, 2025 08:07
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