---
title: "Fresh 1.6: Tailwind CSS plugin, simplified typings and more"
description: "Fresh 1.6 replaces Twind with a first-class Tailwind CSS plugin that generates CSS once at build time instead of on every request, and adds Partials support for forms and error pages."
url: "https://swe.quest/articles/fresh-1-6-tailwind-css-plugin-simplified-typings-and-more-c5b6f1eed7d87e12"
canonical: "https://deno.com/blog/fresh-1.6"
source: "Deno"
published: "2023-12-01"
difficulty: "medium"
kind: "Release"
reading_minutes: 8
tags: ["frontend","typescript","css"]
---

# Fresh 1.6: Tailwind CSS plugin, simplified typings and more

A post on [Deno](https://swe.quest/sources/deno.md), published 2023-12-01, 8 min read, Release. Original: [https://deno.com/blog/fresh-1.6](https://deno.com/blog/fresh-1.6)

## Summary

Fresh 1.6 replaces Twind with a first-class Tailwind CSS plugin that generates CSS once at build time instead of on every request, and adds Partials support for forms and error pages. Islands now bundle per source file rather than one tiny bundle each, manifest identifiers derive from file names to cut merge conflicts, and route matching falls back to string comparison for static routes, giving a 4-10x speedup on deno.com. The plugin API can now add islands, inject link elements and hook configResolved; router.basePath enables sub-path hosting; and context and props types collapse to FreshContext, RouteContext and PageProps, with the old names kept as aliases.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Frontend](https://swe.quest/tags/frontend.md) (Web & mobile)
- [TypeScript](https://swe.quest/tags/typescript.md) (Languages)
- [CSS](https://swe.quest/tags/css.md) (Web & mobile)

## Prerequisites

- Deno basics
- islands architecture ([easy posts on System design](https://swe.quest/tags/system-design.md?difficulty=easy))

## Keywords

Fresh, Deno, Tailwind CSS, Twind, Partials, Preact

## Related posts

- [Fresh 1.1 - automatic JSX, plugins, DevTools, and more](https://swe.quest/articles/fresh-1-1-automatic-jsx-plugins-devtools-and-more-546b7dc860fe9b32.md): Deno · 2022-09-08 · Medium · 7 min read · Frontend, TypeScript, JavaScript
  Fresh 1.1, Deno's zero-client-JS, no-build-step web framework, switches new projects to automatic JSX via the deno.json jsxImportSource setting.
- [Fresh 1.5: Partials, client side navigation and more](https://swe.quest/articles/fresh-1-5-partials-client-side-navigation-and-more-9cde9f664f462089.md): Deno · 2023-10-10 · Medium · 7 min read · Frontend, JavaScript, TypeScript
  Fresh 1.5 introduces Partials, a client-side navigation model where marked regions of a page are swapped with server-rendered HTML without a full reload, preserving island state.
- [Fresh 1.0](https://swe.quest/articles/fresh-1-0-407c9d4b84f51b2c.md): Deno · 2022-06-28 · Medium · 5 min read · Frontend, JavaScript, TypeScript, Web performance, CDN & edge
  Fresh is a full stack web framework for Deno that renders pages just-in-time on the server and ships zero JavaScript to the client by default, using the islands architecture so only explicitly opted-in components are hydrated in the browser.
- [Fresh 1.3 – Simplified Route Components and More](https://swe.quest/articles/fresh-1-3-simplified-route-components-and-more-3694b69f8671c9dd.md): Deno · 2023-07-18 · Medium · 6 min read · Frontend, TypeScript
  Fresh 1.3 lets route components be async functions that load data directly, removing the handler-plus-props-interface boilerplate, while the existing ctx.render() pattern keeps working.
- [Fresh 1.4 – Faster Page Loads, Layouts and More](https://swe.quest/articles/fresh-1-4-faster-page-loads-layouts-and-more-0ba54de19820b6f5.md): Deno · 2023-08-16 · Medium · 7 min read · Frontend, Web performance, TypeScript
  Fresh 1.4 adds optional ahead-of-time asset compilation via \`deno task build\`, which serves island assets roughly 45-60x faster on serverless cold starts than on-the-fly JIT compilation; a ~30kB search island that took 4.28s now revives near-instantly.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
