softui-css 1.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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Siddharth Bhansali
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,84 @@
1
+ # SoftUI
2
+
3
+ A neumorphic CSS component library with soft shadows, muted palettes, and tactile depth. No dependencies. Dark mode included.
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ npm install softui
9
+ ```
10
+
11
+ ### CDN
12
+
13
+ ```html
14
+ <link rel="stylesheet" href="https://unpkg.com/softui/dist/softui.min.css">
15
+ <script src="https://unpkg.com/softui/dist/softui.min.js"></script>
16
+ ```
17
+
18
+ ### Manual
19
+
20
+ Download `softui.min.css` and `softui.min.js` from the `dist/` folder and include them in your HTML:
21
+
22
+ ```html
23
+ <link rel="stylesheet" href="softui.min.css">
24
+ <script src="softui.min.js"></script>
25
+ ```
26
+
27
+ ## Quick Start
28
+
29
+ ```html
30
+ <button class="sui-btn sui-btn-primary">Click me</button>
31
+
32
+ <div class="sui-card sui-raised" style="padding: 24px;">
33
+ <h3>Hello SoftUI</h3>
34
+ <p>A neumorphic card with a soft raised shadow.</p>
35
+ </div>
36
+ ```
37
+
38
+ ## Dark Mode
39
+
40
+ Add `data-theme="dark"` to the `<html>` element. All components adapt automatically.
41
+
42
+ ```html
43
+ <html data-theme="dark">
44
+ ```
45
+
46
+ ## Components
47
+
48
+ **Layout** — Container, Grid (12-col responsive), Flex utilities
49
+
50
+ **Forms** — Input, Select, Textarea, Toggle, Checkbox, Radio, Slider, Input OTP, Combobox
51
+
52
+ **Data Display** — Table, Data Table (sort/filter/paginate), Card, Badge, Avatar, Kbd, Chart, Stat
53
+
54
+ **Feedback** — Alert, Toast, Progress, Skeleton, Spinner
55
+
56
+ **Navigation** — Navbar, Tabs, Breadcrumb, Pagination, Stepper, Menubar
57
+
58
+ **Overlay** — Modal, Sheet/Drawer, Dropdown, Popover, Hover Card, Tooltip, Context Menu, Command Palette
59
+
60
+ **Interactive** — Accordion, Collapsible, Carousel, Toggle Group, Calendar, Drag & Drop
61
+
62
+ **Content** — Chip, Divider, Scroll Area, Resizable, Button Group
63
+
64
+ **Utilities** — Shadows, Border Radius, Spacing, Text/Colors, Aspect Ratio, Typography
65
+
66
+ ## CSS Custom Properties
67
+
68
+ SoftUI is built on CSS variables. Override them to customize:
69
+
70
+ ```css
71
+ :root {
72
+ --sui-primary: #7C5CFC;
73
+ --sui-radius: 12px;
74
+ --sui-shadow-raised: 6px 6px 12px rgba(0,0,0,0.15), -6px -6px 12px rgba(255,255,255,0.05);
75
+ }
76
+ ```
77
+
78
+ ## Browser Support
79
+
80
+ All modern browsers (Chrome, Firefox, Safari, Edge). No IE support.
81
+
82
+ ## License
83
+
84
+ MIT