From d9f002d5c29bd55a166912bf68db3e32e16e642a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Benqu=C3=A9?= Date: Tue, 9 Feb 2021 14:51:06 +0000 Subject: [PATCH 1/2] Comment notification color --- customize.dist/src/less2/include/colortheme-dark.less | 1 + customize.dist/src/less2/include/colortheme.less | 1 + www/pad/app-pad.less | 3 ++- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/customize.dist/src/less2/include/colortheme-dark.less b/customize.dist/src/less2/include/colortheme-dark.less index 32059d4dc..ab1995479 100644 --- a/customize.dist/src/less2/include/colortheme-dark.less +++ b/customize.dist/src/less2/include/colortheme-dark.less @@ -392,6 +392,7 @@ @cp_comments-fg: @cryptpad_text_col; @cp_comments-bg: @cryptpad_color_grey_800; @cp_comments-header: @cryptpad_color_grey_500; +@cp_comments-notif: @cryptpad_color_light_red; // Poll @cp_poll-th-bg: @cryptpad_color_brand_fadest; diff --git a/customize.dist/src/less2/include/colortheme.less b/customize.dist/src/less2/include/colortheme.less index fc252f876..249883531 100644 --- a/customize.dist/src/less2/include/colortheme.less +++ b/customize.dist/src/less2/include/colortheme.less @@ -391,6 +391,7 @@ @cp_comments-fg: @cryptpad_text_col; @cp_comments-bg: @cryptpad_color_white; @cp_comments-header: @cryptpad_color_grey_600; +@cp_comments-notif: @cryptpad_color_red; // Poll @cp_poll-th-bg: @cryptpad_color_lighter_blue; diff --git a/www/pad/app-pad.less b/www/pad/app-pad.less index 1818e22be..d9893e7b0 100644 --- a/www/pad/app-pad.less +++ b/www/pad/app-pad.less @@ -53,7 +53,8 @@ body.cp-app-pad { #cp-app-pad-comments { &.hidden { .cp-pad-show.notif { - color: red; + color: @cp_comments-notif; + border-color: @cryptpad_color_red; } } .cp-pad-show { From 45faee3eed43c2f0465c313da1610d63381d8da2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Benqu=C3=A9?= Date: Tue, 9 Feb 2021 15:48:04 +0000 Subject: [PATCH 2/2] Fix premium ticket styles --- customize.dist/src/less2/include/colortheme-dark.less | 8 ++++---- www/admin/app-admin.less | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/customize.dist/src/less2/include/colortheme-dark.less b/customize.dist/src/less2/include/colortheme-dark.less index ab1995479..5a85e4374 100644 --- a/customize.dist/src/less2/include/colortheme-dark.less +++ b/customize.dist/src/less2/include/colortheme-dark.less @@ -332,10 +332,10 @@ // Admin @cp_admin-isadmin-fg: @cryptpad_color_brand; @cp_admin-isadmin-bg: @cryptpad_color_white; -@cp_admin-premium-fg: @cryptpad_color_warn_red; -@cp_admin-premium-bg: lighten(@cryptpad_color_warn_red, 25%); -@cp_admin-last-fg: @cryptpad_color_warn_red; -@cp_admin-last-bg: lighten(@cryptpad_color_orange, 25%); +@cp_admin-premium-fg: @cryptpad_color_light_red; +@cp_admin-premium-bg: @cryptpad_color_red_fader; +@cp_admin-last-fg: @cryptpad_color_light_red; +@cp_admin-last-bg: @cryptpad_color_red_fader; // Code @cp_preview-bg: @cryptpad_color_grey_900; diff --git a/www/admin/app-admin.less b/www/admin/app-admin.less index 2ecf99bed..da4703203 100644 --- a/www/admin/app-admin.less +++ b/www/admin/app-admin.less @@ -101,7 +101,7 @@ display: flex; justify-content: space-between; flex-wrap: wrap; - color: #666; + color: fade(@cryptpad_text_col, 80%); .cp-support-ispremium { padding: 0 5px; color: @cp_admin-premium-fg;