Comments (3)
Or perhaps translate colors? That would make the syntax easier I think. Everywhere colors are specified, you can specify gradients too. Maybe accept the hash syntax, but also a more natural string syntax. Such as:
"(x1,y1) (x2,y2) blue [0.1] #abc [1.0]"
from squib.
Either option sounds good, although I suspect that the hashes-within-hashes might conform better to how you've been implementing the deck: that is, that everything is arrays and each item in the array is used in a single card.
The string method is probably less convoluted to use, though.
from squib.
I went with just the string formatting. Mult-level hashes complicate things more than I want to deal with at this point. It'll be in the next release.
from squib.
Related Issues (20)
- undefined method "render_cairo"
- Shadow in text or images HOT 1
- CLI: in `squib new` choose advanced via menu or CLI option
- CLI: `squib add` to add a new deck
- Change config.yml to squib.yml
- Squib can't install on an MacBook M1 HOT 8
- Unable to install gem because of dependency HOT 6
- Release v0.19.0
- Document Notion integration
- Unable to load variants with fonts
- Default save_pdf location is incorrect HOT 3
- Squib post-installation with Gem on M1 Macbook error: dyld[xxxx] missing symbol called 'new' HOT 1
- squib error on Ubuntu 22.04 "undefined symbol: g_bookmark_file_get_type" HOT 3
- Add drop shadow support when using hand HOT 1
- SVGs are all lower than they should be HOT 1
- Can't install Squib on macOS. "ruby/config.h" not found
- The Squib Way documentation skips over the `squib new` command
- the Layouts Are Squib’s Best Feature documention has some broken links
- It'd be nice if the built-in layouts were specified a little differently in the code
- Extent with a decimal in the font size brings an error, not with an integer font size.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from squib.