Add styles for tooltips

This commit is contained in:
shidorien
2024-01-05 22:53:54 +01:00
parent 7f3a55cee4
commit 79be8a8173
2 changed files with 22 additions and 0 deletions
+21
View File
@@ -19,6 +19,7 @@
}
* {
user-select: none;
}
@@ -78,6 +79,26 @@
background: rgba(0, 0, 0, 0.25);
}
.tippy-box[data-theme~='default'] {
@apply !bg-neutral-900;
color: #fff;
}
.tippy-box[data-theme~='default'][data-placement^='top'] > .tippy-arrow::before {
@apply !border-t-neutral-900
}
.tippy-box[data-theme~='default'][data-placement^='bottom'] > .tippy-arrow::before {
@apply !border-b-neutral-900
}
.tippy-box[data-theme~='default'][data-placement^='left'] > .tippy-arrow::before {
@apply !border-l-neutral-900
}
.tippy-box[data-theme~='default'][data-placement^='right'] > .tippy-arrow::before {
@apply !border-r-neutral-900
}
@keyframes glowing {
0% {
background-position: 0 0;
+1
View File
@@ -1,6 +1,7 @@
import { createRoot } from "react-dom/client";
import { HashRouter } from "react-router-dom";
import "tailwindcss/tailwind.css";
import "./index.css";
import { IpcService } from "./services/ipc.service";
import { ThemeService } from "./services/theme.service";