-
Notifications
You must be signed in to change notification settings - Fork 0
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
Upgrade controlled list manager to PrimeVue 4 #16
Conversation
Overall this is looking good, but IMO the theming should be moved into dev/8.0.x, and logic should included that adds a css reset to all Vue components |
65d0456
to
038f0c0
Compare
8b47f1a
to
3754fb6
Compare
export const shouldUseContrast = () => { | ||
return Array.from(document.getElementsByTagName("link")).some((el) => | ||
el.href.endsWith("accessibility.css"), | ||
); | ||
}; |
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.
I expect we'll replace this with something better once we have infra around consuming system settings (i.e. ACCESSIBILITY_MODE
).
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.
ya I'm wondering if this interaction can also be stubbed out in core at a very basic level as well, since the theme lives there now. We'll definitely use this across applications so if it can proved out in core instead, I think it'll be helpful.
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.
arches_references/templates/views/components/plugins/controlled-list-manager.htm
Outdated
Show resolved
Hide resolved
Depends on cssLayer: true in theme.ts
7d2027b
to
f300f06
Compare
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.
lgtm!
For details on a specific change, see the commit message.
Fixes #9
EDIT: now relies on the token theming in archesproject/arches#11262
EDIT: now relies on the accessibility mode change in archesproject/arches#11327