Skip to content

Commit

Permalink
Merge pull request #5138 from owncloud/shining-star-color-contrast
Browse files Browse the repository at this point in the history
improve oc-star color contrast
  • Loading branch information
kulmann authored May 21, 2021
2 parents cb46758 + 73f5b97 commit a1fbd67
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 a1fbd67

Please sign in to comment.