@semanticus/semanticus-css 1.2.0 → 2.0.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 +17 -14
- package/dist/semanticus-no-utilities.css +16 -1
- package/dist/semanticus-semantics.css +1 -1
- package/dist/semanticus.css +17 -2
- package/package.json +2 -1
- package/src/components/_card.css +64 -0
- package/src/components/_content-grid.css +95 -0
- package/src/{semantics/attributes/_role-toolbar.css → components/_grid.css} +1 -1
- package/src/components/_icons.css +2 -3
- package/src/components/modules.css +2 -1
- package/src/index.css +1 -1
- package/src/semantics/attributes/_popover.css +0 -4
- package/src/semantics/attributes/_role-group.css +1 -0
- package/src/semantics/attributes/_role-status-alert.css +36 -1
- package/src/semantics/elements/_details.css +0 -1
- package/src/semantics/modules.css +0 -1
- package/src/components/_card-list.css +0 -60
package/README.md
CHANGED
|
@@ -32,16 +32,16 @@ Enable authors to write clean, semantic HTML that looks great by default, guide
|
|
|
32
32
|
### Option 1: CDN (quick start)
|
|
33
33
|
|
|
34
34
|
```html
|
|
35
|
-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@semanticus/semanticus-css@
|
|
35
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@semanticus/semanticus-css@2.0.0/dist/semanticus.css">
|
|
36
36
|
|
|
37
37
|
<!-- costumize it with a palette or size variation if needed -->
|
|
38
|
-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@semanticus/semanticus-css@
|
|
39
|
-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@semanticus/semanticus-css@
|
|
38
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@semanticus/semanticus-css@2.0.0/dist/semanticus.palette.blue.css">
|
|
39
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@semanticus/semanticus-css@2.0.0/dist/semanticus.size.pico.css">
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
### Option 2: Install manually
|
|
43
43
|
|
|
44
|
-
Download the [distribution files](https://registry.npmjs.org/@semanticus%2Fsemanticus-css/-/semanticus-css-
|
|
44
|
+
Download the [distribution files](https://registry.npmjs.org/@semanticus%2Fsemanticus-css/-/semanticus-css-2.0.0.tgz), move the ones you need to your **stylesheets** folder and include them in your HTML `<head>`:
|
|
45
45
|
|
|
46
46
|
```html
|
|
47
47
|
<link rel="stylesheet" href="/css/semanticus.css">
|
|
@@ -147,31 +147,34 @@ Here's an off-to-a-great-start HTML template using semantic styling, its variant
|
|
|
147
147
|
<meta charset="UTF-8">
|
|
148
148
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
149
149
|
<meta name="color-scheme" content="light dark">
|
|
150
|
-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@semanticus/semanticus-css@
|
|
150
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@semanticus/semanticus-css@2.0.0/dist/semanticus.css">
|
|
151
151
|
</head>
|
|
152
|
-
<body class="
|
|
153
|
-
<header
|
|
152
|
+
<body class="content-grid">
|
|
153
|
+
<header>
|
|
154
154
|
<nav>
|
|
155
155
|
<h3><a href="#">Acme Corp</a></h3>
|
|
156
156
|
|
|
157
157
|
<ul>
|
|
158
158
|
<li><a href="#">About</a></li>
|
|
159
|
-
<li><a href="#" role="button">Log In</a></li>
|
|
159
|
+
<li><a href="#" role="button" class="secondary">Log In</a></li>
|
|
160
160
|
</ul>
|
|
161
161
|
</nav>
|
|
162
162
|
</header>
|
|
163
163
|
|
|
164
|
-
<main class="
|
|
164
|
+
<main class="py-d mb-3">
|
|
165
165
|
<hgroup>
|
|
166
166
|
<h1>Welcome to Semanticus CSS</h1>
|
|
167
167
|
<p>A lightweight CSS framework for modern web development.</p>
|
|
168
168
|
</hgroup>
|
|
169
169
|
|
|
170
|
-
<button
|
|
170
|
+
<button>Get Started</button>
|
|
171
171
|
</main>
|
|
172
172
|
|
|
173
|
-
<footer class="
|
|
174
|
-
<
|
|
173
|
+
<footer class="full-width text-bg-secondary-subtle">
|
|
174
|
+
<nav>
|
|
175
|
+
<p>Acme Corp © 2026</p>
|
|
176
|
+
<a href="#">Contact Us</a>
|
|
177
|
+
</nav>
|
|
175
178
|
</footer>
|
|
176
179
|
</body>
|
|
177
180
|
</html>
|
|
@@ -218,11 +221,11 @@ Check out this [How to setup the project](docs/about/contributing.md#how-to-setu
|
|
|
218
221
|
| Pico (semantics only) | 10.2 KB |
|
|
219
222
|
| Semanticus (semantics only) | 11.4 KB |
|
|
220
223
|
| Pico (semantics + classes) | 11.5 KB |
|
|
221
|
-
| Semanticus (semantics + components + variants) |
|
|
224
|
+
| Semanticus (semantics + components + variants) | 14.3 KB |
|
|
222
225
|
| Bootstrap (utilities + grid) | 16.3 KB |
|
|
223
226
|
| Semanticus (utilities + grid) | 10.5 KB |
|
|
224
227
|
| Bootstrap (full bundle) | 53.8 KB |
|
|
225
|
-
| Semanticus (full bundle) |
|
|
228
|
+
| Semanticus (full bundle) | 24.4 KB |
|
|
226
229
|
|
|
227
230
|
## License
|
|
228
231
|
|