@wirecore/wirelayer-css 0.1.0 → 0.2.0
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 +38 -0
- package/dist/wirecore.css +1 -1
- package/package.json +3 -3
package/README.md
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
<img src="https://raw.githubusercontent.com/WireCore/WireLayer/main/assets/wirelayer.svg" alt="" width="56" height="56" />
|
|
2
|
+
|
|
3
|
+
# @wirecore/wirelayer-css
|
|
4
|
+
|
|
5
|
+
The WireLayer components as plain CSS classes (`.wc-*`) for HTML and server templates (Blade, Twig, Astro …) – generated from the same recipes as the Vue and React components, for everything that works without JavaScript.
|
|
6
|
+
|
|
7
|
+
[Storybook](https://wirecore.github.io/WireLayer/) · [GitHub](https://github.com/WireCore/WireLayer) · [Changelog](./CHANGELOG.md)
|
|
8
|
+
|
|
9
|
+
## Installation
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
pnpm add @wirecore/wirelayer-css
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Usage
|
|
16
|
+
|
|
17
|
+
Self-contained, without a build step – ship `dist/wirecore.css` and `dist/fonts/` side by side:
|
|
18
|
+
|
|
19
|
+
```html
|
|
20
|
+
<link rel="stylesheet" href="/assets/wirecore/wirecore.css" /> <button class="wc-button">Save</button>
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
With your own Tailwind build:
|
|
24
|
+
|
|
25
|
+
```css
|
|
26
|
+
@import 'tailwindcss';
|
|
27
|
+
@import '@wirecore/wirelayer-tokens/theme.css';
|
|
28
|
+
@import '@wirecore/wirelayer-tokens/fonts.css';
|
|
29
|
+
@import '@wirecore/wirelayer-css/components.css';
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
The bundled fonts are licensed under the SIL Open Font License 1.1 (`dist/fonts/OFL.txt`), see [THIRD_PARTY_NOTICES.md](./THIRD_PARTY_NOTICES.md).
|
|
33
|
+
|
|
34
|
+
Part of [WireLayer](https://github.com/WireCore/WireLayer) – one look and one API for Vue, React, React Native and HTML, accessible according to WCAG 2.2 AA.
|
|
35
|
+
|
|
36
|
+
## License
|
|
37
|
+
|
|
38
|
+
[MIT](./LICENSE) – Copyright (c) 2026 WireCore GmbH
|