lism-css 0.8.0-rc.3 → 0.8.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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) Loos, Inc.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/bin/cli.mjs CHANGED
File without changes
package/package.json CHANGED
@@ -1,91 +1,91 @@
1
1
  {
2
- "name": "lism-css",
3
- "version": "0.8.0-rc.3",
4
- "description": "A layout-first CSS framework for websites.",
5
- "author": {
6
- "name": "ddryo",
7
- "url": "https://github.com/ddryo"
8
- },
9
- "license": "MIT",
10
- "keywords": [
11
- "css-framework",
12
- "astro-component",
13
- "react-component"
14
- ],
15
- "scripts": {
16
- "dev": "vite",
17
- "build": "vite build && pnpm build:css",
18
- "build:vite": "vite build",
19
- "build:css": "node bin/script-build-css.js",
20
- "lint": "pnpm lint:style",
21
- "lint:style": "stylelint '**/*.{css,scss}'",
22
- "preview": "vite preview"
23
- },
24
- "bin": {
25
- "lism-css": "./bin/cli.mjs"
26
- },
27
- "files": [
28
- "dist",
29
- "config",
30
- "config.js",
31
- "vite-plugin.js",
32
- "bin",
33
- "packages",
34
- "src/scss"
35
- ],
36
- "type": "module",
37
- "main": "./dist/index.js",
38
- "exports": {
39
- ".": "./dist/index.js",
40
- "./config.js": "./config.js",
41
- "./config": "./config/index.js",
42
- "./default-config": "./config/default-config.js",
43
- "./vite-plugin": "./vite-plugin.mjs",
44
- "./lib/*": "./dist/lib/*",
45
- "./bin/*": "./bin/*",
46
- "./react": {
47
- "import": "./dist/components/index.js",
48
- "types": "./dist/components/index.d.ts"
49
- },
50
- "./react/*": {
51
- "import": "./dist/components/*.js",
52
- "types": "./dist/components/*.d.ts"
53
- },
54
- "./next-js/*": "./packages/next-js/*",
55
- "./astro": {
56
- "import": "./packages/astro/index.js",
57
- "types": "./packages/types/index.d.ts"
58
- },
59
- "./astro/*": "./packages/astro/*",
60
- "./scss/*": "./src/scss/*",
61
- "./*.css": "./dist/css/*.css"
62
- },
63
- "homepage": "https://www.lism.style",
64
- "repository": {
65
- "type": "git",
66
- "url": "https://github.com/lism-css/lism-css/tree/main/packages/lism-css"
67
- },
68
- "bugs": {
69
- "url": "https://github.com/lism-css/lism-css/issues"
70
- },
71
- "devDependencies": {
72
- "@babel/cli": "^7.27.2",
73
- "@babel/core": "^7.27.3",
74
- "@babel/preset-env": "^7.27.2",
75
- "@babel/preset-react": "^7.27.1",
76
- "@rollup/plugin-babel": "^6.0.4",
77
- "@vitejs/plugin-react-swc": "^3.10.0",
78
- "glob": "^11.0.2",
79
- "rollup": "^4.41.1",
80
- "typescript": "~5.8.3",
81
- "unplugin-dts": "1.0.0-beta.6",
82
- "vite": "^6.3.5"
83
- },
84
- "peerDependencies": {
85
- "@types/react": "*",
86
- "@types/react-dom": "*",
87
- "react": "^18 || ^19",
88
- "react-dom": "^18 || ^19"
89
- },
90
- "sideEffects": false
91
- }
2
+ "name": "lism-css",
3
+ "version": "0.8.0",
4
+ "description": "A layout-first CSS framework for websites.",
5
+ "author": {
6
+ "name": "ddryo",
7
+ "url": "https://github.com/ddryo"
8
+ },
9
+ "license": "MIT",
10
+ "keywords": [
11
+ "css-framework",
12
+ "astro-component",
13
+ "react-component"
14
+ ],
15
+ "bin": {
16
+ "lism-css": "./bin/cli.mjs"
17
+ },
18
+ "files": [
19
+ "dist",
20
+ "config",
21
+ "config.js",
22
+ "vite-plugin.js",
23
+ "bin",
24
+ "packages",
25
+ "src/scss"
26
+ ],
27
+ "type": "module",
28
+ "main": "./dist/index.js",
29
+ "exports": {
30
+ ".": "./dist/index.js",
31
+ "./config.js": "./config.js",
32
+ "./config": "./config/index.js",
33
+ "./default-config": "./config/default-config.js",
34
+ "./vite-plugin": "./vite-plugin.mjs",
35
+ "./lib/*": "./dist/lib/*",
36
+ "./bin/*": "./bin/*",
37
+ "./react": {
38
+ "import": "./dist/components/index.js",
39
+ "types": "./dist/components/index.d.ts"
40
+ },
41
+ "./react/*": {
42
+ "import": "./dist/components/*.js",
43
+ "types": "./dist/components/*.d.ts"
44
+ },
45
+ "./next-js/*": "./packages/next-js/*",
46
+ "./astro": {
47
+ "import": "./packages/astro/index.js",
48
+ "types": "./packages/types/index.d.ts"
49
+ },
50
+ "./astro/*": "./packages/astro/*",
51
+ "./scss/*": "./src/scss/*",
52
+ "./*.css": "./dist/css/*.css"
53
+ },
54
+ "homepage": "https://www.lism.style",
55
+ "repository": {
56
+ "type": "git",
57
+ "url": "https://github.com/lism-css/lism-css/tree/main/packages/lism-css"
58
+ },
59
+ "bugs": {
60
+ "url": "https://github.com/lism-css/lism-css/issues"
61
+ },
62
+ "devDependencies": {
63
+ "@babel/cli": "^7.27.2",
64
+ "@babel/core": "^7.27.3",
65
+ "@babel/preset-env": "^7.27.2",
66
+ "@babel/preset-react": "^7.27.1",
67
+ "@rollup/plugin-babel": "^6.0.4",
68
+ "@vitejs/plugin-react-swc": "^3.10.0",
69
+ "glob": "^11.0.2",
70
+ "rollup": "^4.41.1",
71
+ "typescript": "~5.8.3",
72
+ "unplugin-dts": "1.0.0-beta.6",
73
+ "vite": "^6.3.5"
74
+ },
75
+ "peerDependencies": {
76
+ "@types/react": "*",
77
+ "@types/react-dom": "*",
78
+ "react": "^18 || ^19",
79
+ "react-dom": "^18 || ^19"
80
+ },
81
+ "sideEffects": false,
82
+ "scripts": {
83
+ "dev": "vite",
84
+ "build": "vite build && pnpm build:css",
85
+ "build:vite": "vite build",
86
+ "build:css": "node bin/script-build-css.js",
87
+ "lint": "pnpm lint:style",
88
+ "lint:style": "stylelint '**/*.{css,scss}'",
89
+ "preview": "vite preview"
90
+ }
91
+ }
@@ -103,7 +103,7 @@
103
103
  State Module用の初期値
104
104
  ------------------------------------------------------------ */
105
105
  // サイトコンテンツの左右につける余白
106
- --gutter-size: 1.5rem;
106
+ --gutter-size: var(--s30);
107
107
 
108
108
  // 縦書きモード
109
109
  --vertical-mode: vertical-rl;
@@ -38,7 +38,7 @@
38
38
  // font-family
39
39
  // ------------------------------
40
40
  // system-ui は 游ゴシックが適用されてしまう。-apple-system: safari, firefox用 / 'BlinkMacSystemFont': Chrome用
41
- --ff--base: -apple-system, 'BlinkMacSystemFont', sans-serif, 'Segoe UI Emoji';
41
+ --ff--base: -apple-system, 'BlinkMacSystemFont', 'Hiragino Sans', sans-serif, 'Segoe UI Emoji';
42
42
  --ff--accent: 'Garamond', 'Baskerville', 'Times New Roman', serif;
43
43
 
44
44
  // Mac: SFMono Menlo Monaco / Win: Consolas / Linux 'Liberation Mono'