Tokamak
Tokamak copied to clipboard
SwiftUI-compatible framework for building browser apps with WebAssembly and native apps for other platforms
PR fixes missing "px" units to width and height attribute, that resulted in attribute being dropped as invalid by browsers.
**Tokamak based Path layout differs from SwiftUI** I am trying to create a simple graph plotter with Tokamak, but cannot solve significant layout problems using a Path inside a LazyHGrid...
We should keep this doc up-to-date with latest additions to SwiftUI and Tokamak
This adds compatibility with the `.htmlMeta()` and `.htmlTitle()` modifiers added in #483. 2 special cases were also added: 1. `WindowGroup` has a `title` parameter, which can now be used to...
**Describe the bug** Texts are not reflecting custom sizes. That is because Font's `font-size` attribute is getting ignored for not using a proper [length unit](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size). **To Reproduce** Steps to reproduce...
It would be interesting to see how size of simple `Text("Hello, World")` example binary changes with changes made to Tokamak. We should consider gathering these metrics on CI and introducing...
In this PR: 1. The `rotated(by:)`, `scaledBy(x:y:)`, and `translatedBy(x:y:)` operators are made cumulative; 2. The implementation of `inverted()` is corrected to return `self` when the matrix is not invertible; 3....
1. Adds `` to static renderer 2. Attempts to fix layout tests by adding `html { height: 100%; }`.
**Describe the bug** If I open a freshly created app and letting it resolve it dependencies, I will get the following red error banner `Using Xcode a get the following...
Please don't look at this yet - it's horrible! :-) Currently I made a lot of types in `TokamakCore` public in order to perform the layout in the renderer. The...