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/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 buildStyles() {
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 minifyStyles() {
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 watchTask() {
21
- watch(['yumma-css/**/*.scss', '*.html'], series(buildStyles, minifyStyles));
20
+ function watchFiles() {
21
+ watch(['yumma-css/**/*.scss', '*.html'], series(standardFile, minifiedFile));
22
22
  }
23
23
 
24
- exports.buildStyles = buildStyles;
25
- exports.minifyStyles = minifyStyles;
26
- exports.watch = watchTask;
24
+ exports.standardFile = standardFile;
25
+ exports.minifiedFile = minifiedFile;
26
+ exports.watch = watchFiles;
27
27
 
28
- exports.default = series(buildStyles, minifyStyles, watchTask);
28
+ exports.default = series(standardFile, minifiedFile, watchFiles);
package/package.json CHANGED
@@ -1,28 +1,26 @@
1
1
  {
2
2
  "name": "yummacss",
3
- "version": "1.1.0",
4
- "description": "A CSS library for streamlined UI development.",
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
- "customization",
10
- "ux design",
11
- "css"
9
+ "css",
10
+ "css library",
11
+ "customization"
12
12
  ],
13
13
  "license": "MIT",
14
- "homepage": "https://yummacss.vercel.app/",
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
- "build": "gulp buildStyles",
20
- "minify": "gulp minifyStyles",
21
- "watch": "gulp watchTask",
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",
@@ -1,43 +1,62 @@
1
- /* Yumma CSS - https://yummacss.vercel.app/ */
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
- font-family: system-ui, sans-serif;
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
- a {
13
- color: inherit;
14
- text-decoration: none;
22
+ img,
23
+ picture,
24
+ video,
25
+ canvas,
26
+ svg {
27
+ display: block;
28
+ max-width: 100%;
15
29
  }
16
30
 
17
- hr {
18
- border: 0;
19
- border-top: 1px solid #efefef;
20
- margin: 1em 0;
31
+ input,
32
+ button,
33
+ textarea,
34
+ select {
35
+ font: inherit;
21
36
  }
22
37
 
23
- html {
24
- scroll-behavior: smooth;
38
+ p,
39
+ h1,
40
+ h2,
41
+ h3,
42
+ h4,
43
+ h5,
44
+ h6 {
45
+ overflow-wrap: break-word;
25
46
  }
26
47
 
27
- img,
28
- picture,
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
- ::before,
41
- ::after {
42
- box-sizing: border-box;
43
- }
58
+ hr {
59
+ border: 0;
60
+ margin: 1em 0;
61
+ border-top: $ym-colors-transparent;
62
+ }
@@ -1,5 +1,4 @@
1
- @each $k, $v in $base-colors {
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} {
@@ -1,19 +1,19 @@
1
1
  .ff-d {
2
- font-family: $base-system-fonts;
3
- font-weight: $base-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: $base-charter-fonts;
8
- font-weight: $base-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: $base-inter-fonts;
13
- font-weight: $base-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: $base-monospace-fonts;
18
- font-weight: $base-font-weight;
17
+ font-family: $yma-monospace-fonts;
18
+ font-weight: $yma-font-weight;
19
19
  }
@@ -15,4 +15,4 @@
15
15
  .row {
16
16
  display: flex;
17
17
  flex-flow: row wrap;
18
- }
18
+ }