basecoat-css 0.1.0 → 0.1.2

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/README.md ADDED
@@ -0,0 +1,54 @@
1
+ # basecoat-css
2
+
3
+ This package provides the core CSS styles for [Basecoat](https://basecoatui.com), a component library built with Tailwind CSS.
4
+
5
+ ## Prerequisites
6
+
7
+ Your project must have [Tailwind CSS](https://tailwindcss.com/docs/installation) installed and configured, as Basecoat relies on Tailwind utility classes and theming.
8
+
9
+ ## Installation
10
+
11
+ You can install `basecoat-css` using your preferred package manager:
12
+
13
+ ```bash
14
+ # npm
15
+ npm install basecoat-css
16
+
17
+ # yarn
18
+ yarn add basecoat-css
19
+
20
+ # pnpm
21
+ pnpm add basecoat-css
22
+
23
+ # bun
24
+ bun add basecoat-css
25
+ ```
26
+
27
+ Alternatively, you can download the `basecoat.css` file directly from the [GitHub repository](https://github.com/hunvreus/basecoat/blob/main/src/css/basecoat.css) (or the `dist/basecoat.css` file from this package after installation) and include it in your project.
28
+
29
+ ## Usage
30
+
31
+ After installation, import `basecoat-css` into your main CSS file. Make sure to import it **after** Tailwind CSS and **before** any custom theme overrides.
32
+
33
+ ```css
34
+ /* Your main CSS file (e.g., styles.css) */
35
+
36
+ @import "tailwindcss/base";
37
+ @import "tailwindcss/components";
38
+ @import "tailwindcss/utilities";
39
+
40
+ @import "basecoat-css"; /* Or the path to basecoat.css if manually added */
41
+
42
+ /* Your custom styles or theme overrides (optional) */
43
+ /* @import "your-theme.css"; */
44
+ ```
45
+
46
+ Once imported, you can start using Basecoat's component classes in your HTML.
47
+
48
+ ## Documentation
49
+
50
+ For more detailed information on components, their usage, and customization options, please refer to the [Basecoat documentation](https://basecoatui.com/installation/#install-css).
51
+
52
+ ## License
53
+
54
+ [MIT](https://github.com/hunvreus/basecoat/blob/main/LICENSE.md)
package/dist/basecoat.css CHANGED
@@ -716,6 +716,11 @@
716
716
  .select {
717
717
  @apply appearance-none border-input focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 dark:hover:bg-input/50 flex w-fit items-center justify-between gap-2 rounded-md border bg-transparent pl-3 pr-9 py-2 text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 h-9;
718
718
  @apply bg-[image:var(--chevron-down-icon-50)] bg-no-repeat bg-position-[center_right_0.75rem] bg-size-[1rem];
719
+
720
+ option,
721
+ optgroup {
722
+ @apply bg-popover text-popover-foreground;
723
+ }
719
724
  }
720
725
  }
721
726
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "basecoat-css",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Tailwind CSS for Basecoat components",
5
5
  "author": {
6
6
  "name": "hunvreus",
@@ -37,4 +37,4 @@
37
37
  "url": "https://github.com/hunvreus/basecoat/issues"
38
38
  },
39
39
  "homepage": "https://basecoatui.com/installation#install-css"
40
- }
40
+ }