@atom63/styles 0.1.0-beta.6 → 0.1.0-beta.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -59,6 +59,10 @@ function paint(token: string): Rgba {
59
59
 
60
60
  function setMode(mode: 'light' | 'dark') {
61
61
  root().setAttribute('data-a63-design-language', 'ios')
62
+ // Atom63Theme always sets a theme, modern by default; the static Swift colors
63
+ // resolve that selection, and some contracts (the widget face) differ from
64
+ // the theme-less :root under it.
65
+ root().setAttribute('data-a63-theme', 'modern')
62
66
  root().setAttribute('data-a63-mode', mode)
63
67
  root().classList.remove('light', 'dark')
64
68
  root().classList.add(mode)