Leo Blume

Results 26 comments of Leo Blume

@BaoAn21 I now switched to [chessground](https://github.com/lichess-org/chessground), an alternative that works much better imo (better API, a lot more useful functionality, is responsive on mobile while #74 etc. have not been...

I believe the syntax looks absolutely horrible, but I am all for new methods on color regarding complement and mix.

There already is a [`negate`](https://typst.app/docs/reference/types/color/#methods-negate) method for colors that creates the additive complement. For `mix`, I would suggest a new free function in the `color` namespace, making your example look...

> Coincidentally (?) that aligns with https://developer.chrome.com/blog/css-color-mix/ Wow, this was a really interesting read (and yes, I didn't align the syntax on purpose). It seems that it would definitely be...

> Why not overload standard operators `0.4*green + 0.6*yellow`? 1. There isn't one way to mix colors (as I just learned as well). There are a multitude of color spaces...

Question: Is a global `mix` function really the best interface? I believe it might be confusing that an operation that only works on colors has such a common name. Thus,...

If it is desired to add this install method, I would go a step further and also add the required metadata to support installing via [cargo-binstall](https://github.com/cargo-bins/cargo-binstall) (a tool to automatically...

> I looked into publishing to crates.io, but a first problem was that the CLI embeds fonts, which would need to be part of the package, but crates.io limits package...

Is there any known workaround, especially regarding citations in `locate` calls? Since locate is necessary for `state`, this would be pretty essential for what I'm trying to achieve.

Diagrams are not implemented yet iirc, so this is likely just an image embedded into the document via the [image](https://typst.app/docs/reference/visualize/image/) function. I agree that once Typst has the full capability...