An open-source, self-hosted system for apps built with web technologies.
@import "tailwindcss";
@import "@fontsource/roboto";
/* Nothing on the Desktop is selected as text by a drag across it, the Program frames least of all,
since a selected frame is tinted whole. What is written into stays selectable. */
[data-desktop] {
user-select: none;
-webkit-user-select: none;
}
[data-desktop] :is(input, textarea, [contenteditable="true"], [contenteditable=""]) {
user-select: text;
-webkit-user-select: text;
}
/* Pseudo-elements carry Surface paint, so they settle instantly too. */
html[data-phreshos-theme-capture] *,
html[data-phreshos-theme-capture] *::before,
html[data-phreshos-theme-capture] *::after {
transition-delay: 0ms !important;
transition-duration: 0ms !important;
}
/* A theme turns the whole screen at once, so it changes as a slow crossfade: the old view stays as
it was and the new one comes up over it, with nothing moving and no dip in light between them. */
html[data-phreshos-theme-transition]::view-transition-old(root),
html[data-phreshos-theme-transition]::view-transition-new(root) {
mix-blend-mode: normal;
}
html[data-phreshos-theme-transition]::view-transition-old(root) {
animation: none;
}
html[data-phreshos-theme-transition]::view-transition-new(root) {
animation: phreshos-theme-enter var(--phreshos-theme-transition-duration) var(--phreshos-theme-transition-easing) both;
}
@keyframes phreshos-theme-enter {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@theme {
--font-roboto: "Roboto", sans-serif;
--text-window-title: 0.8125rem;
--text-taskbar-label: 0.6875rem;
--text-taskbar-status: 0.625rem;
--shadow-taskbar-control: inset 0 1px 0 rgba(255, 255, 255, 0.8);
--shadow-taskbar-item: inset 0 1px 0 rgba(255, 255, 255, 0.7);
--shadow-taskbar-item-active: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 5px 12px -5px rgba(12, 46, 88, 0.5);
--shadow-taskbar-separator: 1px 0 0 rgba(30, 64, 100, 0.12);
--shadow-window-controls: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 1px 2px rgba(12, 46, 88, 0.15);
--shadow-window-content: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}