Skip to content

Commit 5afd2f7

Browse files
authored
release tailwind plugin 0.0.7 (#105)
1 parent 43a9a28 commit 5afd2f7

File tree

2 files changed

+34
-13
lines changed

2 files changed

+34
-13
lines changed

packages/tailwind-preset/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@ngrok/mantle-tailwind-preset",
33
"description": "A Tailwind CSS preset for ngrok's Mantle design system",
4-
"version": "0.0.6",
4+
"version": "0.0.7",
55
"author": "ngrok",
66
"license": "MIT",
77
"homepage": "https://mantle.ngrok.com",

packages/tailwind-preset/src/tailwind.preset.ts

+33-12
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,17 @@ const mantlePreset = {
1616
},
1717
},
1818
extend: {
19+
animation: {
20+
"accordion-down": "accordion-down 0.2s ease-out",
21+
"accordion-up": "accordion-up 0.2s ease-out",
22+
},
1923
aria: {
2024
invalid: 'invalid="true"',
2125
},
22-
fontFamily: {
23-
sans: ["EuclidSquare", ...defaultTheme.fontFamily.sans],
24-
mono: ["IBMPlexMono", ...defaultTheme.fontFamily.mono],
26+
borderRadius: {
27+
lg: "var(--radius)",
28+
md: "calc(var(--radius) - 2px)",
29+
sm: "calc(var(--radius) - 4px)",
2530
},
2631
colors: {
2732
white: "hsl(var(--white) / <alpha-value>)",
@@ -295,13 +300,19 @@ const mantlePreset = {
295300
foreground: "hsl(var(--card-foreground))",
296301
},
297302
},
298-
borderRadius: {
299-
lg: "var(--radius)",
300-
md: "calc(var(--radius) - 2px)",
301-
sm: "calc(var(--radius) - 4px)",
303+
cursor: {
304+
inherit: "inherit",
305+
initial: "initial",
302306
},
303-
transitionProperty: {
304-
"max-height": "max-height",
307+
fontFamily: {
308+
sans: ["EuclidSquare", ...defaultTheme.fontFamily.sans],
309+
mono: ["IBMPlexMono", ...defaultTheme.fontFamily.mono],
310+
},
311+
fontSize: {
312+
"size-inherit": "inherit",
313+
},
314+
fontWeight: {
315+
initial: "initial",
305316
},
306317
keyframes: {
307318
"accordion-down": {
@@ -313,9 +324,19 @@ const mantlePreset = {
313324
to: { height: "0" },
314325
},
315326
},
316-
animation: {
317-
"accordion-down": "accordion-down 0.2s ease-out",
318-
"accordion-up": "accordion-up 0.2s ease-out",
327+
lineHeight: {
328+
0: "0",
329+
initial: "initial",
330+
},
331+
screens: {
332+
xs: "480px",
333+
},
334+
transitionProperty: {
335+
"max-height": "max-height",
336+
},
337+
zIndex: {
338+
1: "1",
339+
max: "2147483647",
319340
},
320341
},
321342
},

0 commit comments

Comments
 (0)