yummacss 1.1.0 → 1.2.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/CHANGELOG.md +38 -1
- package/README.md +8 -9
- package/dist/yumma.css +13643 -6408
- package/dist/yumma.min.css +1 -1
- package/gulpfile.js +8 -8
- package/package.json +9 -11
- package/yumma-css/_base.scss +41 -22
- package/yumma-css/_colors.scss +1 -3
- package/yumma-css/_fonts.scss +8 -8
- package/yumma-css/_layout.scss +1 -1
- package/yumma-css/_utils.scss +414 -356
- package/yumma-css/_variables.scss +76 -54
- package/yumma-css/components/_badge.scss +5 -5
- package/yumma-css/components/_button.scss +6 -17
- package/yumma-css/components/_card.scss +9 -9
- package/yumma-css/components/_navbar.scss +2 -4
- package/yumma-css/index.scss +1 -2
- package/yumma-css/_functions.scss +0 -5
package/gulpfile.js
CHANGED
|
@@ -3,26 +3,26 @@ const sass = require('gulp-sass')(require('sass'));
|
|
|
3
3
|
const clean = require('gulp-clean-css');
|
|
4
4
|
const rename = require('gulp-rename');
|
|
5
5
|
|
|
6
|
-
function
|
|
6
|
+
function standardFile() {
|
|
7
7
|
return src('yumma-css/**/*.scss')
|
|
8
8
|
.pipe(sass())
|
|
9
9
|
.pipe(rename('yumma.css'))
|
|
10
10
|
.pipe(dest('dist'));
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
function
|
|
13
|
+
function minifiedFile() {
|
|
14
14
|
return src('dist/yumma.css')
|
|
15
15
|
.pipe(clean())
|
|
16
16
|
.pipe(rename({ suffix: '.min' }))
|
|
17
17
|
.pipe(dest('dist'));
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
function
|
|
21
|
-
watch(['yumma-css/**/*.scss', '*.html'], series(
|
|
20
|
+
function watchFiles() {
|
|
21
|
+
watch(['yumma-css/**/*.scss', '*.html'], series(standardFile, minifiedFile));
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
exports.
|
|
25
|
-
exports.
|
|
26
|
-
exports.watch =
|
|
24
|
+
exports.standardFile = standardFile;
|
|
25
|
+
exports.minifiedFile = minifiedFile;
|
|
26
|
+
exports.watch = watchFiles;
|
|
27
27
|
|
|
28
|
-
exports.default = series(
|
|
28
|
+
exports.default = series(standardFile, minifiedFile, watchFiles);
|
package/package.json
CHANGED
|
@@ -1,28 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "yummacss",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "1.2.0",
|
|
4
|
+
"description": "Build beautiful websites with small class names.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"style": "dist/yumma.css",
|
|
7
7
|
"author": "Renildo Pereira",
|
|
8
8
|
"keywords": [
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"
|
|
9
|
+
"css",
|
|
10
|
+
"css library",
|
|
11
|
+
"customization"
|
|
12
12
|
],
|
|
13
13
|
"license": "MIT",
|
|
14
|
-
"homepage": "https://yummacss.
|
|
14
|
+
"homepage": "https://yummacss.com",
|
|
15
15
|
"bugs": {
|
|
16
16
|
"url": "https://github.com/yumma-lib/yumma-css/issues"
|
|
17
17
|
},
|
|
18
18
|
"scripts": {
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"watch": "gulp
|
|
22
|
-
"prod": "concurrently \"gulp buildStyles\" \"gulp minifyStyles\""
|
|
19
|
+
"std": "gulp standardFile",
|
|
20
|
+
"min": "gulp minifiedFile",
|
|
21
|
+
"watch": "gulp watchFiles"
|
|
23
22
|
},
|
|
24
23
|
"devDependencies": {
|
|
25
|
-
"concurrently": "^8.2.2",
|
|
26
24
|
"gulp": "^4.0.2",
|
|
27
25
|
"gulp-clean-css": "^4.3.0",
|
|
28
26
|
"gulp-copy": "^4.0.1",
|
package/yumma-css/_base.scss
CHANGED
|
@@ -1,43 +1,62 @@
|
|
|
1
|
-
/* Yumma CSS - https://yummacss.
|
|
1
|
+
/* Yumma CSS - https://yummacss.com */
|
|
2
|
+
|
|
3
|
+
*,
|
|
4
|
+
*::before,
|
|
5
|
+
*::after {
|
|
6
|
+
border-width: 0;
|
|
7
|
+
border-style: solid;
|
|
8
|
+
box-sizing: border-box;
|
|
9
|
+
}
|
|
10
|
+
|
|
2
11
|
* {
|
|
3
|
-
color: inherit;
|
|
4
12
|
margin: 0;
|
|
5
|
-
|
|
13
|
+
color: inherit;
|
|
14
|
+
font-family: $yma-system-fonts;
|
|
6
15
|
}
|
|
7
16
|
|
|
8
17
|
body {
|
|
18
|
+
line-height: 1.5;
|
|
9
19
|
font-family: inherit;
|
|
10
20
|
}
|
|
11
21
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
22
|
+
img,
|
|
23
|
+
picture,
|
|
24
|
+
video,
|
|
25
|
+
canvas,
|
|
26
|
+
svg {
|
|
27
|
+
display: block;
|
|
28
|
+
max-width: 100%;
|
|
15
29
|
}
|
|
16
30
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
31
|
+
input,
|
|
32
|
+
button,
|
|
33
|
+
textarea,
|
|
34
|
+
select {
|
|
35
|
+
font: inherit;
|
|
21
36
|
}
|
|
22
37
|
|
|
23
|
-
|
|
24
|
-
|
|
38
|
+
p,
|
|
39
|
+
h1,
|
|
40
|
+
h2,
|
|
41
|
+
h3,
|
|
42
|
+
h4,
|
|
43
|
+
h5,
|
|
44
|
+
h6 {
|
|
45
|
+
overflow-wrap: break-word;
|
|
25
46
|
}
|
|
26
47
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
svg,
|
|
30
|
-
video {
|
|
31
|
-
max-width: 100%;
|
|
32
|
-
display: block;
|
|
48
|
+
a {
|
|
49
|
+
text-decoration: none;
|
|
33
50
|
}
|
|
34
51
|
|
|
52
|
+
ol,
|
|
35
53
|
ul {
|
|
36
54
|
padding: 0;
|
|
37
55
|
list-style: none;
|
|
38
56
|
}
|
|
39
57
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
58
|
+
hr {
|
|
59
|
+
border: 0;
|
|
60
|
+
margin: 1em 0;
|
|
61
|
+
border-top: $ym-colors-transparent;
|
|
62
|
+
}
|
package/yumma-css/_colors.scss
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
@each $k, $v in $
|
|
2
|
-
|
|
1
|
+
@each $k, $v in $yma-colors {
|
|
3
2
|
// backgrounds
|
|
4
3
|
.bg-#{$k} {
|
|
5
4
|
background-color: $v;
|
|
@@ -115,7 +114,6 @@
|
|
|
115
114
|
}
|
|
116
115
|
|
|
117
116
|
@if ($v !=black and $v !=white) {
|
|
118
|
-
|
|
119
117
|
// light variations
|
|
120
118
|
@for $i from 1 through 6 {
|
|
121
119
|
.bg-l-#{$k}-#{$i} {
|
package/yumma-css/_fonts.scss
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
.ff-d {
|
|
2
|
-
font-family: $
|
|
3
|
-
font-weight: $
|
|
2
|
+
font-family: $yma-system-fonts;
|
|
3
|
+
font-weight: $yma-font-weight;
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
.ff-c {
|
|
7
|
-
font-family: $
|
|
8
|
-
font-weight: $
|
|
7
|
+
font-family: $yma-charter-fonts;
|
|
8
|
+
font-weight: $yma-font-weight;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
.ff-i {
|
|
12
|
-
font-family: $
|
|
13
|
-
font-weight: $
|
|
12
|
+
font-family: $yma-inter-fonts;
|
|
13
|
+
font-weight: $yma-font-weight;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
.ff-m {
|
|
17
|
-
font-family: $
|
|
18
|
-
font-weight: $
|
|
17
|
+
font-family: $yma-monospace-fonts;
|
|
18
|
+
font-weight: $yma-font-weight;
|
|
19
19
|
}
|
package/yumma-css/_layout.scss
CHANGED