base.css 818 B

1234567891011121314151617181920212223242526272829
  1. /* Shell-owned mount defaults. Theme tokens arrive with the ui-theme client
  2. * plugin before the loader roster activates. */
  3. html,
  4. body,
  5. #root {
  6. height: 100%;
  7. margin: 0;
  8. }
  9. body {
  10. font-family: var(--dsw-font-family);
  11. /* Grayscale antialiasing over subpixel rendering: WebKit/Blink and the
  12. Firefox macOS equivalent; other engines ignore both lines. */
  13. -webkit-font-smoothing: antialiased;
  14. -moz-osx-font-smoothing: grayscale;
  15. color: var(--dsw-alias-label-primary);
  16. background: var(--dsw-alias-bg-base);
  17. }
  18. /* Form controls don't inherit the body font (UA sheets pin their families —
  19. Chrome buttons fall back to Arial, textareas to monospace), so the app
  20. stack is re-applied to them explicitly, as upstream's global reset does. */
  21. button,
  22. input,
  23. select,
  24. textarea {
  25. font-family: inherit;
  26. }