@d-zero/scaffold 5.0.0-alpha.9 → 5.0.0-beta.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/.clineignore +6 -0
- package/.clinerules +17 -0
- package/.gitignore +12 -2
- package/.husky/pre-commit +1 -0
- package/.stylelintrc +26 -1
- package/.textlintignore +1 -0
- package/.textlintrc.js +9 -1
- package/.vscode/settings.json +3 -8
- package/.yarnrc.yml +3 -0
- package/CHANGELOG.md +251 -0
- package/__assets/_libs/.markuplintrc +1 -1
- package/__assets/_libs/component/bge-contents.css +7 -0
- package/__assets/_libs/component/{_c-card-list.scss → c-card-list.css} +2 -4
- package/__assets/_libs/component/c-card.css +104 -0
- package/__assets/_libs/component/c-content-index.css +8 -0
- package/__assets/_libs/component/{_c-content-main.scss → c-content-main.css} +55 -57
- package/__assets/_libs/component/c-footer.css +41 -0
- package/__assets/_libs/component/c-header.css +94 -0
- package/__assets/_libs/component/{_c-media-list.scss → c-media-list.css} +1 -3
- package/__assets/_libs/component/c-media.css +113 -0
- package/__assets/_libs/component/{_c-nav-breadcrumb.scss → c-nav-breadcrumb.css} +9 -11
- package/__assets/_libs/component/c-nav-global.css +115 -0
- package/__assets/_libs/component/{_c-nav-sitemap.scss → c-nav-sitemap.css} +27 -34
- package/__assets/_libs/component/c-page-home.css +43 -0
- package/__assets/_libs/component/c-page-sub.css +63 -0
- package/__assets/_libs/component/c-pagination.css +98 -0
- package/__assets/_libs/component/{_c-title-page.scss → c-title-page.css} +0 -2
- package/__assets/_libs/data/bge-blocks.html +2101 -0
- package/__assets/_libs/data/blocks.html +1 -31
- package/__assets/_libs/data/blocks.js +6 -0
- package/__assets/_libs/mixin/meta.pug +2 -2
- package/__assets/_libs/script/index.ts +3 -0
- package/__assets/_libs/style/base/root.css +83 -0
- package/__assets/_libs/style/general/{_all.scss → all.css} +0 -6
- package/__assets/_libs/style/general/{_body.scss → body.css} +1 -3
- package/__assets/_libs/style/general/{_button.scss → button.css} +0 -2
- package/__assets/_libs/style/general/{_img.scss → img.css} +0 -2
- package/__assets/htdocs/__tmpl/.markuplintrc +1 -1
- package/__assets/htdocs/__tmpl/000_home.pug +5 -5
- package/__assets/htdocs/__tmpl/100_sub.pug +7 -7
- package/__assets/htdocs/__tmpl/200_blog_index.pug +9 -9
- package/__assets/htdocs/__tmpl/210_blog_index.pug +9 -9
- package/__assets/htdocs/__tmpl/300_form_input.pug +8 -8
- package/__assets/htdocs/__tmpl/301_form_confirm.pug +21 -19
- package/__assets/htdocs/__tmpl/302_form_complete.pug +7 -7
- package/__assets/htdocs/__tmpl/index.pug +0 -6
- package/__assets/htdocs/css/bge_style.css +9 -0
- package/__assets/htdocs/css/style.css +23 -0
- package/__assets/htdocs/js/script.ts +3 -0
- package/__assets/htdocs/sub-folder.test/build.test.pug +9 -0
- package/__assets/htdocs/sub-folder.test/css/style.css +5 -0
- package/__assets/htdocs/sub-folder.test/index.pug +1 -1
- package/__assets/htdocs/sub-folder.test/js/script.ts +2 -0
- package/__info/print.txt +6 -0
- package/ai-tasks/create-component.md +127 -0
- package/ai-tasks/create-page.md +110 -0
- package/ai-tasks/page-to-burger.md +68 -0
- package/cspell.json +7 -1
- package/eleventy.config.mjs +65 -0
- package/eslint.config.js +19 -0
- package/lint-staged.config.mjs +10 -2
- package/markuplint.config.js +36 -0
- package/package.json +33 -24
- package/prh.yaml +3 -0
- package/tsconfig.json +1 -0
- package/.eslintrc.cjs +0 -3
- package/.markuplintrc +0 -3
- package/__assets/_libs/component/_c-card.scss +0 -106
- package/__assets/_libs/component/_c-content-index.scss +0 -8
- package/__assets/_libs/component/_c-footer.scss +0 -43
- package/__assets/_libs/component/_c-header.scss +0 -96
- package/__assets/_libs/component/_c-media.scss +0 -115
- package/__assets/_libs/component/_c-nav-global.scss +0 -117
- package/__assets/_libs/component/_c-page-home.scss +0 -45
- package/__assets/_libs/component/_c-page-sub.scss +0 -65
- package/__assets/_libs/component/_c-pagination.scss +0 -100
- package/__assets/_libs/data/blocks-burger.html +0 -4161
- package/__assets/_libs/data/blocks.cjs +0 -6
- package/__assets/_libs/style/base/_root.scss +0 -30
- package/__assets/_libs/style/theme/_color.scss +0 -4
- package/__assets/_libs/style/theme/_dimension.scss +0 -53
- package/__assets/_libs/style/theme/_font.scss +0 -2
- package/__assets/_libs/style/theme/_index.scss +0 -3
- package/__assets/htdocs/.eslintrc +0 -10
- package/__assets/htdocs/@static/empty +0 -0
- package/__assets/htdocs/@static/img/empty +0 -0
- package/__assets/htdocs/css/style.scss +0 -32
- package/__assets/htdocs/sub-folder.test/css/style.scss +0 -7
- package/__assets/htdocs/sub-folder.test/js/script.js +0 -9
- package/eleventy.config.cjs +0 -25
- /package/__assets/_libs/component/{_c-card.pug → c-card.pug} +0 -0
- /package/__assets/_libs/component/{_c-footer.pug → c-footer.pug} +0 -0
- /package/__assets/_libs/component/{_c-header.pug → c-header.pug} +0 -0
- /package/__assets/_libs/component/{_c-media.pug → c-media.pug} +0 -0
- /package/__assets/_libs/component/{_c-nav-breadcrumb.pug → c-nav-breadcrumb.pug} +0 -0
- /package/__assets/_libs/component/{_c-nav-global.pug → c-nav-global.pug} +0 -0
- /package/__assets/_libs/component/{_c-nav-sitemap.pug → c-nav-sitemap.pug} +0 -0
- /package/__assets/_libs/component/{_c-pagination.pug → c-pagination.pug} +0 -0
- /package/__assets/_libs/component/{_c-title-page.pug → c-title-page.pug} +0 -0
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
@use 'sass:math';
|
|
2
|
-
@use '../theme' as *;
|
|
3
|
-
|
|
4
|
-
:root {
|
|
5
|
-
// 配色
|
|
6
|
-
--base-font-color: #{$darkest-color};
|
|
7
|
-
--base-font-size: #{$base-font-size * 1px};
|
|
8
|
-
--base-line-height: #{$base-line-height};
|
|
9
|
-
--border-color: #{$darkest-color};
|
|
10
|
-
|
|
11
|
-
// コンテンツ幅
|
|
12
|
-
--content-width: #{math.div($breakpoint-sm, $base-font-size) * 1rem};
|
|
13
|
-
--wide-layout-width: #{math.div($breakpoint-md, $base-font-size) * 1rem};
|
|
14
|
-
|
|
15
|
-
// フォントファミリー
|
|
16
|
-
--font-family-body: #{$font-family-body};
|
|
17
|
-
--font-family-heading: #{$font-family-heading};
|
|
18
|
-
|
|
19
|
-
// 見出し調和数列スケーリング
|
|
20
|
-
// @see https://standard.shiftbrain.com/blog/music-math-typography
|
|
21
|
-
--font-size-h1: calc(1em * 8 / 2);
|
|
22
|
-
--font-size-h2: calc(1em * 8 / 3);
|
|
23
|
-
--font-size-h3: calc(1em * 8 / 4);
|
|
24
|
-
--font-size-h4: calc(1em * 8 / 5);
|
|
25
|
-
--font-size-h5: calc(1em * 8 / 6);
|
|
26
|
-
--font-size-h6: calc(1em * 8 / 7);
|
|
27
|
-
|
|
28
|
-
// 定義
|
|
29
|
-
font-size: var(--base-font-size);
|
|
30
|
-
}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
// # タイポグラフィ
|
|
2
|
-
// @see https://techblog.yahoo.co.jp/entry/2023052430423559/
|
|
3
|
-
$base-font-size: 17;
|
|
4
|
-
$base-line-height: 1.8;
|
|
5
|
-
|
|
6
|
-
// # 寸法
|
|
7
|
-
//
|
|
8
|
-
$breakpoint-xs: 576;
|
|
9
|
-
$breakpoint-sm: 768;
|
|
10
|
-
$breakpoint-md: 992;
|
|
11
|
-
$breakpoint-lg: 1200;
|
|
12
|
-
|
|
13
|
-
// xsのみ
|
|
14
|
-
@custom-media --xs (max-width: #{$breakpoint-xs * 1px});
|
|
15
|
-
|
|
16
|
-
// smのみ
|
|
17
|
-
@custom-media --sm (min-width: #{$breakpoint-xs * 1px}) and (max-width: #{$breakpoint-sm * 1px - 1px});
|
|
18
|
-
|
|
19
|
-
// mdのみ
|
|
20
|
-
@custom-media --md (min-width: #{$breakpoint-sm * 1px}) and (max-width: #{$breakpoint-md * 1px - 1px});
|
|
21
|
-
|
|
22
|
-
// lgのみ
|
|
23
|
-
@custom-media --lg (min-width: #{$breakpoint-md * 1px}) and (max-width: #{$breakpoint-lg * 1px - 1px});
|
|
24
|
-
|
|
25
|
-
// xlのみ
|
|
26
|
-
@custom-media --xl (min-width: #{$breakpoint-lg * 1px});
|
|
27
|
-
|
|
28
|
-
// xs以下 = xsのみ
|
|
29
|
-
@custom-media --xs-lte (max-width: #{$breakpoint-xs * 1px - 1px});
|
|
30
|
-
|
|
31
|
-
// sm以下
|
|
32
|
-
@custom-media --sm-lte (max-width: #{$breakpoint-sm * 1px - 1px});
|
|
33
|
-
|
|
34
|
-
// md以下
|
|
35
|
-
@custom-media --md-lte (max-width: #{$breakpoint-md * 1px - 1px});
|
|
36
|
-
|
|
37
|
-
// lg以下
|
|
38
|
-
@custom-media --lg-lte (max-width: #{$breakpoint-lg * 1px - 1px});
|
|
39
|
-
|
|
40
|
-
// xs超え
|
|
41
|
-
@custom-media --xs-gt (min-width: #{$breakpoint-xs * 1px});
|
|
42
|
-
|
|
43
|
-
// sm超え
|
|
44
|
-
@custom-media --sm-gt (min-width: #{$breakpoint-sm * 1px});
|
|
45
|
-
|
|
46
|
-
// md超え
|
|
47
|
-
@custom-media --md-gt (min-width: #{$breakpoint-md * 1px});
|
|
48
|
-
|
|
49
|
-
// lg超え
|
|
50
|
-
@custom-media --lg-gt (min-width: #{$breakpoint-lg * 1px});
|
|
51
|
-
|
|
52
|
-
// high resolution
|
|
53
|
-
@custom-media --hr (min-resolution: 2dppx);
|
|
File without changes
|
|
File without changes
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
@import 'ress' layer(reset);
|
|
2
|
-
|
|
3
|
-
@layer base {
|
|
4
|
-
@import '@/style/base/_root.scss';
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
@layer general {
|
|
8
|
-
@import '@/style/general/_all.scss';
|
|
9
|
-
@import '@/style/general/_body.scss';
|
|
10
|
-
@import '@/style/general/_button.scss';
|
|
11
|
-
@import '@/style/general/_img.scss';
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
@layer components {
|
|
15
|
-
@import '@/component/_c-page-home.scss';
|
|
16
|
-
@import '@/component/_c-page-sub.scss';
|
|
17
|
-
@import '@/component/_c-header.scss';
|
|
18
|
-
@import '@/component/_c-footer.scss';
|
|
19
|
-
@import '@/component/_c-nav-global.scss';
|
|
20
|
-
@import '@/component/_c-nav-sitemap.scss';
|
|
21
|
-
@import '@/component/_c-nav-breadcrumb.scss';
|
|
22
|
-
@import '@/component/_c-title-page.scss';
|
|
23
|
-
@import '@/component/_c-pagination.scss';
|
|
24
|
-
@import '@/component/_c-card-list.scss';
|
|
25
|
-
@import '@/component/_c-card.scss';
|
|
26
|
-
@import '@/component/_c-media-list.scss';
|
|
27
|
-
@import '@/component/_c-media.scss';
|
|
28
|
-
@import '@/component/_c-content-index.scss';
|
|
29
|
-
@import '@/component/_c-content-main.scss';
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
@layer reset, base, general, components;
|
package/eleventy.config.cjs
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
const path = require('node:path');
|
|
2
|
-
|
|
3
|
-
const eleventy = require('@d-zero/builder/11ty');
|
|
4
|
-
|
|
5
|
-
module.exports = function (eleventyConfig) {
|
|
6
|
-
// eleventyConfig.addGlobalData('publicDir', '@static');
|
|
7
|
-
|
|
8
|
-
eleventyConfig.addGlobalData('alias', {
|
|
9
|
-
'@': path.resolve(__dirname, '__assets', '_libs'),
|
|
10
|
-
});
|
|
11
|
-
|
|
12
|
-
eleventyConfig.setPugOptions({
|
|
13
|
-
basedir: path.resolve(__dirname, '__assets', '_libs'),
|
|
14
|
-
});
|
|
15
|
-
|
|
16
|
-
if (process.env.NODE_ENV === 'production') {
|
|
17
|
-
eleventyConfig.addGlobalData('prettier', true);
|
|
18
|
-
// eleventyConfig.addGlobalData('minifier', { minifyJS: false });
|
|
19
|
-
// eleventyConfig.addGlobalData('lineBreak', '\r\n');
|
|
20
|
-
// eleventyConfig.addGlobalData('charset', 'shift_jis');
|
|
21
|
-
// eleventyConfig.addGlobalData('pathFormat', 'preserve');
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
return eleventy(eleventyConfig);
|
|
25
|
-
};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|