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

chore: update tokens #2767

Merged
merged 2 commits into from
Oct 22, 2024
Merged

Conversation

boosted-bot
Copy link
Collaborator

This PR is generated automatically, it updates the tokens based on Figma Variables.

Copy link

netlify bot commented Oct 22, 2024

Deploy Preview for boosted ready!

Name Link
🔨 Latest commit da9581f
🔍 Latest deploy log https://app.netlify.com/sites/boosted/deploys/67175bcc761bf900083ede01
😎 Deploy Preview https://deploy-preview-2767--boosted.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Member

@louismaximepiton louismaximepiton left a comment

Choose a reason for hiding this comment

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

Some questions more about how the files are generated

// $ouds-border-width-200: $ouds-border-base * 2 !default;
// $ouds-border-style-none: none !default;
$ouds-border-style-solid: solid !default;
$ouds-border-radius-0: strip-units($ouds-border-base * 0) !default; // 0
Copy link
Member

Choose a reason for hiding this comment

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

The alphabetical order is weird but it's maybe from the export itself ?

Copy link
Member

@julien-deramond julien-deramond Oct 22, 2024

Choose a reason for hiding this comment

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

Yep, I don't know why for this use case precisely it happens.
I'll create an issue for that.

// $ouds-color-transparent-white-700: rgba(255, 255, 255, .64) !default;
// $ouds-color-transparent-white-800: rgba(255, 255, 255, .88) !default;
// $ouds-color-transparent-white-900: #fff !default;
// $ouds-color-orange-50: #fff2e6 !default;
Copy link
Member

Choose a reason for hiding this comment

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

Same here

Copy link
Member

@julien-deramond julien-deramond Oct 22, 2024

Choose a reason for hiding this comment

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

Here it's because it comes from two different files: some colors are from the common raw tokens, and "orange" + "warm-gray" from the Orange brand file.
I'll create an issue for that.

// Elevation

// scss-docs-start ouds-raw-elevation
$ouds-elevation-blur-0: 0 !default;
$ouds-elevation-blur-0: 0 !default;
// $ouds-elevation-blur-100: 1px !default;
$ouds-elevation-blur-200: 2px !default;
$ouds-elevation-blur-300: 3px !default;
$ouds-elevation-blur-400: 4px !default;
// $ouds-elevation-blur-500: 8px !default;
$ouds-elevation-blur-600: 12px !default;
Copy link
Member

Choose a reason for hiding this comment

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

Should we use the syntax $ouds-dimension-base x ** in here ?

Copy link
Member

Choose a reason for hiding this comment

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

It's not done like that on the design side apparently. Need to double-check but it wasn't mentioned.

// $ouds-font-family-monospace-monaco: "Monaco" !default;
// $ouds-font-family-monospace-sf-mono: "SF Mono" !default;
// $ouds-font-family-system-arial: "Arial" !default;
// $ouds-font-family-system-helvetica: "Helvetica" !default;
Copy link
Member

Choose a reason for hiding this comment

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

We will probably need some of those but aren't referenced in semantic, how should we proceed ? Should we manually uncomment the ones that we need ?

Copy link
Member

Choose a reason for hiding this comment

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

Font is not handled right now in the tool. It will probably get rid of all the font family tokens.

$ouds-grid-min-width-800: 1880px !default;
$ouds-grid-width-100: 360px !default;
$ouds-grid-width-200: 390px !default;
$ouds-grid-width-300: 480px !default;
Copy link
Member

Choose a reason for hiding this comment

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

Should these variables be generated using $ouds-dimension-base?

Copy link
Member

Choose a reason for hiding this comment

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

We need to double-check with the designers, but it wasn't mentioned like that in the specifications.

$ouds-elevation-y-sticky-navigation-scrolled: $ouds-elevation-y-300 !default;
$ouds-elevation-color-drag: $ouds-color-transparent-black-500 !default;
Copy link
Member

Choose a reason for hiding this comment

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

Weird alphabetical values in here

Copy link
Member

Choose a reason for hiding this comment

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

Issue to create but low priority.

$ouds-space-scaled-tallest-desktop: $ouds-dimension-700 !default;
$ouds-space-scaled-tallest-mobile: $ouds-dimension-500 !default;
$ouds-space-scaled-tallest-tablet: $ouds-dimension-600 !default;
$ouds-space-column-gap-medium: $ouds-dimension-5xs !default;
Copy link
Member

Choose a reason for hiding this comment

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

Same alphabetical issue

Copy link
Member

Choose a reason for hiding this comment

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

Issue to create but low priority.

@julien-deramond julien-deramond merged commit f2f0df0 into ouds/main Oct 22, 2024
30 checks passed
@julien-deramond julien-deramond deleted the tokenator-update-tokens-20241022095837 branch October 22, 2024 12:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

3 participants