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

feat(tailwind): setup tailwind themes #4600

Merged
merged 19 commits into from
Jan 15, 2025
Merged

Conversation

connoratrug
Copy link
Contributor

@connoratrug connoratrug commented Jan 13, 2025

What are the main changes you did

Support for multiple themes

  • styling using tailwind, apply theme using data-theme attr

  • follow design

  • light, dark, molgenis, umcg ( aumc = beta )

  • add config for light

  • add config for dark

  • replace 'hard coded' styles with theme styles

  • add 1 or more demo page to show/evaluate styles

How to test

  • explain here what to do to test this (or point to unit tests)

Checklist

  • updated docs in case of new feature
  • added/updated tests
  • added/updated testplan to include a test for this fix, including ref to bug using # notation

Copy link
Member

@mswertz mswertz left a comment

Choose a reason for hiding this comment

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

code review approved, didn't check if it still works

@connoratrug
Copy link
Contributor Author

code review approved, didn't check if it still works

i does not work ( :D yet )

@mswertz mswertz changed the title Feat/setup tailwind themes feat(tailwind): setup tailwind themes Jan 14, 2025
@connoratrug connoratrug marked this pull request as ready for review January 15, 2025 09:15

--opacity-background-gradient: 100;

--backgroud-color-button-primary: var(--color-yellow-500);
Copy link
Contributor

Choose a reason for hiding this comment

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

In the InputRef PR, I've fixed this typo: backgroud-* in the main.css and tailwind config files.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

nice

--border-color-button-disabled: var(--color-gray.100);
--border-color-button-disabled-hover: var(--color-gray.100);
--border-color-menu-active: var(--color-orange-500);
--border-color-search-button: #CCCCCC;
Copy link
Contributor

@davidruvolo51 davidruvolo51 Jan 15, 2025

Choose a reason for hiding this comment

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

Should these colors be variables? We might need to expand the palettes to account for new colors.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes but not part of this pr

@hslh hslh self-requested a review January 15, 2025 12:31
@connoratrug connoratrug merged commit 9d43668 into master Jan 15, 2025
6 of 7 checks passed
@connoratrug connoratrug deleted the feat/setup-tailwind-themes branch January 15, 2025 13:54
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.

4 participants