archcss 3.0.0-beta.1 → 3.0.0-beta.2

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 (32) hide show
  1. package/{css/arch.css → dist/css/main.css} +14 -8
  2. package/{ui/style.css → dist/index.css} +14 -8
  3. package/dist/ui/style.css +317741 -0
  4. package/dist/webfonts/fontawesome/LICENSE.txt +165 -0
  5. package/{webfonts → dist/webfonts}/fontawesome/css/fontawessome.css +2650 -5218
  6. package/dist/webfonts/fontawesome/css/fontawessome.min.css +9 -0
  7. package/dist/webfonts/fontawesome/js/all.js +5982 -0
  8. package/dist/webfonts/fontawesome/js/all.min.js +6 -0
  9. package/{webfonts → dist/webfonts}/googleapis/fonts.css +1 -1
  10. package/dist/webfonts/googleapis/fonts.min.css +1 -0
  11. package/license.md +32 -0
  12. package/package.json +50 -17
  13. package/readme.md +68 -137
  14. package/changelog +0 -166
  15. package/index.js +0 -16
  16. package/license +0 -21
  17. package/ui/attribution.css +0 -6
  18. package/webfonts/fontawesome/css/fontawessome.min.css +0 -8104
  19. package/webfonts/googleapis/fonts.min.css +0 -71
  20. /package/{css → dist}/attribution.css +0 -0
  21. /package/{js → dist/js}/plugin.js +0 -0
  22. /package/{webfonts → dist/webfonts}/fontawesome/webfonts/fa-brands-400.ttf +0 -0
  23. /package/{webfonts → dist/webfonts}/fontawesome/webfonts/fa-brands-400.woff2 +0 -0
  24. /package/{webfonts → dist/webfonts}/fontawesome/webfonts/fa-regular-400.ttf +0 -0
  25. /package/{webfonts → dist/webfonts}/fontawesome/webfonts/fa-regular-400.woff2 +0 -0
  26. /package/{webfonts → dist/webfonts}/fontawesome/webfonts/fa-solid-900.ttf +0 -0
  27. /package/{webfonts → dist/webfonts}/fontawesome/webfonts/fa-solid-900.woff2 +0 -0
  28. /package/{webfonts → dist/webfonts}/fontawesome/webfonts/fa-v4compatibility.ttf +0 -0
  29. /package/{webfonts → dist/webfonts}/fontawesome/webfonts/fa-v4compatibility.woff2 +0 -0
  30. /package/{webfonts → dist/webfonts}/lucide/css/lucide.css +0 -0
  31. /package/{webfonts → dist/webfonts}/lucide/css/lucide.min.css +0 -0
  32. /package/{webfonts → dist/webfonts}/lucide/js/lucide.min.js +0 -0
@@ -68,4 +68,4 @@
68
68
  @import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;600;700&display=swap");
69
69
  @import url("https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;600;700&display=swap");
70
70
  @import url("https://fonts.googleapis.com/css2?family=Barlow:wght@300;400;500;600;700&display=swap");
71
- @import url("https://fonts.googleapis.com/css2?family=Crimson+pro:wght@300;400;500;600;700&display=swap");
71
+ @import url("https://fonts.googleapis.com/css2?family=Crimson+pro:wght@300;400;500;600;700&display=swap");
@@ -0,0 +1 @@
1
+ @import"https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Lato:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=PT+Sans:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Droid+Sans:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Playfair+Display:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Comfortaa:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Cabin:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Arimo:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Lobster:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Pacifico:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Noto+Sans:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Fira+Sans:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Crimson+Text:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Gugi:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Muli:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Play:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Alegreya:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Titillium+Web:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Pinyon+Script:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Indie+Flower:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Dancing+Script:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Bitter:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Archivo:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Inconsolata:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Cabin+Condensed:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Montserrat+Alternates:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Abril+Fatface:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Karla:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Cabin+Sketch:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Oswald+Stencil:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Exo:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Arvo:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Monda:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Dosis:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=PT+Serif:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Alegreya+Sans:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Work+Sans:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Source+Serif+Pro:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Archivo+Black:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Noto+Serif:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Merriweather+Sans:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Bree+Serif:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Rubik+Mono+One:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Abel:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Questrial:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Catamaran:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Hind:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Rokkitt:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Yanone+Kaffeesatz:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Droid+Serif:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Barlow:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Crimson+pro:wght@300;400;500;600;700&display=swap";
package/license.md ADDED
@@ -0,0 +1,32 @@
1
+ # Architect CSS Framework v3
2
+
3
+ ![Architect CSS Framework](https://img.shields.io/badge/ArchCSS%20Framework-v3-blueviolet?style=for-the-badge&logo=sass)
4
+ ![License: MIT](https://img.shields.io/badge/license-MIT-green?style=for-the-badge)
5
+ ![License: MPL-2.0](https://img.shields.io/badge/license-MPL--2.0-orange?style=for-the-badge)
6
+
7
+ MIT License (for compiled assets in /dist/):
8
+ --------------------------------------------
9
+ Permission is hereby granted, free of charge, to any person obtaining a copy
10
+ of the compiled CSS/JS of this software (the "Software"), to use, copy,
11
+ modify, merge, publish, distribute, sublicense, and/or sell copies of the
12
+ compiled Software, subject to the following conditions:
13
+
14
+ The above copyright notice and this permission notice shall be included in all
15
+ copies or substantial portions of the Software.
16
+
17
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND.
18
+
19
+ MPL-2.0 License (for source code in /src/):
20
+ -------------------------------------------
21
+ The source SCSS and TypeScript code are licensed under the Mozilla Public License 2.0.
22
+
23
+ You are free to use, modify, and distribute the source code, but:
24
+ - Any modified version that is distributed must also be shared under MPL-2.0.
25
+ - You must disclose your changes and include this license.
26
+
27
+ This ensures the framework stays open and benefits the community.
28
+
29
+ For commercial licensing or custom terms, contact: [Arch. CSS Dev Team](mailto:dev@archcss.com)
30
+
31
+ ---
32
+ Copyright (c) 2025 [Beba Godfried A.](https://bebagodfried.com)
package/package.json CHANGED
@@ -1,32 +1,65 @@
1
1
  {
2
2
  "name": "archcss",
3
- "version": "3.0.0-beta.1",
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
- "main": "index.js",
6
- "style": "ui/style.css",
7
- "jsdelivr": "ui/style.css",
8
- "repository": {
9
- "type": "git",
10
- "url": "git+https://github.com/archcss-dev/archcss.git"
3
+ "version": "3.0.0-beta.2",
4
+ "description": "Modular CSS framework based on Sass, featuring CSS utilities, a ready-to-use responsive system and an extensible structure. Designed for fast, clean and efficient integration into any modern frontend project.",
5
+ "main": "dist/index.css",
6
+ "style": "dist/index.css",
7
+ "jsdelivr": "dist/index.css",
8
+ "files": [
9
+ "dist"
10
+ ],
11
+ "publishConfig": {
12
+ "tag": "beta"
11
13
  },
12
14
  "keywords": [
13
- "javascript",
15
+ "archcss",
14
16
  "opensource",
15
- "framework",
16
17
  "ui",
17
18
  "ux",
19
+ "css",
20
+ "css3",
21
+ "javascript",
22
+ "scss",
23
+ "sass",
24
+ "typescript",
25
+ "framework",
18
26
  "css-framework",
19
- "architect",
20
- "architect-ui",
21
- "archcss"
27
+ "sass-framework",
28
+ "scss-framework",
29
+ "npm",
30
+ "npm-package",
31
+ "style",
32
+ "styles",
33
+ "stylesheets",
34
+ "styles-css",
35
+ "bebagodfried"
22
36
  ],
23
- "author": "Beba Godfried",
24
- "license": "MIT",
37
+ "author": "Beba Godfried from ArchCSS Dev Team",
38
+ "license": "MIT+MPL-2.0",
39
+ "repository": {
40
+ "type": "git",
41
+ "url": "git+https://github.com/archcss-dev/archcss.git"
42
+ },
25
43
  "bugs": {
26
- "url": "https://github.com/bebagodfried/archcss/issues"
44
+ "url": "https://github.com/archcss-dev/archcss/issues"
27
45
  },
28
46
  "homepage": "https://github.com/archcss-dev/archcss#readme",
47
+ "devDependencies": {
48
+ "postcss-scss": "^4.0.9",
49
+ "sass": "^1.89.2",
50
+ "stylelint": "^16.21.1",
51
+ "stylelint-config-standard": "^38.0.0",
52
+ "stylelint-config-standard-scss": "^15.0.1",
53
+ "stylelint-scss": "^6.12.1",
54
+ "typescript": "^5.8.3"
55
+ },
29
56
  "scripts": {
30
- "test": "echo \"Error: no test specified\" && exit 1"
57
+ "sass:build": "sass src/libs:dist/ --no-source-map && sass src/scss:dist/ --no-source-map && rm -rf dist/webfonts && mkdir -p dist/webfonts && cp -r src/libs/webfonts/fontawesome src/libs/webfonts/googleapis src/libs/webfonts/lucide dist/webfonts/ && node scripts/inline-fonts.mjs dist/index.css && mkdir -p dist/css dist/ui && cp dist/index.css dist/css/main.css && cp dist/index.css dist/ui/style.css && node scripts/relocate-fonts.mjs dist/css/main.css && node scripts/relocate-fonts.mjs dist/ui/style.css",
58
+ "sass:watch": "sass --watch src/scss:dist/css",
59
+ "sass:lint": "stylelint \"src/scss/**/*.scss\"",
60
+ "ts:build": "tsc",
61
+ "dev": "pnpm run sass:watch & pnpm run ts:build --watch",
62
+ "dev:build": "pnpm run sass:build && pnpm run ts:build",
63
+ "commit": "pnpm run sass:lint && pnpm run sass:build && pnpm run ts:build"
31
64
  }
32
65
  }
package/readme.md CHANGED
@@ -1,176 +1,107 @@
1
- <p align="center">
2
- <a href="https://archcss.com/">
3
- <img src="https://get.archcss.com/brand/banner/banner.webp" alt="Architect CSS logo" height="320" width="640">
4
- </a>
5
- </p>
6
-
7
- <h2 align="center">Architect CSS</h2>
8
-
9
- <p align="center">
10
- <b>Utility-first CSS framework for building fast, flexible, and modern UIs directly in your HTML.</b>
11
- <br>
12
- <a href="https://archcss.com"><strong>Explore Documentation »</strong></a>
13
- <br>
14
- <a href="https://github.com/archcss-dev/archcss/issues/new?assignees=-&labels=bug&template=bug_report.yml">Report bug</a>
15
- ·
16
- <a href="https://github.com/archcss-dev/archcss/issues/new?assignees=&labels=feature&template=feature_request.yml">Request feature</a>
17
- </p>
18
-
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>
24
-
25
- ---
26
-
27
- ## Features
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.
36
-
37
- ---
38
1
 
39
- ## What's Included
2
+ # Architect CSS framework V3
3
+ ![Architect CSS Framework](https://img.shields.io/badge/ArchCSS%20Framework-v3-blueviolet?style=for-the-badge&logo=sass)
4
+ ![License: MIT](https://img.shields.io/badge/license-MIT-green?style=for-the-badge)
5
+ ![License: MPL-2.0](https://img.shields.io/badge/license-MPL--2.0-orange?style=for-the-badge)
40
6
 
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
- ```
7
+ > Modular CSS framework based on Sass, featuring CSS utilities, a ready-to-use responsive system and an extensible structure. Designed for fast, clean and efficient integration into any modern frontend project.
58
8
 
59
- ---
9
+ ## What's Included
60
10
 
61
- ## Installation
11
+ - Compiled `CSS` from modular SCSS,
12
+ - Utility-first Sass structure applied to CSS,
13
+ - TypeScript DOM plugin for triggers and manipulation,
14
+ - Invisible CSS watermark (framework origin tracking).
62
15
 
63
- ### 1. Package Manager
16
+ ## Quick start project
17
+ ```
18
+ pnpm init
19
+ pnpm add -D sass stylelint stylelint-scss stylelint-config-standard typescript
20
+ npx tsc --init
21
+ ```
64
22
 
65
- Install ArchCSS via npm, pnpm, or yarn:
23
+ ## Installation
66
24
 
25
+ 1. Using NPM
67
26
  ```bash
68
- # npm
69
27
  npm install archcss
70
-
71
- # pnpm
72
- pnpm add archcss
73
-
74
- # yarn
75
- yarn add archcss
76
28
  ```
77
29
 
78
- ### 2. CDN (jsDelivr)
30
+ 2. Using PNPM
31
+ ```bash
32
+ pnpm install archcss
33
+ ```
79
34
 
80
- Link the stylesheet and optional scripts directly in your HTML:
35
+ 3. Using Yarn
36
+ ```bash
37
+ yarn install archcss
38
+ ```
81
39
 
82
- ```html
83
- <!-- ArchCSS Core Stylesheet -->
84
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/archcss/ui/style.css">
40
+ > Note: This package only includes **compiled CSS and JS**. Source SCSS is private.
85
41
 
86
- <!-- Optional: Lucide Icons -->
87
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/archcss/webfonts/lucide/css/lucide.min.css">
42
+ ## NPM Scripts
88
43
 
89
- <!-- Optional: ArchCSS DOM Plugin -->
90
- <script src="https://cdn.jsdelivr.net/npm/archcss/js/plugin.js"></script>
44
+ ### Build Sass
45
+ ```bash
46
+ pnpm run sass:build
91
47
  ```
48
+ > Compile `src/scss/` into `dist/` (no sourcemaps), ship the `dist/webfonts/` assets and inline the icon font stylesheets.
92
49
 
93
- ### 3. Git Clone or Download
94
-
50
+ ### Watch Sass Changes
95
51
  ```bash
96
- git clone https://github.com/archcss-dev/archcss.git
52
+ pnpm run sass:watch
97
53
  ```
54
+ > Watch for SCSS file changes and rebuild automatically.
98
55
 
99
- You can also download [the latest release archive](https://github.com/archcss-dev/archcss/releases).
100
-
101
- ---
102
-
103
- ## Usage Examples
104
-
105
- ### 1. HTML with Utility Classes
56
+ ### Lint SCSS
57
+ ```bash
58
+ pnpm run sass:lint
59
+ ```
60
+ > Check Sass code style and errors using `stylelint`.
106
61
 
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>
62
+ ### Commit Before Release
63
+ ```bash
64
+ pnpm run commit
114
65
  ```
66
+ > Run Sass lint and build. Fails if linting fails.
115
67
 
116
- ### 2. Responsive Grid
68
+ ## Usage Example
117
69
 
70
+ ### Include CSS
118
71
  ```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>
72
+ <link rel="stylesheet" href="node_modules/archcss/dist/index.css">
124
73
  ```
125
74
 
126
- ### 3. DOM Plugin
75
+ The compiled `dist/index.css` already inlines the FontAwesome and Lucide
76
+ icon stylesheets and bundles the Google Fonts imports, so a single file is
77
+ enough. The icon font files ship under `dist/webfonts/` and are referenced
78
+ with paths relative to the stylesheet, so CSS and icon fonts work in the
79
+ browser and in bundlers (Next.js, Vite, webpack) without extra config.
127
80
 
128
- Use the included DOM plugin helpers in your scripts:
81
+ > If you only need part of it, the individual assets are available at
82
+ > `dist/webfonts/fontawesome/css/fontawessome.min.css` and
83
+ > `dist/webfonts/lucide/css/lucide.min.css`.
129
84
 
85
+ ### Use DOM Plugin (modals)
130
86
  ```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>
87
+ <button onclick="display('#modal-1')">Open Modal</button>
88
+ <div id="modal-1" class="hidden">Hello, I am modal</div>
143
89
  ```
144
90
 
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);
91
+ ```ts
92
+ import Modal from 'archcss/dist/js/plugin.js';
93
+ let modal = new Modal();
153
94
  ```
154
95
 
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
- ---
96
+ ## License
165
97
 
166
- ## Creator
98
+ This project is dual-licensed:
167
99
 
168
- **Beba Godfried A.**
169
- - GitHub: [@bebagodfried](https://github.com/bebagodfried)
170
- - Website: [https://archcss.com](https://archcss.com)
100
+ - **MIT**: applies to the compiled assets (`dist`)
101
+ - **MPL-2.0**: applies to the source code (`src/scss`, `src/ts`)
171
102
 
172
- ---
103
+ > You may use, modify, and redistribute freely. However, if you modify and distribute the **source code**, you must also publish your changes under the same MPL-2.0 license.
173
104
 
174
- ## License
105
+ This ensures the framework stays open and protected.
175
106
 
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/).
107
+ For licensing inquiries: **dev@archcss.com**
package/changelog DELETED
@@ -1,166 +0,0 @@
1
- # 3.0.0-beta.1
2
- **3.0.0-beta.1**
3
- **Full Changelog**: https://github.com/archcss-dev/archcss/compare/v2.0.0...v3.0.0-beta.1
4
-
5
- [css]
6
- - new modular SCSS architecture with separated layers (attribution, libs, config, utilities, base, elements, helpers)
7
- - new atomic mixin generation system (generate-utils, generate-state-utils, responsive-class, theme-colors)
8
- - new responsive pseudo-state variants for hover:, focus:, and active:
9
- - new equal-width CSS Grid columns grid-cols-<1..12> using repeat(n, 1fr)
10
- - new responsive auto-fill and auto-fit grid scales grid-fill-<100..300> and grid-fit-<100..300> (minmax in 20px steps)
11
- - new grid placement and alignment utilities (col-start-*, col-end-*, row-start-*, row-end-*, justify-items-*, justify-self-*)
12
- - new directional gradients .gradient-to-<side>-<color_1>-<color_2> for 8 directions
13
- - new radial gradients .gradient-radial-<color_1>-<color_2>
14
- - new rem-based positioning family inset-<0|x|y|t|r|b|l>-<value>
15
- - new alpha opacity utilities bg-<color>-alpha-<10..90> and text-<color>-alpha-<10..90>
16
- - new flex utilities flex-grow-<0|1> and flex-shrink-<0|1>
17
- - new form elements and classes (form-block, form-control, form-check, searchbox, checkbox)
18
-
19
- - add 3-color linear gradient support gradient-<color_1>-<color_2>-<color_3>
20
- - add half-step values to spacing scale
21
- - add base margin-auto utilities for all directions (m-auto, mx-auto, my-auto, mt-auto, mr-auto, mb-auto, ml-auto)
22
- - add pixel-based font scale font-<7..96> aligned with standard typography increments
23
- - add oblique font-style utility font-oblique
24
- - add invisible CSS watermark attribution tracking (css/attribution.css)
25
-
26
- - now support Lucide icon utilities and webfonts locally bundled under webfonts/lucide/
27
- - now support styling input[type=button/reset/submit] identically to <button>
28
- - now support bidirectional shade and tint generation via shade-or-tint() across all color utilities and states
29
- - now support universal border reset (border-width: 0; border-style: solid;) ensuring border width classes display properly
30
- - now support ui/style.css stylesheet entrypoint for CDN and bundler distribution
31
-
32
- - remove arch.dev.css and arch.min.css in favor of consolidated arch.css
33
- - remove external Google Fonts loading by default for offline-first performance
34
- - remove title-* font-size duplicates in favor of standardized fs-* and h1-h6 classes
35
-
36
- - update FontAwesome webfonts to local bundle under webfonts/fontawesome/
37
- - update Google Fonts location to webfonts/googleapis/
38
- - update gap utility naming from g-<n> to gap-<n>
39
- - update css/architect.css renamed to css/attribution.css
40
- - update headings h1 through h6 component styles and font-size utilities
41
- - update button and form controls spacing and alignment
42
-
43
- - replace .deleted invalid text-decoration keyword with standard line-through (aliasing .strike)
44
- - replace legacy js/dom.js with TypeScript-compiled js/plugin.js
45
-
46
- - fix to-rgba() percentage calculation ensuring bg-*-alpha-* utilities render with intended opacity
47
- - fix row-start-* and row-end-* grid utilities using line index instead of width percentage
48
- - fix shade/tint logic in hover:, focus:, and active: pseudo-variants for border, outline, link, and background
49
- - fix button :empty(*) selector to standard :empty
50
- - fix progress bar width mismatch caused by display: flex on <progress>
51
- - fix duplicate rounded-{side}-{radius} CSS rule emission
52
- - fix @keyframes glow values and turn fraction
53
- - fix divider and list-divider mixins setting height to border-style keyword
54
- - fix dead a:hover rule and LVHA link state ordering in base styles
55
- - fix duplicate $deep-purple color definition
56
- - fix fractional RGB channels produced by color mixing via channel rounding
57
-
58
- [js]
59
- - new unified DOM plugin (js/plugin.js) compiled from TypeScript (src/ts/plugin.ts)
60
- - new HttpRequest AJAX utility for XMLHttpRequest handling
61
- - new strcopy(text, callback) clipboard copy helper
62
- - new smooth navigation helper scroll_to(el, offset)
63
- - new event listener helper on(event, listener)
64
- - update display() to support element arrays (e.g. display(['#id1', '#id2']))
65
- - update hide() to support element arrays (e.g. hide(['#id1', '#id2']))
66
- - update toggle() for toggling visibility of single or multiple elements
67
- - update at_scroll() scroll position listener with element triggers
68
- - update global $_ getter and setter for document, BOM, and location properties
69
- - update frame modal, overlay, and pop-up controller
70
- - update framework version identification to v3.0.0-beta
71
-
72
- [webfonts]
73
- - add Lucide icon font family (webfonts/lucide/css/lucide.css, webfonts/lucide/css/lucide.min.css, webfonts/lucide/js/lucide.min.js)
74
- - add FontAwesome webfont assets (fa-brands-400, fa-regular-400, fa-solid-900, fa-v4compatibility in TTF and WOFF2)
75
- - update FontAwesome structure under webfonts/fontawesome/
76
- - update Google Fonts structure under webfonts/googleapis/
77
-
78
- # 2.1.0-preview
79
- [js]
80
- - prefer method `display()` instead of `pop()` for `frame` object
81
-
82
- # 2.0.1
83
- **2.0.1-beta-1**
84
- - fix shadow offset
85
- - fix transform `.scale-5` value
86
- - fix transform axis syntax
87
- - fix margin redundancy for `.m-audio`, `.m<axis>-auto`
88
- - fixed some latency by removing font libraries (@fontawesome & @googleapis) from `min` and `dev` files
89
- - update readme.md
90
-
91
- # 2.0.0
92
- [css]
93
- - new folders structure
94
- - new gradient synthax `gradient`-<color_1>-<color_2>-<color_3>
95
- - new radius synthax rounnded-<pill|full|1|2|3|4|5|6>
96
-
97
- - add 12 sass brand colors
98
- - add 3 elementor brand colors
99
- - add `scrollbar`-<0>
100
- - add `fancy` option as class for table
101
- - add `slate` color
102
- - add `font-style reset` by d-none
103
-
104
- - now support for flex order as [items-<order>] (from `1` to `12`)
105
- - now support auto color on simple brand class
106
- - now support auto uppercase and center for buttons
107
- - now support for elements visibility
108
- - now support <h1...6> `class` similar to heading title
109
-
110
- - remove `flex-span` class to [flexspan]
111
- - remove `bc`-<color> class to `brand-color`-<brand_name>-<color_number>
112
- - remove `border` as bordered class to `border`-<all>
113
- - remove `shadow` class to [box-shadow]
114
- - remove `rounded`-<sm|md|lg|xl>
115
- - remove shadow on `translate`-<top|left|bottom|right>
116
- - remove litterals gap (narrow, small, normal, large, wide)
117
-
118
- - update Font Awesome to 6.5.1
119
- - update generic `b` and `em` font-weight
120
- - update naming list-style-type as class
121
- - update `-row` elements (width: 100%)
122
- - update `-row` elements for mobile-first
123
- - update <hidden> class
124
- - update <divider> (add shadow, add opacity)
125
- - update <rounded> (now support from `1` to `12`px )
126
- - update `scrollbar` width to `3px`
127
- - update `grid` (gutter)
128
- - update `table` (width, padding) and `td`, `th` (border)
129
- - update `spacing` rest (apply to responsive)
130
- - update `positions` rest (apply to responsive)
131
- - update `spacing` (from .25rem to 3rem)
132
- - update `elements` weight (font-weight)
133
- - update `font-*` utility supported size from `7px` to `96px` as common word-processor
134
- - update global `font-size` for `h1` to `h6`
135
- - update global `font-size` classname `fs-`<size> instead of `font`-<size>
136
-
137
- - replace `flex`-<length> with `flexspan`-<length>
138
- - replace `flex-col-reverse` with [flex-column-reverse]
139
- - replace `flex flex-col-reverse` with [flex-column-reverse]
140
- - replace `flex flex-column` twith [flex-column]
141
- - replace `flex flex-row` with [flex-row] and fix items at position
142
- - replace `self`-<axis> with align-self-<axis> and (add flex: 1 !!!no more need `flexspan`/`flexspan-1`)
143
- - replace `translate-middle` with `translate-center`
144
-
145
- - fix row items position
146
- - fix margin auto property
147
- - fix padding auto property
148
- - fix/update @googleapis font
149
-
150
- [js]
151
- - update
152
- - remove history
153
- - splite GLOBALS ($_) in `getter` (get) & `setter` (set)
154
- - replace `DOM()` with `dom()`
155
- - remove attrib
156
- - replace `set_attrib()` to `set_attribute()`
157
- - update listener [on(event: string, listener: Function)]
158
- - update `display()` (now support `arrayList`) _eg: display(['#elementId1','#elementId2'])_
159
- - update `hide()` (now support `arrayList`) _eg: hide(['#elementId1','#elementId2'])_
160
- - remove `onClick()`, `onDblClick()`
161
- - replace `on_scroll()` to `at_scroll()` [on_scroll(el: string, add_list: Array<string>, rm_list: Array<string> = [], offset: number = 0)]
162
- - replace and update `popUp` to `pop` with frame object
163
- - add/update listener [scroll_to(el: string)]
164
-
165
- # 1.0.0
166
- **Full Changelog**: https://github.com/archcss-dev/archcss/commits/v1.0.0
package/index.js DELETED
@@ -1,16 +0,0 @@
1
- document.addEventListener('DOMContentLoaded', function () {
2
- // css
3
- var link = document.createElement('link');
4
- link.rel = 'stylesheet';
5
- link.type = 'text/css';
6
- link.href = 'https://cdn.jsdelivr.net/npm/archcss/ui/style.css';
7
- document.head.appendChild(link);
8
-
9
- // js
10
- var script = document.createElement('script');
11
- script.src = 'https://cdn.jsdelivr.net/npm/archcss/js/plugin.js';
12
- document.body.appendChild(script);
13
-
14
- });
15
-
16
- console.log("framework: archcss v3.0.0-beta.1\n\ngit\: https://github.com/archcss-dev/archcss.git")
package/license DELETED
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2023 Béba Godfried
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.
@@ -1,6 +0,0 @@
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
- */