I know how to add custom font in Dawn 2.0 Theme but how can i provide option for user to select it from Theme Customizer ?
Following code is present in css file.
h1,
h2,
h3,
h4,
h5,
.h0,
.h1,
.h2,
.h3,
.h4,
.h5 {
font-family: var(–font-heading-family);
font-style: var(–font-heading-style);
font-weight: var(–font-heading-weight);
letter-spacing: 0.06rem;
color: rgb(var(–color-foreground));
line-height: 1.3;
}
As you can see there is some variable --font-heading-family which is somehow linked to customizer!
Below is the snap shot of customizer. Also, the fonts shown in customizer are not present in theme files !

