From 1a18abb983d8c90c9f42c940468b9afbb4cf8d1d Mon Sep 17 00:00:00 2001 From: Suraj Shetty Date: Wed, 16 Dec 2020 11:31:46 +0530 Subject: [PATCH] fix: Attachment icon color --- frappe/public/js/frappe/form/sidebar/attachments.js | 6 +++--- frappe/public/scss/desk/sidebar.scss | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/frappe/public/js/frappe/form/sidebar/attachments.js b/frappe/public/js/frappe/form/sidebar/attachments.js index b8af6c8371..042f420939 100644 --- a/frappe/public/js/frappe/form/sidebar/attachments.js +++ b/frappe/public/js/frappe/form/sidebar/attachments.js @@ -85,14 +85,14 @@ frappe.ui.form.Attachments = Class.extend({ } let icon; - + // REDESIGN-TODO: set icon using frappe.utils.icon if (attachment.is_private) { icon = `
- +
`; } else { icon = `
- +
`; } diff --git a/frappe/public/scss/desk/sidebar.scss b/frappe/public/scss/desk/sidebar.scss index 82e79e0b3d..044eaa1c85 100644 --- a/frappe/public/scss/desk/sidebar.scss +++ b/frappe/public/scss/desk/sidebar.scss @@ -384,7 +384,7 @@ body[data-route^="Module"] .main-menu { .attachment-row, .form-tag-row { .data-pill { - background-color: var(--bg-gray); + background-color: var(--control-bg-on-gray); box-shadow: none; } }