bl-css 0.11.1 → 0.11.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 (3) hide show
  1. package/README.md +5 -10
  2. package/bin/sc.js +17 -1
  3. package/package.json +2 -2
package/README.md CHANGED
@@ -3,18 +3,13 @@ A *lightweight*, **blueviolet**, ***ultra lightweight*** CSS framework!
3
3
 
4
4
  bl-css is supposed to be a CSS framework that is Ultra Lightweight, even while being readable!
5
5
  Currently its <6KB (Unminified, With Comments, and Readable)! exactly 5.36KB [from tooltilities.com](https://tooltilities.com/toolset/text-size-calculator)
6
- # 0.11.1 - Release notes(by Dev)
7
- A yeah last version was actually 0.11.0, sorry for the error!
8
- ## What's New?
9
- This is the first *Named* update, the **Link&Button** update!!
10
- ## Classes
11
- `.link`: Yeah, same thing, but updated to look more modern!
6
+ # 0.11.2 - Release notes(by Dev)
7
+ ## THE CATS HAVE TAKEN OVER! (And its good :D)
8
+ So if Aliens are green, purple is the opposite, and purple is very near to blueviolet, so Cats are purple/blueviolet!
12
9
 
13
- `.linkbtn`: DELETED! switch to .btn or .btn2
10
+ The CLI is now even better (even if it does nothing new lol), you can request a feature in the [issues of github repo](https://github.com/fg-xd/bl-CSS/issues) and use `npx bl-css` to run it
14
11
 
15
- `.btn`: A more themed alternative to .linkbtn
16
-
17
- `.btn2`: secondary button, based on .btn
12
+ ### Note: This update is only for NPM (the CLI)
18
13
 
19
14
  ## [Preview](https://fg-xd.github.io/bl-CSS)
20
15
  # How to Change Accent Color?
package/bin/sc.js CHANGED
@@ -1,4 +1,13 @@
1
1
  #!/usr/bin/env node
2
+ function helpMenu(){
3
+ console.log('===== bl-css =====\n Usage: npx bl-css <flag>\n npx bl-css --help === show this menu\n npx bl-css --copy === copy bl.css from the alien trench to your beautiful website');
4
+ }
5
+ const arg = process.argv.slice(2);
6
+ if(arg.length === 0 || arg.includes('--help')){
7
+ helpMenu();
8
+ process.exit(0);
9
+ }
10
+ else if(arg.includes('--copy')){
2
11
  const fs = require('fs');
3
12
  const path = require('path');
4
13
  console.log("Extracting bl CSS...");
@@ -12,6 +21,13 @@ try {
12
21
  }
13
22
  catch (e) {
14
23
  console.log("The Alien has hidden the package!");
15
- console.log("run 'npm install bl-css' if you haven't yet")
24
+ console.log("run 'npm install bl-css' if you haven't yet");
16
25
  console.log("And don't you dare make it 'Global' bruh");
26
+ } process.exit(0);
27
+ }
28
+ else{
29
+ console.log("I hope you are not an alien!");
30
+ console.log("run 'npx bl-css' or 'npx bl-css --help to see the commands!'")
31
+ console.log("Cats hate Aliens >:(")
32
+ process.exit(1);
17
33
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bl-css",
3
- "version": "0.11.1",
4
- "description": "black - blueviolet lightweight CSS framework",
3
+ "version": "0.11.2",
4
+ "description": "Lightweight and Super Hackable CSS framework(by a Kid)",
5
5
  "main": "bl.css",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"