@orangecheck/app-design 0.1.0 → 0.1.2
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/brand.js +5 -3
- package/dist/brand.js.map +1 -1
- package/dist/brand.mjs +5 -3
- package/dist/brand.mjs.map +1 -1
- package/dist/index.js +5 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -3
- package/dist/index.mjs.map +1 -1
- package/dist/styles/theme.css +2 -1
- package/dist/styles/tokens.css +10 -0
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -716,13 +716,15 @@ var SPHERE_GRADIENT = "radial-gradient(circle at 50% 42%, #fff8f3 0%, #ffe2d3 22
|
|
|
716
716
|
function HalftoneSphere({ src, alt, stadium = false, float = false, className, style }) {
|
|
717
717
|
return /* @__PURE__ */ jsxs("div", { className: cn("relative aspect-square w-full", className), style, children: [
|
|
718
718
|
stadium ? (
|
|
719
|
-
//
|
|
720
|
-
//
|
|
719
|
+
// Measured from the deck's title slide: a rounded square, its corners
|
|
720
|
+
// 17% of the sphere, level with the sphere's foot, reaching left behind
|
|
721
|
+
// the headline. On phones a ring inside the gutter, since the offset
|
|
722
|
+
// would push the page sideways.
|
|
721
723
|
/* @__PURE__ */ jsx(
|
|
722
724
|
"div",
|
|
723
725
|
{
|
|
724
726
|
"aria-hidden": true,
|
|
725
|
-
className: "oca-stadium pointer-events-none absolute inset-[-6%] md:[inset:-
|
|
727
|
+
className: "oca-stadium pointer-events-none absolute inset-[-6%] rounded-full md:[inset:-12%_14%_0%_-26%] md:rounded-[17%]"
|
|
726
728
|
}
|
|
727
729
|
)
|
|
728
730
|
) : null,
|