Files
openmotion/packages/design-system/base.css
open-design-crew[bot] 6d38d942f2 feat(desktop): cloud-first thin shell, local atoms, signed config, and Sentry observability (#1001)
* feat(desktop): cloud-first thin shell, local atoms, signed config, and complete Sentry observability

* feat(desktop): add in-app update banner, release notes preview, and mandatory update gate

* fix(ci): resolve backend typecheck, dock short-host floor, ci-scope, and source privacy scan

* fix(desktop): address all P1 and P2 security/robustness review findings on PR #1001

* fix(local-atoms): accept TOML array-of-tables headers in merged structure check

---------

Co-authored-by: heggria <bshengtao@gmail.com>
2026-11-24 19:13:55 -08:00

40 lines
2.2 KiB
CSS

:root {
--om-desktop-inset-left: 0px;
--om-desktop-inset-right: 0px;
--om-desktop-safe-top: 0px;
--om-desktop-titlebar-height: 46px;
--om-viewport-height: calc(100dvh - var(--om-desktop-safe-top, 0px));
}
:where([data-motion-ui]), :where([data-motion-ui]) * { box-sizing: border-box; }
:where([data-motion-ui]) {
background: var(--motion-bg);
color: var(--motion-text);
font: var(--motion-weight-regular) var(--motion-text-body)/var(--motion-leading-body) var(--motion-font-sans);
font-synthesis: none;
-webkit-font-smoothing: antialiased;
accent-color: var(--motion-accent);
}
:where(html[data-motion-ui]), :where(html[data-motion-ui]) body { margin: 0; min-height: 100%; }
:where([data-motion-ui]) :where(button, input, textarea, select) { font: inherit; color: inherit; }
[data-motion-ui] :is(input, textarea)::placeholder { color: var(--motion-placeholder); opacity: 1; }
:where([data-motion-ui]) :where(button, a, label, input, textarea, select) { -webkit-tap-highlight-color: transparent; }
:where([data-motion-ui]) :where(button) { cursor: pointer; }
:where([data-motion-ui]) :where(button, input, textarea, select):disabled { cursor: not-allowed; opacity: .4; }
:where([data-motion-ui]) :where(a) { color: inherit; }
:where([data-motion-ui]) :where(h1, h2, h3, p) { margin: 0; }
:where([data-motion-ui]) :where(button, a, input, textarea, select):focus-visible,
:where([data-motion-ui]) label:has(input[type='file']:focus-visible) { outline: 1px solid var(--motion-focus); outline-offset: 1px; }
:where([data-motion-ui]) ::selection { background: var(--motion-highlight); color: var(--motion-strong); }
:where([data-motion-ui]) :where(code, pre, kbd) { font-family: var(--motion-font-mono); }
:where([data-motion-ui]) [hidden] { display: none !important; }
:where([data-motion-ui]) .visually-hidden {
position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
@media (prefers-reduced-motion: reduce) {
:where([data-motion-ui]) *, :where([data-motion-ui]) *::before, :where([data-motion-ui]) *::after {
animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important;
scroll-behavior: auto !important;
}
}