v0.25.12026-08-19
This release adds a few quality of life features and bumps up some versions.
``toml
[versions]
compose-runtime = "1.12.0"
kobweb = "0.25.1"
kotlin = "2.4.10"
[libraries]
compose-runtime = { module = "androidx.compose.runtime:runtime", version.ref = "compose-runtime" }
`
> [!IMPORTANT]
> Planning to upgrade? Review instructions in the README.
---
Frontend
* Added support for the recently added HTTP QUERY method
It's like GET but supports setting a payload body (finally!_)
* New CSS properties and modifiers
* animation-composition
* block-size
* border-spacing
* contain-intrinsic-width, contain-intrinsic-height, contain-intrinsic-size
* text-rendering
Workers
* Workers now respect a project's base path if it is set.
Backend
* Fixed server logs not getting generated (accidentally broken in 0.25.0)
* You can now use println and System.err in your @Api endpoints to generate info and warn logs.
* Convenient if you are in a situation where you want quick debugging in a function that doesn't have access to a ctx.logger.
Gradle
* Kobweb now runs multiple threads in parallel when doing exports, which can easily halve the total time it takes, or more, based on how powerful your machine is.
* By default, we check how many cores your machine has and use 1/2 of them.
The number of threads we use can be configured by setting the kobweb.app.export.numThreads property in your build script, or (for CI convenience) via the KOBWEBEXPORTNUMTHREADS` environment variable.
* If using the environment variable, we also accept string values: "max" (all cores), "high" (75% of all cores), and "half"
* Fixed all detected "Isolated Projects" issues in the Kobweb plugins (we think!)
* In Gradle 9.7.0, the build system finally graduated their "Isolated Projects" feature from experimental to incubating. This feature enforces strict rules that, when followed, allowing Gradle to safely process projects in parallel. This should bring performance improvements especially to large projects.
It will likely be another year or more_ before this feature is actually usable for most end users, but at this point Kobweb plugins shouldn't end up in any "Isolated Project failure" callstacks (let us know if they do!)
---
Full Changelog: https://github.com/varabyte/kobweb/compare/v0.25.0...v0.25.1
v0.25.02026-07-05
This release is functionally identical to v0.24.1 but with all Kotlin / Compose dependencies migrated to latest.
``toml
[versions]
compose-html = "1.11.1"
compose-runtime = "1.11.2"
kobweb = "0.25.0"
kotlin = "2.4.0"
[libraries]
compose-html-core = { module = "org.jetbrains.compose.html:html-core", version.ref = "compose-html" }
compose-runtime = { module = "androidx.compose.runtime:runtime", version.ref = "compose-runtime" }
``
> [!IMPORTANT]
> Planning to upgrade? Review instructions in the README.
---
Full Changelog: https://github.com/varabyte/kobweb/compare/v0.24.1...v0.25.0
v0.24.12026-07-02
This is a jam packed release featuring long-planned tweaks to the network APIs as well as new lucide and material symbol icons!
In the previous release, we revisited the backend network APIs to support multipart requests, but due to backwards compatibility, we could not yet touch the frontend APIs, as the method names we wanted to use were already taken. Instead, we deprecated them.
In this release, those frontend changes are now done! Potentially, there may be some codebases out there which might break with this change, but they would have been ignoring scary deprecation warnings for a while now. As these methods are not used by most Kobweb users, we decided to incrementally update the release version instead of put out a new major version.
If you are a developer with a fullstack website and you get warnings after updating, please review the Notes section below about migrating. We did our best to tell the IDE how to automatically update your deprecated code to the latest versions of the API, but it doesn't always do the best job.
> [!IMPORTANT]
> Planning to upgrade? Review instructions in the README.
Changes
Frontend
* Icons!
* Added support for Google Material Symbols
* Added support for Lucide
* See the Notes section below for more details.
* Introduced a slew of Kotlin-idiomatic network request APIs.
* See the Notes section below for more details.
* CSS Modifiers
* Added support for setting various animation properties directly, e.g. Modifier.animation { delay(...) }
* Added object-position property
* Added text-wrap property
* Added tab-size property
* Added image-rendering property
* Added image-orientation property
* Added missing Transform.None value (and global keywords, e.g. Transform.Inherit)
* Improved CSSPosition output, now producing simpler output
* Before, CSSPosition values were expanded to their most specific 4-arg version, but now we shorten when possible.
* e.g. CSSPosition(Edge.Left) is now just "left", and not "left 0% top 50%"
Worker
* Made network APIs more flexible so they could be called from a worker script.
* In a worker environment, accessing window throws a runtime exception. So now....
* In a site: window.fetch(...)
* In a worker: self.fetch(...)
* Added support for launching coroutines inside a worker context
* In a site: CoroutineContext(window.asCoroutineDispatcher()).launch { ... }
* In a worker: CoroutineContext(self.asCoroutineDispatcher()).launch { ... }
Backend
* You can now expose system properties from your build script to your backend server
* This feature is kind of analogous to app globals for the frontend
* See the Notes section below for more details.
* Added support for multiple headers on the same request
* Technically, requests can have a list of headers associated with a key, but we were collapsing them down to one.
* When you run kobweb run --layout=static in dev mode, it will now return 404 on dynamic pages.
* This should help avoid confusion that new users sometimes have where they have a dynamic page that would get correctly served for them locally during development time, only for their hosting service provider to return a 404 in prod.
Gradle
* You can now specify an explicit path to a browser that gets used by the export step.
* If set, will skip the normal downloading step that occurs on first export.
* This can be useful in CIs (which create environments from scratch each time) or in any environment where you know that you already have a browser present that you can use.
You can set this value via environment variable: KOBWEBEXPORTBROWSERPATH or directly in your site's build script via kobweb.app.export.browser.path.
Notes
Material Symbols
Kobweb has supported Material Design Icons for a long time, but Google deprecated those and replaced them with Material Symbols instead. If you are using MDI in your own project, you may want to consider migrating over if possible, as presumably MDI is mostly stale now and future work will go into MS.
``toml
gradle/libs.versions.toml
[libraries]
silk-icons-ms = { module = "com.varabyte.kobwebx:silk-icons-ms", version.ref = "kobweb" }
`
`kotlin
// site/build.gradle.kts
kotlin {
sourceSets {
jsMain.dependencies {
implementation(libs.silk.icons.ms)
}
}
}
`
At that point, you can reference them in your code! Material Symbol icon methods begin with the Ms prefix.
For example, if you wanted to use the mail icon, find the corresponding method with the same name:
`kotlin
MsMail()
`
You can also pass in a style, with one of three values (where outline is the default):
`kotlin
enum class MsIconStyle {
OUTLINED,
ROUNDED,
SHARP;
}
`
Lucide Icons
Check out the official page to see their list of icons.
To use these in your project, simply add the following dependency to your build script:
`toml
gradle/libs.versions.toml
[libraries]
silk-icons-lucide = { module = "com.varabyte.kobwebx:silk-icons-lucide", version.ref = "kobweb" }
`
`kotlin
// site/build.gradle.kts
kotlin {
sourceSets {
jsMain.dependencies {
implementation(libs.silk.icons.lucide)
}
}
}
`
At that point, you can reference them in your code! Lucide icon methods begin with the Lucide prefix.
For example, if you wanted to use the mail icon, find the corresponding method with the same name:
`kotlin
LucideMail()
`
The full API for that method is:
`kotlin
@Composable
fun LucideMail(
modifier: Modifier = Modifier, size: CSSLengthValue = 1.em, strokeWidth: Number = 2, color: CSSColorValue? = null,
)
`
so feel free to play with those values in your own site.
Backend system properties
If you are running a kobweb server and want to expose some values to it from the build script, we made this easy:
`kotlin
kobweb {
app {
server {
systemProperties.put("example.key", "example.value")
}
}
}
`
Then, anywhere inside your jvmMain server code:
`kotlin
val value = System.getProperty("example.key")!!
assertEquals("example.value", value)
`
We are using this new feature in the todo template example (e.g. kobweb create examples/todo). This allows us to make it easy for users to toggle the implementation of the backend datastore from in-memory to a MongoDB database. Feel free to check out the project if you are curious!
Revisiting Network APIs
The stdlib fetch API is very powerful but full of dynamic, type-unsafe code. Kobweb's network APIs are suspend friendly and type-safe.
However, in the earliest days of Kobweb development, I made an incorrect assumption and oversimplified what I would accept for a request's payload body. Specifically, I only accepted a byte array for it. However, there are several different data types that web request APIs traditionally accept, including multipart bodies, json, html text, and blobs.
Therefore, this version of Kobweb introduces a new RequestBody class which you construct with one of the various provided bodyOf factory methods. So where before you would pass raw bytes into one of the Kobweb network methods, now you pass in the output of a bodyOf call instead.
Of course there is a bodyOf` for raw bytes. But we also support wrapping the other types as well (blobs, etc.)
And instead of returnin
v0.24.02026-02-18
In this update, we took some time to focus on the backend API, adding support for multipart requests. We also revisited the associated frontend APIs (and deprecated a bunch of them) paving the way for more improvements to follow.
This release also makes markdown handling more robust, and it raises the versions of kotlin to 2.3.10, compose (html) to 1.10.0, and compose (runtime) to 1.10.2 (now sourced from androidx).
``toml
[versions]
compose-runtime = "1.10.2"
compose-html = "1.10.0"
kobweb = "0.24.0"
kotlin = "2.3.10"
[libraries]
compose-html-core = { module = "org.jetbrains.compose.html:html-core", version.ref = "compose-html" }
compose-runtime = { module = "androidx.compose.runtime:runtime", version.ref = "compose-runtime" }
`
> [!IMPORTANT]
> Planning to upgrade? Review instructions in the README.
Changes
Frontend
* Added missing bindings to support window.getSelection and document.getSelection
* Added new SVG icons
* Added holdsIn contracts to Modifier.thenIf/Unless and CssStyleVariant.thenIf/Unless
* This allows the Kotlin compiler to smart-cast values within the then lambda block.
* Fixed Modifier.displayBetween which was broken since a prior rename
* Improved validation for dynamic route segments
* Optional route segments (e.g. {param?}) are now only allowed in the final position of a route
* An error is shown if an optional segment is unnecessary (i.e. the non-optional route already exists)
* Conflicting dynamic route segments now produce an error at compile time
* Enabled the unused return value checker across the codebase
* Consider enabling the feature in your own project! For example, this can highlight a common mistake where people forget to put a base block in their CssStyle block.
* Added "...bytes" versions of frontend HTTP helper methods that return raw bytes (e.g. window.api.bytes(...) changed to window.api.getBytes(...))
* This more explicit naming convention will allow us to reclaim the existing methods in a future version but change them to return a more expressive return type.
Backend
* Added support for multipart request bodies.
* Updated Request.Body and Response.Body APIs as a side effect
See Notes_ for more details.
* Added a user data property on Request and Response classes
* This allows passing custom data around when using API interceptors
Markdown
* Overhauled HTML handling in markdown to produce safer, more correct output
* HTML attributes in markdown are now parsed and applied using attrs lambda blocks instead of string manipulation
* Fixed multiple escaping issues (backslashes, dollar signs, newlines, html blocks, and inline html)
* Safely handle HTML attributes that use tick delimiters containing quotes
Gradle
* Fixed a null error that could occur in the Gradle task listener
* Internal build improvements (migrated away from kotlin-dsl plugin, added Gradle assignment plugin)
Misc
* Fixed crash when running using the Jetbrains Runtime JDK
* Migrated the Compose runtime dependency to androidx
* Updated many dependencies to their latest versions (Kotlin 2.3.10, KSP, ktor, Compose, and more)
* Thanks to fixes in these dependencies, you should now feel free to use the latest versions of Kotlin and Compose, without waiting for a new Kobweb release.
Thanks!
* @christomah0 contributed new SVG icons to the project.
Notes
Multipart requests
Requests using multipart forms is outside the scope of these release notes, but consider reading the official docs on the topic for more information.
Kobweb does not yet have an idiomatic way to send a multipart request (we will add this into a future release, but you can use the stdlib for this, leveraging FormData, RequestInit, and window.fetch APIs for now.)
The following FE code (imagine in a @Page somewhere) lets the user pick a file from their machine and send it to the server, using multipart forms to send both the file itself and an extra description as metadata:
`kotlin
val scope = rememberCoroutineScope()
var filePath by remember { mutableStateOf("") }
Input(InputType.File, filePath, onValueChange = { filePath = it }, Modifier.id("file-input"))
Button(onClick = {
val fileInput = document.getElementById("file-input") as HTMLInputElement
val file = fileInput.files?.get(0)
if (file != null) {
scope.launch {
val formData = FormData().apply {
append("file", file, file.name)
append("description", "Kobweb multipart test")
}
val requestInit = RequestInit(method = "POST", body = formData)
val response = window.fetch("/api/multipart", requestInit).await()
if (response.ok) {
response.text().await().let { window.alert(it) }
} else {
window.alert("Upload failed: ${response.status}")
}
}
}
}
}
`
Then, to handle a multipart request on the backend, write an API endpoint that uses req.body.multipart() to query it. The following endpoint is just a demo and returns diagnostic information about what was sent back as body text:
`kotlin
@Api
suspend fun multipart(ctx: ApiContext) {
val mp = ctx.req.body?.multipart() ?: return
ctx.res.body = Body.text(buildString {
appendLine("Received multipart request")
var i = 0
mp.forEachPart { part ->
appendLine("\nPart #${++i}")
appendLine("- Disposition: ${part.contentDisposition!!.disposition}")
appendLine("- Name: ${part.contentDisposition!!.name}")
(part.extras as? Multipart.Extras.File)?.let { fileExtras ->
appendLine("- Original file name: ${fileExtras.originalFileName}")
}
val bytes = part.bytes()
appendLine("- Size: ${bytes.size} bytes")
val maxSize = 100
if (bytes.size > maxSize) {
appendLine("- Content (first $maxSize bytes): ${bytes.take(maxSize).toByteArray().decodeToString().replace("\n", "\\n")}...")
} else {
appendLine("- Content: ${bytes.decodeToString().replace("\n", "\\n")}")
}
}
})
}
`
Our API is inspired by, but (we think) slightly more Kotlin idiomatic than, the ktor version.
Migrating frontend / backend APIs
Changes in this release caused us to reevaluate our APIs used for communicating between the frontend and backend, after adding multipart support challenged simple assumptions that I had mistakenly made a long time ago.
Fortunately, migration should be pretty easy, and it is hoped that most projects won't even notice the changes, or at least, will just need to accept IDE suggestions on deprecated lines of code.
HTTP responses expecting raw bytes
The APIs that send HTTP verb requests and expect raw bytes back have been renamed to be more explicit, e.g.
`kotlin
// Before
window.api.get("get-endpoint").let { bytes -> ... }
window.api.post("post-endpoint").let { bytes -> ... }
// After
window.api.getBytes("get-endpoint").let { bytes -> ... }
window.api.postBytes("post-endpoint").let { bytes -> ... }
``
In a near future release of Kobweb, the o
v0.23.32025-09-11
This release raises the version of kotlin to 2.2.20.
``toml
[versions]
kobweb = "0.23.3"
kotlin = "2.2.20"
``
> [!IMPORTANT]
> Planning to upgrade? Review instructions in the README.
---
Full Changelog: https://github.com/varabyte/kobweb/compare/v0.23.2...v0.23.3
v0.23.22025-09-03
We just learned our last release broke base paths, which is an important feature for anyone using GHP to host their Kobweb sites, so we're pushing this release out a little early.
> [!IMPORTANT]
> Planning to upgrade? Review instructions in the README.
Changes
Frontend
* Fixed breakages introduced to sites that use the base path feature.
* Fixed routing logic to avoid a potential infinite loop if you visit an invalid route, depending on how the host server was configured to handle fallbacks.
Silk
* Added loading, decoding, and fetchPriority parameters to the Image composable
Markdown
* Fixed an issue where quotes in frontmatter values were not escaped correctly
Gradle
* Improvements around property resolution logic in preparation for Gradle 9.1 which can take advantage of it.
Thanks!
* @DatL4g made their first contribution, adding useful parameters to the Image composable.
---
Full Changelog: https://github.com/varabyte/kobweb/compare/v0.23.1...v0.23.2
v0.23.12025-08-20
This release introduces a handful of miscellaneous feature and raises the version of kotlin to 2.2.10.
``toml
[versions]
kobweb = "0.23.1"
kotlin = "2.2.10"
`
> [!IMPORTANT]
> Planning to upgrade? Review instructions in the README.
Changes
Frontend
* Added new XXL breakpoint size (for people designing around extremely wide-screen displays)
* Added support for protocol-relative URLs
* ⚠️ Users generally shouldn't use them! But as they are valid link formats, and other frameworks support them, we decided to support them as well.
* CSS modifier updates
* Additional fontVariant modifier
* Additional opacity modifier
* Add new WritingMode values.
* Removed some incorrect and unsupported CSS values from various CSS classes
* Prevent flash of unstyled content on Firefox (on exported sites)
Silk
* Fixed issues with horizontal and vertical dividers not setting their colors correctly
Markdown
* Fixed a crash when you had multi-paragrah content within a {{{ ... }}} Kobweb call
* Fixed an issue where markdown files without a frontmatter block would be skipped over from showing up in the markdown.process handler
* We now allow markdown files to specify empty frontmatter without crashing
Gradle
* Fixed "Property 'appBackendMetadataFile' doesn't have a configured value." error.
* This would happen in projects that enabled a JVM backend but had no src/jvmMain content specified yet.
* Add an informative error if you try to enable the JVM backend on a project that does not depend on the kobweb-api` artifact.
Thanks!
* @Erikvv made their first contribution in https://github.com/varabyte/kobweb/pull/728
---
Full Changelog: https://github.com/varabyte/kobweb/compare/v0.23.0...v0.23.1
v0.23.02025-07-04
This release introduces a handful of miscellaneous feature and raises the version of kotlin to 2.2.0.
``toml
[versions]
kobweb = "0.23.0"
kotlin = "2.2.0"
`
> [!IMPORTANT]
> Planning to upgrade? Review instructions in the README.
⚠️ Please also be aware that there has been a huge backend migration that occurred in the open source community for maven central artifacts recently. For most people, no action is required, but we did need to update our instructions around downloading snapshots, and you may wish to update your own project if you ever use them.
Changes
Frontend
* Added many new CSS modifiers
* empty-cells, hyphenate-character, line-break, orphans, shape-margin, shape-rendering, table-layout, text-combine-upright, text-decoration-skip-ink, text-emphasis-position, text-indent, text-orientation, and text-underline-position
* Query parameters / dynamic parameters are now decoded
* So for example, https://example.com/?arg=hello%20world will now return "hello world" when you query it and not "hello%20world" as it did before
* We no longer crash on URLs that have extra slashes in them (such as https://example.com/oops//)
Gradle
* Fixed an issue where live reloading would break if you had multiple Kobweb sites that you were trying to develop at the same time in the same workspace.
* We now issue a warning if you do an export --layout static when Gradle detects backend functionality OR if you do an export --layout fullstack when you don't.
* Give that kobweb export without explicitly passing in a layout does a fullstack export by default, we expect the latter to be more common.
* This will hopefully help address what has been a point of confusion for new users.
* No idea what I'm talking about? Check out the docs!
Worker
* Fixed an issue where workers declared in non-root paths wouldn't work(!)
* This would also affect attempting to call workers from other workers.
* Add support for passing structured clonable objects (like File) and not just transferables with worker messages.
* ⚠️ As part of this change, we deprecated the class name Transferables and renamed it to the more general-sounding Attachments
* We now surface exceptions if serialization / deserialization of input / output messages fail
* Before this was swallowed because it wasn't assumed it wouldn't ever happen due to compile-time type safety, but a user showed us a reasonable case for them where it did (they forgot to tag a class @Serializable`), and if we had surfaced the exceptions they would have saved a lot of time fixing it.
* Added support for attaching raw json key/value pairs to a worker message (as a useful escape hatch in case Kobweb doesn't support sending a particular class instance now or in the future, although 99.99% of you probably won't ever need to use this)
Thanks
@shaksternano helped us close gaps / fix bugs present in the API for using Kobweb Workers and made some great suggestions on how to improve it. See https://github.com/varabyte/kobweb/issues/708 for an example of an appreciated discourse!
@sandeepjak2007 has continued to help us filling out our CSS APIs. All new CSS modifiers are thanks to his contributions!
---
Full Changelog: https://github.com/varabyte/kobweb/compare/v0.22.0...v0.23.0
v0.22.02025-05-17
This release introduces layouts, which let you annotate your layout methods explicilty and let Kobweb call them for you.
> [!WARNING]
> Layouts required me to make a change to a default that may visually impact your site. Unfortunately, there was no easy way to detect the case. You should double check your site before deploying with this new version. If you see your layout collapse vertically on short pages, please read the notes section for an easy way to fix it.
This release also updates kotlin to v2.1.21 and compose to v1.8.0
``toml
[versions]
kobweb = "0.22.0"
compose = "1.8.0"
kotlin = "2.1.21"
`
> [!IMPORTANT]
> Planning to upgrade? Review instructions in the README.
As an extremely quick intro to layouts, if you have code in your project that looks like this:
`kotlin
@Composable
fun PageLayout(content: @Composable () -> Unit) {
// Layout stuff
content()
}
@Page
@Composable
fun ExamplePage() {
PageLayout {
/.../
}
}
`
you can apply the @Layout annotation to the layout method (to declare it as a layout) and to the page method (to declare it as using a layout):
`kotlin
@Composable
@Layout
fun PageLayout(content: @Composable () -> Unit) {
// Layout stuff
content()
}
@Page
@Layout(".components.layouts.PageLayout")
@Composable
fun ExamplePage() {
/.../
}
`
There is much more purpose to this feature than just removing a bit of indentation (although removing indentation is always nice). In short, you can now set up your site in a way that stateful UI in your layout composables now survive across page navigations without needing to use local storage tricks. Visit https://kobweb.varabyte.com/docs/concepts/foundation/layouts for the full rundown.
You can always continue to use the legacy way of handling layouts, that won't go away, but all relevant templates have been ported over to serve as example code.
Changes
Frontend
* Layouts!
* New modifiers for several CSS properties (thanks sandeepjak2007!)
* all
* backface-visibility
* break-before, break-after, break-inside
* column-count, column-fill, column-span
* contain, contain-intrinsic-block-size, contain-intrisic-inline-size
* ruby-position, word-spacing
* will-change
* widows
* Fixed svg attrs blocks no longer autocompleting attributes
* (This broke with K2 mode! We have reported the issue but migrated code over to a way that is no longer affected by the bug)
* Fixed a bug with RawHtml not working with raw SVG tags.
Backend
* Fixed an issue where the Kobweb server wouldn't return html content in some cases when it should have.
* This wouldn't hit anyone when visiting a website served by a Kobweb server, but it could happen if you used tools like curl or wget to query it manually.
Notes
Fixing collapsing heights
> [!IMPORTANT]
> If after upgrading to 0.22.0, you notice your vertical layouts are suddenly collapsing, which will often look like your footer not sticking to the bottom of the screen, read on!
Let's start with the fix, as it is easy. Check your AppEntry.kt file, and look for code setting minHeight like this:
`kotlin
Surface(SmoothColorStyle.toModifier().minHeight(100.vh)) {
content()
}
`
Create a Box child and move the minHeight modifier onto it:
`diff
+Surface(SmoothColorStyle.toModifier()) {
+ Box(Modifier.minHeight(100.vh)) {
content()
}
}
`
Next, we'll discuss the background for anyone interested.
Silk provides the Surface widget. This is fundamentally a <div> plus a little bit of logic that makes it aware of the current Silk color mode (light or dark), which influences the text and background color of the surface itself and all of its children.
Previously, I implemented it internally using a Box, which is a <div> that uses a grid layout to enforce a stack-like layout behavior.
However, for reasons that are hard to describe here, layouts helped me see this was a bad default. The short version is that opting a <div> into a grid layout has some implications for both how it interprets width and height calculations, but also how it flows its children content. The purpose of using a Surface is simply to opt into color mode functionality, NOT choose a non-standard layout flow.
Moving Surface away from using Box` suddenly changes how HTML handles height calculations. Standard divs take their height cues from explicitly set heights, while grids (and flexboxes) respect min-height values even if they or their parent's heights aren't set.
Unfortunately, many Kobweb templates were built around surfaces being boxes, so there's a good chance that your own site, if built from them, may experience collapsing heights for short pages starting in 0.22.0.
Thanks!
In this release, @sandeepjak2007 joined us and started helping us out by adding more CSS APIs. Their effort caused us to reevaluate our current approach, which we have since migrated to a way that is easier to contribute to. We have also added full test coverage over the CSS APIs, which helped us clean up a few inconsistencies.
---
Full Changelog: https://github.com/varabyte/kobweb/compare/v0.21.1...v0.22.0
v0.21.12025-04-06
This is a quick patch-fix release! This is the same functionality as v0.21.0 plus fixes made to color mode logic.
> [!IMPORTANT]
> Planning to upgrade? Review instructions in the README.
---
Full Changelog: https://github.com/varabyte/kobweb/compare/v0.21.0...v0.21.1