)}
diff --git a/apps/web/core/components/workspace/sidebar/workspace-menu-root.tsx b/apps/web/core/components/workspace/sidebar/workspace-menu-root.tsx
index 7f779e950..8c491671e 100644
--- a/apps/web/core/components/workspace/sidebar/workspace-menu-root.tsx
+++ b/apps/web/core/components/workspace/sidebar/workspace-menu-root.tsx
@@ -141,7 +141,7 @@ export const WorkspaceMenuRoot = observer(function WorkspaceMenuRoot(props: Work
*,
button.epr-emoji:focus > * {
- background-color: rgba(var(--color-background-80)) !important;
+ @apply bg-layer-2!;
}
input.epr-search {
@@ -43,12 +42,12 @@
}
button.epr-btn-clear-search:hover {
- background-color: rgba(var(--color-background-80)) !important;
+ @apply bg-layer-2!;
@apply text-tertiary!;
}
.epr-emoji-variation-picker {
- background-color: rgba(var(--color-background-100)) !important;
+ @apply bg-surface-1!;
@apply border-subtle-1!;
}
}
diff --git a/apps/web/styles/globals.css b/apps/web/styles/globals.css
index dd034d814..ab520abe2 100644
--- a/apps/web/styles/globals.css
+++ b/apps/web/styles/globals.css
@@ -5,62 +5,6 @@
@import "./emoji.css";
@plugin "@tailwindcss/typography";
-:root {
- /* Plane subscriptions */
- --color-subscription-free-200: 69, 80, 104;
- --color-subscription-free-400: 51, 59, 77;
-
- --color-subscription-one-200: 101, 42, 14;
- --color-subscription-one-400: 90, 37, 12;
-
- --color-subscription-pro-200: 32, 128, 138;
- --color-subscription-pro-400: 24, 96, 104;
-
- --color-subscription-business-200: 142, 33, 87;
- --color-subscription-business-400: 103, 24, 63;
-
- --color-subscription-enterprise-200: 86, 5, 145;
- --color-subscription-enterprise-400: 73, 4, 123;
-}
-
-[data-theme="light"],
-[data-theme="light-contrast"] {
- /* Plane subscriptions */
- --color-subscription-free-200: 69, 80, 104;
- --color-subscription-free-400: 51, 59, 77;
-
- --color-subscription-one-200: 101, 42, 14;
- --color-subscription-one-400: 90, 37, 12;
-
- --color-subscription-pro-200: 32, 128, 138;
- --color-subscription-pro-400: 24, 96, 104;
-
- --color-subscription-business-200: 142, 33, 87;
- --color-subscription-business-400: 103, 24, 63;
-
- --color-subscription-enterprise-200: 86, 5, 145;
- --color-subscription-enterprise-400: 73, 4, 123;
-}
-
-[data-theme="dark"],
-[data-theme="dark-contrast"] {
- /* Plane subscriptions */
- --color-subscription-free-200: 206, 213, 232;
- --color-subscription-free-400: 152, 166, 206;
-
- --color-subscription-one-200: 255, 148, 153;
- --color-subscription-one-400: 200, 118, 121;
-
- --color-subscription-pro-200: 12, 170, 192;
- --color-subscription-pro-400: 9, 130, 154;
-
- --color-subscription-business-200: 206, 34, 119;
- --color-subscription-business-400: 140, 23, 81;
-
- --color-subscription-enterprise-200: 182, 71, 255;
- --color-subscription-enterprise-400: 134, 11, 203;
-}
-
/* stickies and editor colors */
:root {
/* text colors */
@@ -219,7 +163,7 @@
@keyframes highlight {
0% {
- background-color: rgba(var(--color-background-90), 1);
+ background-color: var(--background-color-layer-2);
border-radius: 4px;
}
100% {
@@ -230,7 +174,7 @@
/* Progress Bar Styles */
:root {
- --bprogress-color: rgb(var(--color-primary-100)) !important;
+ --bprogress-color: var(--background-color-accent-primary);
--bprogress-height: 2.5px !important;
}
@@ -241,8 +185,8 @@
.bprogress .bar {
background: linear-gradient(
90deg,
- rgba(var(--color-primary-100), 0.8) 0%,
- rgba(var(--color-primary-100), 1) 100%
+ --alpha(var(--background-color-accent-primary) / 80%) 0%,
+ --alpha(var(--background-color-accent-primary) / 100%) 100%
) !important;
will-change: width, opacity;
}
@@ -250,7 +194,7 @@
.bprogress .peg {
display: block;
box-shadow:
- 0 0 8px rgba(var(--color-primary-100), 0.6),
- 0 0 4px rgba(var(--color-primary-100), 0.4) !important;
+ 0 0 8px --alpha(var(--background-color-accent-primary) / 60%),
+ 0 0 4px --alpha(var(--background-color-accent-primary) / 40%) !important;
will-change: transform, opacity;
}
diff --git a/packages/constants/src/graph.ts b/packages/constants/src/graph.ts
index 1b671dc80..43058bdf8 100644
--- a/packages/constants/src/graph.ts
+++ b/packages/constants/src/graph.ts
@@ -6,14 +6,14 @@ export const CHARTS_THEME = {
axis: {
domain: {
line: {
- stroke: "rgb(var(--color-background-80))",
+ stroke: "var(--background-color-layer-2)",
strokeWidth: 0.5,
},
},
},
tooltip: {
container: {
- background: "rgb(var(--color-background-80))",
+ background: "var(--background-color-layer-2)",
color: "var(--text-color-secondary)",
fontSize: "0.8rem",
border: "1px solid var(--border-color-strong)",
diff --git a/packages/editor/src/core/components/editors/document/page-renderer.tsx b/packages/editor/src/core/components/editors/document/page-renderer.tsx
index af45e54b2..591c5e55b 100644
--- a/packages/editor/src/core/components/editors/document/page-renderer.tsx
+++ b/packages/editor/src/core/components/editors/document/page-renderer.tsx
@@ -76,7 +76,7 @@ export function PageRenderer(props: Props) {
editor={titleEditor}
id={id + "-title"}
tabIndex={tabIndex}
- className="no-scrollbar placeholder-custom-text-400 bg-transparent tracking-[-2%] font-bold text-[2rem] leading-[2.375rem] w-full outline-none p-0 border-none resize-none rounded-none"
+ className="no-scrollbar placeholder-placeholder bg-transparent tracking-[-2%] font-bold text-[2rem] leading-[2.375rem] w-full outline-none p-0 border-none resize-none rounded-none"
/>
diff --git a/packages/editor/src/core/components/menus/block-menu.tsx b/packages/editor/src/core/components/menus/block-menu.tsx
index e647c4795..69d9f3cc1 100644
--- a/packages/editor/src/core/components/menus/block-menu.tsx
+++ b/packages/editor/src/core/components/menus/block-menu.tsx
@@ -216,7 +216,7 @@ export function BlockMenu(props: Props) {
zIndex: 100,
}}
className={cn(
- "max-h-60 min-w-[7rem] overflow-y-scroll rounded-lg border border-subtle bg-surface-1 p-1.5 shadow-custom-shadow-rg",
+ "max-h-60 min-w-[7rem] overflow-y-scroll rounded-lg border border-subtle bg-surface-1 p-1.5 shadow-raised-200",
"transition-all duration-300 transform origin-top-right",
isAnimatedIn ? "opacity-100 scale-100" : "opacity-0 scale-75"
)}
diff --git a/packages/editor/src/core/components/menus/bubble-menu/color-selector.tsx b/packages/editor/src/core/components/menus/bubble-menu/color-selector.tsx
index 4ad7be4ff..c6fc542ed 100644
--- a/packages/editor/src/core/components/menus/bubble-menu/color-selector.tsx
+++ b/packages/editor/src/core/components/menus/bubble-menu/color-selector.tsx
@@ -58,7 +58,7 @@ export function BubbleMenuColorSelector(props: Props) {
getFloatingProps={getFloatingProps}
getReferenceProps={getReferenceProps}
>
-
+
Text colors
diff --git a/packages/editor/src/core/components/menus/bubble-menu/link-selector.tsx b/packages/editor/src/core/components/menus/bubble-menu/link-selector.tsx
index 88431e5ea..57d50c31a 100644
--- a/packages/editor/src/core/components/menus/bubble-menu/link-selector.tsx
+++ b/packages/editor/src/core/components/menus/bubble-menu/link-selector.tsx
@@ -63,7 +63,7 @@ export function BubbleMenuLinkSelector(props: Props) {
}
options={options}
>
-
+
-
+
{items.map((item) => (
@@ -72,7 +72,7 @@ export function IconRoot(props: IconRootProps) {
setHexValue(value);
if (/^[0-9A-Fa-f]{6}$/.test(value)) setActiveColor(adjustColorForContrast(`#${value}`));
}}
- className="block placeholder-custom-text-400 focus:outline-none px-3 py-2 border-[0.5px] border-subtle flex-grow pl-0 text-11 text-secondary rounded-sm border-none bg-transparent ring-0"
+ className="block placeholder-(--text-color-placeholder) focus:outline-none px-3 py-2 border-[0.5px] border-subtle flex-grow pl-0 text-11 text-secondary rounded-sm border-none bg-transparent ring-0"
autoFocus
/>
diff --git a/packages/propel/src/icons/calendar-after-icon.tsx b/packages/propel/src/icons/calendar-after-icon.tsx
index 3cb03c116..3d1c133ce 100644
--- a/packages/propel/src/icons/calendar-after-icon.tsx
+++ b/packages/propel/src/icons/calendar-after-icon.tsx
@@ -8,7 +8,7 @@ export function CalendarAfterIcon({ className = "fill-current", ...rest }: ISvgI
diff --git a/packages/propel/src/icons/calendar-before-icon.tsx b/packages/propel/src/icons/calendar-before-icon.tsx
index d832ca9ad..7833b2ea7 100644
--- a/packages/propel/src/icons/calendar-before-icon.tsx
+++ b/packages/propel/src/icons/calendar-before-icon.tsx
@@ -8,13 +8,13 @@ export function CalendarBeforeIcon({ className = "fill-current", ...rest }: ISvg
diff --git a/packages/propel/src/icons/github-icon.tsx b/packages/propel/src/icons/github-icon.tsx
index 9ed2d8909..3307ccfc6 100644
--- a/packages/propel/src/icons/github-icon.tsx
+++ b/packages/propel/src/icons/github-icon.tsx
@@ -17,7 +17,7 @@ export function GithubIcon({ width = "24", height = "24", className, color }: IS
fillRule="evenodd"
clipRule="evenodd"
d="M10 0C4.475 0 0 4.475 0 10C0 14.425 2.8625 18.1625 6.8375 19.4875C7.3375 19.575 7.525 19.275 7.525 19.0125C7.525 18.775 7.5125 17.9875 7.5125 17.15C5 17.6125 4.35 16.5375 4.15 15.975C4.0375 15.6875 3.55 14.8 3.125 14.5625C2.775 14.375 2.275 13.9125 3.1125 13.9C3.9 13.8875 4.4625 14.625 4.65 14.925C5.55 16.4375 6.9875 16.0125 7.5625 15.75C7.65 15.1 7.9125 14.6625 8.2 14.4125C5.975 14.1625 3.65 13.3 3.65 9.475C3.65 8.3875 4.0375 7.4875 4.675 6.7875C4.575 6.5375 4.225 5.5125 4.775 4.1375C4.775 4.1375 5.6125 3.875 7.525 5.1625C8.325 4.9375 9.175 4.825 10.025 4.825C10.875 4.825 11.725 4.9375 12.525 5.1625C14.4375 3.8625 15.275 4.1375 15.275 4.1375C15.825 5.5125 15.475 6.5375 15.375 6.7875C16.0125 7.4875 16.4 8.375 16.4 9.475C16.4 13.3125 14.0625 14.1625 11.8375 14.4125C12.2 14.725 12.5125 15.325 12.5125 16.2625C12.5125 17.6 12.5 18.675 12.5 19.0125C12.5 19.275 12.6875 19.5875 13.1875 19.4875C15.1726 18.8173 16.8976 17.5414 18.1197 15.8395C19.3418 14.1375 19.9994 12.0952 20 10C20 4.475 15.525 0 10 0Z"
- fill={color ? color : "rgb(var(--color-text-200))"}
+ fill={color ? color : "var(--text-color-secondary)"}
/>
diff --git a/packages/propel/src/icons/gitlab-icon.tsx b/packages/propel/src/icons/gitlab-icon.tsx
index ae29da747..41fa4aecf 100644
--- a/packages/propel/src/icons/gitlab-icon.tsx
+++ b/packages/propel/src/icons/gitlab-icon.tsx
@@ -17,7 +17,7 @@ export function GitlabIcon({ width = "24", height = "24", className, color }: IS
fillRule="evenodd"
clipRule="evenodd"
d="M10 0C4.475 0 0 4.475 0 10C0 14.425 2.8625 18.1625 6.8375 19.4875C7.3375 19.575 7.525 19.275 7.525 19.0125C7.525 18.775 7.5125 17.9875 7.5125 17.15C5 17.6125 4.35 16.5375 4.15 15.975C4.0375 15.6875 3.55 14.8 3.125 14.5625C2.775 14.375 2.275 13.9125 3.1125 13.9C3.9 13.8875 4.4625 14.625 4.65 14.925C5.55 16.4375 6.9875 16.0125 7.5625 15.75C7.65 15.1 7.9125 14.6625 8.2 14.4125C5.975 14.1625 3.65 13.3 3.65 9.475C3.65 8.3875 4.0375 7.4875 4.675 6.7875C4.575 6.5375 4.225 5.5125 4.775 4.1375C4.775 4.1375 5.6125 3.875 7.525 5.1625C8.325 4.9375 9.175 4.825 10.025 4.825C10.875 4.825 11.725 4.9375 12.525 5.1625C14.4375 3.8625 15.275 4.1375 15.275 4.1375C15.825 5.5125 15.475 6.5375 15.375 6.7875C16.0125 7.4875 16.4 8.375 16.4 9.475C16.4 13.3125 14.0625 14.1625 11.8375 14.4125C12.2 14.725 12.5125 15.325 12.5125 16.2625C12.5125 17.6 12.5 18.675 12.5 19.0125C12.5 19.275 12.6875 19.5875 13.1875 19.4875C15.1726 18.8173 16.8976 17.5414 18.1197 15.8395C19.3418 14.1375 19.9994 12.0952 20 10C20 4.475 15.525 0 10 0Z"
- fill={color ? color : "rgb(var(--color-text-200))"}
+ fill={color ? color : "var(--text-color-secondary)"}
/>
diff --git a/packages/propel/src/menu/menu.stories.tsx b/packages/propel/src/menu/menu.stories.tsx
index 4b2261060..c23d01ad1 100644
--- a/packages/propel/src/menu/menu.stories.tsx
+++ b/packages/propel/src/menu/menu.stories.tsx
@@ -161,7 +161,7 @@ export const WithSubmenu: Story = {
alert("Open")}>Open
alert("Export as PDF")}>Export as PDF
alert("Export as CSV")}>Export as CSV
@@ -220,7 +220,7 @@ export const ComplexMenu: Story = {
alert("General Settings")}>General
alert("Privacy Settings")}>Privacy
diff --git a/packages/propel/src/menu/menu.tsx b/packages/propel/src/menu/menu.tsx
index 6b4d6da16..586b197be 100644
--- a/packages/propel/src/menu/menu.tsx
+++ b/packages/propel/src/menu/menu.tsx
@@ -180,7 +180,7 @@ function Menu(props: TMenuProps) {
diff --git a/packages/tailwind-config/AGENTS.md b/packages/tailwind-config/AGENTS.md
index 9a6ecdf50..57e4876ae 100644
--- a/packages/tailwind-config/AGENTS.md
+++ b/packages/tailwind-config/AGENTS.md
@@ -478,7 +478,7 @@ Use semantic text colors that match the hierarchy:
Title
Description text
Metadata
-
+
```
diff --git a/packages/tailwind-config/index.css b/packages/tailwind-config/index.css
index 2111e0343..ecebd1a56 100644
--- a/packages/tailwind-config/index.css
+++ b/packages/tailwind-config/index.css
@@ -34,13 +34,13 @@ body {
/* progress bar */
@utility progress-bar {
fill: currentColor;
- color: rgba(var(--color-sidebar-background-100));
+ color: var(--text-color-secondary);
}
::-webkit-input-placeholder,
::placeholder,
:-ms-input-placeholder {
- color: rgb(var(--color-text-400));
+ @apply text-placeholder;
}
@utility vertical-lr {
@@ -172,12 +172,12 @@ body {
/* highlight class */
@utility highlight {
- border: 1px solid rgb(var(--color-primary-100)) !important;
+ border: 1px solid var(--border-color-accent-strong) !important;
}
@utility highlight-with-line {
- border-left: 5px solid rgb(var(--color-primary-100)) !important;
- background: rgb(var(--color-background-80));
+ border-left: 5px solid var(--border-color-accent-strong) !important;
+ background: var(--background-color-layer-2);
}
/* By applying below class, the autofilled text in form fields will not have the default autofill background color and styles applied by WebKit browsers */
diff --git a/packages/ui/src/auth-form/auth-input.tsx b/packages/ui/src/auth-form/auth-input.tsx
index 3db799306..526cd4f35 100644
--- a/packages/ui/src/auth-form/auth-input.tsx
+++ b/packages/ui/src/auth-form/auth-input.tsx
@@ -51,7 +51,7 @@ export function AuthInput({
setShowPassword(!showPassword)}
- className="absolute right-3 h-5 w-5 stroke-custom-text-400 hover:cursor-pointer"
+ className="absolute right-3 h-5 w-5 stroke-placeholder hover:cursor-pointer"
>
{showPassword ? : }
diff --git a/packages/ui/src/card/helper.tsx b/packages/ui/src/card/helper.tsx
index 69dbea3f3..fabaeb74e 100644
--- a/packages/ui/src/card/helper.tsx
+++ b/packages/ui/src/card/helper.tsx
@@ -21,7 +21,7 @@ export interface ICardProperties {
const DEFAULT_STYLE = "bg-surface-1 rounded-lg border-[0.5px] border-subtle w-full flex flex-col";
export const containerStyle: ICardProperties = {
[ECardVariant.WITHOUT_SHADOW]: "",
- [ECardVariant.WITH_SHADOW]: "hover:shadow-custom-shadow-4xl duration-300",
+ [ECardVariant.WITH_SHADOW]: "hover:shadow-raised-200 duration-300",
};
export const spacings = {
[ECardSpacing.SM]: "p-4",
diff --git a/packages/ui/src/drag-handle.tsx b/packages/ui/src/drag-handle.tsx
index 0d27ba9ee..da140272c 100644
--- a/packages/ui/src/drag-handle.tsx
+++ b/packages/ui/src/drag-handle.tsx
@@ -28,8 +28,8 @@ export const DragHandle = forwardRef(function DragHandle(
}}
ref={ref}
>
-
-
+
+
);
});
diff --git a/packages/ui/src/dropdown/multi-select.tsx b/packages/ui/src/dropdown/multi-select.tsx
index a3bcc7362..bc67130ae 100644
--- a/packages/ui/src/dropdown/multi-select.tsx
+++ b/packages/ui/src/dropdown/multi-select.tsx
@@ -138,7 +138,7 @@ export function MultiSelectDropdown(props: IMultiSelectDropdown) {
(props: TPopoverMenu) {
button={button}
disabled={disabled}
panelClassName={cn(
- "my-1 w-48 rounded-sm border-[0.5px] border-strong bg-surface-1 px-2 py-2 text-11 shadow-custom-shadow-rg focus:outline-none",
+ "my-1 w-48 rounded-sm border-[0.5px] border-strong bg-surface-1 px-2 py-2 text-11 shadow-raised-200 focus:outline-none",
panelClassName
)}
popoverClassName={popoverClassName}
diff --git a/packages/ui/src/spinners/circular-spinner.tsx b/packages/ui/src/spinners/circular-spinner.tsx
index 8a41f4ebc..1516c029d 100644
--- a/packages/ui/src/spinners/circular-spinner.tsx
+++ b/packages/ui/src/spinners/circular-spinner.tsx
@@ -15,7 +15,7 @@ export function Spinner({ height = "32px", width = "32px", className = "" }: ISp
aria-hidden="true"
height={height}
width={width}
- className={cn("animate-spin fill-custom-primary-100 text-secondary", className)}
+ className={cn("animate-spin fill-accent-primary text-secondary", className)}
viewBox="0 0 100 101"
fill="none"
xmlns="http://www.w3.org/2000/svg"