@tangle-network/sandbox-ui 1.1.7 → 1.1.10

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.
package/dist/tailwind.css CHANGED
@@ -16,27 +16,14 @@
16
16
  * src/styles/globals.css wraps it with `@import "tailwindcss"` and this repo's
17
17
  * own source globs. Edit runtime CSS here, never in globals.css. */
18
18
 
19
- /* Fonts are loaded by the consumer, not this library. See README
20
- * "Fonts" for the list of font families sandbox-ui references
21
- * (Geist, Geist Mono, Outfit, Manrope, Inter) and the recommended
22
- * loading strategies (@fontsource packages or an HTML <link>).
23
- *
24
- * Historical note: previous versions shipped
25
- * @import url("https://fonts.googleapis.com/css2?family=Geist...")
26
- * at the top of this file. That pattern broke in downstream apps that
27
- * used CSS chain `@import`s — once the dist CSS is inlined after any
28
- * rule, the URL @import is no longer at the top of the merged
29
- * stylesheet and the CSS spec disallows it (PostCSS rejects the
30
- * build). Shipping fonts as a library concern is also undesirable
31
- * for privacy (third-party Google Fonts request) and network-failure
32
- * reasons. Consumers own font loading now. */
33
-
34
- @import "@tangle-network/brand/styles/tokens.css";
19
+ /* Brand defaults sit below the host's theme refinements. Font loading stays
20
+ * with the consumer; this entry makes no remote requests. */
21
+ @import "@tangle-network/brand/styles/tokens.css" layer(theme.brand);
35
22
  /* Brand's named themes (`data-theme="<name>"`). They re-skin the surface ladder
36
23
  * and nothing else — the Tangle accent stays put. Imported here so a consuming
37
24
  * app opting into one resolves it through the single composed entry point,
38
25
  * rather than reaching into brand for a second stylesheet. */
39
- @import "@tangle-network/brand/styles/named-themes.css";
26
+ @import "@tangle-network/brand/styles/named-themes.css" layer(theme.brand);
40
27
 
41
28
  /* Canonical font, radius and semantic-color utility registrations, imported as
42
29
  * DEFAULT theme values. A default registration still emits every Brand utility,