diff options
author | 2024-12-12 03:14:40 +0100 | |
---|---|---|
committer | 2024-12-12 03:15:32 +0100 | |
commit | 6572909ab5b004176f6d261b67b4caa99f1f54bb (patch) | |
tree | 115e8a7d34df5f2089c2ac2fdbddf3f12381b29c /examples | |
parent | 7683bd201f156c6e80309584a9bdc205810b0e2e (diff) | |
download | iced-6572909ab5b004176f6d261b67b4caa99f1f54bb.tar.gz iced-6572909ab5b004176f6d261b67b4caa99f1f54bb.tar.bz2 iced-6572909ab5b004176f6d261b67b4caa99f1f54bb.zip |
Embed and use Fira Sans as default font when testing
Diffstat (limited to 'examples')
-rw-r--r-- | examples/counter/Cargo.toml | 2 | ||||
-rw-r--r-- | examples/todos/Cargo.toml | 2 | ||||
-rw-r--r-- | examples/todos/snapshots/creates_a_new_task.sha256 | 1 | ||||
-rw-r--r-- | examples/tour/Cargo.toml | 2 |
4 files changed, 4 insertions, 3 deletions
diff --git a/examples/counter/Cargo.toml b/examples/counter/Cargo.toml index 22f86064..e916a1a1 100644 --- a/examples/counter/Cargo.toml +++ b/examples/counter/Cargo.toml @@ -10,4 +10,4 @@ iced.workspace = true [target.'cfg(target_arch = "wasm32")'.dependencies] iced.workspace = true -iced.features = ["webgl"] +iced.features = ["webgl", "fira-sans"] diff --git a/examples/todos/Cargo.toml b/examples/todos/Cargo.toml index 65c34a8f..16f4fdd2 100644 --- a/examples/todos/Cargo.toml +++ b/examples/todos/Cargo.toml @@ -20,7 +20,7 @@ tracing-subscriber = "0.3" [target.'cfg(target_arch = "wasm32")'.dependencies] iced.workspace = true -iced.features = ["debug", "webgl"] +iced.features = ["debug", "webgl", "fira-sans"] uuid = { version = "1.0", features = ["js"] } web-sys = { workspace = true, features = ["Window", "Storage"] } diff --git a/examples/todos/snapshots/creates_a_new_task.sha256 b/examples/todos/snapshots/creates_a_new_task.sha256 new file mode 100644 index 00000000..75d5f2ce --- /dev/null +++ b/examples/todos/snapshots/creates_a_new_task.sha256 @@ -0,0 +1 @@ +b41c73d214894bf5f94f787e5f265cff6500822b2d4a29a4ac0c847a71db7123
\ No newline at end of file diff --git a/examples/tour/Cargo.toml b/examples/tour/Cargo.toml index 9e984ad1..719d355f 100644 --- a/examples/tour/Cargo.toml +++ b/examples/tour/Cargo.toml @@ -14,7 +14,7 @@ tracing-subscriber = "0.3" [target.'cfg(target_arch = "wasm32")'.dependencies] iced.workspace = true -iced.features = ["image", "debug", "webgl"] +iced.features = ["image", "debug", "webgl", "fira-sans"] console_error_panic_hook = "0.1" console_log = "1.0" |