nk_jtb 0.8.0 → 0.8.1

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/package.json CHANGED
@@ -1,32 +1,32 @@
1
1
  {
2
2
  "name": "nk_jtb",
3
3
  "description": "Yet another utility based framework.",
4
- "version": "0.8.0",
4
+ "version": "0.8.1",
5
5
  "repository": {
6
- "type": "git",
7
- "url": "https://github.com/naykel76/nk_jtb.git"
6
+ "type": "git",
7
+ "url": "https://github.com/naykel76/nk_jtb.git"
8
8
  },
9
9
  "private": false,
10
10
  "type": "module",
11
11
  "scripts": {
12
- "border": "sass --watch --no-source-map ./scss/utilities/_border.scss:dist/css/border.css",
13
- "flex": "sass --watch --no-source-map ./scss/utilities/_flex.scss:dist/css/flex.css",
14
- "grid": "sass --watch --no-source-map ./src/utilities/_grid.scss:dist/css/grid.css",
15
- "jtb": "sass --watch --no-source-map ./src/jtb.scss:dist/css/jtb.css",
16
- "play": "sass --watch --no-source-map ./src/play.scss:dist/css/play.css",
17
- "spacing": "sass --watch --no-source-map ./scss/utilities/_spacing.scss:dist/css/spacing.css",
18
- "theme": "sass --watch --no-source-map ./src/color/_themes.scss:dist/css/themes.css",
19
- "dev": "vite --open",
20
- "build": "vite build",
21
- "preview": "vite preview"
12
+ "border": "sass --watch --no-source-map ./scss/utilities/_border.scss:dist/css/border.css",
13
+ "flex": "sass --watch --no-source-map ./scss/utilities/_flex.scss:dist/css/flex.css",
14
+ "grid": "sass --watch --no-source-map ./src/utilities/_grid.scss:dist/css/grid.css",
15
+ "jtb": "sass --watch --no-source-map ./src/jtb.scss:dist/css/jtb.css",
16
+ "play": "sass --watch --no-source-map ./src/play.scss:dist/css/play.css",
17
+ "spacing": "sass --watch --no-source-map ./scss/utilities/_spacing.scss:dist/css/spacing.css",
18
+ "theme": "sass --watch --no-source-map ./src/color/_themes.scss:dist/css/themes.css",
19
+ "dev": "vite --open",
20
+ "build": "vite build",
21
+ "preview": "vite preview"
22
22
  },
23
23
  "devDependencies": {
24
- "@fullhuman/postcss-purgecss": "^5.0.0",
25
- "alpinejs": "^3.12",
26
- "autoprefixer": "^10.4.14",
27
- "postcss": "^8.4.24",
28
- "postcss-cli": "^10.1.0",
29
- "sass": "^1.60.0",
30
- "vite": "^4.2.1"
24
+ "@fullhuman/postcss-purgecss": "^5.0.0",
25
+ "alpinejs": "^3.12",
26
+ "autoprefixer": "^10.4.14",
27
+ "postcss": "^8.4.24",
28
+ "postcss-cli": "^10.1.0",
29
+ "sass": "^1.60.0",
30
+ "vite": "^4.2.1"
31
31
  }
32
- }
32
+ }
@@ -104,9 +104,9 @@ kbd,
104
104
  samp,
105
105
  pre {
106
106
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
107
- font-size: 1em;
107
+ font-size: 1rem;
108
108
  color: #f0506e;
109
- border-radius: 0.125rem;
109
+ border-radius: 0.25rem;
110
110
  }
111
111
 
112
112
  // 1. override highlightJS css
@@ -3,9 +3,11 @@
3
3
  // @import 'github-dark-dimmed';
4
4
 
5
5
  $pre-bg: #2a2c2d !default;
6
+ $pre-border-radius: 0.5rem !default;
6
7
 
7
8
  pre {
8
9
  background: $pre-bg;
10
+ border-radius: $pre-border-radius;
9
11
  }
10
12
 
11
13
  pre code.hljs {
@@ -12,6 +12,7 @@ $size-utilities: (
12
12
  "width": (
13
13
  "prefix": "w-",
14
14
  "values": (
15
+ auto: auto,
15
16
  fc: fit-content,
16
17
  full: 100%,
17
18
  screen: 100vw,
@@ -70,7 +71,7 @@ $size-utilities: (
70
71
  }
71
72
  }
72
73
 
73
- $rem-sizes: (0, 1, 1.5, 2, 3, 4, 5, 10, 12, 14, 16, 18, 20, 22, 24);
74
+ $rem-sizes: (0, 1, 1.5, 2, 3, 4, 5, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24);
74
75
  @include makeSizeUtilities($rem-sizes);
75
76
 
76
77
  $pixel-sizes: (16, 24, 32, 40, 64, 100, 150, 200, 300, 400, 600);
@@ -4,6 +4,12 @@
4
4
  @use "../mixins/responsiveClassCreators" as *;
5
5
  @use "../mixins/utilityClassCreators" as *;
6
6
 
7
+
8
+ // ------------------------------------------------------------------
9
+ // -- --
10
+ // ------------------------------------------------------------------
11
+
12
+
7
13
  $text-sizes: (2, 2.5, 3, 4);
8
14
 
9
15
  @include utilityClassesUnit(font-size, $text-sizes, "txt", "rem");