Merge branch 'main' of https://github.com/Bubobubobubobubo/Topos
This commit is contained in:
22
src/API.ts
22
src/API.ts
@ -1,3 +1,4 @@
|
||||
import { EditorView } from '@codemirror/view';
|
||||
import { getAllScaleNotes, seededRandom } from "zifferjs";
|
||||
import {
|
||||
MidiCCEvent,
|
||||
@ -2031,4 +2032,25 @@ export class UserAPI {
|
||||
...config,
|
||||
};
|
||||
};
|
||||
|
||||
// =============================================================
|
||||
// Ralt144mi section
|
||||
// =============================================================
|
||||
|
||||
raltfont = (mainFont: string, commentFont: string): void => {
|
||||
this.app.view.dispatch({
|
||||
effects: this.app.fontSize.reconfigure(
|
||||
EditorView.theme({
|
||||
"&": { fontFamily: mainFont },
|
||||
".cm-gutters": { fontFamily: mainFont, },
|
||||
".cm-content": {
|
||||
fontFamily: mainFont,
|
||||
},
|
||||
".cm-comment": {
|
||||
fontFamily: commentFont,
|
||||
},
|
||||
})
|
||||
),
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
@ -20,6 +20,8 @@ Topos is a free and open-source software distributed under [GPL-3.0](https://git
|
||||
- Frank Force for the [ZzFX](https://github.com/KilledByAPixel/ZzFX) synthesizer.
|
||||
- Kristoffer Ekstrand for the [AKWF](https://www.adventurekid.se/akrt/waveforms/adventure-kid-waveforms/) waveforms.
|
||||
- Ryan Kirkbride for some of the audio samples in the [Dough-Fox](https://github.com/Bubobubobubobubo/Dough-Fox) sample pack, taken from [here](https://github.com/Qirky/FoxDot/tree/master/FoxDot/snd).
|
||||
- Adel Faure for the [JGS](https://adelfaure.net/https://adelfaure.net/) font.
|
||||
- Raphaël Bastide for the [Steps Mono](https://github.com/raphaelbastide/steps-mono/) font.
|
||||
|
||||
- All the [Topos](https//github.com/Bubobubobubobubo/Topos) contributors!
|
||||
|
||||
|
||||
Reference in New Issue
Block a user