Skip to content

feat(website): add data vis tokens section to Colors page - #8462

Merged
weronikaolejniczak merged 1 commit into
elastic:mainfrom
weronikaolejniczak:feat/add-vis-tokens-table
Mar 20, 2025
Merged

weronikaolejniczak merged 1 commit into
elastic:mainfrom
weronikaolejniczak:feat/add-vis-tokens-table

Conversation

@weronikaolejniczak

@weronikaolejniczak weronikaolejniczak commented Mar 19, 2025 •

Copy link
Copy Markdown
Contributor

Summary

We are moving away from supporting SCSS in the direction of Emotion, therefore any mentions of SCSS should be removed in the new docs. In case somebody needs to check SCSS variables, they can go back in docs version.

There was a section in the Utilities > Color palettes page called "Sass variables" that enumerated the data vis "tokens". We don't have an equivalent section in the Theming > Colors page. This PR adds the section.

Closes #8340

Amsterdam

Light mode Dark mode
Screenshot 2025-03-19 at 11 58 26 Screenshot 2025-03-19 at 11 58 20

Borealis

Light mode Dark mode
Screenshot 2025-03-19 at 11 57 49 Screenshot 2025-03-19 at 11 58 01

QA

  • Check mobile responsiveness in:
    • Amsterdam
    • Borealis
  • Check the colors, values and copy accuracy in:
    • Amsterdam light mode
    • Amsterdam dark mode
    • Borealis light mode
    • Borealis dark mode

@weronikaolejniczak weronikaolejniczak added the skip-changelog Use on PRs to skip changelog requirement (Don't delete - used for automation) label Mar 19, 2025
@weronikaolejniczak
weronikaolejniczak requested a review from a team as a code owner March 19, 2025 11:06
@weronikaolejniczak
weronikaolejniczak force-pushed the feat/add-vis-tokens-table branch from ab13bcb to 5dd7b89 Compare March 19, 2025 11:06
@weronikaolejniczak weronikaolejniczak self-assigned this Mar 19, 2025
@elasticmachine

Copy link
Copy Markdown
Collaborator

💚 Build Succeeded

cc @weronikaolejniczak

</p>
</EuiText>
<EuiSpacer />
<ColorsTable

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

[Re: mobile responsiveness]
Currently all the token tables look rather broken on mobile viewports. I'm assuming this is still because of the wrong table styles and will be fixed separately?

Screenshot 2025-03-19 at 17 56 47

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yes. The way I understood it, it will be fixed by @tkajtoch after removing the Infima styles (instead of just patching the table styles).

@weronikaolejniczak
weronikaolejniczak merged commit 0cf9258 into elastic:main Mar 20, 2025
@weronikaolejniczak
weronikaolejniczak deleted the feat/add-vis-tokens-table branch April 16, 2025 06:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-changelog Use on PRs to skip changelog requirement (Don't delete - used for automation)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[EUI+] Add vis tokens to the Theming > Colors page

4 participants