-
Notifications
You must be signed in to change notification settings - Fork 1
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
[DemoApp] Add code example to show how to use token #283
Comments
📣 New TestFlight ALPHA upload available 🚀 Please, get the new build from TestFlight app, or contact the project maintainers (@ludovic35 or @pylapp) to get access.
cc @B3nz01d (product owner) This is an automated message sent with love thanks to Fastlane from our CI/CD pipeline 🤘 |
@Tayebsed93 When interacting with the "View token code example" to reduce it, when it is reduced it does not show the chevron anymore. The behavior should be this when opened And the default when you open the page should be with the closed version Also the code exemple is not the token itself onle, it's how you use it in the code. ie: "theme.borderWidthDefault" or "theme.colorBgPrimary.color(for: colorScheme)" or "theme.spaceScaledMedium.dimension(for: horizontalSizeClass)" And last but not least when the screen text size is raised to 190 the code title is changing but is not aligned anymore and the code part did not change size. |
📣 New TestFlight ALPHA upload available 🚀 Please, get the new build from TestFlight app, or contact the project maintainers (@ludovic35 or @pylapp) to get access.
cc @B3nz01d (product owner) This is an automated message sent with love thanks to Fastlane from our CI/CD pipeline 🤘 |
@B3nz01d That build needs your review ;-) |
as described in the previous comment: "the default when you open the page should be with the closed version" |
Release of version 0.7.0 See below the full CHANGELOG details. Added: - [DemoApp] Add code sample for tokens usages in token pages ([#283](#283)) - [Library] Color some new semantic tokens `colorContentStatus*`, `colorContentOnBrand*`, `colorContentOnStatus*`, `colorGradient*`, `colorBorder*`, `colorContentOnAction*` - [Tool] Add UI tests in CI/CD pipelines ([#298](#298)) - [DemoApp] Add more UI tests on demo app ([#154](#154)) Changed: - [Library] Update `GridSemanticTokens` tokens (tokenator *20241129080807*) - [Library] Types `GridExtraCompactSemanticToken`, `GridCompactSemanticToken` and `GridRegularSemanticToken` replaced by `GridSemanticToken` to make tokenator updates integration easier - [DemoApp] Update space tokens screen ([#275](#275)) - [Library] Update `GridRawTokens` tokens (tokenator *20241128161629*) - [DemoApp] Update color tokens screen - [Library] Update `ColorSemanticTokens` tokens (tokenator *20241127112301*) - [Library] Update `SpaceSemanticTokens` tokens (tokenator *20241127074206*) - [Library] Update `SizeSemanticTokens` with rename of tokens (tokenator *20241126134156*) - [Library] Update `ElevationSemanticTokens` (tokenator *20241126120657*) - [Library] Improve Multiple-based objects for tokenator values integration ([#279](#279)) - [Tool] Use `macos-15` runner for GitHub Actions builds ([#296](#296)) Removed: - [Library] Grid semantic tokens `gridExtraCompactColumnCount`, `gridCompactColumnCount` and `gridRegularColumnCount` - [Library] Grid raw tokens `gridMargin900` - [Library] Color semantic tokens `colorContentOnBg*`, `colorBorderOnBg*`, `colorBorderStatus*`, some `colorAction*OnBg*`, `colorDecorative{Primary,Secondary,Tertiary}`, `colorAlwaysOnBg*`, `colorBgBrand{Secondary,Tertiary}`, `colorContentBrand{Secondary,Tertiary}`, `colorBorderBrand{Secondary,Tertiary}`, `colorContentStatusAccent`, ... - [Library] Some space semantic tokens type aliases to help tokenator job (`SpacePaddingInlineSemanticToken`, `SpacePaddingBlockSemanticToken`, `SpaceGapInlineSemanticToken`, `SpaceGapStackSemanticToken`) - [Library] All dimension semantic tokens ([#308](#308)) Fixed: - [DemoApp] Fix VoiceOver issue with element grouping in presentation tokens and update accessibility statement ([#212](#285)) - [Library] Warning issues for DocC catalogs ([#293](#293)) Co-authored-by: Pierre-Yves Lapersonne <pierreyves.lapersonne@orange.com> Co-authored-by: Ludovic Pinel <ludovic.pinel@orange.com> Co-authored-by: Tayeb Sedraia <tayeb.sedraia@orange.com> Co-authored-by: boosted-bot <boosted-bot@users.noreply.github.com>
Prerequisites
As a
user of the Library
... I want to
see the code of a token usage
... so that I can
use it directly
Motivation and context
See the design in figma.
All token screens should have this illustration
Proposed Solution
No response
Other
No response
Contact Details
No response
The text was updated successfully, but these errors were encountered: