7onic 0.1.11 → 0.1.13

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/index.js CHANGED
@@ -5246,7 +5246,7 @@ const bubbleRadiusSymMap: Record<ChatMessageRadius, string> = {
5246
5246
 
5247
5247
  function getBubbleColors(color: ChatMessageColor, variant: ChatMessageVariant): string {
5248
5248
  if (variant === 'flat') {
5249
- return color === 'muted' ? 'bg-background-muted' : ''
5249
+ return color === 'muted' ? 'bg-background-muted text-foreground' : 'text-foreground'
5250
5250
  }
5251
5251
  switch (color) {
5252
5252
  case 'default': return 'bg-background-paper border border-border text-foreground'
@@ -14248,7 +14248,7 @@ function showCompanionHints(names) {
14248
14248
 
14249
14249
  // cli/src/index.ts
14250
14250
  var import_picocolors4 = __toESM(require_picocolors());
14251
- var VERSION = "0.1.11";
14251
+ var VERSION = "0.1.13";
14252
14252
  var HELP = `
14253
14253
  ${import_picocolors4.default.bold("7onic")} \u2014 Add 7onic design system components to your project
14254
14254
 
package/llms.txt CHANGED
@@ -25,7 +25,7 @@ npx 7onic init --tailwind v3 --yes # Explicit v3, skip prompts
25
25
  **What it does:**
26
26
  1. Detects Tailwind version (v3: config file exists, v4: no config) — or uses `--tailwind` flag
27
27
  2. Detects package manager (npm/pnpm/yarn/bun)
28
- 3. **Vite projects**: auto-configures `@/` path alias — patches `tsconfig.app.json` (JSONC-safe) and `vite.config.ts` (adds `import path` + `resolve.alias`), installs `@types/node`
28
+ 3. **Vite projects**: auto-configures `@/` path alias — patches `tsconfig.app.json` (JSONC-safe) and `vite.config.ts` (adds `import path` + `resolve.alias`), installs `@types/node`; **removes `create vite` boilerplate CSS blocks** from `src/index.css` + `src/App.css` (unlayered rules like `:root { font-family: system-ui }`, `button { color: #1a1a1a }` that override 7onic tokens) — prompts user, creates `.bak` backup
29
29
  4. Installs: `@7onic-ui/tokens`, `lucide-react`, `clsx`, `tailwind-merge`, `class-variance-authority`
30
30
  5. Creates/updates CSS file with token imports (v4: auto-injects `@import "tailwindcss"` if missing)
31
31
  6. Creates `cn()` utility at configured path
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "7onic",
3
- "version": "0.1.11",
3
+ "version": "0.1.13",
4
4
  "description": "CLI for adding 7onic design system components to your project",
5
5
  "bin": {
6
6
  "7onic": "./dist/index.js"