@theguild/components 8.0.0-alpha-20241120111327-3528aeee2acb79714bb28b2a40bafba55ecfb623 → 8.0.0-alpha-20241122154106-b3f1d666a601dc0981eb7ac83f93231cda47f9c1

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.
@@ -41,10 +41,14 @@ function ToolsAndLibrariesCards({ className }) {
41
41
  function MainProductCard({ as: Root, product }) {
42
42
  const Decoration = cardDecorations[product.name];
43
43
  const Icon = product.logo;
44
+ const isHive = product.name === PRODUCTS.HIVE.name;
44
45
  return /* @__PURE__ */ jsxs(
45
46
  Root,
46
47
  {
47
- className: "hive-focus-within group relative flex-1 shrink-0 basis-[283.5px] overflow-hidden rounded-2xl bg-blue-400 text-green-1000 first-of-type:bg-green-1000 first-of-type:text-white max-md:w-[283.5px]",
48
+ className: cn(
49
+ "hive-focus-within group relative flex-1 shrink-0 basis-[283.5px] overflow-hidden rounded-2xl bg-blue-400 text-green-1000 max-md:w-[283.5px]",
50
+ isHive && "bg-green-1000 text-white"
51
+ ),
48
52
  children: [
49
53
  /* @__PURE__ */ jsxs(
50
54
  "a",
@@ -62,7 +66,10 @@ function MainProductCard({ as: Root, product }) {
62
66
  Decoration,
63
67
  {
64
68
  strokeWidth: "0.5px",
65
- className: "pointer-events-none absolute bottom-0 right-0 fill-blue-200 opacity-0 transition-opacity duration-500 group-first-of-type:fill-blue-700 group-focus-within:opacity-100 group-hover:opacity-100",
69
+ className: cn(
70
+ "pointer-events-none absolute bottom-0 right-0 fill-blue-200 opacity-0 transition-opacity duration-500 group-focus-within:opacity-100 group-hover:opacity-100",
71
+ isHive && "fill-blue-700"
72
+ ),
66
73
  preserveAspectRatio: "xMidYMid meet"
67
74
  }
68
75
  ),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theguild/components",
3
- "version": "8.0.0-alpha-20241120111327-3528aeee2acb79714bb28b2a40bafba55ecfb623",
3
+ "version": "8.0.0-alpha-20241122154106-b3f1d666a601dc0981eb7ac83f93231cda47f9c1",
4
4
  "repository": {
5
5
  "url": "https://github.com/the-guild-org/docs",
6
6
  "directory": "packages/components"