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

improve oc-star color contrast #5138

Merged
merged 1 commit into from
May 21, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions changelog/unreleased/enhancement-a11y-colors
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Enhancement: Improve a11y colors

To get a11y compliant it's required that colors match a given contrast ratio to it's back-/fore-/ground.
We improved this on:

- all ODS components
- all oc-color variables
- oc-star in sidebar

https://github.com/owncloud/web/pull/5138
3 changes: 3 additions & 0 deletions packages/web-app-files/src/components/Sidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,9 @@ export default {
.oc-star {
&-shining svg {
fill: #ffba0a !important;
path:not([fill='none']) {
stroke: var(--oc-color-swatch-passive-default);
}
}
}
</style>