mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-02-14 08:09:14 -06:00
Merge pull request #9752 from owncloud/feat/color-contrasts
feat: web theme color contrasts
This commit is contained in:
7
changelog/unreleased/fix-web-theme-color-contrasts.md
Normal file
7
changelog/unreleased/fix-web-theme-color-contrasts.md
Normal file
@@ -0,0 +1,7 @@
|
||||
Bugfix: Web theme color contrasts
|
||||
|
||||
Web theme colors have been enhanced so they have at least a 4.5:1 contrast ratio because of a11y reasons.
|
||||
|
||||
https://github.com/owncloud/web/issues/10726
|
||||
https://github.com/owncloud/web/pull/11331
|
||||
https://github.com/owncloud/ocis/pull/9752
|
||||
@@ -135,7 +135,7 @@
|
||||
"background-default": "#292929",
|
||||
"background-highlight": "#383838",
|
||||
"background-muted": "#383838",
|
||||
"background-secondary": "#4f4f4f",
|
||||
"background-secondary": "#404040",
|
||||
"background-hover": "#383838",
|
||||
"color-components-apptopbar-background": "transparent",
|
||||
"color-components-apptopbar-border": "#ceddee",
|
||||
@@ -163,7 +163,7 @@
|
||||
"swatch-primary-gradient-hover": "#76a1d5",
|
||||
"swatch-primary-contrast": "#dadcdf",
|
||||
"swatch-success-background": "rgba(0, 188, 140, 0)",
|
||||
"swatch-success-default": "rgb(0, 188, 140)",
|
||||
"swatch-success-default": "rgb(0, 200, 152)",
|
||||
"swatch-success-hover": "#00f0b4",
|
||||
"swatch-success-muted": "rgba(0, 188, 140, .5)",
|
||||
"swatch-success-contrast": "#000000",
|
||||
@@ -171,10 +171,10 @@
|
||||
"swatch-warning-default": "rgb(232, 191, 73)",
|
||||
"swatch-warning-hover": "#eed077",
|
||||
"swatch-warning-muted": "rgba(232, 178, 19, .5)",
|
||||
"swatch-danger-default": "rgb(255, 72, 53)",
|
||||
"swatch-danger-default": "rgb(255, 137, 126)",
|
||||
"swatch-danger-hover": "#ff7566",
|
||||
"swatch-danger-muted": "rgba(255, 72, 53, .5)",
|
||||
"swatch-danger-contrast": "#dadcdf",
|
||||
"swatch-danger-contrast": "#000000",
|
||||
"swatch-warning-contrast": "#000000",
|
||||
"text-default": "#dadcdf",
|
||||
"text-inverse": "#000000",
|
||||
|
||||
Reference in New Issue
Block a user