@formant/aesthetics 0.1.4 → 0.1.5
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 +6 -0
- package/formant-aesthetics.css +26 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,6 +4,12 @@ A classless CSS framework based on the Formant Design System. No classes require
|
|
|
4
4
|
|
|
5
5
|
## Quick Start
|
|
6
6
|
|
|
7
|
+
Prompt an AI:
|
|
8
|
+
|
|
9
|
+
```
|
|
10
|
+
read https://cdn.jsdelivr.net/npm/@formant/aesthetics/formant-aesthetics.css and https://cdn.jsdelivr.net/npm/@formant/aesthetics/DESIGN.md
|
|
11
|
+
```
|
|
12
|
+
|
|
7
13
|
Add the CDN link to your HTML:
|
|
8
14
|
|
|
9
15
|
```html
|
package/formant-aesthetics.css
CHANGED
|
@@ -2,9 +2,31 @@
|
|
|
2
2
|
* Formant Aesthetics - Classless CSS
|
|
3
3
|
* Version: 2026.1-theme
|
|
4
4
|
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
5
|
+
* WHAT IS CLASSLESS CSS?
|
|
6
|
+
* ----------------------
|
|
7
|
+
* A classless CSS framework styles standard HTML elements directly using
|
|
8
|
+
* element selectors (like `h1`, `p`, `button`, `input`) rather than requiring
|
|
9
|
+
* you to add CSS classes to every element. Just write semantic HTML and
|
|
10
|
+
* it looks great automatically.
|
|
11
|
+
*
|
|
12
|
+
* BENEFITS:
|
|
13
|
+
* - No need to learn or remember CSS class names
|
|
14
|
+
* - Clean, semantic HTML markup
|
|
15
|
+
* - Rapid prototyping - just write HTML
|
|
16
|
+
* - Accessible by default (proper contrast, focus states, etc.)
|
|
17
|
+
* - Consistent styling across all standard elements
|
|
18
|
+
*
|
|
19
|
+
* HOW TO USE:
|
|
20
|
+
* 1. Include the stylesheet: <link rel="stylesheet" href="formant-aesthetics.css">
|
|
21
|
+
* 2. Write standard HTML elements - they are automatically styled
|
|
22
|
+
* 3. Optional: Use data attributes like data-variant, data-theme for variations
|
|
23
|
+
*
|
|
24
|
+
* FEATURES:
|
|
25
|
+
* - Complete Formant Design System styling
|
|
26
|
+
* - Dark mode (default) and light mode support
|
|
27
|
+
* - Responsive typography and spacing
|
|
28
|
+
* - Styled forms, tables, buttons, and all semantic elements
|
|
29
|
+
* - Accessible focus states and color contrast
|
|
8
30
|
*
|
|
9
31
|
* Design System Reference: ~/formant/aesthetics/DESIGN.md
|
|
10
32
|
*
|
|
@@ -602,6 +624,7 @@ table[data-variant="data"] td {
|
|
|
602
624
|
/* ==========================================================================
|
|
603
625
|
11. Forms - Input Fields
|
|
604
626
|
========================================================================== */
|
|
627
|
+
input:not([type]),
|
|
605
628
|
input[type="text"],
|
|
606
629
|
input[type="email"],
|
|
607
630
|
input[type="password"],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@formant/aesthetics",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"description": "Classless CSS framework based on the Formant Design System. Styles standard HTML elements without requiring any classes.",
|
|
5
5
|
"main": "formant-aesthetics.css",
|
|
6
6
|
"files": [
|