style: restore Conjure colors in notes
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user