Skip to content
This repository was archived by the owner on Jul 6, 2025. It is now read-only.

Commit de426ff

Browse files
committed
Upgrade unocss to 0.32.12
1 parent 42bfc2f commit de426ff

File tree

11 files changed

+11
-14
lines changed

11 files changed

+11
-14
lines changed

examples/feature-apps/unocss/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<head>
55
<meta charset="UTF-8">
66
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7-
<link rel="stylesheet" href="https://esm.sh/@unocss/[email protected].8/tailwind.css">
7+
<link rel="stylesheet" href="https://esm.sh/@unocss/[email protected].12/tailwind.css">
88
<style>
99
#root {
1010
position: relative;

examples/feature-apps/unocss/server.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import presetUno from "@unocss/preset-uno.ts";
22
import presetIcons from "@unocss/preset-icons.ts";
3-
import carbonIcons from "https://esm.sh/@iconify-json/[email protected]/icons.json" assert { type: "json" };
43
import { App } from "aleph/react";
54
import { serve } from "aleph/server";
65
import { renderToString } from "react-dom/server";
@@ -12,9 +11,7 @@ serve({
1211
presets: [
1312
presetUno(),
1413
presetIcons({
15-
collections: {
16-
carbon: () => carbonIcons,
17-
},
14+
cdn: "https://esm.sh/",
1815
}),
1916
],
2017
},

lib/@unocss/preset-attributify.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
* Provides Attributify Mode to other presets and rules.
33
* https://github.com/unocss/unocss/tree/main/packages/preset-attributify
44
*/
5-
export { default } from "https://esm.sh/@unocss/[email protected].8";
5+
export { default } from "https://esm.sh/@unocss/[email protected].12";

lib/@unocss/preset-icons.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
* Use any icon as a class utility.
33
* https://github.com/unocss/unocss/tree/main/packages/preset-icons
44
*/
5-
export { default } from "https://esm.sh/@unocss/[email protected].8?no-require";
5+
export { default } from "https://esm.sh/@unocss/[email protected].12?no-require";

lib/@unocss/preset-mini.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
* The minimal but essential rules and variants.
33
* https://github.com/unocss/unocss/tree/main/packages/preset-mini
44
*/
5-
export { default } from "https://esm.sh/@unocss/[email protected].8";
5+
export { default } from "https://esm.sh/@unocss/[email protected].12";

lib/@unocss/preset-typography.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
* The typography preset.
33
* https://github.com/unocss/unocss/tree/main/packages/preset-typography
44
*/
5-
export { default } from "https://esm.sh/@unocss/[email protected].8";
5+
export { default } from "https://esm.sh/@unocss/[email protected].12";

lib/@unocss/preset-uno.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
* The default preset (right now it's equivalent to @unocss/preset-wind).
33
* https://github.com/unocss/unocss/tree/main/packages/preset-uno
44
*/
5-
export { default } from "https://esm.sh/@unocss/[email protected].8";
5+
export { default } from "https://esm.sh/@unocss/[email protected].12";

lib/@unocss/preset-web-fonts.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
* Web fonts at ease.
33
* https://github.com/unocss/unocss/tree/main/packages/preset-web-fonts
44
*/
5-
export { default } from "https://esm.sh/@unocss/[email protected].8";
5+
export { default } from "https://esm.sh/@unocss/[email protected].12";

lib/@unocss/preset-wind.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
* Tailwind / Windi CSS compact preset.
33
* https://github.com/unocss/unocss/tree/main/packages/preset-wind
44
*/
5-
export { default } from "https://esm.sh/@unocss/[email protected].8";
5+
export { default } from "https://esm.sh/@unocss/[email protected].12";

server/helpers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { basename, dirname, globToRegExp, join } from "https://deno.land/[email protected]/path/mod.ts";
22
import { JSONC } from "https://deno.land/x/[email protected]/src/jsonc.ts";
3-
import { createGenerator, type UnoGenerator } from "https://esm.sh/@unocss/[email protected].8";
3+
import { createGenerator, type UnoGenerator } from "https://esm.sh/@unocss/[email protected].12";
44
import { findFile } from "../lib/fs.ts";
55
import log from "../lib/log.ts";
66
import util from "../lib/util.ts";

0 commit comments

Comments
 (0)