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: Let Footer set its own background colour #1797

Merged
merged 3 commits into from
Dec 20, 2024

Conversation

VincentSmedinga
Copy link
Contributor

This allows us to remove the blue option from Spotlight, which should not be used.

Describe the pull request

Thank you for contributing to the project!
Please use this template to help us handle your PR smoothly.

What

The top section of the Footer now sets its background colour through a new token and a new style declaration.

Why

This prepares for the removal of the blue option of Spotlight.
We want to prevent a blue Spotlight being used elsewhere on the page.

How

Replaced Spotlight with a div, added a token, updated documentation, etc.

Checklist

Before submitting your pull request, please ensure you have done the following. Check each checkmark if you have done so or if it wasn't necessary:

  • Add or update unit tests
  • Add or update documentation
  • Add or update stories
  • Add or update exports in index.* files
  • Start the PR title with a Conventional Commit prefix, as explained here.

Additional notes

  • None

This allows us to remove the blue option from Spotlight, which should not be used.
- The Footer is the same on every page of the application.
- For applications, only the Page Menu can be sufficient.
Copy link
Contributor

Choose a reason for hiding this comment

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

By describing it like this, it's easy to mess up the semantics. We currently do this in the Amopis prototype, the Page Menu isn't wrapped in a footer.

A bit of a side note, but: I made a ticket to incorporate the PageMenu in Footer, that should help with this.

Edit: I see you found the same issue

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This line was only moved. Should we clarify the docs now or when we pick up the tickets you mentioned?

Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe we should do it now, to hopefully prevent people from making this mistake.

@github-actions github-actions bot temporarily deployed to demo-DES-1113-remove-spotlight-from-footer December 20, 2024 10:52 Destroyed
# Conflicts:
#	packages/css/src/components/index.scss
@github-actions github-actions bot temporarily deployed to demo-DES-1113-remove-spotlight-from-footer December 20, 2024 10:58 Destroyed
@alimpens alimpens merged commit 310f595 into develop Dec 20, 2024
6 checks passed
@alimpens alimpens deleted the feat/DES-1113-remove-spotlight-from-footer branch December 20, 2024 11:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants