archcss 2.0.0 → 3.0.0-beta.1

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.
Files changed (40) hide show
  1. package/changelog +93 -3
  2. package/css/{arch.dev.css → arch.css} +229748 -155773
  3. package/css/{architect.css → attribution.css} +1 -4
  4. package/index.js +3 -3
  5. package/js/plugin.js +874 -0
  6. package/package.json +8 -6
  7. package/readme.md +146 -21
  8. package/ui/attribution.css +6 -0
  9. package/ui/style.css +317735 -0
  10. package/{css/@fontawesome/css/fontawesome.css → webfonts/fontawesome/css/fontawessome.css} +5221 -2686
  11. package/webfonts/fontawesome/css/fontawessome.min.css +8104 -0
  12. package/webfonts/fontawesome/webfonts/fa-brands-400.ttf +0 -0
  13. package/webfonts/fontawesome/webfonts/fa-brands-400.woff2 +0 -0
  14. package/webfonts/fontawesome/webfonts/fa-regular-400.ttf +0 -0
  15. package/webfonts/fontawesome/webfonts/fa-regular-400.woff2 +0 -0
  16. package/webfonts/fontawesome/webfonts/fa-solid-900.ttf +0 -0
  17. package/webfonts/fontawesome/webfonts/fa-solid-900.woff2 +0 -0
  18. package/webfonts/fontawesome/webfonts/fa-v4compatibility.ttf +0 -0
  19. package/webfonts/fontawesome/webfonts/fa-v4compatibility.woff2 +0 -0
  20. package/{css/@googleapis → webfonts/googleapis}/fonts.css +1 -1
  21. package/webfonts/googleapis/fonts.min.css +71 -0
  22. package/webfonts/lucide/css/lucide.css +72 -0
  23. package/webfonts/lucide/css/lucide.min.css +1 -0
  24. package/webfonts/lucide/js/lucide.min.js +12 -0
  25. package/css/@fontawesome/LICENSE.txt +0 -165
  26. package/css/@fontawesome/css/fontawesome.min.css +0 -9
  27. package/css/@fontawesome/js/all.js +0 -6026
  28. package/css/@fontawesome/js/all.min.js +0 -6
  29. package/css/@fontawesome/webfonts/fa-brands-400.ttf +0 -0
  30. package/css/@fontawesome/webfonts/fa-brands-400.woff2 +0 -0
  31. package/css/@fontawesome/webfonts/fa-regular-400.ttf +0 -0
  32. package/css/@fontawesome/webfonts/fa-regular-400.woff2 +0 -0
  33. package/css/@fontawesome/webfonts/fa-solid-900.ttf +0 -0
  34. package/css/@fontawesome/webfonts/fa-solid-900.woff2 +0 -0
  35. package/css/@fontawesome/webfonts/fa-v4compatibility.ttf +0 -0
  36. package/css/@fontawesome/webfonts/fa-v4compatibility.woff2 +0 -0
  37. package/css/@googleapis/fonts.min.css +0 -1
  38. package/css/arch.min.css +0 -6
  39. package/js/dom.js +0 -1106
  40. /package/{licence → license} +0 -0
package/package.json CHANGED
@@ -1,11 +1,10 @@
1
1
  {
2
2
  "name": "archcss",
3
- "version": "2.0.0",
3
+ "version": "3.0.0-beta.1",
4
4
  "description": "The Architect CSS, is utility-first CSS framework that allows you to quickly create and design your websites and applications with flexible, easy-to-use classes without writing any custom CSS.",
5
5
  "main": "index.js",
6
- "scripts": {
7
- "test": "echo \"Error: no test specified\" && exit 1"
8
- },
6
+ "style": "ui/style.css",
7
+ "jsdelivr": "ui/style.css",
9
8
  "repository": {
10
9
  "type": "git",
11
10
  "url": "git+https://github.com/archcss-dev/archcss.git"
@@ -26,5 +25,8 @@
26
25
  "bugs": {
27
26
  "url": "https://github.com/bebagodfried/archcss/issues"
28
27
  },
29
- "homepage": "https://github.com/archcss-dev/archcss#readme"
30
- }
28
+ "homepage": "https://github.com/archcss-dev/archcss#readme",
29
+ "scripts": {
30
+ "test": "echo \"Error: no test specified\" && exit 1"
31
+ }
32
+ }
package/readme.md CHANGED
@@ -1,51 +1,176 @@
1
1
  <p align="center">
2
2
  <a href="https://archcss.com/">
3
- <img src="https://get.archcss.com/brand/archcss-logo-banner-t.png" alt="Architect CSS logo" width="" height="">
3
+ <img src="https://get.archcss.com/brand/banner/banner.webp" alt="Architect CSS logo" height="320" width="640">
4
4
  </a>
5
5
  </p>
6
6
 
7
- <h3 align="center">Architect CSS</h3>
7
+ <h2 align="center">Architect CSS</h2>
8
8
 
9
9
  <p align="center">
10
- Craft dynamic, feature-rich frontend experiences with a versatile designs. Leverage a utility-first CSS framework for flexible design directly in your HTML
11
- <br>
12
- <a href="https://archcss.com"><strong>Explore Architect CSS docs »</strong></a>
10
+ <b>Utility-first CSS framework for building fast, flexible, and modern UIs directly in your HTML.</b>
13
11
  <br>
12
+ <a href="https://archcss.com"><strong>Explore Documentation »</strong></a>
14
13
  <br>
15
14
  <a href="https://github.com/archcss-dev/archcss/issues/new?assignees=-&labels=bug&template=bug_report.yml">Report bug</a>
16
15
  ·
17
16
  <a href="https://github.com/archcss-dev/archcss/issues/new?assignees=&labels=feature&template=feature_request.yml">Request feature</a>
18
17
  </p>
19
18
 
20
- ## Quick start
19
+ <p align="center">
20
+ <a href="https://www.npmjs.com/package/archcss"><img src="https://img.shields.io/npm/v/archcss.svg?style=flat-square" alt="npm version"></a>
21
+ <a href="https://github.com/archcss-dev/archcss/blob/main/license"><img src="https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square" alt="MIT License"></a>
22
+ <a href="https://cdn.jsdelivr.net/npm/archcss"><img src="https://data.jsdelivr.com/v1/package/npm/archcss/badge" alt="jsdelivr"></a>
23
+ </p>
21
24
 
22
- Available options:
25
+ ---
23
26
 
24
- - [Download the latest release](https://github.com/archcss-dev/archcss/archive/v2.0.0.zip)
25
- - Clone the repo: `git clone https://github.com/archcss-dev/archcss.git`
26
- - Install with [npm](https://www.npmjs.com/): `npm install archcss@v2.0.0`
27
- - Import from [jsdelivr](https://jsdelivr.com/): `https://cdn.jsdelivr.net/npm/archcss`
27
+ ## Features
28
28
 
29
+ - **Utility-first architecture**: Compose any layout and design directly in your HTML without custom CSS.
30
+ - **Mobile-first responsive design**: Clean breakpoint variants (sm:, md:, lg:, xl:, xxl:).
31
+ - **State variants**: Built-in hover:, focus:, and active: pseudo-variants for colors, borders, and shadows.
32
+ - **Modern CSS Grid & Flexbox**: Complete flexbox controls, equal-width columns (grid-cols-*), and responsive auto-fit/fill scales (grid-fill-*, grid-fit-*).
33
+ - **Rich color & gradient palette**: Extensive theme colors, bidirectional tints/shades, alpha opacity utilities, directional gradients, and 3-color linear gradients.
34
+ - **TypeScript DOM Plugin**: Fast, lightweight helper methods for modals, triggers, smooth scrolling, and clipboard copying.
35
+ - **Bundled Icon Fonts**: Local Lucide Icons and FontAwesome webfonts included out of the box.
29
36
 
30
- [Previous releases](https://github.com/archcss-dev/archcss/releases) are also available for download.
37
+ ---
31
38
 
39
+ ## What's Included
32
40
 
33
- ## Community
41
+ ```text
42
+ archcss/
43
+ ├── ui/
44
+ │ └── style.css # Main stylesheet (CDN entrypoint)
45
+ ├── css/
46
+ │ ├── arch.css # Full compiled CSS framework
47
+ │ └── attribution.css # Standalone origin watermark
48
+ ├── js/
49
+ │ └── plugin.js # Compiled TypeScript DOM plugin
50
+ ├── webfonts/
51
+ │ ├── fontawesome/ # FontAwesome CSS, min.css, and webfonts
52
+ │ ├── googleapis/ # Google Fonts CSS and min.css
53
+ │ └── lucide/ # Lucide icon fonts, CSS, min.css, and JS
54
+ ├── index.js # Package entrypoint
55
+ ├── package.json
56
+ └── changelog
57
+ ```
34
58
 
35
- Get updates on Architect CSS's development and chat with the project maintainers and community members.
59
+ ---
36
60
 
37
- - Ask questions and explore [our GitHub Discussions](https://github.com/archcss-dev/archcss/discussions).
38
- - Developers should use the keyword `archcss` on packages which modify or add to the functionality of Architect CSS when distributing through [npm](https://www.npmjs.com/browse/keyword/archcss) or similar delivery mechanisms for maximum discoverability.
61
+ ## Installation
39
62
 
63
+ ### 1. Package Manager
40
64
 
41
- ## Creator(s)
65
+ Install ArchCSS via npm, pnpm, or yarn:
42
66
 
43
- **Beba Godfried A.**
67
+ ```bash
68
+ # npm
69
+ npm install archcss
70
+
71
+ # pnpm
72
+ pnpm add archcss
73
+
74
+ # yarn
75
+ yarn add archcss
76
+ ```
77
+
78
+ ### 2. CDN (jsDelivr)
79
+
80
+ Link the stylesheet and optional scripts directly in your HTML:
81
+
82
+ ```html
83
+ <!-- ArchCSS Core Stylesheet -->
84
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/archcss/ui/style.css">
85
+
86
+ <!-- Optional: Lucide Icons -->
87
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/archcss/webfonts/lucide/css/lucide.min.css">
88
+
89
+ <!-- Optional: ArchCSS DOM Plugin -->
90
+ <script src="https://cdn.jsdelivr.net/npm/archcss/js/plugin.js"></script>
91
+ ```
92
+
93
+ ### 3. Git Clone or Download
94
+
95
+ ```bash
96
+ git clone https://github.com/archcss-dev/archcss.git
97
+ ```
98
+
99
+ You can also download [the latest release archive](https://github.com/archcss-dev/archcss/releases).
100
+
101
+ ---
102
+
103
+ ## Usage Examples
44
104
 
45
- - <https://github.com/bebagodfried>
105
+ ### 1. HTML with Utility Classes
46
106
 
47
- ## Copyright and license
107
+ ```html
108
+ <div class="flex items-center justify-between p-3 bg-light rounded-5 border-1 border-light">
109
+ <h2 class="font-20 fw-700 text-dark m-0">Architect CSS</h2>
110
+ <button class="bg-primary text-light px-3 py-1 rounded-full hover:bg-primary-200 transition-all">
111
+ Get Started
112
+ </button>
113
+ </div>
114
+ ```
115
+
116
+ ### 2. Responsive Grid
117
+
118
+ ```html
119
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-2">
120
+ <div class="p-3 bg-white rounded-5 shadow-sm">Card 1</div>
121
+ <div class="p-3 bg-white rounded-5 shadow-sm">Card 2</div>
122
+ <div class="p-3 bg-white rounded-5 shadow-sm">Card 3</div>
123
+ </div>
124
+ ```
125
+
126
+ ### 3. DOM Plugin
127
+
128
+ Use the included DOM plugin helpers in your scripts:
129
+
130
+ ```html
131
+ <!-- Trigger modal display -->
132
+ <button onclick="display('#my-modal')">Open Modal</button>
133
+
134
+ <!-- Modal element -->
135
+ <div id="my-modal" class="hidden fixed inset-0 flex items-center justify-center bg-dark-alpha-50">
136
+ <div class="bg-white p-4 rounded-10 shadow-lg">
137
+ <p class="m-0 text-dark">Hello from ArchCSS!</p>
138
+ <button class="mt-2 px-3 py-1 bg-secondary text-light rounded-5" onclick="hide('#my-modal')">
139
+ Close
140
+ </button>
141
+ </div>
142
+ </div>
143
+ ```
144
+
145
+ ```javascript
146
+ // Copy to clipboard helper
147
+ strcopy('npm install archcss', () => {
148
+ console.log('Copied to clipboard!');
149
+ });
150
+
151
+ // Smooth scroll to an element with offset
152
+ scroll_to('#features', 60);
153
+ ```
154
+
155
+ ---
156
+
157
+ ## Community & Support
158
+
159
+ - Read the documentation: [https://archcss.com](https://archcss.com)
160
+ - Ask questions and share feedback in [GitHub Discussions](https://github.com/archcss-dev/archcss/discussions)
161
+ - Report bugs or request features via [GitHub Issues](https://github.com/archcss-dev/archcss/issues)
162
+ - If publishing packages that extend Architect CSS on npm, include the `archcss` keyword for discoverability.
163
+
164
+ ---
165
+
166
+ ## Creator
167
+
168
+ **Beba Godfried A.**
169
+ - GitHub: [@bebagodfried](https://github.com/bebagodfried)
170
+ - Website: [https://archcss.com](https://archcss.com)
48
171
 
49
- Code released under the [MIT License](https://github.com/archcss-dev/archcss/blob/main/LICENSE). Docs released under [Creative Commons](https://creativecommons.org/licenses/by/3.0/).
172
+ ---
50
173
 
174
+ ## License
51
175
 
176
+ Code released under the [MIT License](https://github.com/archcss-dev/archcss/blob/main/license). Documentation released under [Creative Commons BY 3.0](https://creativecommons.org/licenses/by/3.0/).
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Name : ArchCSS - Modern CSS framework for responsive and attractive websites and applications.
3
+ * Version : 3.0.0 [beta]
4
+ * Author : @bebagodfried - [archCSS dev.](https://archcss.com/team/@bebagodfried)
5
+ * License : MIT license
6
+ */