Browse Source

fix(files): show a border around the favorite icon for better contrast

Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
John Molakvoæ 11 months ago
parent
commit
7f8a390b60
3 changed files with 7 additions and 0 deletions
  1. 7 0
      apps/files/src/components/FilesListVirtual.vue
  2. 0 0
      dist/files-main.js
  3. 0 0
      dist/files-main.js.map

+ 7 - 0
apps/files/src/components/FilesListVirtual.vue

@@ -287,6 +287,13 @@ export default Vue.extend({
 				top: 4px;
 				right: -8px;
 				color: #a08b00;
+				// Sow a border around the icon for better contrast
+				svg path {
+					stroke: var(--color-main-background);
+					stroke-width: 10px;
+					stroke-linejoin: round;
+					paint-order: stroke
+				}
 			}
 		}
 

File diff suppressed because it is too large
+ 0 - 0
dist/files-main.js


File diff suppressed because it is too large
+ 0 - 0
dist/files-main.js.map


Some files were not shown because too many files changed in this diff