feat: adopt shared TeamHUB cursor theme
This commit is contained in:
@@ -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(
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user