@acmekit/docs-tailwind 2.13.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +13 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.js +839 -0
- package/dist/index.mjs +806 -0
- package/package.json +36 -0
- package/src/theme.css +39 -0
package/package.json
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@acmekit/docs-tailwind",
|
|
3
|
+
"description": "Tailwind CSS preset for AcmeKit documentation.",
|
|
4
|
+
"version": "2.13.41",
|
|
5
|
+
"types": "dist/index.d.ts",
|
|
6
|
+
"main": "dist/index.js",
|
|
7
|
+
"module": "dist/index.mjs",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"import": "./dist/index.mjs",
|
|
12
|
+
"require": "./dist/index.js"
|
|
13
|
+
},
|
|
14
|
+
"./theme.css": "./src/theme.css"
|
|
15
|
+
},
|
|
16
|
+
"repository": {
|
|
17
|
+
"type": "git",
|
|
18
|
+
"url": "https://github.com/acmekit/acmekit",
|
|
19
|
+
"directory": "packages/docs/docs-tailwind"
|
|
20
|
+
},
|
|
21
|
+
"files": [
|
|
22
|
+
"dist",
|
|
23
|
+
"src/theme.css",
|
|
24
|
+
"package.json"
|
|
25
|
+
],
|
|
26
|
+
"scripts": {
|
|
27
|
+
"build": "yarn run -T tsup"
|
|
28
|
+
},
|
|
29
|
+
"dependencies": {
|
|
30
|
+
"@acmekit/ui-preset": "2.13.41"
|
|
31
|
+
},
|
|
32
|
+
"peerDependencies": {
|
|
33
|
+
"tailwindcss": ">=3.0.0"
|
|
34
|
+
},
|
|
35
|
+
"packageManager": "yarn@3.2.1"
|
|
36
|
+
}
|
package/src/theme.css
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* AcmeKit Docs Theme
|
|
3
|
+
* Base styles matching the book documentation app.
|
|
4
|
+
* CSS custom properties are injected via the Tailwind plugin (addBase).
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
@layer base {
|
|
8
|
+
html {
|
|
9
|
+
-webkit-font-smoothing: antialiased;
|
|
10
|
+
-moz-osx-font-smoothing: grayscale;
|
|
11
|
+
text-rendering: optimizeLegibility;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
body {
|
|
15
|
+
overflow-x: hidden;
|
|
16
|
+
font-family: var(--font-inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
*::selection {
|
|
20
|
+
background-color: var(--docs-fg-subtle);
|
|
21
|
+
color: var(--docs-fg-on-inverted);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
*:not(.code-block-elm) {
|
|
25
|
+
scrollbar-color: var(--docs-border-base) var(--docs-bg-base);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.code-block-elm {
|
|
29
|
+
scrollbar-color: var(--docs-contrast-border-base) transparent;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
aside * {
|
|
33
|
+
scrollbar-color: var(--docs-border-base) var(--docs-bg-subtle);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
body[data-modal="opened"] {
|
|
37
|
+
overflow: hidden !important;
|
|
38
|
+
}
|
|
39
|
+
}
|