Change the background with image + Change Font #5
Answered
by
mattiarossini
lolbased21
asked this question in
Q&A
-
Hello! |
Beta Was this translation helpful? Give feedback.
Answered by
mattiarossini
Apr 13, 2022
Replies: 1 comment
-
Hello!
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
mattiarossini
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello!
In the MinimalClockView.swift file you can change:
draw
function modifyNSColor.black.setFill()
specifying the chosen color;draw
function addNSImage(contentsOf: URL(string: "https://url_to_image")!)?.draw(in: rect)
;font
function replacelet font = NSFont.systemFont(ofSize: fontSize, weight: weight)
withlet font = NSFont(name: "font_name", size: fontSize)!
wherefont_name
is the name of the chosen font.