From 5d5d85cbca4a2a8f9c6eb8b962950d6bc1a206c1 Mon Sep 17 00:00:00 2001 From: Ronan Berder Date: Thu, 8 May 2025 09:52:33 +0800 Subject: [PATCH] Cleaned up packages, updated documentation --- docs/src/installation.njk | 8 ++++---- package-lock.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/src/installation.njk b/docs/src/installation.njk index 6a94bba..e93ff48 100644 --- a/docs/src/installation.njk +++ b/docs/src/installation.njk @@ -46,7 +46,7 @@ toc:

Add Basecoat to your Tailwind CSS file.

- {% set code %}npm install hunvreus/basecoat{% endset %} + {% set code %}npm install basecoat-css{% endset %} {{ code_block(code, "bash") }}

Alternatively, you can directly copy the basecoat.css file into your project.

@@ -55,7 +55,7 @@ toc:
  • Import basecoat in your CSS

    {% set code %}@import "tailwindcss"; -@import "basecoat";{% endset %} +@import "basecoat-css";{% endset %} {{ code_block(code, "css") }}
  • @@ -97,7 +97,7 @@ toc:

    If you're using Nunjucks or Jinja, you can use the CLI to install the CSS and macros for any of the complex components(e.g. Dialog). It will copy the JS and `.html.jinja or .njk macros into your code.

    For example, to add the Dialog component, run:

    - {% set code %}npx github:hunvreus/basecoat/packages/cli add dialog{% endset %} + {% set code %}npx basecoat-cli add dialog{% endset %} {{ code_block(code, "bash") }}

    You will be asked to confirm the template engine and destination directory for the Javascript and macros.

    @@ -140,7 +140,7 @@ toc:
  • Import the theme in your CSS file: {% set code %}@import "tailwindcss"; -@import "basecoat"; +@import "basecoat-css"; @import "theme.css";{% endset %} {{ code_block(code, "css") }}
  • diff --git a/package-lock.json b/package-lock.json index 19981ec..3c55bc4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4215,7 +4215,7 @@ "inquirer": "^12.6.0" }, "bin": { - "cli": "dist/index.js" + "basecoat-cli": "dist/index.js" } }, "packages/css": {