mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Font Command
This commit is contained in:
@@ -40,4 +40,8 @@ module.exports = class Font {
|
||||
get filenameNoExt() {
|
||||
return this.filename.replace(/(\.(otf|ttf))$/, '');
|
||||
}
|
||||
|
||||
get isVariant() {
|
||||
return variants[this.filename];
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user