Skip to content

Commit

Permalink
improve oc-star color contrast
Browse files Browse the repository at this point in the history
  • Loading branch information
fschade committed May 21, 2021
1 parent cb46758 commit 73f5b97
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
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>

0 comments on commit 73f5b97

Please sign in to comment.