PackageTrack

npm

@scalar/themes

0.17.4scalar/scalar

the default CSS variables for all Scalar packages

Release timeline

182 releases since 2023
20232026

One column per month.

Releases

  1. 0.17.428 Aug 2026
    Release notes

    Patch Changes

    • #10026: Fix autofilled input text rendering hollow and near-illegible in dark mode. The reset clipped WebKit's autofill background to the glyphs without re-asserting -webkit-text-fill-color, so the glyph interiors showed that clipped background instead of the theme colour.
    Open source →
  2. 0.17.320 Aug 2026
    Release notes

    Patch Changes

    • #9941: Republish every package through npm trusted publishing. No functional changes.
    Open source →
  3. 0.17.231 Jul 2026
    Release notes

    Patch Changes

    • #9737: fix: render hairline borders in Firefox on standard-DPI screens

      Firefox rounds the 0.5px --scalar-border-width down to zero device pixels on non-retina displays, which makes shadow-border outlines invisible. The border width now falls back to 1px in Firefox below retina density, matching what other engines effectively render.

    • #9782: Fix the tooltip rendering with a dark background in light mode. The light-mode tooltip tokens were hard-coded to a dark fill with light text, so the tooltip stayed black regardless of the active color mode. They now derive from --scalar-background-1 and --scalar-color-1, so the tooltip follows the theme in both modes.

      The tooltip surface is also polished to match the rest of the system: a standard hairline border and base shadow in both color modes (replacing the dark-mode-only inset border), a large radius, regular font weight, and tighter vertical padding. Horizontal and vertical padding are now separate variables so the placement offset applies to the correct axis.

    Open source →
  4. 0.17.116 Jul 2026
    Release notes

    Patch Changes

    • #9719: docs: update the Scalar platform overview block in the README
    Open source →
  5. 0.17.016 Jul 2026
    Release notes

    Minor Changes

    • #9687: feat(themes): derive the border radius scale from --scalar-radius

      The radius tokens used to be independent, so setting --scalar-radius: 0 still left rounded corners behind on anything using --scalar-radius-lg, --scalar-radius-xl or rounded-full. They now all derive from --scalar-radius, which means overriding that single variable rescales every corner in the interface, and 0 squares it off completely.

      Two new tokens fill out the scale, --scalar-radius-2xl (12px) and --scalar-radius-3xl (16px), along with --scalar-radius-full for pills and circles. The matching rounded-2xl and rounded-3xl Tailwind utilities now emit CSS; previously they were silently dropped.

      Every default value is unchanged, so nothing shifts unless you were relying on the old behaviour. If your theme sets --scalar-radius on its own and expects the larger radii to stay put, set those tokens explicitly. Override --scalar-radius on :root: a custom property substitutes var() at the element where it is declared, so setting the base further down the tree moves it without moving anything derived from it.

    • #9687: feat(themes): cap container corners with --scalar-radius-max

      A large --scalar-radius used to curve tall containers hard enough that they swallowed their own content: dropdown panels clipped their last rows, and code blocks rendered as stadiums.

      Every radius token except --scalar-radius-full now clamps to a new --scalar-radius-max, which defaults to 20px. A new --scalar-radius-md gives the base radius the same cap, and is what rounded, rounded-md and form controls now use. Pills and circles are deliberately exempt, so avatars, spinners and toggles stay round.

      The reset no longer sets a border-radius on :focus-visible. It was reshaping the focused element rather than its outline, which meant a large theme radius turned bare focus containers into pills the moment they were focused. Outlines already follow an element's own corners, so focus rings now match whatever shape the element actually has.

      Defaults are unchanged: every default token sits at or below the cap, so nothing moves unless you were already setting a very large radius.

    Open source →
  6. 0.16.315 Jul 2026
    Release notes

    Patch Changes

    • #9710: Republish so the updated README (with the Scalar platform overview) reaches npm. Also renames the README generator metadata in package.json from readme to scalarReadme: npm treats a readme field as the readme text itself, so affected packages were published with a literal [object Object] readme on the registry instead of README.md.
    Open source →
  7. 0.16.226 Jun 2026
    Release notes

    Patch Changes

    • #9597: Add API Reference UI localization configuration with built-in English, Russian, Spanish, French, German, Simplified Chinese and Arabic translations, including automatic RTL direction for Arabic locales.

      Update the shared theme reset so text inputs align to the logical start by default for RTL documents.

      Add a mergeObjects deep-merge helper to @scalar/helpers, used by the localization layer to merge translation overrides onto the built-in locale.

    Open source →
  8. 0.16.122 Jun 2026
    Release notes

    Patch Changes

    • #9565: Apply the themed placeholder color and font to textarea placeholders so they match input placeholders
    Open source →
  9. 0.16.08 Jun 2026
    Release notes

    Minor Changes

    • #9415: Ship the Scalar design-system agent skill with the package.

      @scalar/themes now bundles the scalar-design-system skill (design tokens, theming, a @scalar/components reference, and a Paper design-tool bridge) under skills/. Agents do not auto-discover skills inside node_modules, so link or copy node_modules/@scalar/themes/skills/scalar-design-system into your project's .claude/skills to use it.

    Patch Changes

    • #9371: Use the correct system fonts when withDefaultFonts is set to false
    Open source →
  10. 0.15.62 Jun 2026
    Release notes

    Patch Changes

    • #9268: fix button text color variables to use pure white instead of semi-transparent white in dark themes.
    Open source →
  11. 0.15.514 May 2026
    Release notes

    Patch Changes

    • #9211: fix(components): add highlighted Tailwind variant for Radix menu item highlight state

      Adds a new highlighted custom Tailwind variant (matching [data-highlighted]) to @scalar/themes and uses it in ScalarDropdownButton to restore the hover and keyboard-navigation highlight in the workspace and team picker dropdowns.

    Open source →
  12. 0.15.311 Apr 2026
    Release notes

    Patch Changes

    • #8769: feat(themes): add Tailwind v3 transform reset
    Open source →
  13. 0.15.23 Apr 2026
    Release notes

    Patch Changes

    • #8694: feat: add padding utilities to scalar themes
    • #8634: feat: add saving ui component
    Open source →
  14. 0.15.118 Mar 2026
    Release notes

    Patch Changes

    • #8466: chore: new build pipeline
    Open source →
  15. 0.15.04 Mar 2026
    Release notes

    Minor Changes

    • #8322: chore: bump required node version to >=22 (LTS)
    Open source →
  16. 0.14.32 Mar 2026
    Release notes

    Patch Changes

    • #8315: feat(theme): standardize tailwind line height behavior
    Open source →
  17. 0.14.227 Feb 2026
    Release notes

    Patch Changes

    • #8290: chore: update deps
    Open source →
  18. 0.14.028 Jan 2026
    Release notes

    Minor Changes

    • #7959: feat(agent): add agent scalar to localhost
    Open source →
  19. 0.13.2611 Dec 2025
    Release notes

    Patch Changes

    • #7520 4ac6227 Thanks @hwkr! - feat(themes): apply sidebar variables at the top level
    Open source →
  20. 0.13.254 Dec 2025
    Release notes

    Patch Changes

    Open source →
  21. 0.13.2419 Nov 2025
    Release notes

    Patch Changes

    Open source →
  22. 0.13.233 Nov 2025
    Release notes

    Patch Changes

    Open source →
  23. 0.13.2214 Oct 2025
    Release notes

    Patch Changes

    Open source →
  24. 0.13.218 Oct 2025
    Release notes

    Patch Changes

    • 13dcd89: feat(themes): add text align to global reset
    • Updated dependencies [1e01464]
    Open source →
  25. 0.13.202 Oct 2025
    Release notes

    Patch Changes

    Open source →
  26. 0.13.1929 Sept 2025
    Release notes

    Patch Changes

    • 0b3c6fa: feat(api-reference): localhost development toolbar
    Open source →
  27. 0.13.1819 Sept 2025
    Release notes

    Patch Changes

    Open source →
  28. 0.13.1715 Sept 2025
    Release notes

    Patch Changes

    • 8f2a2f2: Bump some dependencies to latest
    Open source →
  29. 0.13.169 Sept 2025
    Release notes

    Patch Changes

    Open source →
  30. 0.13.158 Sept 2025
    Release notes

    Patch Changes

    • 2b22eab: feat(themes): convert default color 1 to grey scale
    • Updated dependencies [792c937]
    Open source →
  31. 0.13.1425 Aug 2025
    Release notes

    Patch Changes

    Open source →
  32. 0.13.1322 Aug 2025
    Release notes

    Patch Changes

    • 6c24be9: feat(components): update scalar hotkey design
    • Updated dependencies [6a88108]
    Open source →
  33. 0.13.1229 Jul 2025
    Release notes

    Patch Changes

    • 952f471: fix(themes): don't style <a> in reset only in markdown
    • 3c1e3e3: fix: removes a level line height from reset
    • Updated dependencies [ccf875a]
    • Updated dependencies [94d6d0c]
    Open source →
  34. 0.13.1121 Jul 2025
    Release notes

    Patch Changes

    • fb62e1b: feat: adds global base style for anchor tag
    • Updated dependencies [fb62e1b]
    Open source →
  35. 0.13.1016 Jul 2025
    Release notes

    Patch Changes

    • 8a67f4f: fix(api-reference): classic layout improvements
    • Updated dependencies [591562f]
    Open source →
  36. 0.13.910 Jul 2025
    Release notes

    Patch Changes

    • 661c7e9: feat(themes): updates dark/light mode accent on default theme
    • Updated dependencies [c10e191]
    Open source →
  37. 0.13.87 Jul 2025
    Release notes

    Patch Changes

    • 3fdc2f2: feat(api-reference): unify inconsistent font styles across scalar client and ref, and improve consistency"
    • Updated dependencies [ad2e3e6]
    Open source →
  38. 0.13.625 Jun 2025
    Release notes

    Patch Changes

    Open source →
  39. 0.13.521 Jun 2025
    Release notes

    Patch Changes

    • 4bbbb32: feat(components): add sidebar sections
    • Updated dependencies [1468280]
    Open source →
  40. 0.13.419 Jun 2025
    Release notes

    Patch Changes

    • ca18c0b: feat(api-reference): update and modernize sidebar design
    Open source →
  41. 0.13.313 Jun 2025
    Release notes

    Patch Changes

    Open source →
  42. 0.13.25 Jun 2025
    Release notes

    Patch Changes

    • ba84a3c: fix(themes): add alert color
    • 358eb63: fix(api-reference): fix markdown styles pt2
    Open source →
  43. 0.13.130 May 2025
    Release notes

    Patch Changes

    • 85877aa: fix: handle none theme
    Open source →
  44. 0.13.029 May 2025
    Release notes

    Minor Changes

    • cad6277: feat(themes)!: migrate to tailwind v4

    Patch Changes

    Open source →
  45. 0.12.122 May 2025
    Release notes

    Patch Changes

    Open source →
  46. 0.11.315 May 2025
    Release notes

    Patch Changes

    Open source →
  47. 0.11.212 May 2025
    Release notes

    Patch Changes

    • 90b773e: feat: updates heading variables
    • Updated dependencies [f711ab5]
    • Updated dependencies [0222ad4]
    • Updated dependencies [cb9428c]
    • Updated dependencies [67aa0f4]
    Open source →
  48. 0.11.12 May 2025
    Release notes

    Patch Changes

    • 8c7bad8: chore: move build tooling to esbuild
    • 2157fb4: add font exports back
    • Updated dependencies [8c7bad8]
    Open source →
  49. 0.11.01 May 2025
    Release notes

    Minor Changes

    • e8457cb: Unify themes across scalar. Cleanup interface and remove CJS build.

    Patch Changes

    Open source →
  50. 0.10.429 Apr 2025
    Release notes

    Patch Changes

    Open source →
  51. 0.10.324 Apr 2025
    Release notes

    Patch Changes

    Open source →
  52. 0.10.223 Apr 2025
    Release notes

    Patch Changes

    Open source →
  53. 0.10.122 Apr 2025
    Release notes

    Patch Changes

    Open source →
  54. 0.10.016 Apr 2025
    Release notes

    Minor Changes

    • feaa314: feat(themes): add laserwave theme

    Patch Changes

    Open source →
  55. 0.9.8611 Apr 2025
    Release notes

    Patch Changes

    • Updated dependencies [9def02e]
    • Updated dependencies [3745d77]
    Open source →
  56. 0.9.8510 Apr 2025
    Release notes

    Patch Changes

    • 8720ae7: fix(themes): update font size 1 to be 21px
    Open source →
  57. 0.9.844 Apr 2025
    Release notes

    Patch Changes

    Open source →
  58. 0.9.832 Apr 2025
    Release notes

    Patch Changes

    • Updated dependencies [e09dab3]
    • Updated dependencies [04e27a1]
    Open source →
  59. 0.9.8228 Mar 2025
    Release notes

    Patch Changes

    • Updated dependencies [8efedf3]
    • Updated dependencies [82a4ba8]
    • Updated dependencies [57feba6]
    Open source →
  60. 0.9.8126 Mar 2025
    Release notes

    Patch Changes

    • Updated dependencies [543a16c]
    • Updated dependencies [57e96a0]
    Open source →