]> source.dussan.org Git - nextcloud-server.git/commitdiff
Lighten default color slightly for increased contrast 35549/head
authorChristopher Ng <chrng8@gmail.com>
Tue, 6 Dec 2022 01:13:30 +0000 (01:13 +0000)
committerChristopher Ng <chrng8@gmail.com>
Tue, 6 Dec 2022 01:13:55 +0000 (01:13 +0000)
Signed-off-by: Christopher Ng <chrng8@gmail.com>
apps/theming/css/default.css
apps/theming/lib/Service/BackgroundService.php

index 158c10419af19660e1b36f2114cc38fee0438f6f..3b732f1af3eb4fc451e3aa60983da1ca114fdabe 100644 (file)
   --background-invert-if-bright: invert(100%);
   --background-image-invert-if-bright: no;
   --primary-invert-if-bright: no;
-  --color-primary: #00639a;
+  --color-primary: #006aa3;
   --color-primary-default: #0082c9;
   --color-primary-text: #ffffff;
-  --color-primary-hover: #3282ae;
-  --color-primary-light: #e5eff4;
-  --color-primary-light-text: #00273d;
-  --color-primary-light-hover: #dbe4e9;
+  --color-primary-hover: #3287b5;
+  --color-primary-light: #e5f0f5;
+  --color-primary-light-text: #002a41;
+  --color-primary-light-hover: #dbe5ea;
   --color-primary-text-dark: #ededed;
-  --color-primary-element: #00639a;
+  --color-primary-element: #006aa3;
   --color-primary-element-default-hover: #329bd3;
   --color-primary-element-text: #ffffff;
-  --color-primary-element-hover: #3282ae;
-  --color-primary-element-light: #e5eff4;
-  --color-primary-element-light-text: #00273d;
-  --color-primary-element-light-hover: #dbe4e9;
+  --color-primary-element-hover: #3287b5;
+  --color-primary-element-light: #e5f0f5;
+  --color-primary-element-light-text: #002a41;
+  --color-primary-element-light-hover: #dbe5ea;
   --color-primary-element-text-dark: #ededed;
   --gradient-primary-background: linear-gradient(40deg, var(--color-primary) 0%, var(--color-primary-hover) 100%);
   --image-background-default: url('/apps/theming/img/background/kamil-porembinski-clouds.jpg');
index a12d72109dabc4824d8a602bdd5f0f5e136819a0..4879ad1cbad7ad11a9d7a4bcef8a8b1ad1ef1c0f 100644 (file)
@@ -46,7 +46,7 @@ class BackgroundService {
        // true when the background is bright and need dark icons
        public const THEMING_MODE_DARK = 'dark';
        public const DEFAULT_COLOR = '#0082c9';
-       public const DEFAULT_ACCESSIBLE_COLOR = '#00639a';
+       public const DEFAULT_ACCESSIBLE_COLOR = '#006aa3';
 
        public const BACKGROUND_SHIPPED = 'shipped';
        public const BACKGROUND_CUSTOM = 'custom';