-
Notifications
You must be signed in to change notification settings - Fork 5
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
base: master
Are you sure you want to change the base?
New frontend UX design #246
Conversation
</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> |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
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" />
frank-doc-frontend/src/app/components/javadoc-transform.directive.ts
Outdated
Show resolved
Hide resolved
frank-doc-frontend/src/app/views/details/details-element/details-element.component.ts
Outdated
Show resolved
Hide resolved
frank-doc-frontend/src/app/views/home/home-component-list/home-component-list.component.html
Outdated
Show resolved
Hide resolved
frank-doc-frontend/src/app/views/home/home-component-list/home-component-list.component.html
Outdated
Show resolved
Hide resolved
frank-doc-frontend/src/app/views/home/home-filters/home-filters.component.html
Outdated
Show resolved
Hide resolved
frank-doc-frontend/src/app/views/home/home-filters/init-filter-toggle.directive.ts
Outdated
Show resolved
Hide resolved
frank-doc-frontend/src/app/views/details/details-element/details-element.component.html
Outdated
Show resolved
Hide resolved
cc6bdca
to
b3f7f28
Compare
|
||
collapseElement(): void { | ||
this.collapse.classList.add('transforming'); | ||
this.collapseAnimation = this.collapse.animate({ height: [`${this.clientHeight}px`, '0px'] }, this.animationSpeed); |
There was a problem hiding this comment.
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']; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Based on the FF!Reference design guide & angular components library