UNPKG

@nmmty/lazycanvas

Version:

A simple way to interact with @napi-rs/canvas in an advanced way!

66 lines (65 loc) 2.31 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.FontsList = void 0; const types_1 = require("../types"); /** * The bundled fonts in this package. * Used fonts: * @see https://vercel.com/font */ exports.FontsList = { Geist_Thin(size) { return { family: 'Geist', size, weight: types_1.FontWeight.Thin }; }, Geist_ExtraLight(size) { return { family: 'Geist', size, weight: types_1.FontWeight.ExtraLight }; }, Geist_Light(size) { return { family: 'Geist', size, weight: types_1.FontWeight.Light }; }, Geist_Regular(size) { return { family: 'Geist', size, weight: types_1.FontWeight.Regular }; }, Geist_Medium(size) { return { family: 'Geist', size, weight: types_1.FontWeight.Medium }; }, Geist_SemiBold(size) { return { family: 'Geist', size, weight: types_1.FontWeight.SemiBold }; }, Geist_Bold(size) { return { family: 'Geist', size, weight: types_1.FontWeight.Bold }; }, Geist_ExtraBold(size) { return { family: 'Geist', size, weight: types_1.FontWeight.ExtraBold }; }, Geist_Black(size) { return { family: 'Geist', size, weight: types_1.FontWeight.Black }; }, GeistMono_Thin(size) { return { family: 'GeistMono', size, weight: types_1.FontWeight.Thin }; }, GeistMono_ExtraLight(size) { return { family: 'GeistMono', size, weight: types_1.FontWeight.ExtraLight }; }, GeistMono_Light(size) { return { family: 'GeistMono', size, weight: types_1.FontWeight.Light }; }, GeistMono_Regular(size) { return { family: 'GeistMono', size, weight: types_1.FontWeight.Regular }; }, GeistMono_Medium(size) { return { family: 'GeistMono', size, weight: types_1.FontWeight.Medium }; }, GeistMono_SemiBold(size) { return { family: 'GeistMono', size, weight: types_1.FontWeight.SemiBold }; }, GeistMono_Bold(size) { return { family: 'GeistMono', size, weight: types_1.FontWeight.Bold }; }, GeistMono_Black(size) { return { family: 'GeistMono', size, weight: types_1.FontWeight.Black }; }, GeistMono_ExtraBlack(size) { return { family: 'GeistMono', size, weight: types_1.FontWeight.ExtraBlack }; }, };