Skip to content
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

[#29] Add raw tokens and semantic tokens for opacity #61

Merged
merged 2 commits into from
Aug 7, 2024

Conversation

pylapp
Copy link
Member

@pylapp pylapp commented Aug 6, 2024

THis commit updates when needed the values of raw tokens and semenatic tokens for opacity. It brings also unit tests for theme overriding and raw tokens relationships.

Note: Please transform - [ ] into - (NA) in the description when things are not applicable

Related issues

#29

Description

Update raw and semantic tokens for opacity

Motivation & Context

See #29

Types of change

  • New feature (non-breaking change which adds functionality)

Previews

Checklist

Contribution

Accessibility

  • (NA) My change follows accessibility good practices

Design

  • (NA) My change respects the design guidelines of Orange Unified Design System

Development

  • My change follows the developer guide
  • I have added unit tests to cover my changes (optional)

Documentation

  • My change introduces changes to the documentation and/or I have updated the documentation accordingly

Checklist (for Core Team only)

  • (NA) The evolution have been tested and the project builds for iPhones and iPads
  • Code review has been done by reviewers according to CODEOWNERS file
  • (NA) Design review has been done
  • (NA) Accessibiltiy review has been done
  • (NA) Q/A team has tested the evolution
  • Documentation has been updated if relevant
  • (NA) Internal files have been updated if relevant (like CONTRIBUTING, DEVELOP, THIRD_PARTY, CONTRIBUTORS, NOTICE)
  • CHANGELOG has been updated respecting keep a changelog rules and reference the issues

@pylapp pylapp self-assigned this Aug 6, 2024
@pylapp pylapp requested a review from ludovic35 as a code owner August 6, 2024 07:38
@pylapp pylapp linked an issue Aug 6, 2024 that may be closed by this pull request
1 task
/// (i.e. publicly accessible from everywhere) or _Swift enum_ which are too heavy (no needs to iterate on them, no needs to make switch/cases,
/// risks to have broken code if new values added breaking existing switch/cases).
///
/// In the future, generating tools like _Style Dictionary_ should either follow this file template and structure or just replace values or lines.
public struct OpacityRawTokens {
Copy link
Member

Choose a reason for hiding this comment

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

use enum here
and update comment

Copy link
Member Author

Choose a reason for hiding this comment

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

Resolved with rebase

This commit updates when needed the values of raw tokens and semenatic tokens for opacity.
It brings also unit tests for theme overriding and raw tokens relationships.

Closes #29

Signed-off-by: Pierre-Yves Lapersonne <[email protected]>
ludovic35
ludovic35 previously approved these changes Aug 7, 2024
@pylapp pylapp merged commit 2aa7294 into develop Aug 7, 2024
4 checks passed
@pylapp pylapp deleted the 29-tokens-opacity branch August 7, 2024 14:23
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.

Tokens: Opacity
2 participants