init: the first public commit for AFFiNE

This commit is contained in:
DarkSky
2022-07-22 15:49:21 +08:00
commit e3e3741393
1451 changed files with 108124 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
// Determine whether it is a two-color icon
module.exports.isDuotone = function isDuotone(name) {
return /[Dd]{1}uotone$/.test(name);
};
// Determine whether it is a brand trademark
module.exports.isBrands = function isBrands(name) {
return ['figma', 'youtube'].includes(name.toLowerCase());
};