MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / addCustom

Function addCustom

src/lib/fonts.js:138–142  ·  view source on GitHub ↗
(name, css)

Source from the content-addressed store, hash-verified

136}
137
138function addCustom(name, css) {
139 fonts.set(name, css);
140 customFontNames.add(name);
141 saveCustomFonts();
142}
143
144function saveCustomFonts() {
145 const customFonts = {};

Callers

nothing calls this directly

Calls 3

saveCustomFontsFunction · 0.85
setMethod · 0.80
addMethod · 0.80

Tested by

no test coverage detected