Files
IOPaint/web_app/src/globals.css
2023-12-13 22:56:09 +08:00

111 lines
2.2 KiB
CSS

@tailwind base;
@tailwind components;
@tailwind utilities;
html { font-family: "Inter", "system-ui"; overflow: hidden; }
@supports (font-variation-settings: normal) {
html { font-family: "Inter var", "system-ui"; }
}
.react-transform-wrapper {
display: grid !important;
width: 100% !important;
height: 100% !important;
}
.react-photo-album {
padding: 8px;
}
.react-photo-album--photo {
-moz-user-select: none;
-webkit-user-select: none;
user-select: none;
border-radius: 8px;
transition: transform 0.25s, visibility 0.25s ease-in;
}
.react-photo-album--photo:hover {
border: 1px solid var(--border);
transform: scale(1.03);
}
.icon-button-icon-wrapper svg {
stroke-width: 1px;
}
@layer base {
:root {
--background: 0 0% 100%;
--foreground: 224 71.4% 4.1%;
--card: 0 0% 100%;
--card-foreground: 224 71.4% 4.1%;
--popover: 0 0% 100%;
--popover-foreground: 224 71.4% 4.1%;
--primary: 48 100.0% 50.0%;
--primary-foreground: 210 20% 98%;
--secondary: 220 14.3% 95.9%;
--secondary-foreground: 220.9 39.3% 11%;
--muted: 220 14.3% 95.9%;
--muted-foreground: 220 8.9% 46.1%;
--accent: 220 14.3% 95.9%;
--accent-foreground: 220.9 39.3% 11%;
--destructive: 0 84.2% 60.2%;
--destructive-foreground: 210 20% 98%;
--border: 220 13% 91%;
--input: 220 13% 91%;
--ring: 224 71.4% 4.1%;
--radius: 0.5rem;
}
[data-theme='dark'] {
--background: 240 10% 3.9%;
--foreground: 0 0% 98%;
--card: 224 71.4% 4.1%;
--card-foreground: 210 20% 98%;
--popover: 240 10% 3.9%;
--popover-foreground: 0 0% 98%;;
--primary: 48 100.0% 50.0%;
--primary-foreground: 220.9 39.3% 11%;
--secondary: 240 3.7% 15.9%;
--secondary-foreground: 0 0% 98%;
--muted: 240 3.7% 15.9%;
--muted-foreground: 240 5% 64.9%;
--accent: 240 3.7% 15.9%;
--accent-foreground: 0 0% 98%;
--destructive: 0 62.8% 30.6%;
--destructive-foreground: 0 85.7% 97.3%;
--border: 240 3.7% 15.9%;
--input: 240 3.7% 15.9%;
--ring: 240 4.9% 83.9%;
}
}
@layer base {
* {
@apply border-border;
}
body {
@apply bg-background text-foreground;
}
}