bl-css 0.11.1 β 0.12.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/README.md +7 -14
- package/bin/sc.js +17 -1
- package/bl.css +24 -3
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,20 +1,13 @@
|
|
|
1
1
|
# bl CSS
|
|
2
|
-
A *
|
|
2
|
+
A *hackable*, **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
|
-
Currently its <6KB (Unminified, With Comments, and Readable)! exactly 5.
|
|
6
|
-
# 0.
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
This is the first *Named* update, the **Link&Button** update!!
|
|
10
|
-
## Classes
|
|
11
|
-
`.link`: Yeah, same thing, but updated to look more modern!
|
|
5
|
+
Currently its <6KB (Unminified, With Comments, and Readable)! exactly 5.83KB [from tooltilities.com](https://tooltilities.com/toolset/text-size-calculator)
|
|
6
|
+
# 0.12.0 - Release notes(by Dev)
|
|
7
|
+
## Cat hate clunky grey scrollbar
|
|
8
|
+
Clunky grey scrollbar is **Gone**, **Poof!**
|
|
12
9
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
`.btn`: A more themed alternative to .linkbtn
|
|
16
|
-
|
|
17
|
-
`.btn2`: secondary button, based on .btn
|
|
10
|
+
Now there is a better scrollbar. **a smooth purple scrollbar :P!** Invisible background means any background in the scrollbar! **:D**
|
|
18
11
|
|
|
19
12
|
## [Preview](https://fg-xd.github.io/bl-CSS)
|
|
20
13
|
# How to Change Accent Color?
|
|
@@ -59,4 +52,4 @@ Go to the official [GitHub repo releases](https://github.com/fg-xd/bl-CSS/releas
|
|
|
59
52
|
|
|
60
53
|
Have a Nice day Using it **:D**
|
|
61
54
|
|
|
62
|
-
Forever Free **:D**
|
|
55
|
+
Forever Free **:D**
|
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/bl.css
CHANGED
|
@@ -13,7 +13,29 @@
|
|
|
13
13
|
--_4: rgba(138, 43, 226, 0.4);
|
|
14
14
|
--_6: rgba(138, 43, 226, 0.6);
|
|
15
15
|
}
|
|
16
|
-
|
|
16
|
+
/* Cat hate clunky Scrollbar */
|
|
17
|
+
/* So here's a beautiful bl-css scrollbar!! (new) */
|
|
18
|
+
::-webkit-scrollbar{
|
|
19
|
+
width: 10px;
|
|
20
|
+
}
|
|
21
|
+
::-webkit-scrollbar-track{
|
|
22
|
+
background-color: transparent;
|
|
23
|
+
}
|
|
24
|
+
::-webkit-scrollbar-thumb{
|
|
25
|
+
background-color: var(--_6);
|
|
26
|
+
border-radius: 9999px;
|
|
27
|
+
/* Browser is dumb. not allow transition πΏ */
|
|
28
|
+
}
|
|
29
|
+
::-webkit-scrollbar-thumb:hover{
|
|
30
|
+
background-color: var(--_);
|
|
31
|
+
}
|
|
32
|
+
::-webkit-scrollbar-button{
|
|
33
|
+
display: none;
|
|
34
|
+
}
|
|
35
|
+
::-webkit-scrollbar-corner{
|
|
36
|
+
background-color: transparent;
|
|
37
|
+
}
|
|
38
|
+
/* πΈπΈ */
|
|
17
39
|
body{
|
|
18
40
|
background-color: black;
|
|
19
41
|
color: white;
|
|
@@ -230,7 +252,6 @@ body{
|
|
|
230
252
|
.label:focus-within{
|
|
231
253
|
color: var(--_);
|
|
232
254
|
}
|
|
233
|
-
/* navbar and splash screen! (New!) */
|
|
234
255
|
.hero{
|
|
235
256
|
height: 100vh;
|
|
236
257
|
display: flex;
|
|
@@ -275,4 +296,4 @@ body{
|
|
|
275
296
|
-webkit-text-stroke: 1px var(--_);
|
|
276
297
|
text-stroke: 1px var(--_);
|
|
277
298
|
}
|
|
278
|
-
}
|
|
299
|
+
}
|
package/package.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bl-css",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.12.0",
|
|
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"
|
|
8
8
|
},
|
|
9
|
-
"repository":
|
|
9
|
+
"repository":{
|
|
10
10
|
"type": "git",
|
|
11
11
|
"url": "https://github.com/fg-xd/bl-CSS.git"
|
|
12
12
|
},
|
|
13
13
|
"bin": {
|
|
14
14
|
"bl-css": "./bin/sc.js",
|
|
15
|
-
|
|
15
|
+
"bl": "./bin/sc.js"
|
|
16
16
|
},
|
|
17
17
|
"files": ["bl.css", "README.md", "sc.js"],
|
|
18
18
|
"exports": {
|