feat: emphasize module headers and layer actions on the approved dark base

这个提交包含在:
mac 于 2026-11-04 12:48:30 +08:00 提交
1 父节点 2ba0a415ae
当前提交 55b66a358c
5 个文件已更改
+33 -8

没有与搜索条件相匹配的文件

+8
查看文件
@@ -83,6 +83,14 @@ void DYDrawThemeSurface(NSBezierPath *path,BOOL card) {
@end
@implementation DYThemeButton
+ (Class)cellClass {return DYThemeButtonCell.class;}
- (void)drawRect:(NSRect)rect {
if(DYThemeIndex()==6&&[self.identifier isEqual:@"layerAction"]){
NSBezierPath *plate=[NSBezierPath bezierPathWithRoundedRect:NSInsetRect(self.bounds,1,1) xRadius:5 yRadius:5];
[[NSColor colorWithWhite:1 alpha:self.cell.highlighted?.12:.055]setFill];[plate fill];
[[NSColor colorWithWhite:1 alpha:self.cell.highlighted?.30:.14]setStroke];plate.lineWidth=.7;[plate stroke];
}
[super drawRect:rect];
}
@end
@implementation DYThemePopUpButton
- (void)drawRect:(NSRect)rect {