@berachain/config 0.1.0 → 0.1.1-5.beta-1
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/bepolia.cjs +8 -1
- package/dist/bepolia.d.cts +25 -7
- package/dist/bepolia.d.ts +25 -7
- package/dist/bepolia.mjs +8 -1
- package/dist/chunk-2JZ7QJEW.cjs +84 -0
- package/dist/chunk-2XYRGOX3.mjs +64 -0
- package/dist/chunk-3K6IUX3G.mjs +25 -0
- package/dist/chunk-3XMRQ4AF.cjs +169 -0
- package/dist/chunk-6TL5ZQOM.cjs +75 -0
- package/dist/chunk-75ZPJI57.cjs +9 -0
- package/dist/chunk-7P6ASYW6.mjs +9 -0
- package/dist/chunk-ADH7F47T.cjs +26 -0
- package/dist/chunk-AMUU2OH4.cjs +158 -0
- package/dist/chunk-AP2XG6GJ.mjs +84 -0
- package/dist/chunk-BM46XQJA.mjs +55 -0
- package/dist/chunk-CAOMAWN5.mjs +26 -0
- package/dist/chunk-EYYJ2UZT.cjs +10 -0
- package/dist/chunk-JHPXZOPW.mjs +158 -0
- package/dist/chunk-JZA34W4G.cjs +138 -0
- package/dist/chunk-KJXYSGNH.mjs +10 -0
- package/dist/chunk-KYJQS3T5.mjs +138 -0
- package/dist/chunk-LALEUPWL.mjs +8 -0
- package/dist/chunk-NQ3UKQHW.mjs +75 -0
- package/dist/chunk-NX4FI7G3.cjs +64 -0
- package/dist/chunk-ONKAV4AG.cjs +25 -0
- package/dist/chunk-SWEAJ6OD.mjs +169 -0
- package/dist/chunk-WRTYGXJM.cjs +55 -0
- package/dist/chunk-YT7WZDGI.cjs +8 -0
- package/dist/index.cjs +11 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.mjs +11 -1
- package/dist/internal/edge-config/index.cjs +37 -1
- package/dist/internal/edge-config/index.d.cts +1 -1
- package/dist/internal/edge-config/index.d.ts +1 -1
- package/dist/internal/edge-config/index.mjs +37 -1
- package/dist/internal/flags/index.cjs +206 -1
- package/dist/internal/flags/index.d.cts +7 -1
- package/dist/internal/flags/index.d.ts +7 -1
- package/dist/internal/flags/index.mjs +206 -1
- package/dist/internal/header-sources.cjs +283 -11
- package/dist/internal/header-sources.mjs +283 -11
- package/dist/internal/index.cjs +40 -1
- package/dist/internal/index.d.cts +105 -31
- package/dist/internal/index.d.ts +105 -31
- package/dist/internal/index.mjs +40 -1
- package/dist/internal/maintenance.cjs +26 -1
- package/dist/internal/maintenance.mjs +26 -1
- package/dist/internal/nextjs/index.cjs +85 -1
- package/dist/internal/nextjs/index.d.cts +1 -1
- package/dist/internal/nextjs/index.d.ts +1 -1
- package/dist/internal/nextjs/index.mjs +85 -1
- package/dist/internal/nextjs/utils/index.cjs +39 -1
- package/dist/internal/nextjs/utils/index.mjs +39 -1
- package/dist/internal/sentry/index.cjs +11 -1
- package/dist/internal/sentry/index.mjs +11 -1
- package/dist/internal/sentry/sentry.client.config.cjs +59 -1
- package/dist/internal/sentry/sentry.client.config.mjs +59 -1
- package/dist/internal/tailwind/index.cjs +239 -1
- package/dist/internal/tailwind/index.mjs +239 -1
- package/dist/internal/tsup/index.cjs +73 -1
- package/dist/internal/tsup/index.mjs +73 -1
- package/dist/internal/wagmi/index.cjs +60 -1
- package/dist/internal/wagmi/index.d.cts +1 -18
- package/dist/internal/wagmi/index.d.ts +1 -18
- package/dist/internal/wagmi/index.mjs +60 -1
- package/dist/mainnet.cjs +10 -1
- package/dist/mainnet.d.cts +27 -8
- package/dist/mainnet.d.ts +27 -8
- package/dist/mainnet.mjs +10 -1
- package/dist/sentry.edge.config-F4334LEP.cjs +24 -0
- package/dist/sentry.edge.config-JU55FF2U.mjs +24 -0
- package/dist/sentry.server.config-KFRT37Q3.cjs +24 -0
- package/dist/sentry.server.config-M77KFJ6J.mjs +24 -0
- package/dist/{types-BU1W-0Vo.d.cts → types-ClIxAUdh.d.cts} +21 -8
- package/dist/{types-BU1W-0Vo.d.ts → types-ClIxAUdh.d.ts} +21 -8
- package/package.json +38 -40
- package/postcss.json +6 -0
- package/LICENSE +0 -21
- package/dist/chunk-2OLL4MUY.cjs +0 -1
- package/dist/chunk-3KQLFIHT.cjs +0 -2
- package/dist/chunk-3PKORKPM.mjs +0 -1
- package/dist/chunk-4VDLQK6F.cjs +0 -1
- package/dist/chunk-DFPDQR4M.cjs +0 -1
- package/dist/chunk-DL645PXT.mjs +0 -1
- package/dist/chunk-DUO7UEQD.cjs +0 -1
- package/dist/chunk-DVULZ7ID.cjs +0 -1
- package/dist/chunk-E6JOUU2U.mjs +0 -1
- package/dist/chunk-FVNATITS.mjs +0 -1
- package/dist/chunk-H6BDBYQ5.cjs +0 -1
- package/dist/chunk-HLI3RPDQ.cjs +0 -1
- package/dist/chunk-JVJKB7V7.mjs +0 -1
- package/dist/chunk-JYSZ2GU3.cjs +0 -1
- package/dist/chunk-JZXLCA2E.mjs +0 -1
- package/dist/chunk-MS6UGFXI.mjs +0 -1
- package/dist/chunk-O243TIHY.mjs +0 -1
- package/dist/chunk-O5LUKC6Z.mjs +0 -1
- package/dist/chunk-OQFLFE3X.cjs +0 -1
- package/dist/chunk-S2A3Z34I.mjs +0 -2
- package/dist/chunk-U2GGNVRS.cjs +0 -1
- package/dist/chunk-UNNCJ44D.mjs +0 -1
- package/dist/chunk-WDALG65T.mjs +0 -1
- package/dist/chunk-WU7DCIYT.cjs +0 -1
- package/dist/sentry.edge.config-34TBZ2J6.cjs +0 -1
- package/dist/sentry.edge.config-3QO3DLYV.mjs +0 -1
- package/dist/sentry.server.config-S53O6JTA.mjs +0 -1
- package/dist/sentry.server.config-WQX4KCNG.cjs +0 -1
|
@@ -1 +1,39 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
var _chunk2JZ7QJEWcjs = require('../../../chunk-2JZ7QJEW.cjs');
|
|
4
|
+
require('../../../chunk-75ZPJI57.cjs');
|
|
5
|
+
|
|
6
|
+
// src/internal/nextjs/utils/index.ts
|
|
7
|
+
function globToRegExp(glob) {
|
|
8
|
+
let re = glob.replace(/([.+?^=!:${}()|[\]/\\])/g, "\\$1");
|
|
9
|
+
re = re.replace(/\*\*/g, "___DOUBLE_STAR___");
|
|
10
|
+
re = re.replace(/\*/g, "[^/]+");
|
|
11
|
+
re = re.replace(/___DOUBLE_STAR___/g, ".*");
|
|
12
|
+
if (!re.startsWith("^")) re = `^${re}`;
|
|
13
|
+
if (!re.endsWith("$")) re = `${re}$`;
|
|
14
|
+
return new RegExp(re);
|
|
15
|
+
}
|
|
16
|
+
var normalizeHostname = (hostname) => hostname.replace(/^https?:\/\//, "");
|
|
17
|
+
function isAllowedImageUrl(urlString) {
|
|
18
|
+
try {
|
|
19
|
+
if (!urlString) return false;
|
|
20
|
+
const url = new URL(urlString);
|
|
21
|
+
for (const pattern of _chunk2JZ7QJEWcjs.IMAGE_REMOTE_PATTERNS) {
|
|
22
|
+
if (pattern.protocol && url.protocol.replace(":", "") !== pattern.protocol)
|
|
23
|
+
continue;
|
|
24
|
+
if (normalizeHostname(url.hostname) !== normalizeHostname(pattern.hostname))
|
|
25
|
+
continue;
|
|
26
|
+
if (!pattern.pathname) return true;
|
|
27
|
+
const pathnameRegex = globToRegExp(pattern.pathname);
|
|
28
|
+
if (pathnameRegex.test(url.pathname)) {
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
return false;
|
|
33
|
+
} catch (e) {
|
|
34
|
+
return false;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
exports.isAllowedImageUrl = isAllowedImageUrl;
|
|
@@ -1 +1,39 @@
|
|
|
1
|
-
import
|
|
1
|
+
import {
|
|
2
|
+
IMAGE_REMOTE_PATTERNS
|
|
3
|
+
} from "../../../chunk-AP2XG6GJ.mjs";
|
|
4
|
+
import "../../../chunk-7P6ASYW6.mjs";
|
|
5
|
+
|
|
6
|
+
// src/internal/nextjs/utils/index.ts
|
|
7
|
+
function globToRegExp(glob) {
|
|
8
|
+
let re = glob.replace(/([.+?^=!:${}()|[\]/\\])/g, "\\$1");
|
|
9
|
+
re = re.replace(/\*\*/g, "___DOUBLE_STAR___");
|
|
10
|
+
re = re.replace(/\*/g, "[^/]+");
|
|
11
|
+
re = re.replace(/___DOUBLE_STAR___/g, ".*");
|
|
12
|
+
if (!re.startsWith("^")) re = `^${re}`;
|
|
13
|
+
if (!re.endsWith("$")) re = `${re}$`;
|
|
14
|
+
return new RegExp(re);
|
|
15
|
+
}
|
|
16
|
+
var normalizeHostname = (hostname) => hostname.replace(/^https?:\/\//, "");
|
|
17
|
+
function isAllowedImageUrl(urlString) {
|
|
18
|
+
try {
|
|
19
|
+
if (!urlString) return false;
|
|
20
|
+
const url = new URL(urlString);
|
|
21
|
+
for (const pattern of IMAGE_REMOTE_PATTERNS) {
|
|
22
|
+
if (pattern.protocol && url.protocol.replace(":", "") !== pattern.protocol)
|
|
23
|
+
continue;
|
|
24
|
+
if (normalizeHostname(url.hostname) !== normalizeHostname(pattern.hostname))
|
|
25
|
+
continue;
|
|
26
|
+
if (!pattern.pathname) return true;
|
|
27
|
+
const pathnameRegex = globToRegExp(pattern.pathname);
|
|
28
|
+
if (pathnameRegex.test(url.pathname)) {
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
return false;
|
|
33
|
+
} catch {
|
|
34
|
+
return false;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
export {
|
|
38
|
+
isAllowedImageUrl
|
|
39
|
+
};
|
|
@@ -1 +1,11 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
var _chunk6TL5ZQOMcjs = require('../../chunk-6TL5ZQOM.cjs');
|
|
6
|
+
require('../../chunk-75ZPJI57.cjs');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
exports.onRequestError = _chunk6TL5ZQOMcjs.onRequestError; exports.registerSentry = _chunk6TL5ZQOMcjs.registerSentry; exports.withSentryConfig = _chunk6TL5ZQOMcjs.withSentryConfig;
|
|
@@ -1 +1,11 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import {
|
|
2
|
+
onRequestError,
|
|
3
|
+
registerSentry,
|
|
4
|
+
withSentryConfig
|
|
5
|
+
} from "../../chunk-NQ3UKQHW.mjs";
|
|
6
|
+
import "../../chunk-7P6ASYW6.mjs";
|
|
7
|
+
export {
|
|
8
|
+
onRequestError,
|
|
9
|
+
registerSentry,
|
|
10
|
+
withSentryConfig
|
|
11
|
+
};
|
|
@@ -1 +1,59 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
var _chunkONKAV4AGcjs = require('../../chunk-ONKAV4AG.cjs');
|
|
6
|
+
require('../../chunk-WRTYGXJM.cjs');
|
|
7
|
+
require('../../chunk-ADH7F47T.cjs');
|
|
8
|
+
require('../../chunk-EYYJ2UZT.cjs');
|
|
9
|
+
require('../../chunk-75ZPJI57.cjs');
|
|
10
|
+
|
|
11
|
+
// src/internal/sentry/sentry.client.config.ts
|
|
12
|
+
if (_chunkONKAV4AGcjs.sentryDebug) {
|
|
13
|
+
console.log(
|
|
14
|
+
"[@berachain/config] sentryDebug init",
|
|
15
|
+
process.env.NEXT_PUBLIC_SENTRY_DSN
|
|
16
|
+
);
|
|
17
|
+
}
|
|
18
|
+
function initSentryClient(Sentry, opt = {}) {
|
|
19
|
+
return Sentry.init({
|
|
20
|
+
dsn: process.env.NEXT_PUBLIC_SENTRY_DSN,
|
|
21
|
+
tunnel: "/monitoring-tunnel",
|
|
22
|
+
// Adjust this value in production, or use tracesSampler for greater control
|
|
23
|
+
tracesSampleRate: _chunkONKAV4AGcjs.tracesSampleRate,
|
|
24
|
+
// Setting this option to true will print useful information to the console while you're setting up Sentry.
|
|
25
|
+
debug: _chunkONKAV4AGcjs.sentryDebug,
|
|
26
|
+
environment: _chunkONKAV4AGcjs.sentryEnvironment,
|
|
27
|
+
...opt,
|
|
28
|
+
// You can remove this option if you're not planning to use the Sentry Session Replay feature:
|
|
29
|
+
// integrations: [],
|
|
30
|
+
ignoreErrors: [
|
|
31
|
+
..._nullishCoalesce(opt.ignoreErrors, () => ( [])),
|
|
32
|
+
// Browser extension - window global injection conflicts (ethereum, tron, solana, etc.)
|
|
33
|
+
/Cannot (set|assign to read only) property .+ of (object )?'?#<Window>/,
|
|
34
|
+
// Browser extension - proxy trap conflicts (e.g. TronLink tronlinkParams)
|
|
35
|
+
/'set' on proxy: trap returned falsish for property/,
|
|
36
|
+
// Browser extension - property descriptor redefinition
|
|
37
|
+
/Invalid property descriptor\. Cannot both specify accessors and a value or writable attribute/,
|
|
38
|
+
// Chrome extension messaging called from page context
|
|
39
|
+
/chrome\.runtime\.sendMessage\(\) called from a webpage/,
|
|
40
|
+
// Chrome extension port errors
|
|
41
|
+
"Could not establish connection. Receiving end does not exist.",
|
|
42
|
+
"Attempting to use a disconnected port object",
|
|
43
|
+
// WalletConnect authorization / session errors
|
|
44
|
+
/The source .+ has not been authorized yet/,
|
|
45
|
+
/No matching key\. session topic doesn't exist/,
|
|
46
|
+
// Wallet connection failures
|
|
47
|
+
/Failed to connect to MetaMask/,
|
|
48
|
+
"not found rainbowkit",
|
|
49
|
+
// WalletConnect
|
|
50
|
+
"Failed to execute 'transaction' on 'IDBDatabase': The database connection is closing.",
|
|
51
|
+
// wagmi
|
|
52
|
+
"The provider is disconnected from all chains.",
|
|
53
|
+
"Cannot destructure property 'register' of 'undefined' as it is undefined."
|
|
54
|
+
]
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
exports.initSentryClient = initSentryClient;
|
|
@@ -1 +1,59 @@
|
|
|
1
|
-
import
|
|
1
|
+
import {
|
|
2
|
+
sentryDebug,
|
|
3
|
+
sentryEnvironment,
|
|
4
|
+
tracesSampleRate
|
|
5
|
+
} from "../../chunk-3K6IUX3G.mjs";
|
|
6
|
+
import "../../chunk-BM46XQJA.mjs";
|
|
7
|
+
import "../../chunk-CAOMAWN5.mjs";
|
|
8
|
+
import "../../chunk-KJXYSGNH.mjs";
|
|
9
|
+
import "../../chunk-7P6ASYW6.mjs";
|
|
10
|
+
|
|
11
|
+
// src/internal/sentry/sentry.client.config.ts
|
|
12
|
+
if (sentryDebug) {
|
|
13
|
+
console.log(
|
|
14
|
+
"[@berachain/config] sentryDebug init",
|
|
15
|
+
process.env.NEXT_PUBLIC_SENTRY_DSN
|
|
16
|
+
);
|
|
17
|
+
}
|
|
18
|
+
function initSentryClient(Sentry, opt = {}) {
|
|
19
|
+
return Sentry.init({
|
|
20
|
+
dsn: process.env.NEXT_PUBLIC_SENTRY_DSN,
|
|
21
|
+
tunnel: "/monitoring-tunnel",
|
|
22
|
+
// Adjust this value in production, or use tracesSampler for greater control
|
|
23
|
+
tracesSampleRate,
|
|
24
|
+
// Setting this option to true will print useful information to the console while you're setting up Sentry.
|
|
25
|
+
debug: sentryDebug,
|
|
26
|
+
environment: sentryEnvironment,
|
|
27
|
+
...opt,
|
|
28
|
+
// You can remove this option if you're not planning to use the Sentry Session Replay feature:
|
|
29
|
+
// integrations: [],
|
|
30
|
+
ignoreErrors: [
|
|
31
|
+
...opt.ignoreErrors ?? [],
|
|
32
|
+
// Browser extension - window global injection conflicts (ethereum, tron, solana, etc.)
|
|
33
|
+
/Cannot (set|assign to read only) property .+ of (object )?'?#<Window>/,
|
|
34
|
+
// Browser extension - proxy trap conflicts (e.g. TronLink tronlinkParams)
|
|
35
|
+
/'set' on proxy: trap returned falsish for property/,
|
|
36
|
+
// Browser extension - property descriptor redefinition
|
|
37
|
+
/Invalid property descriptor\. Cannot both specify accessors and a value or writable attribute/,
|
|
38
|
+
// Chrome extension messaging called from page context
|
|
39
|
+
/chrome\.runtime\.sendMessage\(\) called from a webpage/,
|
|
40
|
+
// Chrome extension port errors
|
|
41
|
+
"Could not establish connection. Receiving end does not exist.",
|
|
42
|
+
"Attempting to use a disconnected port object",
|
|
43
|
+
// WalletConnect authorization / session errors
|
|
44
|
+
/The source .+ has not been authorized yet/,
|
|
45
|
+
/No matching key\. session topic doesn't exist/,
|
|
46
|
+
// Wallet connection failures
|
|
47
|
+
/Failed to connect to MetaMask/,
|
|
48
|
+
"not found rainbowkit",
|
|
49
|
+
// WalletConnect
|
|
50
|
+
"Failed to execute 'transaction' on 'IDBDatabase': The database connection is closing.",
|
|
51
|
+
// wagmi
|
|
52
|
+
"The provider is disconnected from all chains.",
|
|
53
|
+
"Cannot destructure property 'register' of 'undefined' as it is undefined."
|
|
54
|
+
]
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
export {
|
|
58
|
+
initSentryClient
|
|
59
|
+
};
|
|
@@ -1 +1,239 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }require('../../chunk-
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }require('../../chunk-75ZPJI57.cjs');
|
|
2
|
+
|
|
3
|
+
// src/internal/tailwind/index.ts
|
|
4
|
+
var _containerqueries = require('@tailwindcss/container-queries'); var _containerqueries2 = _interopRequireDefault(_containerqueries);
|
|
5
|
+
var _typography = require('@tailwindcss/typography'); var _typography2 = _interopRequireDefault(_typography);
|
|
6
|
+
var _tailwindcssanimate = require('tailwindcss-animate'); var _tailwindcssanimate2 = _interopRequireDefault(_tailwindcssanimate);
|
|
7
|
+
|
|
8
|
+
// src/internal/tailwind/config.ts
|
|
9
|
+
var _colors = require('tailwindcss/colors'); var _colors2 = _interopRequireDefault(_colors);
|
|
10
|
+
var _defaultTheme = require('tailwindcss/defaultTheme');
|
|
11
|
+
var configWithNoPlugins = {
|
|
12
|
+
darkMode: ["class"],
|
|
13
|
+
safelist: ["dark", "light"],
|
|
14
|
+
// These are relative to the project using the config
|
|
15
|
+
content: [
|
|
16
|
+
"src/**/*.{js,ts,jsx,tsx,mdx}",
|
|
17
|
+
"../../packages/ui/src/*.{ts,tsx}",
|
|
18
|
+
"../../packages/ui/src/**/*.{ts,tsx}",
|
|
19
|
+
"../../packages/shared-ui/src/*.{ts,tsx}",
|
|
20
|
+
"../../packages/shared-ui/src/**/*.{ts,tsx}"
|
|
21
|
+
],
|
|
22
|
+
theme: {
|
|
23
|
+
fontSize: {
|
|
24
|
+
xs: ["0.75rem", { lineHeight: "1rem" }],
|
|
25
|
+
md: ["1rem", { lineHeight: "1.5rem", fontWeight: "600" }],
|
|
26
|
+
sm: ["0.875rem", { lineHeight: "1.5rem" }],
|
|
27
|
+
xl: ["1.25rem", { lineHeight: "1.75rem" }],
|
|
28
|
+
lg: ["1.125rem", { lineHeight: "2rem" }],
|
|
29
|
+
"2xl": ["1.5rem", { lineHeight: "2rem" }],
|
|
30
|
+
"3xl": ["2rem", { lineHeight: "3rem" }],
|
|
31
|
+
"4xl": ["2.5rem", { lineHeight: "3rem" }],
|
|
32
|
+
"5xl": ["3rem", { lineHeight: "1" }],
|
|
33
|
+
"6xl": ["3.75rem", { lineHeight: "1" }],
|
|
34
|
+
"7xl": ["4.5rem", { lineHeight: "1" }],
|
|
35
|
+
"8xl": ["6rem", { lineHeight: "1" }],
|
|
36
|
+
"9xl": ["8rem", { lineHeight: "1" }],
|
|
37
|
+
/**
|
|
38
|
+
* Typography sizes
|
|
39
|
+
*/
|
|
40
|
+
h1: [
|
|
41
|
+
"3rem",
|
|
42
|
+
{ lineHeight: "3.5rem", fontWeight: "700", letterSpacing: "-0.125rem" }
|
|
43
|
+
],
|
|
44
|
+
h2: [
|
|
45
|
+
"1.875rem",
|
|
46
|
+
{
|
|
47
|
+
lineHeight: "2.5rem",
|
|
48
|
+
fontWeight: "600",
|
|
49
|
+
letterSpacing: "-0.01406rem"
|
|
50
|
+
}
|
|
51
|
+
],
|
|
52
|
+
h3: ["1.5rem", { lineHeight: "2rem", fontWeight: "600" }],
|
|
53
|
+
h4: [
|
|
54
|
+
"1.25rem",
|
|
55
|
+
{
|
|
56
|
+
lineHeight: "1.5rem",
|
|
57
|
+
fontWeight: "600",
|
|
58
|
+
letterSpacing: "-0.0625rem"
|
|
59
|
+
}
|
|
60
|
+
],
|
|
61
|
+
base: ["0.875rem", { lineHeight: "1.25rem", fontWeight: "600" }],
|
|
62
|
+
small: ["0.75rem", { lineHeight: "1rem", fontWeight: "500" }]
|
|
63
|
+
},
|
|
64
|
+
spacing: {
|
|
65
|
+
0: "0px",
|
|
66
|
+
"2xs": "0.25rem",
|
|
67
|
+
xs: "0.5rem",
|
|
68
|
+
sm: "0.75rem",
|
|
69
|
+
md: "1rem",
|
|
70
|
+
base: "1.5rem",
|
|
71
|
+
lg: "2rem",
|
|
72
|
+
xl: "2.5rem",
|
|
73
|
+
"2xl": "3rem",
|
|
74
|
+
"3xl": "3.5rem",
|
|
75
|
+
"4xl": "4rem",
|
|
76
|
+
"5xl": "6rem",
|
|
77
|
+
"6xl": "8rem"
|
|
78
|
+
},
|
|
79
|
+
borderRadius: {
|
|
80
|
+
none: "0px",
|
|
81
|
+
"2xs": "0.125rem",
|
|
82
|
+
xs: "0.25rem",
|
|
83
|
+
sm: "0.5rem",
|
|
84
|
+
md: "0.75rem",
|
|
85
|
+
lg: "1rem",
|
|
86
|
+
xl: "1.5rem",
|
|
87
|
+
"2xl": "2rem",
|
|
88
|
+
full: "9999px"
|
|
89
|
+
},
|
|
90
|
+
aspectRatio: {
|
|
91
|
+
auto: "auto",
|
|
92
|
+
square: "1 / 1",
|
|
93
|
+
video: "16 / 9",
|
|
94
|
+
1: "1",
|
|
95
|
+
2: "2",
|
|
96
|
+
3: "3",
|
|
97
|
+
4: "4",
|
|
98
|
+
5: "5",
|
|
99
|
+
6: "6",
|
|
100
|
+
7: "7",
|
|
101
|
+
8: "8",
|
|
102
|
+
9: "9",
|
|
103
|
+
10: "10",
|
|
104
|
+
11: "11",
|
|
105
|
+
12: "12",
|
|
106
|
+
13: "13",
|
|
107
|
+
14: "14",
|
|
108
|
+
15: "15",
|
|
109
|
+
16: "16"
|
|
110
|
+
},
|
|
111
|
+
container: {
|
|
112
|
+
center: true,
|
|
113
|
+
padding: {
|
|
114
|
+
DEFAULT: "1rem",
|
|
115
|
+
md: "2rem",
|
|
116
|
+
lg: "4rem"
|
|
117
|
+
},
|
|
118
|
+
screens: {
|
|
119
|
+
// xs: "360px",
|
|
120
|
+
sm: "640px",
|
|
121
|
+
md: "768px",
|
|
122
|
+
lg: "1024px",
|
|
123
|
+
xl: "1280px",
|
|
124
|
+
"2xl": "1536px"
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
colors: {
|
|
128
|
+
hover: "hsl(var(--hover) / <alpha-value>)",
|
|
129
|
+
background: {
|
|
130
|
+
DEFAULT: "hsl(var(--background) / <alpha-value>)",
|
|
131
|
+
secondary: "hsl(var(--background-secondary) / <alpha-value>)"
|
|
132
|
+
},
|
|
133
|
+
foreground: "hsl(var(--foreground) / <alpha-value>)",
|
|
134
|
+
muted: {
|
|
135
|
+
DEFAULT: "hsl(var(--muted) / <alpha-value>)",
|
|
136
|
+
foreground: "hsl(var(--muted-foreground) / <alpha-value>)"
|
|
137
|
+
},
|
|
138
|
+
primary: {
|
|
139
|
+
DEFAULT: "hsl(var(--primary) / <alpha-value>)",
|
|
140
|
+
foreground: "hsl(var(--primary-foreground) / <alpha-value>)"
|
|
141
|
+
},
|
|
142
|
+
accent: {
|
|
143
|
+
DEFAULT: "hsl(var(--accent) / <alpha-value>)",
|
|
144
|
+
foreground: "hsl(var(--accent-foreground) / <alpha-value>)",
|
|
145
|
+
faucet: "#326FE5",
|
|
146
|
+
beratrail: "#96532C",
|
|
147
|
+
berps: "#41D6E0",
|
|
148
|
+
bend: "#8C7FEB",
|
|
149
|
+
honey: "#EC8A19",
|
|
150
|
+
hub: "#FEDB71"
|
|
151
|
+
},
|
|
152
|
+
border: {
|
|
153
|
+
DEFAULT: "hsl(var(--border) / <alpha-value>)",
|
|
154
|
+
hover: "hsl(var(--border-hover) / <alpha-value>)"
|
|
155
|
+
},
|
|
156
|
+
input: "hsl(var(--input) / <alpha-value>)",
|
|
157
|
+
destructive: {
|
|
158
|
+
DEFAULT: "hsl(var(--destructive) / <alpha-value>)",
|
|
159
|
+
foreground: "hsl(var(--destructive-foreground) / <alpha-value>)"
|
|
160
|
+
},
|
|
161
|
+
warning: {
|
|
162
|
+
DEFAULT: "hsl(var(--warning) / <alpha-value>)",
|
|
163
|
+
foreground: "hsl(var(--warning-foreground) / <alpha-value>)"
|
|
164
|
+
},
|
|
165
|
+
info: {
|
|
166
|
+
DEFAULT: "hsl(var(--info) / <alpha-value>)",
|
|
167
|
+
foreground: "hsl(var(--info-foreground) / <alpha-value>)"
|
|
168
|
+
},
|
|
169
|
+
success: {
|
|
170
|
+
DEFAULT: "hsl(var(--success) / <alpha-value>)",
|
|
171
|
+
foreground: "hsl(var(--success-foreground) / <alpha-value>)"
|
|
172
|
+
},
|
|
173
|
+
ring: "hsl(var(--ring) / <alpha-value>)",
|
|
174
|
+
white: _colors2.default.white,
|
|
175
|
+
black: _colors2.default.black,
|
|
176
|
+
inherit: _colors2.default.inherit,
|
|
177
|
+
transparent: _colors2.default.transparent,
|
|
178
|
+
current: _colors2.default.current
|
|
179
|
+
},
|
|
180
|
+
extend: {
|
|
181
|
+
letterSpacing: {
|
|
182
|
+
tight1: "-0.03125rem",
|
|
183
|
+
tight2: "-0.0625rem"
|
|
184
|
+
},
|
|
185
|
+
minHeight: {
|
|
186
|
+
minimum: "calc(100vh - 191px)",
|
|
187
|
+
"screen-250": "calc(100vh - 214px)"
|
|
188
|
+
},
|
|
189
|
+
maxWidth: {
|
|
190
|
+
"1280": "1280px"
|
|
191
|
+
},
|
|
192
|
+
borderColor: {
|
|
193
|
+
DEFAULT: "hsl(var(--border) / <alpha-value>)"
|
|
194
|
+
},
|
|
195
|
+
padding: {
|
|
196
|
+
start: "106px",
|
|
197
|
+
"start-lg": "154px"
|
|
198
|
+
},
|
|
199
|
+
fontFamily: {
|
|
200
|
+
sans: ["var(--font-sans)", ..._defaultTheme.fontFamily.sans],
|
|
201
|
+
honey: ["var(--font-honey)", ..._defaultTheme.fontFamily.sans]
|
|
202
|
+
},
|
|
203
|
+
keyframes: {
|
|
204
|
+
"fade-in": {
|
|
205
|
+
from: {
|
|
206
|
+
opacity: "0"
|
|
207
|
+
},
|
|
208
|
+
to: {
|
|
209
|
+
opacity: "1"
|
|
210
|
+
}
|
|
211
|
+
},
|
|
212
|
+
"accordion-down": {
|
|
213
|
+
from: { height: "0" },
|
|
214
|
+
to: { height: "var(--radix-accordion-content-height)" }
|
|
215
|
+
},
|
|
216
|
+
"accordion-up": {
|
|
217
|
+
from: { height: "var(--radix-accordion-content-height)" },
|
|
218
|
+
to: { height: "0" }
|
|
219
|
+
}
|
|
220
|
+
},
|
|
221
|
+
animation: {
|
|
222
|
+
"fade-in": "fade-in 0.5s linear forwards",
|
|
223
|
+
"accordion-down": "accordion-down 0.2s ease-out",
|
|
224
|
+
"accordion-up": "accordion-up 0.2s ease-out"
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
};
|
|
229
|
+
|
|
230
|
+
// src/internal/tailwind/index.ts
|
|
231
|
+
var config = {
|
|
232
|
+
...configWithNoPlugins,
|
|
233
|
+
plugins: [_tailwindcssanimate2.default, _containerqueries2.default, _typography2.default]
|
|
234
|
+
};
|
|
235
|
+
var tailwind_default = config;
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
exports.config = config; exports.default = tailwind_default;
|