]> git.r.bdr.sh - rbdr/Flat-Bezel.qsplugin/commitdiff
Adjust colors and radius
authorRuben Beltran del Rio <redacted>
Sat, 11 Feb 2023 17:34:48 +0000 (18:34 +0100)
committerRuben Beltran del Rio <redacted>
Sat, 11 Feb 2023 17:34:48 +0000 (18:34 +0100)
Flat Bezel/BBFlatBezelInterface.m
Flat Bezel/BBObjectCell.m

index e430de8fa21351bcc56eba4f0671e89ac8775b0f..bac396fbff57bac5136117f491128fdbd315e53e 100644 (file)
@@ -40,7 +40,7 @@
       
         [theCell setBackgroundColor:[NSColor clearColor]];
         [theCell setFont:[NSFont systemFontOfSize:11 weight:NSFontWeightLight]];
-        [theCell setCellRadiusFactor:8];
+        [theCell setCellRadiusFactor:4];
       
         [theCell setHighlightColor:[NSColor colorWithRed:1 green:1 blue:1 alpha:.15]];
         [theCell setTextColor:[NSColor textColor]];
index 28e79d27a7e2eaf23b5160323e77614b91692ec0..40bde4dd6cf27bce11ee139a7200b0ef91419809 100644 (file)
        NSColor *strokeColor = [NSColor clearColor];
 
   if (isFirstResponder) {
-    fillColor = [self highlightColor];
+    fillColor = [NSColor selectedTextBackgroundColor];
   } else {
-    fillColor = [self backgroundColor];
+    fillColor = [NSColor clearColor];
   }
 
   if (dropTarget) {
-    fillColor = [NSColor colorWithRed:0.77 green:0.91 blue:0.96 alpha:1];
+    fillColor = [NSColor controlAccentColor];
   }
 
   [fillColor setFill];