Skip to content

Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.

style: text and heading sizzes

Brad Barbind611082b588a
diff --git a/apps/carbon/app/components/Hyperlink.tsx b/apps/carbon/app/components/Hyperlink.tsx
index 8989c448b1..9d236f7e62 100644
--- a/apps/carbon/app/components/Hyperlink.tsx
+++ b/apps/carbon/app/components/Hyperlink.tsx
@@ -14,7 +14,7 @@ const Hyperlink = ({
<Link
prefetch="intent"
className={cn(
- "text-foreground hover:underline cursor-pointer",
+ "text-foreground hover:underline cursor-pointer font-semibold",
className
)}
{...props}
@@ -24,7 +24,7 @@ const Hyperlink = ({
) : (
<span
className={cn(
- "text-foreground hover:underline cursor-pointer",
+ "text-foreground hover:underline cursor-pointer ",
className
)}
{...props}
diff --git a/apps/carbon/app/components/Layout/Topbar/Search.tsx b/apps/carbon/app/components/Layout/Topbar/Search.tsx
index 22ab456cc7..8abfc5ea82 100644
--- a/apps/carbon/app/components/Layout/Topbar/Search.tsx
+++ b/apps/carbon/app/components/Layout/Topbar/Search.tsx
@@ -25,10 +25,15 @@ import idb from "localforage";
import { nanoid } from "nanoid";
import { useCallback, useEffect, useState } from "react";
import { AiOutlinePartition } from "react-icons/ai";
-import { BsCartDash } from "react-icons/bs";
-import { CgProfile } from "react-icons/cg";
import { HiOutlineDocumentDuplicate } from "react-icons/hi";
-import { LuHardHat, LuSearch, LuUserSquare } from "react-icons/lu";
+import {
+ LuHardHat,
+ LuSearch,
+ LuShoppingCart,
+ LuUser,
+ LuUserSquare,
+ LuWrench,
+} from "react-icons/lu";
import { PiShareNetworkFill } from "react-icons/pi";
import {
RiProgress2Line,
@@ -258,11 +263,11 @@ function ResultIcon({ entity }: { entity: SearchResult["entity"] | "Module" }) {
case "Part":
return <AiOutlinePartition className="w-4 h-4 mr-2" />;
case "Person":
- return <CgProfile className="w-4 h-4 mr-2" />;
+ return <LuUser className="w-4 h-4 mr-2" />;
case "Resource":
- return <CgProfile className="w-4 h-4 mr-2" />;
+ return <LuWrench className="w-4 h-4 mr-2" />;
case "Purchase Order":
- return <BsCartDash className="w-4 h-4 mr-2" />;
+ return <LuShoppingCart className="w-4 h-4 mr-2" />;
case "Opportunity":
case "Lead":
case "Sales RFQ":
diff --git a/apps/carbon/app/components/SortableList.tsx b/apps/carbon/app/components/SortableList.tsx
index 8cff94167a..fb6901639d 100644
--- a/apps/carbon/app/components/SortableList.tsx
+++ b/apps/carbon/app/components/SortableList.tsx
@@ -127,7 +127,7 @@ function SortableListItem<T>({
{typeof item.title === "string" ? (
<h4
className={cn(
- "flex tracking-tighter text-base md:text-lg truncate",
+ "flex text-base md:text-lg truncate",
item.checked ? "text-red-400" : "text-foreground"
)}
>
diff --git a/apps/carbon/app/components/Table/components/Columns.tsx b/apps/carbon/app/components/Table/components/Columns.tsx
index 60a6415c3f..b86aea6904 100644
--- a/apps/carbon/app/components/Table/components/Columns.tsx
+++ b/apps/carbon/app/components/Table/components/Columns.tsx
@@ -11,8 +11,7 @@ import {
} from "@carbon/react";
import type { Column, ColumnOrderState } from "@tanstack/react-table";
import { Reorder } from "framer-motion";
-import { BsEyeFill, BsEyeSlash, BsPin, BsPinFill } from "react-icons/bs";
-import { LuColumns } from "react-icons/lu";
+import { LuColumns, LuEye, LuEyeOff, LuPin, LuPinOff } from "react-icons/lu";
import { MdOutlineDragIndicator } from "react-icons/md";
type ColumnsProps<T> = {
@@ -72,7 +71,7 @@ const Columns = <T extends object>({
</span>
<IconButton
aria-label="Toggle column"
- icon={column.getIsPinned() ? <BsPinFill /> : <BsPin />}
+ icon={column.getIsPinned() ? <LuPin /> : <LuPinOff />}
onClick={(e) => {
if (column.getIsPinned()) {
column.pin(false);
@@ -88,9 +87,7 @@ const Columns = <T extends object>({
/>
<IconButton
aria-label="Toggle column"
- icon={
- column.getIsVisible() ? <BsEyeFill /> : <BsEyeSlash />
- }
+ icon={column.getIsVisible() ? <LuEye /> : <LuEyeOff />}
onClick={column.getToggleVisibilityHandler()}
variant="ghost"
/>
diff --git a/apps/carbon/app/modules/items/ui/Item/BillOfMaterial.tsx b/apps/carbon/app/modules/items/ui/Item/BillOfMaterial.tsx
index 490a6cde99..ca1a17125f 100644
--- a/apps/carbon/app/modules/items/ui/Item/BillOfMaterial.tsx
+++ b/apps/carbon/app/modules/items/ui/Item/BillOfMaterial.tsx
@@ -69,7 +69,7 @@ function makeItem(material: Material): ItemWithData {
id: material.id!,
title: (
<VStack spacing={0} className="py-2.5">
- <h4 className="flex tracking-tighter text-base md:text-lg truncate">
+ <h4 className="flex font-semibold text-base md:text-lg truncate">
{material.itemReadableId}
</h4>
{material?.description && (
diff --git a/apps/carbon/app/modules/production/ui/Jobs/JobBillOfMaterial.tsx b/apps/carbon/app/modules/production/ui/Jobs/JobBillOfMaterial.tsx
index 2a85efceea..3466fdf31d 100644
--- a/apps/carbon/app/modules/production/ui/Jobs/JobBillOfMaterial.tsx
+++ b/apps/carbon/app/modules/production/ui/Jobs/JobBillOfMaterial.tsx
@@ -69,7 +69,7 @@ function makeItem(material: Material): ItemWithData {
id: material.id!,
title: (
<VStack spacing={0} className="py-2.5">
- <h4 className="flex tracking-tighter text-base md:text-lg truncate">
+ <h4 className="flex font-semibold text-base md:text-lg truncate">
{material.itemReadableId}
</h4>
{material?.description && (
diff --git a/apps/carbon/app/modules/sales/ui/Quotes/QuoteBillOfMaterial.tsx b/apps/carbon/app/modules/sales/ui/Quotes/QuoteBillOfMaterial.tsx
index bd243aacad..b1a0b52c8e 100644
--- a/apps/carbon/app/modules/sales/ui/Quotes/QuoteBillOfMaterial.tsx
+++ b/apps/carbon/app/modules/sales/ui/Quotes/QuoteBillOfMaterial.tsx
@@ -69,7 +69,7 @@ function makeItem(material: Material): ItemWithData {
id: material.id!,
title: (
<VStack spacing={0} className="py-2.5">
- <h4 className="flex tracking-tighter text-base md:text-lg truncate">
+ <h4 className="flex font-semibold text-base md:text-lg truncate">
{material.itemReadableId}
</h4>
{material?.description && (
diff --git a/packages/react/src/Card.tsx b/packages/react/src/Card.tsx
index 8aeadcbaef..ae3cd66efa 100644
--- a/packages/react/src/Card.tsx
+++ b/packages/react/src/Card.tsx
@@ -151,7 +151,7 @@ const CardTitle = forwardRef<
<h3
ref={ref}
className={cn(
- "text-xl font-semibold leading-none tracking-tight text-foreground",
+ "text-lg font-semibold leading-none tracking-tight text-foreground",
className
)}
{...props}