base.css 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. /* Shell-owned global base: full-height mount plus the theme token sheets.
  2. * The five ui-theme sheets are the sole token source (--dsw-*); the shell
  3. * links them here so tokens exist before any plugin CSS lands. scrollbar.css
  4. * follows design-platform.css because it reads that sheet's tokens. */
  5. @import '@deepseek-ai/dsh-client-ui-theme/styles/base.css';
  6. @import '@deepseek-ai/dsh-client-ui-theme/styles/design-platform.css';
  7. @import '@deepseek-ai/dsh-client-ui-theme/styles/scrollbar.css';
  8. @import '@deepseek-ai/dsh-client-ui-theme/styles/gradient-shadow-text.css';
  9. @import '@deepseek-ai/dsh-client-ui-theme/styles/shiki.css';
  10. html,
  11. body,
  12. #root {
  13. height: 100%;
  14. margin: 0;
  15. }
  16. body {
  17. font-family: var(--dsw-font-family);
  18. /* Grayscale antialiasing over subpixel rendering: WebKit/Blink and the
  19. Firefox macOS equivalent; other engines ignore both lines. */
  20. -webkit-font-smoothing: antialiased;
  21. -moz-osx-font-smoothing: grayscale;
  22. color: var(--dsw-alias-label-primary);
  23. background: var(--dsw-alias-bg-base);
  24. }
  25. /* Form controls don't inherit the body font (UA sheets pin their families —
  26. Chrome buttons fall back to Arial, textareas to monospace), so the app
  27. stack is re-applied to them explicitly, as upstream's global reset does. */
  28. button,
  29. input,
  30. select,
  31. textarea {
  32. font-family: inherit;
  33. }