lorp / figma-colrv1 Goto Github PK
View Code? Open in Web Editor NEWFigma plugin to support COLRv1 fonts including variable
Figma plugin to support COLRv1 fonts including variable
The Noto Color Emoji font, as well as the default set of fonts in the Text mode, need to be hosted somewhere rather than be delivered with the plugin. Their locations are defined in fontlist.js, and are currently either https://www.axis-praxis.org/ or https://raw.githubusercontent.com/. Neither of these domains is ideal for production — githubusercontent.com is not a CDN, and axis-praxis.org is not set up for heavy traffic.
Note that any domains from which assets may be downloaded by a plugin must be listed in manifest.json — one cannot dynamically download from arbitrary URLs (e.g. by letting users enter a URL).
Note also that, to minimize bandwidth, Noto Color Emoji has had its SVG table removed and is compressed as a WOFF2 file.
For the preview, we can divide the little square into two, diagonally: top-left without alpha, bottom-right with alpha against a white or checkered background.
For editing, a separate little widget will be needed. (The standard browser input[type=color] does not offer alpha editing.)
It's a nice feature available by the format and would be a good option to bring to the plugin users.
This would be intended for designers to copy & paste when implementing designs. Idea prompted by @chrissimpkins
This plugin has an attractive UI. Should this plugin match it as far as possible?
Currently the plugin is limited to fonts that are in its menu. There must be a way to add new fonts, via drag-drop as well as via a URL.
When changing an axis like Extrusion Depth EDPT
in Nabla, a portion of the extrusion gets clipped. If the element is moved inside the frame and the axis value is changed again, the element returns to the initial position.
It doesn’t make sense to do more than 30 renderings/sec. Current rate on Mac M1 is around 60. This leads to a lag on complex fonts.
Either add a y offset inside the SVG output or place the Figma node differently using the Figma API.
When selecting a new font, it doesn't appear to take effect. It takes a couple of secs and it only takes effect until the user also changes the text or hits cmnd + z
, but this changes the word.
This option would be great if you regret and want to take back the changes done into the palette options. cmd + z
doesn't work.
But even if it worked, sometimes user would like to go back to defaults in a single step.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.