mirror of
https://github.com/upscayl/upscayl.git
synced 2026-02-19 11:55:37 -05:00
- Added new aliases for 'ui', 'lib', and 'hooks' in components.json for better organization. - Introduced 'iconLibrary' property set to 'lucide'. - Updated global CSS variables to use oklch color format for improved color management. - Refactored styles in globals.css for consistency and added new sidebar color variables. - Commented out unused code in SettingsTab component for clarity.
406 lines
10 KiB
CSS
406 lines
10 KiB
CSS
@import "tailwindcss";
|
|
/*
|
|
---break--- */
|
|
@custom-variant dark (&:is(.dark *));
|
|
@plugin "daisyui";
|
|
@plugin "tailwindcss-animate";
|
|
@plugin "@tailwindcss/typography";
|
|
@config "../../tailwind.config.js";
|
|
|
|
@font-face {
|
|
font-family: "Poppins";
|
|
src: url("../fonts/poppins/Poppins-Regular.ttf");
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
}
|
|
@font-face {
|
|
font-family: "Poppins";
|
|
src: url("../fonts/poppins/Poppins-Medium.ttf");
|
|
font-weight: 500;
|
|
font-style: normal;
|
|
}
|
|
@font-face {
|
|
font-family: "Poppins";
|
|
src: url("../fonts/poppins/Poppins-SemiBold.ttf");
|
|
font-weight: 600;
|
|
font-style: normal;
|
|
}
|
|
@font-face {
|
|
font-family: "Poppins";
|
|
src: url("../fonts/poppins/Poppins-Bold.ttf");
|
|
font-weight: 700;
|
|
font-style: normal;
|
|
}
|
|
@font-face {
|
|
font-family: "Poppins";
|
|
src: url("../fonts/poppins/Poppins-ExtraBold.ttf");
|
|
font-weight: 800;
|
|
font-style: normal;
|
|
}
|
|
@font-face {
|
|
font-family: "Poppins";
|
|
src: url("../fonts/poppins/Poppins-Black.ttf");
|
|
font-weight: 900;
|
|
font-style: normal;
|
|
}
|
|
|
|
:root {
|
|
--background: oklch(1 0 0);
|
|
--foreground: oklch(0.129 0.042 264.695);
|
|
|
|
--card: oklch(1 0 0);
|
|
--card-foreground: oklch(0.129 0.042 264.695);
|
|
|
|
--popover: oklch(1 0 0);
|
|
--popover-foreground: oklch(0.129 0.042 264.695);
|
|
|
|
--primary: oklch(0.208 0.042 265.755);
|
|
--primary-foreground: oklch(0.984 0.003 247.858);
|
|
|
|
--secondary: oklch(0.968 0.007 247.896);
|
|
--secondary-foreground: oklch(0.208 0.042 265.755);
|
|
|
|
--muted: oklch(0.968 0.007 247.896);
|
|
--muted-foreground: oklch(0.554 0.046 257.417);
|
|
|
|
--accent: oklch(0.968 0.007 247.896);
|
|
--accent-foreground: oklch(0.208 0.042 265.755);
|
|
|
|
--destructive: oklch(0.577 0.245 27.325);
|
|
--destructive-foreground: hsl(210 40% 98%);
|
|
|
|
--border: oklch(0.929 0.013 255.508);
|
|
--input: oklch(0.929 0.013 255.508);
|
|
--ring: oklch(0.704 0.04 256.788);
|
|
|
|
--radius: 0.625rem;
|
|
|
|
--chart-1: oklch(0.646 0.222 41.116);
|
|
|
|
--chart-2: oklch(0.6 0.118 184.704);
|
|
|
|
--chart-3: oklch(0.398 0.07 227.392);
|
|
|
|
--chart-4: oklch(0.828 0.189 84.429);
|
|
|
|
--chart-5: oklch(0.769 0.188 70.08);
|
|
|
|
--sidebar: oklch(0.984 0.003 247.858);
|
|
|
|
--sidebar-foreground: oklch(0.129 0.042 264.695);
|
|
|
|
--sidebar-primary: oklch(0.208 0.042 265.755);
|
|
|
|
--sidebar-primary-foreground: oklch(0.984 0.003 247.858);
|
|
|
|
--sidebar-accent: oklch(0.968 0.007 247.896);
|
|
|
|
--sidebar-accent-foreground: oklch(0.208 0.042 265.755);
|
|
|
|
--sidebar-border: oklch(0.929 0.013 255.508);
|
|
|
|
--sidebar-ring: oklch(0.704 0.04 256.788);
|
|
}
|
|
|
|
.dark {
|
|
--background: oklch(0.129 0.042 264.695);
|
|
--foreground: oklch(0.984 0.003 247.858);
|
|
|
|
--card: oklch(0.208 0.042 265.755);
|
|
--card-foreground: oklch(0.984 0.003 247.858);
|
|
|
|
--popover: oklch(0.208 0.042 265.755);
|
|
--popover-foreground: oklch(0.984 0.003 247.858);
|
|
|
|
--primary: oklch(0.929 0.013 255.508);
|
|
--primary-foreground: oklch(0.208 0.042 265.755);
|
|
|
|
--secondary: oklch(0.279 0.041 260.031);
|
|
--secondary-foreground: oklch(0.984 0.003 247.858);
|
|
|
|
--muted: oklch(0.279 0.041 260.031);
|
|
--muted-foreground: oklch(0.704 0.04 256.788);
|
|
|
|
--accent: oklch(0.279 0.041 260.031);
|
|
--accent-foreground: oklch(0.984 0.003 247.858);
|
|
|
|
--destructive: oklch(0.704 0.191 22.216);
|
|
--destructive-foreground: hsl(210 40% 98%);
|
|
|
|
--border: oklch(1 0 0 / 10%);
|
|
--input: oklch(1 0 0 / 15%);
|
|
--ring: oklch(0.551 0.027 264.364);
|
|
--chart-1: oklch(0.488 0.243 264.376);
|
|
--chart-2: oklch(0.696 0.17 162.48);
|
|
--chart-3: oklch(0.769 0.188 70.08);
|
|
--chart-4: oklch(0.627 0.265 303.9);
|
|
--chart-5: oklch(0.645 0.246 16.439);
|
|
--sidebar: oklch(0.208 0.042 265.755);
|
|
--sidebar-foreground: oklch(0.984 0.003 247.858);
|
|
--sidebar-primary: oklch(0.488 0.243 264.376);
|
|
--sidebar-primary-foreground: oklch(0.984 0.003 247.858);
|
|
--sidebar-accent: oklch(0.279 0.041 260.031);
|
|
--sidebar-accent-foreground: oklch(0.984 0.003 247.858);
|
|
--sidebar-border: oklch(1 0 0 / 10%);
|
|
--sidebar-ring: oklch(0.551 0.027 264.364);
|
|
}
|
|
|
|
.zoom-100 {
|
|
transform: scale(1);
|
|
}
|
|
.zoom-125 {
|
|
transform: scale(1.25);
|
|
}
|
|
.zoom-150 {
|
|
transform: scale(1.5);
|
|
}
|
|
.zoom-175 {
|
|
transform: scale(1.75);
|
|
}
|
|
.zoom-200 {
|
|
transform: scale(2);
|
|
}
|
|
|
|
.animate-step-in {
|
|
animation: animate-step-in 0.6s cubic-bezier(0.07, 0.43, 0.02, 1);
|
|
}
|
|
|
|
.mac-titlebar {
|
|
-webkit-app-region: drag;
|
|
}
|
|
|
|
.checkerboard {
|
|
background-color: rgba(255, 255, 255);
|
|
background-image: linear-gradient(
|
|
45deg,
|
|
#000 25%,
|
|
transparent 25%,
|
|
transparent 75%,
|
|
#000 75%,
|
|
#000
|
|
),
|
|
linear-gradient(
|
|
-45deg,
|
|
#000 25%,
|
|
transparent 25%,
|
|
transparent 75%,
|
|
#000 75%,
|
|
#000
|
|
);
|
|
background-size: 40px 40px;
|
|
background-repeat: repeat;
|
|
}
|
|
|
|
.spinner {
|
|
-webkit-animation: sk-rotateplane 2.2s infinite ease-in-out;
|
|
animation: sk-rotateplane 2.2s infinite ease-in-out;
|
|
}
|
|
|
|
@keyframes animate-step-in {
|
|
0% {
|
|
opacity: 0;
|
|
transform: translateY(-10px);
|
|
}
|
|
80% {
|
|
opacity: 1;
|
|
}
|
|
100% {
|
|
opacity: 1;
|
|
transform: translateY(0px);
|
|
}
|
|
}
|
|
|
|
@-webkit-keyframes sk-rotateplane {
|
|
0% {
|
|
-webkit-transform: perspective(120px);
|
|
}
|
|
50% {
|
|
-webkit-transform: perspective(120px) rotateY(360deg);
|
|
}
|
|
100% {
|
|
-webkit-transform: perspective(120px) rotateY(360deg) rotateX(360deg);
|
|
}
|
|
}
|
|
|
|
@keyframes sk-rotateplane {
|
|
0% {
|
|
transform: perspective(120px) rotateX(0deg) rotateY(0deg);
|
|
-webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg);
|
|
}
|
|
50% {
|
|
transform: perspective(120px) rotateX(-360.1deg) rotateY(0deg);
|
|
-webkit-transform: perspective(120px) rotateX(-360.1deg) rotateY(0deg);
|
|
}
|
|
100% {
|
|
transform: perspective(120px) rotateX(-360deg) rotateY(-179.9deg);
|
|
-webkit-transform: perspective(120px) rotateX(-360deg) rotateY(-359.9deg);
|
|
}
|
|
}
|
|
/*
|
|
@layer base {
|
|
* {
|
|
@apply border-border select-none;
|
|
font-family: "Poppins", sans-serif;
|
|
}
|
|
body {
|
|
@apply bg-background text-foreground;
|
|
}
|
|
|
|
.hide-scrollbar::-webkit-scrollbar-track {
|
|
@apply bg-transparent;
|
|
}
|
|
|
|
.hide-scrollbar::-webkit-scrollbar-thumb {
|
|
@apply bg-transparent;
|
|
}
|
|
|
|
::-webkit-scrollbar {
|
|
@apply w-2;
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
@apply bg-base-300/30 rounded-full;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
@apply bg-base-content/20 rounded-full;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb:hover {
|
|
@apply bg-base-content/50 rounded-full;
|
|
}
|
|
}
|
|
|
|
@layer utilities {
|
|
.animate {
|
|
@apply transition-all duration-300 ease-in-out;
|
|
}
|
|
.step-heading {
|
|
@apply mb-2 font-semibold;
|
|
}
|
|
.react-select-container {
|
|
@apply w-40;
|
|
}
|
|
.full-width {
|
|
@apply w-full;
|
|
}
|
|
.react-select-container .react-select__control {
|
|
@apply rounded-btn bg-primary h-12 cursor-pointer !border-0 !border-none !border-transparent shadow-none;
|
|
}
|
|
|
|
.react-select-container .react-select__control--menu-is-open {
|
|
@apply bg-primary text-primary-content;
|
|
}
|
|
|
|
.react-select-container .react-select__single-value {
|
|
@apply text-primary-content text-sm font-semibold uppercase;
|
|
}
|
|
|
|
.react-select-container .react-select__input-container {
|
|
@apply text-primary-content text-sm font-semibold uppercase;
|
|
}
|
|
|
|
.react-select-container .react-select__menu {
|
|
@apply bg-primary rounded-lg p-1 text-sm font-semibold uppercase;
|
|
}
|
|
|
|
.react-select-container .react-select__option {
|
|
@apply bg-primary text-primary-content hover:bg-primary-content/20 hover:text-primary-content my-1 cursor-pointer rounded-md break-all;
|
|
}
|
|
|
|
.react-select-container .react-select__option--is-selected {
|
|
@apply bg-accent text-accent-content;
|
|
}
|
|
|
|
.outline-title {
|
|
text-shadow:
|
|
0px 0px 10px rgba(255, 255, 255, 0.5),
|
|
0px 0px 10px rgba(255, 255, 255, 1);
|
|
}
|
|
.outline-title-none {
|
|
text-shadow: none;
|
|
}
|
|
|
|
[data-theme="upscayl"] .btn {
|
|
@apply h-10 !min-h-min px-3 py-2 font-medium normal-case;
|
|
}
|
|
|
|
[data-theme="upscayl"] input[type="range"] {
|
|
@apply rounded-full;
|
|
}
|
|
|
|
[data-theme="upscayl"] .react-select-container .react-select__control {
|
|
@apply rounded-btn bg-primary h-10 cursor-pointer !border-0 !border-none !border-transparent shadow-none;
|
|
}
|
|
|
|
[data-theme="upscayl"] .react-select-container .react-select__single-value {
|
|
@apply text-primary-content font-medium normal-case;
|
|
}
|
|
|
|
[data-theme="upscayl"]
|
|
.react-select-container
|
|
.react-select__input-container {
|
|
@apply text-primary-content text-xs font-medium normal-case;
|
|
}
|
|
|
|
[data-theme="upscayl"] .react-select-container .react-select__menu {
|
|
@apply bg-primary rounded-lg p-1 font-medium normal-case;
|
|
}
|
|
|
|
.__rcs-handle-button {
|
|
@apply border-white;
|
|
}
|
|
} */
|
|
/*
|
|
---break--- */
|
|
@theme inline {
|
|
--radius-sm: calc(var(--radius) - 4px);
|
|
--radius-md: calc(var(--radius) - 2px);
|
|
--radius-lg: var(--radius);
|
|
--radius-xl: calc(var(--radius) + 4px);
|
|
--radius-2xl: calc(var(--radius) + 8px);
|
|
--radius-3xl: calc(var(--radius) + 12px);
|
|
--radius-4xl: calc(var(--radius) + 16px);
|
|
--color-background: var(--background);
|
|
--color-foreground: var(--foreground);
|
|
--color-card: var(--card);
|
|
--color-card-foreground: var(--card-foreground);
|
|
--color-popover: var(--popover);
|
|
--color-popover-foreground: var(--popover-foreground);
|
|
--color-primary: var(--primary);
|
|
--color-primary-foreground: var(--primary-foreground);
|
|
--color-secondary: var(--secondary);
|
|
--color-secondary-foreground: var(--secondary-foreground);
|
|
--color-muted: var(--muted);
|
|
--color-muted-foreground: var(--muted-foreground);
|
|
--color-accent: var(--accent);
|
|
--color-accent-foreground: var(--accent-foreground);
|
|
--color-destructive: var(--destructive);
|
|
--color-border: var(--border);
|
|
--color-input: var(--input);
|
|
--color-ring: var(--ring);
|
|
--color-chart-1: var(--chart-1);
|
|
--color-chart-2: var(--chart-2);
|
|
--color-chart-3: var(--chart-3);
|
|
--color-chart-4: var(--chart-4);
|
|
--color-chart-5: var(--chart-5);
|
|
--color-sidebar: var(--sidebar);
|
|
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
--color-sidebar-primary: var(--sidebar-primary);
|
|
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
|
--color-sidebar-accent: var(--sidebar-accent);
|
|
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
|
--color-sidebar-border: var(--sidebar-border);
|
|
--color-sidebar-ring: var(--sidebar-ring);
|
|
}
|
|
/*
|
|
---break--- */
|
|
@layer base {
|
|
* {
|
|
@apply border-border outline-ring/50;
|
|
}
|
|
body {
|
|
@apply bg-background text-foreground;
|
|
}
|
|
}
|