feat: adopt shared TeamHUB cursor theme
Some checks failed
CI / Backend (lint + tests + compose) (push) Has been cancelled
CI / Frontend (lint + type-check + build) (push) Has been cancelled

This commit is contained in:
Vadim Malanov
2026-06-20 19:14:04 +03:00
parent d27dd0ffbb
commit 9b84e38f5a
9 changed files with 45 additions and 1 deletions

View File

@@ -1,6 +1,7 @@
import React from "react";
import ReactDOM from "react-dom/client";
import { App } from "@/app/App";
import "@teamhub/cursor-theme/cursor.css";
import "@/styles/globals.css";
ReactDOM.createRoot(document.getElementById("root")!).render(

View File

@@ -100,6 +100,7 @@
body {
@apply bg-background text-foreground antialiased;
font-feature-settings: "ss01", "cv11", "tnum";
cursor: var(--teamhub-cursor-default);
}
::selection {
@apply bg-primary/20 text-primary-foreground;
@@ -169,4 +170,10 @@
-webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}
.cursor-pointer {
cursor: var(--teamhub-cursor-active);
}
.cursor-not-allowed {
cursor: var(--teamhub-cursor-disabled);
}
}