@opble/auth0-react 1.1.6 → 1.1.7
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.
|
@@ -2,5 +2,5 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { useAuth0 } from '@auth0/auth0-react';
|
|
3
3
|
export function AccessForbidden({ homeUrl = '/', supportEmail, supportUrl, } = {}) {
|
|
4
4
|
const { logout } = useAuth0();
|
|
5
|
-
return (_jsx("div", { className: "min-h-screen flex items-center justify-center bg-linear-to-b from-white to-gray-100 dark:from-slate-900 dark:to-slate-800 transition-colors px-4", children: _jsxs("div", { className: "w-full max-w-lg p-8 rounded-2xl shadow-xl border border-gray-100 dark:border-slate-700 bg-white/70 dark:bg-slate-900/60 backdrop-blur-sm", children: [_jsxs("div", { className: "flex flex-col items-center text-center", children: [_jsx("div", { className: "shrink-0 h-16 w-16 rounded-full bg-red-100 dark:bg-red-900/20 flex items-center justify-center mb-4", children: _jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", className: "h-8 w-8 text-red-600 dark:text-red-400", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: [_jsx("rect", { x: "3", y: "11", width: "18", height: "11", rx: "2", ry: "2" }), _jsx("path", { d: "M7 11V7a5 5 0 0 1 10 0v4" })] }) }), _jsx("h1", { className: "text-3xl font-bold text-slate-900 dark:text-slate-100 mb-2", children: "Access Forbidden" }), _jsx("p", { className: "text-base text-slate-600 dark:text-slate-300 mb-6", children: "You don't have permission to access this page. Please contact your administrator if you believe this is an error." }), _jsxs("div", { className: "inline-flex items-center gap-2 px-4 py-2 rounded-full bg-red-50 dark:bg-red-900/10 border border-red-200 dark:border-red-800 mb-8", children: [_jsx("svg", { className: "h-4 w-4 text-red-600 dark:text-red-400", fill: "currentColor", viewBox: "0 0 20 20", children: _jsx("path", { fillRule: "evenodd", d: "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7 4a1 1 0 11-2 0 1 1 0 012 0zm-1-9a1 1 0 00-1 1v4a1 1 0 102 0V6a1 1 0 00-1-1z", clipRule: "evenodd" }) }), _jsx("span", { className: "text-sm font-medium text-red-700 dark:text-red-300", children: "Error 403" })] }), _jsxs("div", { className: "flex flex-col gap-4 w-full", children: [_jsxs("div", { className: "flex flex-col sm:flex-row gap-3", children: [_jsxs("button", { onClick: () => (window.location.href = homeUrl), className: "flex-1 px-6 py-3 rounded-lg bg-indigo-600 hover:bg-indigo-700 text-white font-medium transition-colors shadow-lg shadow-indigo-500/20 cursor-pointer flex items-center justify-center gap-2", children: [_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", className: "h-5 w-5", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [_jsx("path", { d: "M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z" }), _jsx("polyline", { points: "9 22 9 12 15 12 15 22" })] }), "Go to Home"] }), _jsxs("button", { onClick: () => logout(), className: "flex-1 px-6 py-3 rounded-lg bg-red-600 hover:bg-red-700 dark:bg-red-700/80 dark:hover:bg-red-700 text-white font-medium transition-colors shadow-lg shadow-red-500/20 dark:shadow-red-900/30 cursor-pointer flex items-center justify-center gap-2", children: ["Sign Out", _jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", className: "h-5 w-5", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [_jsx("path", { d: "M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4" }), _jsx("polyline", { points: "16 17 21 12 16 7" }), _jsx("line", { x1: "21", y1: "12", x2: "9", y2: "12" })] })] })] }), _jsx("button", { onClick: () => window.history.back(), className: "text-sm text-slate-500 hover:text-slate-700 dark:text-slate-400 dark:hover:text-slate-200 underline underline-offset-4 transition-colors cursor-pointer", children: "\u2190 Go back to previous page" })] })] }), (supportEmail || supportUrl) && (_jsx("div", { className: "mt-8 pt-6 border-t border-slate-200 dark:border-slate-700", children: _jsxs("p", { className: "text-sm text-slate-500 dark:text-slate-400 text-center", children: ["Need help?", ' ', _jsx("a", { href: supportUrl || `mailto:${supportEmail}`, className: "text-indigo-600 dark:text-indigo-400 hover:underline font-medium cursor-pointer", children: "Contact support" })] }) }))] }) }));
|
|
5
|
+
return (_jsx("div", { className: "obar:min-h-screen obar:flex obar:items-center obar:justify-center obar:bg-linear-to-b obar:from-white obar:to-gray-100 obar:dark:from-slate-900 obar:dark:to-slate-800 obar:transition-colors obar:px-4", children: _jsxs("div", { className: "obar:w-full obar:max-w-lg obar:p-8 obar:rounded-2xl obar:shadow-xl obar:border obar:border-gray-100 obar:dark:border-slate-700 obar:bg-white/70 obar:dark:bg-slate-900/60 obar:backdrop-blur-sm", children: [_jsxs("div", { className: "obar:flex obar:flex-col obar:items-center obar:text-center", children: [_jsx("div", { className: "obar:shrink-0 obar:h-16 obar:w-16 obar:rounded-full obar:bg-red-100 obar:dark:bg-red-900/20 obar:flex obar:items-center obar:justify-center obar:mb-4", children: _jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", className: "obar:h-8 obar:w-8 obar:text-red-600 obar:dark:text-red-400", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: [_jsx("rect", { x: "3", y: "11", width: "18", height: "11", rx: "2", ry: "2" }), _jsx("path", { d: "M7 11V7a5 5 0 0 1 10 0v4" })] }) }), _jsx("h1", { className: "obar:text-3xl obar:font-bold obar:text-slate-900 obar:dark:text-slate-100 obar:mb-2", children: "Access Forbidden" }), _jsx("p", { className: "obar:text-base obar:text-slate-600 obar:dark:text-slate-300 obar:mb-6", children: "You don't have permission to access this page. Please contact your administrator if you believe this is an error." }), _jsxs("div", { className: "obar:inline-flex obar:items-center obar:gap-2 obar:px-4 obar:py-2 obar:rounded-full obar:bg-red-50 obar:dark:bg-red-900/10 obar:border obar:border-red-200 obar:dark:border-red-800 obar:mb-8", children: [_jsx("svg", { className: "obar:h-4 obar:w-4 obar:text-red-600 obar:dark:text-red-400", fill: "currentColor", viewBox: "0 0 20 20", children: _jsx("path", { fillRule: "evenodd", d: "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7 4a1 1 0 11-2 0 1 1 0 012 0zm-1-9a1 1 0 00-1 1v4a1 1 0 102 0V6a1 1 0 00-1-1z", clipRule: "evenodd" }) }), _jsx("span", { className: "obar:text-sm obar:font-medium obar:text-red-700 obar:dark:text-red-300", children: "Error 403" })] }), _jsxs("div", { className: "obar:flex obar:flex-col obar:gap-4 obar:w-full", children: [_jsxs("div", { className: "obar:flex obar:flex-col obar:sm:flex-row obar:gap-3", children: [_jsxs("button", { onClick: () => (window.location.href = homeUrl), className: "obar:flex-1 obar:px-6 obar:py-3 obar:rounded-lg obar:bg-indigo-600 obar:hover:bg-indigo-700 obar:text-white obar:font-medium obar:transition-colors obar:shadow-lg obar:shadow-indigo-500/20 obar:cursor-pointer obar:flex obar:items-center obar:justify-center obar:gap-2", children: [_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", className: "obar:h-5 obar:w-5", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [_jsx("path", { d: "M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z" }), _jsx("polyline", { points: "9 22 9 12 15 12 15 22" })] }), "Go to Home"] }), _jsxs("button", { onClick: () => logout(), className: "obar:flex-1 obar:px-6 obar:py-3 obar:rounded-lg obar:bg-red-600 obar:hover:bg-red-700 obar:dark:bg-red-700/80 obar:dark:hover:bg-red-700 obar:text-white obar:font-medium obar:transition-colors obar:shadow-lg obar:shadow-red-500/20 obar:dark:shadow-red-900/30 obar:cursor-pointer obar:flex obar:items-center obar:justify-center obar:gap-2", children: ["Sign Out", _jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", className: "obar:h-5 obar:w-5", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [_jsx("path", { d: "M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4" }), _jsx("polyline", { points: "16 17 21 12 16 7" }), _jsx("line", { x1: "21", y1: "12", x2: "9", y2: "12" })] })] })] }), _jsx("button", { onClick: () => window.history.back(), className: "obar:text-sm obar:text-slate-500 obar:hover:text-slate-700 obar:dark:text-slate-400 obar:dark:hover:text-slate-200 obar:underline obar:underline-offset-4 obar:transition-colors obar:cursor-pointer", children: "\u2190 Go back to previous page" })] })] }), (supportEmail || supportUrl) && (_jsx("div", { className: "obar:mt-8 obar:pt-6 obar:border-t obar:border-slate-200 obar:dark:border-slate-700", children: _jsxs("p", { className: "obar:text-sm obar:text-slate-500 obar:dark:text-slate-400 obar:text-center", children: ["Need help?", ' ', _jsx("a", { href: supportUrl || `mailto:${supportEmail}`, className: "obar:text-indigo-600 obar:dark:text-indigo-400 obar:hover:underline obar:font-medium obar:cursor-pointer", children: "Contact support" })] }) }))] }) }));
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
export function AuthClearing() {
|
|
3
|
-
return (_jsxs("div", { className: "min-h-screen flex items-center justify-center bg-linear-to-b from-white to-gray-100 dark:from-slate-900 dark:to-slate-800 transition-colors", children: [_jsx("div", { className: "w-full max-w-lg p-8 rounded-2xl shadow-xl border border-gray-100 dark:border-slate-700 bg-white/70 dark:bg-slate-900/60 backdrop-blur-sm", children: _jsxs("div", { className: "flex flex-col items-center text-center", children: [_jsxs("div", { className: "relative mb-6", children: [_jsx("div", { className: "shrink-0 h-16 w-16 rounded-full bg-indigo-100 dark:bg-indigo-900/20 flex items-center justify-center", children: _jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", className: "h-8 w-8 text-indigo-600 dark:text-indigo-400 animate-pulse", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [_jsx("path", { d: "M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4" }), _jsx("polyline", { points: "16 17 21 12 16 7" }), _jsx("line", { x1: "21", y1: "12", x2: "9", y2: "12" })] }) }), _jsx("div", { className: "absolute inset-0 rounded-full bg-indigo-400/30 dark:bg-indigo-600/20 animate-ping" })] }), _jsx("h1", { className: "text-2xl font-bold text-slate-900 dark:text-slate-100 mb-2", children: "Signing You Out" }), _jsx("p", { className: "text-base text-slate-600 dark:text-slate-300 mb-6", children: "Please wait while we securely clear your session..." }), _jsx("div", { className: "w-full max-w-xs", children: _jsx("div", { className: "h-1.5 bg-slate-200 dark:bg-slate-700 rounded-full overflow-hidden", children: _jsx("div", { className: "h-full bg-indigo-600 dark:bg-indigo-500 rounded-full animate-progress" }) }) }), _jsx("p", { className: "mt-6 text-sm text-slate-500 dark:text-slate-400", children: "You'll be redirected shortly" })] }) }), _jsx("style", { children: `
|
|
3
|
+
return (_jsxs("div", { className: "obar:min-h-screen obar:flex obar:items-center obar:justify-center obar:bg-linear-to-b obar:from-white obar:to-gray-100 obar:dark:from-slate-900 obar:dark:to-slate-800 obar:transition-colors", children: [_jsx("div", { className: "obar:w-full obar:max-w-lg obar:p-8 obar:rounded-2xl obar:shadow-xl obar:border obar:border-gray-100 obar:dark:border-slate-700 obar:bg-white/70 obar:dark:bg-slate-900/60 obar:backdrop-blur-sm", children: _jsxs("div", { className: "obar:flex obar:flex-col obar:items-center obar:text-center", children: [_jsxs("div", { className: "obar:relative obar:mb-6", children: [_jsx("div", { className: "obar:shrink-0 obar:h-16 obar:w-16 obar:rounded-full obar:bg-indigo-100 obar:dark:bg-indigo-900/20 obar:flex obar:items-center obar:justify-center", children: _jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", className: "obar:h-8 obar:w-8 obar:text-indigo-600 obar:dark:text-indigo-400 obar:animate-pulse", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [_jsx("path", { d: "M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4" }), _jsx("polyline", { points: "16 17 21 12 16 7" }), _jsx("line", { x1: "21", y1: "12", x2: "9", y2: "12" })] }) }), _jsx("div", { className: "obar:absolute obar:inset-0 obar:rounded-full obar:bg-indigo-400/30 obar:dark:bg-indigo-600/20 obar:animate-ping" })] }), _jsx("h1", { className: "obar:text-2xl obar:font-bold obar:text-slate-900 obar:dark:text-slate-100 obar:mb-2", children: "Signing You Out" }), _jsx("p", { className: "obar:text-base obar:text-slate-600 obar:dark:text-slate-300 obar:mb-6", children: "Please wait while we securely clear your session..." }), _jsx("div", { className: "obar:w-full obar:max-w-xs", children: _jsx("div", { className: "obar:h-1.5 obar:bg-slate-200 obar:dark:bg-slate-700 obar:rounded-full obar:overflow-hidden", children: _jsx("div", { className: "obar:h-full obar:bg-indigo-600 obar:dark:bg-indigo-500 obar:rounded-full animate-progress" }) }) }), _jsx("p", { className: "obar:mt-6 obar:text-sm obar:text-slate-500 obar:dark:text-slate-400", children: "You'll be redirected shortly" })] }) }), _jsx("style", { children: `
|
|
4
4
|
@keyframes progress {
|
|
5
5
|
0% {
|
|
6
6
|
width: 0%;
|
|
@@ -2,6 +2,6 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { useAuth0 } from '@auth0/auth0-react';
|
|
3
3
|
export function AuthError({ homeUrl = '/', supportEmail, supportUrl, error = null, } = {}) {
|
|
4
4
|
const { loginWithRedirect } = useAuth0();
|
|
5
|
-
return (_jsx("div", { className: "min-h-screen flex items-center justify-center bg-linear-to-b from-white to-gray-100 dark:from-slate-900 dark:to-slate-800 transition-colors px-4", children: _jsxs("div", { className: "w-full max-w-lg p-8 rounded-2xl shadow-xl border border-gray-100 dark:border-slate-700 bg-white/70 dark:bg-slate-900/60 backdrop-blur-sm", children: [_jsxs("div", { className: "flex flex-col items-center text-center", children: [_jsx("div", { className: "shrink-0 h-16 w-16 rounded-full bg-red-50 dark:bg-red-900/10 flex items-center justify-center mb-4", children: _jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", className: "h-8 w-8 text-red-600 dark:text-red-400", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: [_jsx("circle", { cx: "12", cy: "12", r: "10" }), _jsx("path", { d: "M12 8v4" }), _jsx("path", { d: "M12 16h.01" })] }) }), _jsx("h1", { className: "text-3xl font-bold text-slate-900 dark:text-slate-100 mb-2", children: "Authentication Error" }), _jsx("p", { className: "text-base text-slate-600 dark:text-slate-300 mb-6", children: "Authentication failed. Sign out and sign back in to resolve transient errors, or return home." }), error && (_jsx("div", { className: "mb-4 w-full px-4 py-3 rounded-md bg-red-50 dark:bg-red-900/10 border border-red-100 dark:border-red-800 text-sm text-red-700 dark:text-red-200", children: typeof error === 'string' ? error : error.message })), _jsxs("div", { className: "flex flex-col gap-4 w-full", children: [_jsxs("div", { className: "flex flex-col sm:flex-row gap-3", children: [_jsxs("button", { onClick: () => (window.location.href = homeUrl), className: "flex-1 px-6 py-3 rounded-lg bg-transparent border border-gray-200 dark:border-white/5 text-slate-700 dark:text-slate-200 hover:bg-gray-50 dark:hover:bg-slate-800 font-medium transition-colors shadow-sm cursor-pointer flex items-center justify-center gap-2", children: [_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", className: "h-5 w-5", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [_jsx("path", { d: "M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z" }), _jsx("polyline", { points: "9 22 9 12 15 12 15 22" })] }), "Go to Home"] }), _jsxs("button", { onClick: () => loginWithRedirect(), className: "flex-1 px-6 py-3 rounded-lg bg-indigo-600 hover:bg-indigo-700 text-white font-medium transition-colors shadow-lg shadow-indigo-500/20 dark:bg-indigo-500 dark:hover:bg-indigo-600 cursor-pointer flex items-center justify-center gap-2", children: ["Sign In", _jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", className: "h-5 w-5", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [_jsx("path", { d: "M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4" }), _jsx("polyline", { points: "10 17 15 12 10 7" }), _jsx("line", { x1: "15", y1: "12", x2: "3", y2: "12" })] })] })] }), _jsx("button", { onClick: () => window.history.back(), className: "text-sm text-slate-500 hover:text-slate-700 dark:text-slate-400 dark:hover:text-slate-200 underline underline-offset-4 transition-colors cursor-pointer", children: "\u2190 Go back to previous page" })] })] }), (supportEmail || supportUrl) && (_jsx("div", { className: "mt-8 pt-6 border-t border-slate-200 dark:border-slate-700", children: _jsxs("p", { className: "text-sm text-slate-500 dark:text-slate-400 text-center", children: ["Need help?", ' ', _jsx("a", { href: supportUrl || `mailto:${supportEmail}`, className: "text-indigo-600 dark:text-indigo-400 hover:underline font-medium cursor-pointer", children: "Contact support" })] }) }))] }) }));
|
|
5
|
+
return (_jsx("div", { className: "obar:min-h-screen obar:flex obar:items-center obar:justify-center obar:bg-linear-to-b obar:from-white obar:to-gray-100 obar:dark:from-slate-900 obar:dark:to-slate-800 obar:transition-colors obar:px-4", children: _jsxs("div", { className: "obar:w-full obar:max-w-lg obar:p-8 obar:rounded-2xl obar:shadow-xl obar:border obar:border-gray-100 obar:dark:border-slate-700 obar:bg-white/70 obar:dark:bg-slate-900/60 obar:backdrop-blur-sm", children: [_jsxs("div", { className: "obar:flex obar:flex-col obar:items-center obar:text-center", children: [_jsx("div", { className: "obar:shrink-0 obar:h-16 obar:w-16 obar:rounded-full obar:bg-red-50 obar:dark:bg-red-900/10 obar:flex obar:items-center obar:justify-center obar:mb-4", children: _jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", className: "obar:h-8 obar:w-8 obar:text-red-600 obar:dark:text-red-400", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: [_jsx("circle", { cx: "12", cy: "12", r: "10" }), _jsx("path", { d: "M12 8v4" }), _jsx("path", { d: "M12 16h.01" })] }) }), _jsx("h1", { className: "obar:text-3xl obar:font-bold obar:text-slate-900 obar:dark:text-slate-100 obar:mb-2", children: "Authentication Error" }), _jsx("p", { className: "obar:text-base obar:text-slate-600 obar:dark:text-slate-300 obar:mb-6", children: "Authentication failed. Sign out and sign back in to resolve transient errors, or return home." }), error && (_jsx("div", { className: "obar:mb-4 obar:w-full obar:px-4 obar:py-3 obar:rounded-md obar:bg-red-50 obar:dark:bg-red-900/10 obar:border obar:border-red-100 obar:dark:border-red-800 obar:text-sm obar:text-red-700 obar:dark:text-red-200", children: typeof error === 'string' ? error : error.message })), _jsxs("div", { className: "obar:flex obar:flex-col obar:gap-4 obar:w-full", children: [_jsxs("div", { className: "obar:flex obar:flex-col obar:sm:flex-row obar:gap-3", children: [_jsxs("button", { onClick: () => (window.location.href = homeUrl), className: "obar:flex-1 obar:px-6 obar:py-3 obar:rounded-lg obar:bg-transparent obar:border obar:border-gray-200 obar:dark:border-white/5 obar:text-slate-700 obar:dark:text-slate-200 obar:hover:bg-gray-50 obar:dark:hover:bg-slate-800 obar:font-medium obar:transition-colors obar:shadow-sm obar:cursor-pointer obar:flex obar:items-center obar:justify-center obar:gap-2", children: [_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", className: "obar:h-5 obar:w-5", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [_jsx("path", { d: "M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z" }), _jsx("polyline", { points: "9 22 9 12 15 12 15 22" })] }), "Go to Home"] }), _jsxs("button", { onClick: () => loginWithRedirect(), className: "obar:flex-1 obar:px-6 obar:py-3 obar:rounded-lg obar:bg-indigo-600 obar:hover:bg-indigo-700 obar:text-white obar:font-medium obar:transition-colors obar:shadow-lg obar:shadow-indigo-500/20 obar:dark:bg-indigo-500 obar:dark:hover:bg-indigo-600 obar:cursor-pointer obar:flex obar:items-center obar:justify-center obar:gap-2", children: ["Sign In", _jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", className: "obar:h-5 obar:w-5", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [_jsx("path", { d: "M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4" }), _jsx("polyline", { points: "10 17 15 12 10 7" }), _jsx("line", { x1: "15", y1: "12", x2: "3", y2: "12" })] })] })] }), _jsx("button", { onClick: () => window.history.back(), className: "obar:text-sm obar:text-slate-500 obar:hover:text-slate-700 obar:dark:text-slate-400 obar:dark:hover:text-slate-200 obar:underline obar:underline-offset-4 obar:transition-colors obar:cursor-pointer", children: "\u2190 Go back to previous page" })] })] }), (supportEmail || supportUrl) && (_jsx("div", { className: "obar:mt-8 obar:pt-6 obar:border-t obar:border-slate-200 obar:dark:border-slate-700", children: _jsxs("p", { className: "obar:text-sm obar:text-slate-500 obar:dark:text-slate-400 obar:text-center", children: ["Need help?", ' ', _jsx("a", { href: supportUrl || `mailto:${supportEmail}`, className: "obar:text-indigo-600 obar:dark:text-indigo-400 obar:hover:underline obar:font-medium obar:cursor-pointer", children: "Contact support" })] }) }))] }) }));
|
|
6
6
|
}
|
|
7
7
|
export default AuthError;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
export function AuthLoading() {
|
|
3
|
-
return (_jsxs("div", { className: "min-h-screen flex items-center justify-center bg-linear-to-b from-white to-gray-100 dark:from-slate-900 dark:to-slate-800 transition-colors", children: [_jsxs("div", { className: "w-full max-w-lg p-8 rounded-2xl shadow-xl border border-gray-100 dark:border-slate-700 bg-white/70 dark:bg-slate-900/60 backdrop-blur-sm", children: [_jsxs("div", { className: "flex items-center gap-4", children: [_jsx("div", { className: "shrink-0 h-14 w-14 rounded-lg bg-indigo-600 flex items-center justify-center text-white", children: _jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", className: "h-7 w-7", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", children: [_jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M12 2v10l3-3" }), _jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M21 12v7a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1v-7" })] }) }), _jsxs("div", { children: [_jsx("h2", { className: "text-lg font-semibold text-slate-900 dark:text-slate-100", children: "Signing you in" }), _jsx("p", { className: "mt-1 text-sm text-slate-600 dark:text-slate-300", children: "Hang tight \u2014 we're securely authenticating your account." })] })] }), _jsxs("div", { className: "mt-8 flex flex-col items-center", children: [_jsxs("div", { className: "flex items-center gap-3", children: [_jsxs("svg", { className: "h-8 w-8 text-indigo-600 animate-spin", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": true, children: [_jsx("circle", { className: "opacity-25", cx: "12", cy: "12", r: "10", stroke: "currentColor", strokeWidth: "4" }), _jsx("path", { className: "opacity-75", fill: "currentColor", d: "M4 12a8 8 0 018-8v4a4 4 0 00-4 4H4z" })] }), _jsx("span", { className: "text-sm text-slate-700 dark:text-slate-200", children: "Authenticating\u2026" })] }), _jsx("p", { className: "mt-4 text-xs text-slate-500 dark:text-slate-400 text-center", children: "If this takes longer than a few seconds, try refreshing the page or checking your network connection." })] })] }), _jsx("div", { className: "absolute bottom-6 text-xs text-slate-500 dark:text-slate-400", children: "opble \u2022 secure authentication" })] }));
|
|
3
|
+
return (_jsxs("div", { className: "obar:min-h-screen obar:flex obar:items-center obar:justify-center obar:bg-linear-to-b obar:from-white obar:to-gray-100 obar:dark:from-slate-900 obar:dark:to-slate-800 obar:transition-colors", children: [_jsxs("div", { className: "obar:w-full obar:max-w-lg obar:p-8 obar:rounded-2xl obar:shadow-xl obar:border obar:border-gray-100 obar:dark:border-slate-700 obar:bg-white/70 obar:dark:bg-slate-900/60 obar:backdrop-blur-sm", children: [_jsxs("div", { className: "obar:flex obar:items-center obar:gap-4", children: [_jsx("div", { className: "obar:shrink-0 obar:h-14 obar:w-14 obar:rounded-lg obar:bg-indigo-600 obar:flex obar:items-center obar:justify-center obar:text-white", children: _jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", className: "obar:h-7 obar:w-7", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", children: [_jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M12 2v10l3-3" }), _jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M21 12v7a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1v-7" })] }) }), _jsxs("div", { children: [_jsx("h2", { className: "obar:text-lg obar:font-semibold obar:text-slate-900 obar:dark:text-slate-100", children: "Signing you in" }), _jsx("p", { className: "obar:mt-1 obar:text-sm obar:text-slate-600 obar:dark:text-slate-300", children: "Hang tight \u2014 we're securely authenticating your account." })] })] }), _jsxs("div", { className: "obar:mt-8 obar:flex obar:flex-col obar:items-center", children: [_jsxs("div", { className: "obar:flex obar:items-center obar:gap-3", children: [_jsxs("svg", { className: "obar:h-8 obar:w-8 obar:text-indigo-600 obar:animate-spin", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": true, children: [_jsx("circle", { className: "obar:opacity-25", cx: "12", cy: "12", r: "10", stroke: "currentColor", strokeWidth: "4" }), _jsx("path", { className: "obar:opacity-75", fill: "currentColor", d: "M4 12a8 8 0 018-8v4a4 4 0 00-4 4H4z" })] }), _jsx("span", { className: "obar:text-sm obar:text-slate-700 obar:dark:text-slate-200", children: "Authenticating\u2026" })] }), _jsx("p", { className: "obar:mt-4 obar:text-xs obar:text-slate-500 obar:dark:text-slate-400 obar:text-center", children: "If this takes longer than a few seconds, try refreshing the page or checking your network connection." })] })] }), _jsx("div", { className: "obar:absolute obar:bottom-6 obar:text-xs obar:text-slate-500 obar:dark:text-slate-400", children: "opble \u2022 secure authentication" })] }));
|
|
4
4
|
}
|
|
@@ -2,6 +2,6 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { useAuth0 } from '@auth0/auth0-react';
|
|
3
3
|
export function Unauthorized({ homeUrl = '/', supportEmail, supportUrl, } = {}) {
|
|
4
4
|
const { loginWithRedirect } = useAuth0();
|
|
5
|
-
return (_jsx("div", { className: "min-h-screen flex items-center justify-center bg-linear-to-b from-white to-gray-100 dark:from-slate-900 dark:to-slate-800 transition-colors px-4", children: _jsxs("div", { className: "w-full max-w-lg p-8 rounded-2xl shadow-xl border border-gray-100 dark:border-slate-700 bg-white/70 dark:bg-slate-900/60 backdrop-blur-sm", children: [_jsxs("div", { className: "flex flex-col items-center text-center", children: [_jsx("div", { className: "shrink-0 h-16 w-16 rounded-full bg-yellow-50 dark:bg-yellow-900/10 flex items-center justify-center mb-4", children: _jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", className: "h-8 w-8 text-yellow-600 dark:text-yellow-400", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: [_jsx("path", { d: "M12 2l7 4v6c0 5-3.6 9.7-7 11-3.4-1.3-7-6-7-11V6l7-4z" }), _jsx("path", { d: "M9.5 11.5l1.5 1.5 3-3" })] }) }), _jsx("h1", { className: "text-3xl font-bold text-slate-900 dark:text-slate-100 mb-2", children: "Unauthorized" }), _jsx("p", { className: "text-base text-slate-600 dark:text-slate-300 mb-6", children: "You need to sign in to access this page. Please sign in with your account or return home." }), _jsxs("div", { className: "flex flex-col gap-4 w-full", children: [_jsxs("div", { className: "flex flex-col sm:flex-row gap-3", children: [_jsxs("button", { onClick: () => (window.location.href = homeUrl), className: "flex-1 px-6 py-3 rounded-lg bg-transparent border border-gray-200 dark:border-white/5 text-slate-700 dark:text-slate-200 hover:bg-gray-50 dark:hover:bg-slate-800 font-medium transition-colors shadow-sm cursor-pointer flex items-center justify-center gap-2", children: [_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", className: "h-5 w-5", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [_jsx("path", { d: "M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z" }), _jsx("polyline", { points: "9 22 9 12 15 12 15 22" })] }), "Go to Home"] }), _jsxs("button", { onClick: () => loginWithRedirect(), className: "flex-1 px-6 py-3 rounded-lg bg-indigo-600 hover:bg-indigo-700 text-slate-700 dark:text-slate-200 font-medium transition-colors shadow-lg shadow-indigo-500/20 dark:bg-indigo-500 dark:hover:bg-indigo-600 cursor-pointer flex items-center justify-center gap-2", children: ["Sign In", _jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", className: "h-5 w-5", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [_jsx("path", { d: "M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4" }), _jsx("polyline", { points: "10 17 15 12 10 7" }), _jsx("line", { x1: "15", y1: "12", x2: "3", y2: "12" })] })] })] }), _jsx("button", { onClick: () => window.history.back(), className: "text-sm text-slate-500 hover:text-slate-700 dark:text-slate-400 dark:hover:text-slate-200 underline underline-offset-4 transition-colors cursor-pointer", children: "\u2190 Go back to previous page" })] })] }), (supportEmail || supportUrl) && (_jsx("div", { className: "mt-8 pt-6 border-t border-slate-200 dark:border-slate-700", children: _jsxs("p", { className: "text-sm text-slate-500 dark:text-slate-400 text-center", children: ["Need help?", ' ', _jsx("a", { href: supportUrl || `mailto:${supportEmail}`, className: "text-indigo-600 dark:text-indigo-400 hover:underline font-medium cursor-pointer", children: "Contact support" })] }) }))] }) }));
|
|
5
|
+
return (_jsx("div", { className: "obar:min-h-screen obar:flex obar:items-center obar:justify-center obar:bg-linear-to-b obar:from-white obar:to-gray-100 obar:dark:from-slate-900 obar:dark:to-slate-800 obar:transition-colors obar:px-4", children: _jsxs("div", { className: "obar:w-full obar:max-w-lg obar:p-8 obar:rounded-2xl obar:shadow-xl obar:border obar:border-gray-100 obar:dark:border-slate-700 obar:bg-white/70 obar:dark:bg-slate-900/60 obar:backdrop-blur-sm", children: [_jsxs("div", { className: "obar:flex obar:flex-col obar:items-center obar:text-center", children: [_jsx("div", { className: "obar:shrink-0 obar:h-16 obar:w-16 obar:rounded-full obar:bg-yellow-50 obar:dark:bg-yellow-900/10 obar:flex obar:items-center obar:justify-center obar:mb-4", children: _jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", className: "obar:h-8 obar:w-8 obar:text-yellow-600 obar:dark:text-yellow-400", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: [_jsx("path", { d: "M12 2l7 4v6c0 5-3.6 9.7-7 11-3.4-1.3-7-6-7-11V6l7-4z" }), _jsx("path", { d: "M9.5 11.5l1.5 1.5 3-3" })] }) }), _jsx("h1", { className: "obar:text-3xl obar:font-bold obar:text-slate-900 obar:dark:text-slate-100 obar:mb-2", children: "Unauthorized" }), _jsx("p", { className: "obar:text-base obar:text-slate-600 obar:dark:text-slate-300 obar:mb-6", children: "You need to sign in to access this page. Please sign in with your account or return home." }), _jsxs("div", { className: "obar:flex obar:flex-col obar:gap-4 obar:w-full", children: [_jsxs("div", { className: "obar:flex obar:flex-col obar:sm:flex-row obar:gap-3", children: [_jsxs("button", { onClick: () => (window.location.href = homeUrl), className: "obar:flex-1 obar:px-6 obar:py-3 obar:rounded-lg obar:bg-transparent obar:border obar:border-gray-200 obar:dark:border-white/5 obar:text-slate-700 obar:dark:text-slate-200 obar:hover:bg-gray-50 obar:dark:hover:bg-slate-800 obar:font-medium obar:transition-colors obar:shadow-sm obar:cursor-pointer obar:flex obar:items-center obar:justify-center obar:gap-2", children: [_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", className: "obar:h-5 obar:w-5", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [_jsx("path", { d: "M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z" }), _jsx("polyline", { points: "9 22 9 12 15 12 15 22" })] }), "Go to Home"] }), _jsxs("button", { onClick: () => loginWithRedirect(), className: "obar:flex-1 obar:px-6 obar:py-3 obar:rounded-lg obar:bg-indigo-600 obar:hover:bg-indigo-700 obar:text-slate-700 obar:dark:text-slate-200 obar:font-medium obar:transition-colors obar:shadow-lg obar:shadow-indigo-500/20 obar:dark:bg-indigo-500 obar:dark:hover:bg-indigo-600 obar:cursor-pointer obar:flex obar:items-center obar:justify-center obar:gap-2", children: ["Sign In", _jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", className: "obar:h-5 obar:w-5", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [_jsx("path", { d: "M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4" }), _jsx("polyline", { points: "10 17 15 12 10 7" }), _jsx("line", { x1: "15", y1: "12", x2: "3", y2: "12" })] })] })] }), _jsx("button", { onClick: () => window.history.back(), className: "obar:text-sm obar:text-slate-500 obar:hover:text-slate-700 obar:dark:text-slate-400 obar:dark:hover:text-slate-200 obar:underline obar:underline-offset-4 obar:transition-colors obar:cursor-pointer", children: "\u2190 Go back to previous page" })] })] }), (supportEmail || supportUrl) && (_jsx("div", { className: "obar:mt-8 obar:pt-6 obar:border-t obar:border-slate-200 obar:dark:border-slate-700", children: _jsxs("p", { className: "obar:text-sm obar:text-slate-500 obar:dark:text-slate-400 obar:text-center", children: ["Need help?", ' ', _jsx("a", { href: supportUrl || `mailto:${supportEmail}`, className: "obar:text-indigo-600 obar:dark:text-indigo-400 obar:hover:underline obar:font-medium obar:cursor-pointer", children: "Contact support" })] }) }))] }) }));
|
|
6
6
|
}
|
|
7
7
|
export default Unauthorized;
|
package/dist/style.css
CHANGED
|
@@ -1,678 +1,648 @@
|
|
|
1
1
|
/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */
|
|
2
2
|
@layer properties;
|
|
3
|
+
@layer theme, base, components, utilities;
|
|
3
4
|
@layer theme {
|
|
4
5
|
:root, :host {
|
|
5
|
-
--color-red-50: oklch(97.1% 0.013 17.38);
|
|
6
|
-
--color-red-100: oklch(93.6% 0.032 17.717);
|
|
7
|
-
--color-red-200: oklch(88.5% 0.062 18.334);
|
|
8
|
-
--color-red-300: oklch(80.8% 0.114 19.571);
|
|
9
|
-
--color-red-400: oklch(70.4% 0.191 22.216);
|
|
10
|
-
--color-red-500: oklch(63.7% 0.237 25.331);
|
|
11
|
-
--color-red-600: oklch(57.7% 0.245 27.325);
|
|
12
|
-
--color-red-700: oklch(50.5% 0.213 27.518);
|
|
13
|
-
--color-red-800: oklch(44.4% 0.177 26.899);
|
|
14
|
-
--color-red-900: oklch(39.6% 0.141 25.723);
|
|
15
|
-
--color-yellow-50: oklch(98.7% 0.026 102.212);
|
|
16
|
-
--color-yellow-400: oklch(85.2% 0.199 91.936);
|
|
17
|
-
--color-yellow-600: oklch(68.1% 0.162 75.834);
|
|
18
|
-
--color-yellow-900: oklch(42.1% 0.095 57.708);
|
|
19
|
-
--color-indigo-100: oklch(93% 0.034 272.788);
|
|
20
|
-
--color-indigo-400: oklch(67.3% 0.182 276.935);
|
|
21
|
-
--color-indigo-500: oklch(58.5% 0.233 277.117);
|
|
22
|
-
--color-indigo-600: oklch(51.1% 0.262 276.966);
|
|
23
|
-
--color-indigo-700: oklch(45.7% 0.24 277.023);
|
|
24
|
-
--color-indigo-900: oklch(35.9% 0.144 278.697);
|
|
25
|
-
--color-slate-100: oklch(96.8% 0.007 247.896);
|
|
26
|
-
--color-slate-200: oklch(92.9% 0.013 255.508);
|
|
27
|
-
--color-slate-300: oklch(86.9% 0.022 252.894);
|
|
28
|
-
--color-slate-400: oklch(70.4% 0.04 256.788);
|
|
29
|
-
--color-slate-500: oklch(55.4% 0.046 257.417);
|
|
30
|
-
--color-slate-600: oklch(44.6% 0.043 257.281);
|
|
31
|
-
--color-slate-700: oklch(37.2% 0.044 257.287);
|
|
32
|
-
--color-slate-800: oklch(27.9% 0.041 260.031);
|
|
33
|
-
--color-slate-900: oklch(20.8% 0.042 265.755);
|
|
34
|
-
--color-gray-50: oklch(98.5% 0.002 247.839);
|
|
35
|
-
--color-gray-100: oklch(96.7% 0.003 264.542);
|
|
36
|
-
--color-gray-200: oklch(92.8% 0.006 264.531);
|
|
37
|
-
--color-white: #fff;
|
|
38
|
-
--spacing: 0.25rem;
|
|
39
|
-
--container-xs: 20rem;
|
|
40
|
-
--container-lg: 32rem;
|
|
41
|
-
--text-xs: 0.75rem;
|
|
42
|
-
--text-xs--line-height: calc(1 / 0.75);
|
|
43
|
-
--text-sm: 0.875rem;
|
|
44
|
-
--text-sm--line-height: calc(1.25 / 0.875);
|
|
45
|
-
--text-base: 1rem;
|
|
46
|
-
--text-base--line-height: calc(1.5 / 1);
|
|
47
|
-
--text-lg: 1.125rem;
|
|
48
|
-
--text-lg--line-height: calc(1.75 / 1.125);
|
|
49
|
-
--text-2xl: 1.5rem;
|
|
50
|
-
--text-2xl--line-height: calc(2 / 1.5);
|
|
51
|
-
--text-3xl: 1.875rem;
|
|
52
|
-
--text-3xl--line-height: calc(2.25 / 1.875);
|
|
53
|
-
--font-weight-medium: 500;
|
|
54
|
-
--font-weight-semibold: 600;
|
|
55
|
-
--font-weight-bold: 700;
|
|
56
|
-
--radius-md: 0.375rem;
|
|
57
|
-
--radius-lg: 0.5rem;
|
|
58
|
-
--radius-2xl: 1rem;
|
|
59
|
-
--
|
|
60
|
-
--animate-
|
|
61
|
-
--animate-
|
|
62
|
-
--
|
|
63
|
-
--
|
|
64
|
-
--default-transition-
|
|
65
|
-
--default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
6
|
+
--obar-color-red-50: oklch(97.1% 0.013 17.38);
|
|
7
|
+
--obar-color-red-100: oklch(93.6% 0.032 17.717);
|
|
8
|
+
--obar-color-red-200: oklch(88.5% 0.062 18.334);
|
|
9
|
+
--obar-color-red-300: oklch(80.8% 0.114 19.571);
|
|
10
|
+
--obar-color-red-400: oklch(70.4% 0.191 22.216);
|
|
11
|
+
--obar-color-red-500: oklch(63.7% 0.237 25.331);
|
|
12
|
+
--obar-color-red-600: oklch(57.7% 0.245 27.325);
|
|
13
|
+
--obar-color-red-700: oklch(50.5% 0.213 27.518);
|
|
14
|
+
--obar-color-red-800: oklch(44.4% 0.177 26.899);
|
|
15
|
+
--obar-color-red-900: oklch(39.6% 0.141 25.723);
|
|
16
|
+
--obar-color-yellow-50: oklch(98.7% 0.026 102.212);
|
|
17
|
+
--obar-color-yellow-400: oklch(85.2% 0.199 91.936);
|
|
18
|
+
--obar-color-yellow-600: oklch(68.1% 0.162 75.834);
|
|
19
|
+
--obar-color-yellow-900: oklch(42.1% 0.095 57.708);
|
|
20
|
+
--obar-color-indigo-100: oklch(93% 0.034 272.788);
|
|
21
|
+
--obar-color-indigo-400: oklch(67.3% 0.182 276.935);
|
|
22
|
+
--obar-color-indigo-500: oklch(58.5% 0.233 277.117);
|
|
23
|
+
--obar-color-indigo-600: oklch(51.1% 0.262 276.966);
|
|
24
|
+
--obar-color-indigo-700: oklch(45.7% 0.24 277.023);
|
|
25
|
+
--obar-color-indigo-900: oklch(35.9% 0.144 278.697);
|
|
26
|
+
--obar-color-slate-100: oklch(96.8% 0.007 247.896);
|
|
27
|
+
--obar-color-slate-200: oklch(92.9% 0.013 255.508);
|
|
28
|
+
--obar-color-slate-300: oklch(86.9% 0.022 252.894);
|
|
29
|
+
--obar-color-slate-400: oklch(70.4% 0.04 256.788);
|
|
30
|
+
--obar-color-slate-500: oklch(55.4% 0.046 257.417);
|
|
31
|
+
--obar-color-slate-600: oklch(44.6% 0.043 257.281);
|
|
32
|
+
--obar-color-slate-700: oklch(37.2% 0.044 257.287);
|
|
33
|
+
--obar-color-slate-800: oklch(27.9% 0.041 260.031);
|
|
34
|
+
--obar-color-slate-900: oklch(20.8% 0.042 265.755);
|
|
35
|
+
--obar-color-gray-50: oklch(98.5% 0.002 247.839);
|
|
36
|
+
--obar-color-gray-100: oklch(96.7% 0.003 264.542);
|
|
37
|
+
--obar-color-gray-200: oklch(92.8% 0.006 264.531);
|
|
38
|
+
--obar-color-white: #fff;
|
|
39
|
+
--obar-spacing: 0.25rem;
|
|
40
|
+
--obar-container-xs: 20rem;
|
|
41
|
+
--obar-container-lg: 32rem;
|
|
42
|
+
--obar-text-xs: 0.75rem;
|
|
43
|
+
--obar-text-xs--line-height: calc(1 / 0.75);
|
|
44
|
+
--obar-text-sm: 0.875rem;
|
|
45
|
+
--obar-text-sm--line-height: calc(1.25 / 0.875);
|
|
46
|
+
--obar-text-base: 1rem;
|
|
47
|
+
--obar-text-base--line-height: calc(1.5 / 1);
|
|
48
|
+
--obar-text-lg: 1.125rem;
|
|
49
|
+
--obar-text-lg--line-height: calc(1.75 / 1.125);
|
|
50
|
+
--obar-text-2xl: 1.5rem;
|
|
51
|
+
--obar-text-2xl--line-height: calc(2 / 1.5);
|
|
52
|
+
--obar-text-3xl: 1.875rem;
|
|
53
|
+
--obar-text-3xl--line-height: calc(2.25 / 1.875);
|
|
54
|
+
--obar-font-weight-medium: 500;
|
|
55
|
+
--obar-font-weight-semibold: 600;
|
|
56
|
+
--obar-font-weight-bold: 700;
|
|
57
|
+
--obar-radius-md: 0.375rem;
|
|
58
|
+
--obar-radius-lg: 0.5rem;
|
|
59
|
+
--obar-radius-2xl: 1rem;
|
|
60
|
+
--obar-animate-spin: spin 1s linear infinite;
|
|
61
|
+
--obar-animate-ping: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
|
|
62
|
+
--obar-animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
|
63
|
+
--obar-blur-sm: 8px;
|
|
64
|
+
--obar-default-transition-duration: 150ms;
|
|
65
|
+
--obar-default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
@layer utilities {
|
|
69
|
-
.absolute {
|
|
69
|
+
.obar\:absolute {
|
|
70
70
|
position: absolute;
|
|
71
71
|
}
|
|
72
|
-
.relative {
|
|
72
|
+
.obar\:relative {
|
|
73
73
|
position: relative;
|
|
74
74
|
}
|
|
75
|
-
.inset-0 {
|
|
76
|
-
inset: calc(var(--spacing) * 0);
|
|
75
|
+
.obar\:inset-0 {
|
|
76
|
+
inset: calc(var(--obar-spacing) * 0);
|
|
77
77
|
}
|
|
78
|
-
.bottom-6 {
|
|
79
|
-
bottom: calc(var(--spacing) * 6);
|
|
78
|
+
.obar\:bottom-6 {
|
|
79
|
+
bottom: calc(var(--obar-spacing) * 6);
|
|
80
80
|
}
|
|
81
|
-
.mt-1 {
|
|
82
|
-
margin-top: calc(var(--spacing) * 1);
|
|
81
|
+
.obar\:mt-1 {
|
|
82
|
+
margin-top: calc(var(--obar-spacing) * 1);
|
|
83
83
|
}
|
|
84
|
-
.mt-4 {
|
|
85
|
-
margin-top: calc(var(--spacing) * 4);
|
|
84
|
+
.obar\:mt-4 {
|
|
85
|
+
margin-top: calc(var(--obar-spacing) * 4);
|
|
86
86
|
}
|
|
87
|
-
.mt-6 {
|
|
88
|
-
margin-top: calc(var(--spacing) * 6);
|
|
87
|
+
.obar\:mt-6 {
|
|
88
|
+
margin-top: calc(var(--obar-spacing) * 6);
|
|
89
89
|
}
|
|
90
|
-
.mt-8 {
|
|
91
|
-
margin-top: calc(var(--spacing) * 8);
|
|
90
|
+
.obar\:mt-8 {
|
|
91
|
+
margin-top: calc(var(--obar-spacing) * 8);
|
|
92
92
|
}
|
|
93
|
-
.mb-2 {
|
|
94
|
-
margin-bottom: calc(var(--spacing) * 2);
|
|
93
|
+
.obar\:mb-2 {
|
|
94
|
+
margin-bottom: calc(var(--obar-spacing) * 2);
|
|
95
95
|
}
|
|
96
|
-
.mb-4 {
|
|
97
|
-
margin-bottom: calc(var(--spacing) * 4);
|
|
96
|
+
.obar\:mb-4 {
|
|
97
|
+
margin-bottom: calc(var(--obar-spacing) * 4);
|
|
98
98
|
}
|
|
99
|
-
.mb-6 {
|
|
100
|
-
margin-bottom: calc(var(--spacing) * 6);
|
|
99
|
+
.obar\:mb-6 {
|
|
100
|
+
margin-bottom: calc(var(--obar-spacing) * 6);
|
|
101
101
|
}
|
|
102
|
-
.mb-8 {
|
|
103
|
-
margin-bottom: calc(var(--spacing) * 8);
|
|
102
|
+
.obar\:mb-8 {
|
|
103
|
+
margin-bottom: calc(var(--obar-spacing) * 8);
|
|
104
104
|
}
|
|
105
|
-
.flex {
|
|
105
|
+
.obar\:flex {
|
|
106
106
|
display: flex;
|
|
107
107
|
}
|
|
108
|
-
.inline {
|
|
109
|
-
display: inline;
|
|
110
|
-
}
|
|
111
|
-
.inline-flex {
|
|
108
|
+
.obar\:inline-flex {
|
|
112
109
|
display: inline-flex;
|
|
113
110
|
}
|
|
114
|
-
.h-1\.5 {
|
|
115
|
-
height: calc(var(--spacing) * 1.5);
|
|
111
|
+
.obar\:h-1\.5 {
|
|
112
|
+
height: calc(var(--obar-spacing) * 1.5);
|
|
116
113
|
}
|
|
117
|
-
.h-4 {
|
|
118
|
-
height: calc(var(--spacing) * 4);
|
|
114
|
+
.obar\:h-4 {
|
|
115
|
+
height: calc(var(--obar-spacing) * 4);
|
|
119
116
|
}
|
|
120
|
-
.h-5 {
|
|
121
|
-
height: calc(var(--spacing) * 5);
|
|
117
|
+
.obar\:h-5 {
|
|
118
|
+
height: calc(var(--obar-spacing) * 5);
|
|
122
119
|
}
|
|
123
|
-
.h-7 {
|
|
124
|
-
height: calc(var(--spacing) * 7);
|
|
120
|
+
.obar\:h-7 {
|
|
121
|
+
height: calc(var(--obar-spacing) * 7);
|
|
125
122
|
}
|
|
126
|
-
.h-8 {
|
|
127
|
-
height: calc(var(--spacing) * 8);
|
|
123
|
+
.obar\:h-8 {
|
|
124
|
+
height: calc(var(--obar-spacing) * 8);
|
|
128
125
|
}
|
|
129
|
-
.h-14 {
|
|
130
|
-
height: calc(var(--spacing) * 14);
|
|
126
|
+
.obar\:h-14 {
|
|
127
|
+
height: calc(var(--obar-spacing) * 14);
|
|
131
128
|
}
|
|
132
|
-
.h-16 {
|
|
133
|
-
height: calc(var(--spacing) * 16);
|
|
129
|
+
.obar\:h-16 {
|
|
130
|
+
height: calc(var(--obar-spacing) * 16);
|
|
134
131
|
}
|
|
135
|
-
.h-full {
|
|
132
|
+
.obar\:h-full {
|
|
136
133
|
height: 100%;
|
|
137
134
|
}
|
|
138
|
-
.min-h-screen {
|
|
135
|
+
.obar\:min-h-screen {
|
|
139
136
|
min-height: 100vh;
|
|
140
137
|
}
|
|
141
|
-
.w-4 {
|
|
142
|
-
width: calc(var(--spacing) * 4);
|
|
138
|
+
.obar\:w-4 {
|
|
139
|
+
width: calc(var(--obar-spacing) * 4);
|
|
143
140
|
}
|
|
144
|
-
.w-5 {
|
|
145
|
-
width: calc(var(--spacing) * 5);
|
|
141
|
+
.obar\:w-5 {
|
|
142
|
+
width: calc(var(--obar-spacing) * 5);
|
|
146
143
|
}
|
|
147
|
-
.w-7 {
|
|
148
|
-
width: calc(var(--spacing) * 7);
|
|
144
|
+
.obar\:w-7 {
|
|
145
|
+
width: calc(var(--obar-spacing) * 7);
|
|
149
146
|
}
|
|
150
|
-
.w-8 {
|
|
151
|
-
width: calc(var(--spacing) * 8);
|
|
147
|
+
.obar\:w-8 {
|
|
148
|
+
width: calc(var(--obar-spacing) * 8);
|
|
152
149
|
}
|
|
153
|
-
.w-14 {
|
|
154
|
-
width: calc(var(--spacing) * 14);
|
|
150
|
+
.obar\:w-14 {
|
|
151
|
+
width: calc(var(--obar-spacing) * 14);
|
|
155
152
|
}
|
|
156
|
-
.w-16 {
|
|
157
|
-
width: calc(var(--spacing) * 16);
|
|
153
|
+
.obar\:w-16 {
|
|
154
|
+
width: calc(var(--obar-spacing) * 16);
|
|
158
155
|
}
|
|
159
|
-
.w-full {
|
|
156
|
+
.obar\:w-full {
|
|
160
157
|
width: 100%;
|
|
161
158
|
}
|
|
162
|
-
.max-w-lg {
|
|
163
|
-
max-width: var(--container-lg);
|
|
159
|
+
.obar\:max-w-lg {
|
|
160
|
+
max-width: var(--obar-container-lg);
|
|
164
161
|
}
|
|
165
|
-
.max-w-xs {
|
|
166
|
-
max-width: var(--container-xs);
|
|
162
|
+
.obar\:max-w-xs {
|
|
163
|
+
max-width: var(--obar-container-xs);
|
|
167
164
|
}
|
|
168
|
-
.flex-1 {
|
|
165
|
+
.obar\:flex-1 {
|
|
169
166
|
flex: 1;
|
|
170
167
|
}
|
|
171
|
-
.shrink-0 {
|
|
168
|
+
.obar\:shrink-0 {
|
|
172
169
|
flex-shrink: 0;
|
|
173
170
|
}
|
|
174
|
-
.
|
|
175
|
-
|
|
176
|
-
}
|
|
177
|
-
.animate-ping {
|
|
178
|
-
animation: var(--animate-ping);
|
|
171
|
+
.obar\:animate-ping {
|
|
172
|
+
animation: var(--obar-animate-ping);
|
|
179
173
|
}
|
|
180
|
-
.animate-pulse {
|
|
181
|
-
animation: var(--animate-pulse);
|
|
174
|
+
.obar\:animate-pulse {
|
|
175
|
+
animation: var(--obar-animate-pulse);
|
|
182
176
|
}
|
|
183
|
-
.animate-spin {
|
|
184
|
-
animation: var(--animate-spin);
|
|
177
|
+
.obar\:animate-spin {
|
|
178
|
+
animation: var(--obar-animate-spin);
|
|
185
179
|
}
|
|
186
|
-
.cursor-pointer {
|
|
180
|
+
.obar\:cursor-pointer {
|
|
187
181
|
cursor: pointer;
|
|
188
182
|
}
|
|
189
|
-
.flex-col {
|
|
183
|
+
.obar\:flex-col {
|
|
190
184
|
flex-direction: column;
|
|
191
185
|
}
|
|
192
|
-
.items-center {
|
|
186
|
+
.obar\:items-center {
|
|
193
187
|
align-items: center;
|
|
194
188
|
}
|
|
195
|
-
.justify-center {
|
|
189
|
+
.obar\:justify-center {
|
|
196
190
|
justify-content: center;
|
|
197
191
|
}
|
|
198
|
-
.gap-2 {
|
|
199
|
-
gap: calc(var(--spacing) * 2);
|
|
192
|
+
.obar\:gap-2 {
|
|
193
|
+
gap: calc(var(--obar-spacing) * 2);
|
|
200
194
|
}
|
|
201
|
-
.gap-3 {
|
|
202
|
-
gap: calc(var(--spacing) * 3);
|
|
195
|
+
.obar\:gap-3 {
|
|
196
|
+
gap: calc(var(--obar-spacing) * 3);
|
|
203
197
|
}
|
|
204
|
-
.gap-4 {
|
|
205
|
-
gap: calc(var(--spacing) * 4);
|
|
198
|
+
.obar\:gap-4 {
|
|
199
|
+
gap: calc(var(--obar-spacing) * 4);
|
|
206
200
|
}
|
|
207
|
-
.overflow-hidden {
|
|
201
|
+
.obar\:overflow-hidden {
|
|
208
202
|
overflow: hidden;
|
|
209
203
|
}
|
|
210
|
-
.rounded-2xl {
|
|
211
|
-
border-radius: var(--radius-2xl);
|
|
204
|
+
.obar\:rounded-2xl {
|
|
205
|
+
border-radius: var(--obar-radius-2xl);
|
|
212
206
|
}
|
|
213
|
-
.rounded-full {
|
|
207
|
+
.obar\:rounded-full {
|
|
214
208
|
border-radius: calc(infinity * 1px);
|
|
215
209
|
}
|
|
216
|
-
.rounded-lg {
|
|
217
|
-
border-radius: var(--radius-lg);
|
|
210
|
+
.obar\:rounded-lg {
|
|
211
|
+
border-radius: var(--obar-radius-lg);
|
|
218
212
|
}
|
|
219
|
-
.rounded-md {
|
|
220
|
-
border-radius: var(--radius-md);
|
|
213
|
+
.obar\:rounded-md {
|
|
214
|
+
border-radius: var(--obar-radius-md);
|
|
221
215
|
}
|
|
222
|
-
.border {
|
|
216
|
+
.obar\:border {
|
|
223
217
|
border-style: var(--tw-border-style);
|
|
224
218
|
border-width: 1px;
|
|
225
219
|
}
|
|
226
|
-
.border-t {
|
|
220
|
+
.obar\:border-t {
|
|
227
221
|
border-top-style: var(--tw-border-style);
|
|
228
222
|
border-top-width: 1px;
|
|
229
223
|
}
|
|
230
|
-
.border-gray-100 {
|
|
231
|
-
border-color: var(--color-gray-100);
|
|
224
|
+
.obar\:border-gray-100 {
|
|
225
|
+
border-color: var(--obar-color-gray-100);
|
|
232
226
|
}
|
|
233
|
-
.border-gray-200 {
|
|
234
|
-
border-color: var(--color-gray-200);
|
|
227
|
+
.obar\:border-gray-200 {
|
|
228
|
+
border-color: var(--obar-color-gray-200);
|
|
235
229
|
}
|
|
236
|
-
.border-red-100 {
|
|
237
|
-
border-color: var(--color-red-100);
|
|
230
|
+
.obar\:border-red-100 {
|
|
231
|
+
border-color: var(--obar-color-red-100);
|
|
238
232
|
}
|
|
239
|
-
.border-red-200 {
|
|
240
|
-
border-color: var(--color-red-200);
|
|
233
|
+
.obar\:border-red-200 {
|
|
234
|
+
border-color: var(--obar-color-red-200);
|
|
241
235
|
}
|
|
242
|
-
.border-slate-200 {
|
|
243
|
-
border-color: var(--color-slate-200);
|
|
236
|
+
.obar\:border-slate-200 {
|
|
237
|
+
border-color: var(--obar-color-slate-200);
|
|
244
238
|
}
|
|
245
|
-
.bg-indigo-100 {
|
|
246
|
-
background-color: var(--color-indigo-100);
|
|
239
|
+
.obar\:bg-indigo-100 {
|
|
240
|
+
background-color: var(--obar-color-indigo-100);
|
|
247
241
|
}
|
|
248
|
-
.bg-indigo-400\/30 {
|
|
249
|
-
background-color: color-
|
|
242
|
+
.obar\:bg-indigo-400\/30 {
|
|
243
|
+
background-color: var(--obar-color-indigo-400);
|
|
250
244
|
@supports (color: color-mix(in lab, red, red)) {
|
|
251
|
-
background-color: color-mix(in oklab, var(--color-indigo-400) 30%, transparent);
|
|
245
|
+
background-color: color-mix(in oklab, var(--obar-color-indigo-400) 30%, transparent);
|
|
252
246
|
}
|
|
253
247
|
}
|
|
254
|
-
.bg-indigo-600 {
|
|
255
|
-
background-color: var(--color-indigo-600);
|
|
248
|
+
.obar\:bg-indigo-600 {
|
|
249
|
+
background-color: var(--obar-color-indigo-600);
|
|
256
250
|
}
|
|
257
|
-
.bg-red-50 {
|
|
258
|
-
background-color: var(--color-red-50);
|
|
251
|
+
.obar\:bg-red-50 {
|
|
252
|
+
background-color: var(--obar-color-red-50);
|
|
259
253
|
}
|
|
260
|
-
.bg-red-100 {
|
|
261
|
-
background-color: var(--color-red-100);
|
|
254
|
+
.obar\:bg-red-100 {
|
|
255
|
+
background-color: var(--obar-color-red-100);
|
|
262
256
|
}
|
|
263
|
-
.bg-red-600 {
|
|
264
|
-
background-color: var(--color-red-600);
|
|
257
|
+
.obar\:bg-red-600 {
|
|
258
|
+
background-color: var(--obar-color-red-600);
|
|
265
259
|
}
|
|
266
|
-
.bg-slate-200 {
|
|
267
|
-
background-color: var(--color-slate-200);
|
|
260
|
+
.obar\:bg-slate-200 {
|
|
261
|
+
background-color: var(--obar-color-slate-200);
|
|
268
262
|
}
|
|
269
|
-
.bg-transparent {
|
|
263
|
+
.obar\:bg-transparent {
|
|
270
264
|
background-color: transparent;
|
|
271
265
|
}
|
|
272
|
-
.bg-white\/70 {
|
|
273
|
-
background-color: color-
|
|
266
|
+
.obar\:bg-white\/70 {
|
|
267
|
+
background-color: var(--obar-color-white);
|
|
274
268
|
@supports (color: color-mix(in lab, red, red)) {
|
|
275
|
-
background-color: color-mix(in oklab, var(--color-white) 70%, transparent);
|
|
269
|
+
background-color: color-mix(in oklab, var(--obar-color-white) 70%, transparent);
|
|
276
270
|
}
|
|
277
271
|
}
|
|
278
|
-
.bg-yellow-50 {
|
|
279
|
-
background-color: var(--color-yellow-50);
|
|
272
|
+
.obar\:bg-yellow-50 {
|
|
273
|
+
background-color: var(--obar-color-yellow-50);
|
|
280
274
|
}
|
|
281
|
-
.bg-linear-to-b {
|
|
275
|
+
.obar\:bg-linear-to-b {
|
|
282
276
|
--tw-gradient-position: to bottom;
|
|
283
277
|
@supports (background-image: linear-gradient(in lab, red, red)) {
|
|
284
278
|
--tw-gradient-position: to bottom in oklab;
|
|
285
279
|
}
|
|
286
280
|
background-image: linear-gradient(var(--tw-gradient-stops));
|
|
287
281
|
}
|
|
288
|
-
.from-white {
|
|
289
|
-
--tw-gradient-from: var(--color-white);
|
|
282
|
+
.obar\:from-white {
|
|
283
|
+
--tw-gradient-from: var(--obar-color-white);
|
|
290
284
|
--tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
|
|
291
285
|
}
|
|
292
|
-
.to-gray-100 {
|
|
293
|
-
--tw-gradient-to: var(--color-gray-100);
|
|
286
|
+
.obar\:to-gray-100 {
|
|
287
|
+
--tw-gradient-to: var(--obar-color-gray-100);
|
|
294
288
|
--tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
|
|
295
289
|
}
|
|
296
|
-
.p-8 {
|
|
297
|
-
padding: calc(var(--spacing) * 8);
|
|
290
|
+
.obar\:p-8 {
|
|
291
|
+
padding: calc(var(--obar-spacing) * 8);
|
|
298
292
|
}
|
|
299
|
-
.px-4 {
|
|
300
|
-
padding-inline: calc(var(--spacing) * 4);
|
|
293
|
+
.obar\:px-4 {
|
|
294
|
+
padding-inline: calc(var(--obar-spacing) * 4);
|
|
301
295
|
}
|
|
302
|
-
.px-6 {
|
|
303
|
-
padding-inline: calc(var(--spacing) * 6);
|
|
296
|
+
.obar\:px-6 {
|
|
297
|
+
padding-inline: calc(var(--obar-spacing) * 6);
|
|
304
298
|
}
|
|
305
|
-
.py-2 {
|
|
306
|
-
padding-block: calc(var(--spacing) * 2);
|
|
299
|
+
.obar\:py-2 {
|
|
300
|
+
padding-block: calc(var(--obar-spacing) * 2);
|
|
307
301
|
}
|
|
308
|
-
.py-3 {
|
|
309
|
-
padding-block: calc(var(--spacing) * 3);
|
|
302
|
+
.obar\:py-3 {
|
|
303
|
+
padding-block: calc(var(--obar-spacing) * 3);
|
|
310
304
|
}
|
|
311
|
-
.pt-6 {
|
|
312
|
-
padding-top: calc(var(--spacing) * 6);
|
|
305
|
+
.obar\:pt-6 {
|
|
306
|
+
padding-top: calc(var(--obar-spacing) * 6);
|
|
313
307
|
}
|
|
314
|
-
.text-center {
|
|
308
|
+
.obar\:text-center {
|
|
315
309
|
text-align: center;
|
|
316
310
|
}
|
|
317
|
-
.text-2xl {
|
|
318
|
-
font-size: var(--text-2xl);
|
|
319
|
-
line-height: var(--tw-leading, var(--text-2xl--line-height));
|
|
311
|
+
.obar\:text-2xl {
|
|
312
|
+
font-size: var(--obar-text-2xl);
|
|
313
|
+
line-height: var(--tw-leading, var(--obar-text-2xl--line-height));
|
|
320
314
|
}
|
|
321
|
-
.text-3xl {
|
|
322
|
-
font-size: var(--text-3xl);
|
|
323
|
-
line-height: var(--tw-leading, var(--text-3xl--line-height));
|
|
315
|
+
.obar\:text-3xl {
|
|
316
|
+
font-size: var(--obar-text-3xl);
|
|
317
|
+
line-height: var(--tw-leading, var(--obar-text-3xl--line-height));
|
|
324
318
|
}
|
|
325
|
-
.text-base {
|
|
326
|
-
font-size: var(--text-base);
|
|
327
|
-
line-height: var(--tw-leading, var(--text-base--line-height));
|
|
319
|
+
.obar\:text-base {
|
|
320
|
+
font-size: var(--obar-text-base);
|
|
321
|
+
line-height: var(--tw-leading, var(--obar-text-base--line-height));
|
|
328
322
|
}
|
|
329
|
-
.text-lg {
|
|
330
|
-
font-size: var(--text-lg);
|
|
331
|
-
line-height: var(--tw-leading, var(--text-lg--line-height));
|
|
323
|
+
.obar\:text-lg {
|
|
324
|
+
font-size: var(--obar-text-lg);
|
|
325
|
+
line-height: var(--tw-leading, var(--obar-text-lg--line-height));
|
|
332
326
|
}
|
|
333
|
-
.text-sm {
|
|
334
|
-
font-size: var(--text-sm);
|
|
335
|
-
line-height: var(--tw-leading, var(--text-sm--line-height));
|
|
327
|
+
.obar\:text-sm {
|
|
328
|
+
font-size: var(--obar-text-sm);
|
|
329
|
+
line-height: var(--tw-leading, var(--obar-text-sm--line-height));
|
|
336
330
|
}
|
|
337
|
-
.text-xs {
|
|
338
|
-
font-size: var(--text-xs);
|
|
339
|
-
line-height: var(--tw-leading, var(--text-xs--line-height));
|
|
331
|
+
.obar\:text-xs {
|
|
332
|
+
font-size: var(--obar-text-xs);
|
|
333
|
+
line-height: var(--tw-leading, var(--obar-text-xs--line-height));
|
|
340
334
|
}
|
|
341
|
-
.font-bold {
|
|
342
|
-
--tw-font-weight: var(--font-weight-bold);
|
|
343
|
-
font-weight: var(--font-weight-bold);
|
|
335
|
+
.obar\:font-bold {
|
|
336
|
+
--tw-font-weight: var(--obar-font-weight-bold);
|
|
337
|
+
font-weight: var(--obar-font-weight-bold);
|
|
344
338
|
}
|
|
345
|
-
.font-medium {
|
|
346
|
-
--tw-font-weight: var(--font-weight-medium);
|
|
347
|
-
font-weight: var(--font-weight-medium);
|
|
339
|
+
.obar\:font-medium {
|
|
340
|
+
--tw-font-weight: var(--obar-font-weight-medium);
|
|
341
|
+
font-weight: var(--obar-font-weight-medium);
|
|
348
342
|
}
|
|
349
|
-
.font-semibold {
|
|
350
|
-
--tw-font-weight: var(--font-weight-semibold);
|
|
351
|
-
font-weight: var(--font-weight-semibold);
|
|
343
|
+
.obar\:font-semibold {
|
|
344
|
+
--tw-font-weight: var(--obar-font-weight-semibold);
|
|
345
|
+
font-weight: var(--obar-font-weight-semibold);
|
|
352
346
|
}
|
|
353
|
-
.text-indigo-600 {
|
|
354
|
-
color: var(--color-indigo-600);
|
|
347
|
+
.obar\:text-indigo-600 {
|
|
348
|
+
color: var(--obar-color-indigo-600);
|
|
355
349
|
}
|
|
356
|
-
.text-red-600 {
|
|
357
|
-
color: var(--color-red-600);
|
|
350
|
+
.obar\:text-red-600 {
|
|
351
|
+
color: var(--obar-color-red-600);
|
|
358
352
|
}
|
|
359
|
-
.text-red-700 {
|
|
360
|
-
color: var(--color-red-700);
|
|
353
|
+
.obar\:text-red-700 {
|
|
354
|
+
color: var(--obar-color-red-700);
|
|
361
355
|
}
|
|
362
|
-
.text-slate-500 {
|
|
363
|
-
color: var(--color-slate-500);
|
|
356
|
+
.obar\:text-slate-500 {
|
|
357
|
+
color: var(--obar-color-slate-500);
|
|
364
358
|
}
|
|
365
|
-
.text-slate-600 {
|
|
366
|
-
color: var(--color-slate-600);
|
|
359
|
+
.obar\:text-slate-600 {
|
|
360
|
+
color: var(--obar-color-slate-600);
|
|
367
361
|
}
|
|
368
|
-
.text-slate-700 {
|
|
369
|
-
color: var(--color-slate-700);
|
|
362
|
+
.obar\:text-slate-700 {
|
|
363
|
+
color: var(--obar-color-slate-700);
|
|
370
364
|
}
|
|
371
|
-
.text-slate-900 {
|
|
372
|
-
color: var(--color-slate-900);
|
|
365
|
+
.obar\:text-slate-900 {
|
|
366
|
+
color: var(--obar-color-slate-900);
|
|
373
367
|
}
|
|
374
|
-
.text-white {
|
|
375
|
-
color: var(--color-white);
|
|
368
|
+
.obar\:text-white {
|
|
369
|
+
color: var(--obar-color-white);
|
|
376
370
|
}
|
|
377
|
-
.text-yellow-600 {
|
|
378
|
-
color: var(--color-yellow-600);
|
|
371
|
+
.obar\:text-yellow-600 {
|
|
372
|
+
color: var(--obar-color-yellow-600);
|
|
379
373
|
}
|
|
380
|
-
.underline {
|
|
374
|
+
.obar\:underline {
|
|
381
375
|
text-decoration-line: underline;
|
|
382
376
|
}
|
|
383
|
-
.underline-offset-4 {
|
|
377
|
+
.obar\:underline-offset-4 {
|
|
384
378
|
text-underline-offset: 4px;
|
|
385
379
|
}
|
|
386
|
-
.opacity-25 {
|
|
380
|
+
.obar\:opacity-25 {
|
|
387
381
|
opacity: 25%;
|
|
388
382
|
}
|
|
389
|
-
.opacity-75 {
|
|
383
|
+
.obar\:opacity-75 {
|
|
390
384
|
opacity: 75%;
|
|
391
385
|
}
|
|
392
|
-
.shadow-lg {
|
|
386
|
+
.obar\:shadow-lg {
|
|
393
387
|
--tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
|
|
394
388
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
395
389
|
}
|
|
396
|
-
.shadow-sm {
|
|
390
|
+
.obar\:shadow-sm {
|
|
397
391
|
--tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
|
|
398
392
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
399
393
|
}
|
|
400
|
-
.shadow-xl {
|
|
394
|
+
.obar\:shadow-xl {
|
|
401
395
|
--tw-shadow: 0 20px 25px -5px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 8px 10px -6px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
|
|
402
396
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
403
397
|
}
|
|
404
|
-
.shadow-indigo-500\/20 {
|
|
405
|
-
--tw-shadow-color: color-
|
|
398
|
+
.obar\:shadow-indigo-500\/20 {
|
|
399
|
+
--tw-shadow-color: var(--obar-color-indigo-500);
|
|
406
400
|
@supports (color: color-mix(in lab, red, red)) {
|
|
407
|
-
--tw-shadow-color: color-mix(in oklab, color-mix(in oklab, var(--color-indigo-500) 20%, transparent) var(--tw-shadow-alpha), transparent);
|
|
401
|
+
--tw-shadow-color: color-mix(in oklab, color-mix(in oklab, var(--obar-color-indigo-500) 20%, transparent) var(--tw-shadow-alpha), transparent);
|
|
408
402
|
}
|
|
409
403
|
}
|
|
410
|
-
.shadow-red-500\/20 {
|
|
411
|
-
--tw-shadow-color: color-
|
|
404
|
+
.obar\:shadow-red-500\/20 {
|
|
405
|
+
--tw-shadow-color: var(--obar-color-red-500);
|
|
412
406
|
@supports (color: color-mix(in lab, red, red)) {
|
|
413
|
-
--tw-shadow-color: color-mix(in oklab, color-mix(in oklab, var(--color-red-500) 20%, transparent) var(--tw-shadow-alpha), transparent);
|
|
407
|
+
--tw-shadow-color: color-mix(in oklab, color-mix(in oklab, var(--obar-color-red-500) 20%, transparent) var(--tw-shadow-alpha), transparent);
|
|
414
408
|
}
|
|
415
409
|
}
|
|
416
|
-
.backdrop-blur-sm {
|
|
417
|
-
--tw-backdrop-blur: blur(var(--blur-sm));
|
|
410
|
+
.obar\:backdrop-blur-sm {
|
|
411
|
+
--tw-backdrop-blur: blur(var(--obar-blur-sm));
|
|
418
412
|
-webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
|
|
419
413
|
backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
|
|
420
414
|
}
|
|
421
|
-
.transition-colors {
|
|
415
|
+
.obar\:transition-colors {
|
|
422
416
|
transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
|
|
423
|
-
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
|
424
|
-
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
425
|
-
}
|
|
426
|
-
.ease-in-out {
|
|
427
|
-
--tw-ease: var(--ease-in-out);
|
|
428
|
-
transition-timing-function: var(--ease-in-out);
|
|
417
|
+
transition-timing-function: var(--tw-ease, var(--obar-default-transition-timing-function));
|
|
418
|
+
transition-duration: var(--tw-duration, var(--obar-default-transition-duration));
|
|
429
419
|
}
|
|
430
|
-
.hover\:bg-gray-50 {
|
|
420
|
+
.obar\:hover\:bg-gray-50 {
|
|
431
421
|
&:hover {
|
|
432
422
|
@media (hover: hover) {
|
|
433
|
-
background-color: var(--color-gray-50);
|
|
423
|
+
background-color: var(--obar-color-gray-50);
|
|
434
424
|
}
|
|
435
425
|
}
|
|
436
426
|
}
|
|
437
|
-
.hover\:bg-indigo-700 {
|
|
427
|
+
.obar\:hover\:bg-indigo-700 {
|
|
438
428
|
&:hover {
|
|
439
429
|
@media (hover: hover) {
|
|
440
|
-
background-color: var(--color-indigo-700);
|
|
430
|
+
background-color: var(--obar-color-indigo-700);
|
|
441
431
|
}
|
|
442
432
|
}
|
|
443
433
|
}
|
|
444
|
-
.hover\:bg-red-700 {
|
|
434
|
+
.obar\:hover\:bg-red-700 {
|
|
445
435
|
&:hover {
|
|
446
436
|
@media (hover: hover) {
|
|
447
|
-
background-color: var(--color-red-700);
|
|
437
|
+
background-color: var(--obar-color-red-700);
|
|
448
438
|
}
|
|
449
439
|
}
|
|
450
440
|
}
|
|
451
|
-
.hover\:text-slate-700 {
|
|
441
|
+
.obar\:hover\:text-slate-700 {
|
|
452
442
|
&:hover {
|
|
453
443
|
@media (hover: hover) {
|
|
454
|
-
color: var(--color-slate-700);
|
|
444
|
+
color: var(--obar-color-slate-700);
|
|
455
445
|
}
|
|
456
446
|
}
|
|
457
447
|
}
|
|
458
|
-
.hover\:underline {
|
|
448
|
+
.obar\:hover\:underline {
|
|
459
449
|
&:hover {
|
|
460
450
|
@media (hover: hover) {
|
|
461
451
|
text-decoration-line: underline;
|
|
462
452
|
}
|
|
463
453
|
}
|
|
464
454
|
}
|
|
465
|
-
.sm\:flex-row {
|
|
455
|
+
.obar\:sm\:flex-row {
|
|
466
456
|
@media (width >= 40rem) {
|
|
467
457
|
flex-direction: row;
|
|
468
458
|
}
|
|
469
459
|
}
|
|
470
|
-
.dark\:border-red-800 {
|
|
460
|
+
.obar\:dark\:border-red-800 {
|
|
471
461
|
@media (prefers-color-scheme: dark) {
|
|
472
|
-
border-color: var(--color-red-800);
|
|
462
|
+
border-color: var(--obar-color-red-800);
|
|
473
463
|
}
|
|
474
464
|
}
|
|
475
|
-
.dark\:border-slate-700 {
|
|
465
|
+
.obar\:dark\:border-slate-700 {
|
|
476
466
|
@media (prefers-color-scheme: dark) {
|
|
477
|
-
border-color: var(--color-slate-700);
|
|
467
|
+
border-color: var(--obar-color-slate-700);
|
|
478
468
|
}
|
|
479
469
|
}
|
|
480
|
-
.dark\:border-white\/5 {
|
|
470
|
+
.obar\:dark\:border-white\/5 {
|
|
481
471
|
@media (prefers-color-scheme: dark) {
|
|
482
|
-
border-color: color-
|
|
472
|
+
border-color: var(--obar-color-white);
|
|
483
473
|
@supports (color: color-mix(in lab, red, red)) {
|
|
484
|
-
border-color: color-mix(in oklab, var(--color-white) 5%, transparent);
|
|
474
|
+
border-color: color-mix(in oklab, var(--obar-color-white) 5%, transparent);
|
|
485
475
|
}
|
|
486
476
|
}
|
|
487
477
|
}
|
|
488
|
-
.dark\:bg-indigo-500 {
|
|
478
|
+
.obar\:dark\:bg-indigo-500 {
|
|
489
479
|
@media (prefers-color-scheme: dark) {
|
|
490
|
-
background-color: var(--color-indigo-500);
|
|
480
|
+
background-color: var(--obar-color-indigo-500);
|
|
491
481
|
}
|
|
492
482
|
}
|
|
493
|
-
.dark\:bg-indigo-600\/20 {
|
|
483
|
+
.obar\:dark\:bg-indigo-600\/20 {
|
|
494
484
|
@media (prefers-color-scheme: dark) {
|
|
495
|
-
background-color: color-
|
|
485
|
+
background-color: var(--obar-color-indigo-600);
|
|
496
486
|
@supports (color: color-mix(in lab, red, red)) {
|
|
497
|
-
background-color: color-mix(in oklab, var(--color-indigo-600) 20%, transparent);
|
|
487
|
+
background-color: color-mix(in oklab, var(--obar-color-indigo-600) 20%, transparent);
|
|
498
488
|
}
|
|
499
489
|
}
|
|
500
490
|
}
|
|
501
|
-
.dark\:bg-indigo-900\/20 {
|
|
491
|
+
.obar\:dark\:bg-indigo-900\/20 {
|
|
502
492
|
@media (prefers-color-scheme: dark) {
|
|
503
|
-
background-color: color-
|
|
493
|
+
background-color: var(--obar-color-indigo-900);
|
|
504
494
|
@supports (color: color-mix(in lab, red, red)) {
|
|
505
|
-
background-color: color-mix(in oklab, var(--color-indigo-900) 20%, transparent);
|
|
495
|
+
background-color: color-mix(in oklab, var(--obar-color-indigo-900) 20%, transparent);
|
|
506
496
|
}
|
|
507
497
|
}
|
|
508
498
|
}
|
|
509
|
-
.dark\:bg-red-700\/80 {
|
|
499
|
+
.obar\:dark\:bg-red-700\/80 {
|
|
510
500
|
@media (prefers-color-scheme: dark) {
|
|
511
|
-
background-color: color-
|
|
501
|
+
background-color: var(--obar-color-red-700);
|
|
512
502
|
@supports (color: color-mix(in lab, red, red)) {
|
|
513
|
-
background-color: color-mix(in oklab, var(--color-red-700) 80%, transparent);
|
|
503
|
+
background-color: color-mix(in oklab, var(--obar-color-red-700) 80%, transparent);
|
|
514
504
|
}
|
|
515
505
|
}
|
|
516
506
|
}
|
|
517
|
-
.dark\:bg-red-900\/10 {
|
|
507
|
+
.obar\:dark\:bg-red-900\/10 {
|
|
518
508
|
@media (prefers-color-scheme: dark) {
|
|
519
|
-
background-color: color-
|
|
509
|
+
background-color: var(--obar-color-red-900);
|
|
520
510
|
@supports (color: color-mix(in lab, red, red)) {
|
|
521
|
-
background-color: color-mix(in oklab, var(--color-red-900) 10%, transparent);
|
|
511
|
+
background-color: color-mix(in oklab, var(--obar-color-red-900) 10%, transparent);
|
|
522
512
|
}
|
|
523
513
|
}
|
|
524
514
|
}
|
|
525
|
-
.dark\:bg-red-900\/20 {
|
|
515
|
+
.obar\:dark\:bg-red-900\/20 {
|
|
526
516
|
@media (prefers-color-scheme: dark) {
|
|
527
|
-
background-color: color-
|
|
517
|
+
background-color: var(--obar-color-red-900);
|
|
528
518
|
@supports (color: color-mix(in lab, red, red)) {
|
|
529
|
-
background-color: color-mix(in oklab, var(--color-red-900) 20%, transparent);
|
|
519
|
+
background-color: color-mix(in oklab, var(--obar-color-red-900) 20%, transparent);
|
|
530
520
|
}
|
|
531
521
|
}
|
|
532
522
|
}
|
|
533
|
-
.dark\:bg-slate-700 {
|
|
523
|
+
.obar\:dark\:bg-slate-700 {
|
|
534
524
|
@media (prefers-color-scheme: dark) {
|
|
535
|
-
background-color: var(--color-slate-700);
|
|
525
|
+
background-color: var(--obar-color-slate-700);
|
|
536
526
|
}
|
|
537
527
|
}
|
|
538
|
-
.dark\:bg-slate-900\/60 {
|
|
528
|
+
.obar\:dark\:bg-slate-900\/60 {
|
|
539
529
|
@media (prefers-color-scheme: dark) {
|
|
540
|
-
background-color: color-
|
|
530
|
+
background-color: var(--obar-color-slate-900);
|
|
541
531
|
@supports (color: color-mix(in lab, red, red)) {
|
|
542
|
-
background-color: color-mix(in oklab, var(--color-slate-900) 60%, transparent);
|
|
532
|
+
background-color: color-mix(in oklab, var(--obar-color-slate-900) 60%, transparent);
|
|
543
533
|
}
|
|
544
534
|
}
|
|
545
535
|
}
|
|
546
|
-
.dark\:bg-yellow-900\/10 {
|
|
536
|
+
.obar\:dark\:bg-yellow-900\/10 {
|
|
547
537
|
@media (prefers-color-scheme: dark) {
|
|
548
|
-
background-color: color-
|
|
538
|
+
background-color: var(--obar-color-yellow-900);
|
|
549
539
|
@supports (color: color-mix(in lab, red, red)) {
|
|
550
|
-
background-color: color-mix(in oklab, var(--color-yellow-900) 10%, transparent);
|
|
540
|
+
background-color: color-mix(in oklab, var(--obar-color-yellow-900) 10%, transparent);
|
|
551
541
|
}
|
|
552
542
|
}
|
|
553
543
|
}
|
|
554
|
-
.dark\:from-slate-900 {
|
|
544
|
+
.obar\:dark\:from-slate-900 {
|
|
555
545
|
@media (prefers-color-scheme: dark) {
|
|
556
|
-
--tw-gradient-from: var(--color-slate-900);
|
|
546
|
+
--tw-gradient-from: var(--obar-color-slate-900);
|
|
557
547
|
--tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
|
|
558
548
|
}
|
|
559
549
|
}
|
|
560
|
-
.dark\:to-slate-800 {
|
|
550
|
+
.obar\:dark\:to-slate-800 {
|
|
561
551
|
@media (prefers-color-scheme: dark) {
|
|
562
|
-
--tw-gradient-to: var(--color-slate-800);
|
|
552
|
+
--tw-gradient-to: var(--obar-color-slate-800);
|
|
563
553
|
--tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
|
|
564
554
|
}
|
|
565
555
|
}
|
|
566
|
-
.dark\:text-indigo-400 {
|
|
556
|
+
.obar\:dark\:text-indigo-400 {
|
|
567
557
|
@media (prefers-color-scheme: dark) {
|
|
568
|
-
color: var(--color-indigo-400);
|
|
558
|
+
color: var(--obar-color-indigo-400);
|
|
569
559
|
}
|
|
570
560
|
}
|
|
571
|
-
.dark\:text-red-200 {
|
|
561
|
+
.obar\:dark\:text-red-200 {
|
|
572
562
|
@media (prefers-color-scheme: dark) {
|
|
573
|
-
color: var(--color-red-200);
|
|
563
|
+
color: var(--obar-color-red-200);
|
|
574
564
|
}
|
|
575
565
|
}
|
|
576
|
-
.dark\:text-red-300 {
|
|
566
|
+
.obar\:dark\:text-red-300 {
|
|
577
567
|
@media (prefers-color-scheme: dark) {
|
|
578
|
-
color: var(--color-red-300);
|
|
568
|
+
color: var(--obar-color-red-300);
|
|
579
569
|
}
|
|
580
570
|
}
|
|
581
|
-
.dark\:text-red-400 {
|
|
571
|
+
.obar\:dark\:text-red-400 {
|
|
582
572
|
@media (prefers-color-scheme: dark) {
|
|
583
|
-
color: var(--color-red-400);
|
|
573
|
+
color: var(--obar-color-red-400);
|
|
584
574
|
}
|
|
585
575
|
}
|
|
586
|
-
.dark\:text-slate-100 {
|
|
576
|
+
.obar\:dark\:text-slate-100 {
|
|
587
577
|
@media (prefers-color-scheme: dark) {
|
|
588
|
-
color: var(--color-slate-100);
|
|
578
|
+
color: var(--obar-color-slate-100);
|
|
589
579
|
}
|
|
590
580
|
}
|
|
591
|
-
.dark\:text-slate-200 {
|
|
581
|
+
.obar\:dark\:text-slate-200 {
|
|
592
582
|
@media (prefers-color-scheme: dark) {
|
|
593
|
-
color: var(--color-slate-200);
|
|
583
|
+
color: var(--obar-color-slate-200);
|
|
594
584
|
}
|
|
595
585
|
}
|
|
596
|
-
.dark\:text-slate-300 {
|
|
586
|
+
.obar\:dark\:text-slate-300 {
|
|
597
587
|
@media (prefers-color-scheme: dark) {
|
|
598
|
-
color: var(--color-slate-300);
|
|
588
|
+
color: var(--obar-color-slate-300);
|
|
599
589
|
}
|
|
600
590
|
}
|
|
601
|
-
.dark\:text-slate-400 {
|
|
591
|
+
.obar\:dark\:text-slate-400 {
|
|
602
592
|
@media (prefers-color-scheme: dark) {
|
|
603
|
-
color: var(--color-slate-400);
|
|
593
|
+
color: var(--obar-color-slate-400);
|
|
604
594
|
}
|
|
605
595
|
}
|
|
606
|
-
.dark\:text-yellow-400 {
|
|
596
|
+
.obar\:dark\:text-yellow-400 {
|
|
607
597
|
@media (prefers-color-scheme: dark) {
|
|
608
|
-
color: var(--color-yellow-400);
|
|
598
|
+
color: var(--obar-color-yellow-400);
|
|
609
599
|
}
|
|
610
600
|
}
|
|
611
|
-
.dark\:shadow-red-900\/30 {
|
|
601
|
+
.obar\:dark\:shadow-red-900\/30 {
|
|
612
602
|
@media (prefers-color-scheme: dark) {
|
|
613
|
-
--tw-shadow-color: color-
|
|
603
|
+
--tw-shadow-color: var(--obar-color-red-900);
|
|
614
604
|
@supports (color: color-mix(in lab, red, red)) {
|
|
615
|
-
--tw-shadow-color: color-mix(in oklab, color-mix(in oklab, var(--color-red-900) 30%, transparent) var(--tw-shadow-alpha), transparent);
|
|
605
|
+
--tw-shadow-color: color-mix(in oklab, color-mix(in oklab, var(--obar-color-red-900) 30%, transparent) var(--tw-shadow-alpha), transparent);
|
|
616
606
|
}
|
|
617
607
|
}
|
|
618
608
|
}
|
|
619
|
-
.dark\:hover\:bg-indigo-600 {
|
|
609
|
+
.obar\:dark\:hover\:bg-indigo-600 {
|
|
620
610
|
@media (prefers-color-scheme: dark) {
|
|
621
611
|
&:hover {
|
|
622
612
|
@media (hover: hover) {
|
|
623
|
-
background-color: var(--color-indigo-600);
|
|
613
|
+
background-color: var(--obar-color-indigo-600);
|
|
624
614
|
}
|
|
625
615
|
}
|
|
626
616
|
}
|
|
627
617
|
}
|
|
628
|
-
.dark\:hover\:bg-red-700 {
|
|
618
|
+
.obar\:dark\:hover\:bg-red-700 {
|
|
629
619
|
@media (prefers-color-scheme: dark) {
|
|
630
620
|
&:hover {
|
|
631
621
|
@media (hover: hover) {
|
|
632
|
-
background-color: var(--color-red-700);
|
|
622
|
+
background-color: var(--obar-color-red-700);
|
|
633
623
|
}
|
|
634
624
|
}
|
|
635
625
|
}
|
|
636
626
|
}
|
|
637
|
-
.dark\:hover\:bg-slate-800 {
|
|
627
|
+
.obar\:dark\:hover\:bg-slate-800 {
|
|
638
628
|
@media (prefers-color-scheme: dark) {
|
|
639
629
|
&:hover {
|
|
640
630
|
@media (hover: hover) {
|
|
641
|
-
background-color: var(--color-slate-800);
|
|
631
|
+
background-color: var(--obar-color-slate-800);
|
|
642
632
|
}
|
|
643
633
|
}
|
|
644
634
|
}
|
|
645
635
|
}
|
|
646
|
-
.dark\:hover\:text-slate-200 {
|
|
636
|
+
.obar\:dark\:hover\:text-slate-200 {
|
|
647
637
|
@media (prefers-color-scheme: dark) {
|
|
648
638
|
&:hover {
|
|
649
639
|
@media (hover: hover) {
|
|
650
|
-
color: var(--color-slate-200);
|
|
640
|
+
color: var(--obar-color-slate-200);
|
|
651
641
|
}
|
|
652
642
|
}
|
|
653
643
|
}
|
|
654
644
|
}
|
|
655
645
|
}
|
|
656
|
-
@property --tw-rotate-x {
|
|
657
|
-
syntax: "*";
|
|
658
|
-
inherits: false;
|
|
659
|
-
}
|
|
660
|
-
@property --tw-rotate-y {
|
|
661
|
-
syntax: "*";
|
|
662
|
-
inherits: false;
|
|
663
|
-
}
|
|
664
|
-
@property --tw-rotate-z {
|
|
665
|
-
syntax: "*";
|
|
666
|
-
inherits: false;
|
|
667
|
-
}
|
|
668
|
-
@property --tw-skew-x {
|
|
669
|
-
syntax: "*";
|
|
670
|
-
inherits: false;
|
|
671
|
-
}
|
|
672
|
-
@property --tw-skew-y {
|
|
673
|
-
syntax: "*";
|
|
674
|
-
inherits: false;
|
|
675
|
-
}
|
|
676
646
|
@property --tw-border-style {
|
|
677
647
|
syntax: "*";
|
|
678
648
|
inherits: false;
|
|
@@ -825,10 +795,6 @@
|
|
|
825
795
|
syntax: "*";
|
|
826
796
|
inherits: false;
|
|
827
797
|
}
|
|
828
|
-
@property --tw-ease {
|
|
829
|
-
syntax: "*";
|
|
830
|
-
inherits: false;
|
|
831
|
-
}
|
|
832
798
|
@keyframes spin {
|
|
833
799
|
to {
|
|
834
800
|
transform: rotate(360deg);
|
|
@@ -848,11 +814,6 @@
|
|
|
848
814
|
@layer properties {
|
|
849
815
|
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
|
|
850
816
|
*, ::before, ::after, ::backdrop {
|
|
851
|
-
--tw-rotate-x: initial;
|
|
852
|
-
--tw-rotate-y: initial;
|
|
853
|
-
--tw-rotate-z: initial;
|
|
854
|
-
--tw-skew-x: initial;
|
|
855
|
-
--tw-skew-y: initial;
|
|
856
817
|
--tw-border-style: solid;
|
|
857
818
|
--tw-gradient-position: initial;
|
|
858
819
|
--tw-gradient-from: #0000;
|
|
@@ -887,7 +848,6 @@
|
|
|
887
848
|
--tw-backdrop-opacity: initial;
|
|
888
849
|
--tw-backdrop-saturate: initial;
|
|
889
850
|
--tw-backdrop-sepia: initial;
|
|
890
|
-
--tw-ease: initial;
|
|
891
851
|
}
|
|
892
852
|
}
|
|
893
853
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opble/auth0-react",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.7",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
"nodemon": "^3.1.11",
|
|
49
49
|
"tailwindcss": "^4.0.0",
|
|
50
50
|
"typescript": "^5.9.3",
|
|
51
|
-
"@opble/
|
|
52
|
-
"@opble/
|
|
51
|
+
"@opble/eslint-config": "0.0.0",
|
|
52
|
+
"@opble/typescript-config": "0.0.0"
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
55
|
"@opble/debug": "^1.0.0",
|