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

New frontend UX design #246

Open
wants to merge 58 commits into
base: master
Choose a base branch
from

Conversation

Matthbo
Copy link
Member

@Matthbo Matthbo commented Dec 12, 2024

Based on the FF!Reference design guide & angular components library

frankdoc-zoek-pagina frankdoc-zoek-filteren frankdoc-detail-pagina

@Matthbo Matthbo self-assigned this Dec 12, 2024
@Matthbo Matthbo linked an issue Dec 12, 2024 that may be closed by this pull request
2 tasks
@Matthbo Matthbo marked this pull request as ready for review December 12, 2024 15:02
</nav>
<div class="actions">
<button class="switch-theme-button" title="Dark/light Mode">
<app-icon-darkmode width="20" height="20" colour="#8A8A8A"></app-icon-darkmode>
Copy link
Member

@philipsens philipsens Dec 13, 2024

Choose a reason for hiding this comment

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

It might be smart to create vars for colors, to make then reusable and easy to change.
This would also apply to the colors in the CSS itself.

Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

Sorry, this link is not really explaining what I mend. I mend to do it like this:

body {
  --my-color: #fdc300;
}
<component color="var(--my-color)" />

<div [attr.fill]="color" />

@Matthbo Matthbo force-pushed the 235-implement-new-frontend-design-frankdoc-format branch from cc6bdca to b3f7f28 Compare December 17, 2024 17:26
@Matthbo Matthbo requested a review from philipsens December 18, 2024 14:14

collapseElement(): void {
this.collapse.classList.add('transforming');
this.collapseAnimation = this.collapse.animate({ height: [`${this.clientHeight}px`, '0px'] }, this.animationSpeed);
Copy link
Member

Choose a reason for hiding this comment

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

easing: "ease-in-out" :)

ignoreLocation: true,
};

export const filterColours: string[] = ['#CD55EB', '#037CD4', '#00B31D'];
Copy link
Member

Choose a reason for hiding this comment

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement new frontend design & frankdoc format
2 participants