style: restore Conjure colors in notes

This commit is contained in:
Valdemar Lorenzen
2026-10-19 16:06:28 +02:00
parent 999d44226d
commit adac0723a1
4 changed files with 22 additions and 25 deletions
+2 -2
View File
@@ -18,7 +18,7 @@ private final class ListAttachment: NSTextAttachment {
super.init(data: nil, ofType: nil)
let cell = ListAttachmentCell(textCell: isTask ? "" : (source.length == 1 ? "•" : source.string))
cell.attributedStringValue = NSAttributedString(string: cell.stringValue,
attributes: [.font: NotesAppearance.font, .foregroundColor: NotesAppearance.accent])
attributes: [.font: NotesAppearance.font, .foregroundColor: SunsetPalette.accent])
cell.alignment = .right
attachmentCell = cell
bounds = NSRect(x: 0, y: -4, width: 22, height: 21)
@@ -510,7 +510,7 @@ final class NotesTextView: NSTextView, @MainActor NSLayoutManagerDelegate {
while checkboxes.count < taskIndices.count {
let checkbox = NSButton(checkboxWithTitle: "", target: self, action: #selector(toggleTask(_:)))
checkbox.controlSize = .small
checkbox.contentTintColor = NotesAppearance.accent
checkbox.contentTintColor = SunsetPalette.accent
checkbox.sizeToFit()
checkboxes.append(checkbox)
addSubview(checkbox)