nk_jtb 0.9.1 → 0.9.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.
- package/package.json +4 -2
- package/src/_nk.scss +4 -0
- package/src/jtb_basic.scss +0 -7
- package/src/variables/_base.scss +7 -5
- package/vite.config.js +25 -25
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nk_jtb",
|
|
3
3
|
"description": "Yet another utility based framework.",
|
|
4
|
-
"version": "0.9.
|
|
4
|
+
"version": "0.9.2",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/naykel76/nk_jtb.git"
|
|
@@ -18,7 +18,9 @@
|
|
|
18
18
|
"spacing": "sass --watch --no-source-map ./scss/utilities/_spacing.scss:dist/css/spacing.css",
|
|
19
19
|
"theme": "sass --watch --no-source-map ./src/color/_themes.scss:dist/css/themes.css",
|
|
20
20
|
"dev": "vite --open",
|
|
21
|
-
"build": "
|
|
21
|
+
"build:jtb": "sass --style compressed --no-source-map ./src/jtb.scss:dist/jtb.min.css",
|
|
22
|
+
"build:jtb_basic": "sass --style compressed --no-source-map ./src/jtb_basic.scss:dist/jtb_basic.min.css",
|
|
23
|
+
"build": "vite build && npm run build:jtb && npm run build:jtb_basic",
|
|
22
24
|
"preview": "vite preview"
|
|
23
25
|
},
|
|
24
26
|
"devDependencies": {
|
package/src/_nk.scss
CHANGED
|
@@ -41,6 +41,10 @@ body {
|
|
|
41
41
|
// -- MARKDOWN --
|
|
42
42
|
// ==========================================================================
|
|
43
43
|
|
|
44
|
+
h2 code{
|
|
45
|
+
font-size: 0.9em;
|
|
46
|
+
}
|
|
47
|
+
|
|
44
48
|
%code {
|
|
45
49
|
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
|
46
50
|
color: #f0506e;
|
package/src/jtb_basic.scss
CHANGED
|
@@ -9,10 +9,3 @@
|
|
|
9
9
|
@forward "./utilities/padding";
|
|
10
10
|
@forward "./utilities/sizing";
|
|
11
11
|
@forward "./utilities/space";
|
|
12
|
-
|
|
13
|
-
// @forward "./utilities/border";
|
|
14
|
-
// @forward "./utilities/grid";
|
|
15
|
-
// @forward "./utilities/layout";
|
|
16
|
-
// @forward "./utilities/position";
|
|
17
|
-
// @forward "./utilities/typography";
|
|
18
|
-
// @forward "./utilities/visibility-display";
|
package/src/variables/_base.scss
CHANGED
|
@@ -79,10 +79,12 @@ $breakpoints-custom: () !default;
|
|
|
79
79
|
// merge together
|
|
80
80
|
$breakpoints: map-merge($breakpoints, $breakpoints-custom);
|
|
81
81
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
$
|
|
85
|
-
$
|
|
86
|
-
$
|
|
82
|
+
// breakpoints are use to specify the max-width of the container as well as
|
|
83
|
+
// the media query breakpoints.
|
|
84
|
+
$sm: map-get($breakpoints, sm) !default;
|
|
85
|
+
$md: map-get($breakpoints, md) !default;
|
|
86
|
+
$lg: map-get($breakpoints, lg) !default;
|
|
87
|
+
$xl: map-get($breakpoints, xl) !default;
|
|
88
|
+
$xxl: map-get($breakpoints, xxl) !default;
|
|
87
89
|
|
|
88
90
|
|
package/vite.config.js
CHANGED
|
@@ -4,29 +4,29 @@ import purgecss from '@fullhuman/postcss-purgecss';
|
|
|
4
4
|
|
|
5
5
|
export default defineConfig({
|
|
6
6
|
|
|
7
|
-
css: {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
}
|
|
7
|
+
// css: {
|
|
8
|
+
// postcss: {
|
|
9
|
+
// plugins: [
|
|
10
|
+
// autoprefixer({}),
|
|
11
|
+
// purgecss({
|
|
12
|
+
// content: ['./**/*.html'],
|
|
13
|
+
// // content: ['./index.html'],
|
|
14
|
+
// // blocklist: ['usedClass', /^nav-/],
|
|
15
|
+
// // https://github.com/FullHuman/purgecss/issues/978
|
|
16
|
+
// // safelist: {
|
|
17
|
+
// // standard: [/^\:has$/, /^\:is$/, /^\:not$/, /^\:where$/]
|
|
18
|
+
// // },
|
|
19
|
+
// // extractors: [
|
|
20
|
+
// // {
|
|
21
|
+
// // extractor: (content) => {
|
|
22
|
+
// // // fix for escaped prefixes (sm:, lg:, etc)
|
|
23
|
+
// // return content.match(/[A-Za-z0-9-_:\/]+/g) || []
|
|
24
|
+
// // },
|
|
25
|
+
// // extensions: ['css', 'html', 'vue'],
|
|
26
|
+
// // },
|
|
27
|
+
// // ],
|
|
28
|
+
// }),
|
|
29
|
+
// ],
|
|
30
|
+
// }
|
|
31
|
+
// }
|
|
32
32
|
})
|