lism-css 0.13.1 → 0.14.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/config/defaults/props.ts +8 -7
- package/config/defaults/tokens.ts +1 -1
- package/config/defaults/traits.ts +0 -1
- package/dist/components/Dummy/Dummy.d.ts +1 -1
- package/dist/components/Lism/Lism.stories.d.ts +1 -2
- package/dist/components/atomic/Decorator/Decorator.d.ts +0 -2
- package/dist/components/atomic/Icon/getProps.d.ts +1 -1
- package/dist/components/atomic/Icon/getProps.js +37 -37
- package/dist/components/index.d.ts +1 -1
- package/dist/config/default-config.d.ts +13 -9
- package/dist/config/defaults/props.d.ts +12 -7
- package/dist/config/defaults/props.js +10 -9
- package/dist/config/defaults/tokens.d.ts +1 -1
- package/dist/config/defaults/tokens.js +1 -1
- package/dist/config/defaults/traits.d.ts +0 -1
- package/dist/config/defaults/traits.js +3 -4
- package/dist/config/index.d.ts +26 -18
- package/dist/css/base/set.css +1 -1
- package/dist/css/base.css +1 -1
- package/dist/css/main.css +1 -1
- package/dist/css/main_no_layer.css +1 -1
- package/dist/css/primitives/layout.css +1 -1
- package/dist/css/primitives/trait.css +1 -1
- package/dist/css/props.css +1 -1
- package/dist/lib/getAtomicProps.d.ts +0 -3
- package/dist/lib/getAtomicProps.js +16 -18
- package/dist/lib/getLayoutProps.d.ts +0 -1
- package/dist/lib/getLismProps.d.ts +0 -3
- package/dist/lib/getLismProps.js +89 -106
- package/dist/lib/getMaybeTokenValue.js +20 -20
- package/dist/lib/types/AtomicProps.d.ts +0 -2
- package/dist/lib/types/TraitProps.d.ts +1 -1
- package/package.json +1 -1
- package/packages/astro/Dummy/Dummy.astro +1 -1
- package/packages/astro/index.ts +1 -1
- package/src/scss/_prop-config.scss +13 -6
- package/src/scss/base/_html.scss +1 -1
- package/src/scss/base/set/_bp.scss +2 -2
- package/src/scss/base/set/index.scss +1 -1
- package/src/scss/base/tokens/_tokens.scss +6 -7
- package/src/scss/primitives/layout/_fluidCols.scss +1 -1
- package/src/scss/primitives/layout/_sideMain.scss +1 -1
- package/src/scss/primitives/trait/index.scss +0 -1
- package/src/scss/primitives/trait/_vertical.scss +0 -9
package/dist/lib/getLismProps.js
CHANGED
|
@@ -1,144 +1,127 @@
|
|
|
1
|
-
import { TRAITS as
|
|
1
|
+
import { TRAITS as C, PROPS as d } from "../config/index.js";
|
|
2
2
|
import E from "./getLayoutProps.js";
|
|
3
3
|
import V from "./getAtomicProps.js";
|
|
4
|
-
import
|
|
4
|
+
import P from "./isPresetValue.js";
|
|
5
5
|
import x from "./isTokenValue.js";
|
|
6
|
-
import
|
|
7
|
-
import
|
|
6
|
+
import S from "./getUtilKey.js";
|
|
7
|
+
import u from "./getMaybeCssVar.js";
|
|
8
8
|
import w from "./getBpData.js";
|
|
9
9
|
import A from "./helper/atts.js";
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
const
|
|
15
|
-
const
|
|
16
|
-
return
|
|
10
|
+
import _ from "./helper/isEmptyObj.js";
|
|
11
|
+
import p from "./helper/filterEmptyObj.js";
|
|
12
|
+
import b from "./helper/mergeSet.js";
|
|
13
|
+
import U from "./helper/splitWithComma.js";
|
|
14
|
+
const z = (n) => {
|
|
15
|
+
const i = d[n];
|
|
16
|
+
return i && i?.token || "";
|
|
17
17
|
};
|
|
18
|
-
|
|
19
|
-
if (!o) return "";
|
|
20
|
-
if (!s) return o;
|
|
21
|
-
const t = o.split(" ")[0];
|
|
22
|
-
return `${o} ${t}--${s}`;
|
|
23
|
-
}
|
|
24
|
-
class T {
|
|
18
|
+
class L {
|
|
25
19
|
// 最終出力 className
|
|
26
20
|
className = "";
|
|
27
|
-
// 出力順のためのクラスバケット: [
|
|
28
|
-
// - lismClass : c--* 基底クラス(variant BEM 展開の対象)
|
|
21
|
+
// 出力順のためのクラスバケット: [primitiveClass] [uClasses]
|
|
29
22
|
// - primitiveClass : a--* / l--* / is--* の primitive クラス(getAtomicProps → getLayoutProps → analyzeTrait の順で push)
|
|
30
23
|
// - uClasses : set--* → u--* → -property の順で push される utility クラス
|
|
31
|
-
lismClass = "";
|
|
32
24
|
primitiveClass = [];
|
|
33
25
|
uClasses = [];
|
|
34
26
|
styles = {};
|
|
35
27
|
attrs = {};
|
|
36
28
|
_propConfig;
|
|
37
|
-
constructor(
|
|
38
|
-
const {
|
|
39
|
-
|
|
40
|
-
class: i,
|
|
41
|
-
className: e,
|
|
42
|
-
lismClass: l,
|
|
43
|
-
primitiveClass: r,
|
|
44
|
-
variant: n,
|
|
45
|
-
style: c = {},
|
|
46
|
-
_propConfig: d = {},
|
|
47
|
-
...a
|
|
48
|
-
} = s;
|
|
49
|
-
this.styles = { ...c }, this._propConfig = { ...d }, this.lismClass = z(l, n), r && r.length && (this.primitiveClass = [...r]), L(a) || (this.attrs = { ...a }, this.analyzeProps()), t && (this.attrs.ref = t), this.className = this.buildClassName(e, i);
|
|
29
|
+
constructor(i) {
|
|
30
|
+
const { forwardedRef: t, class: s, className: e, primitiveClass: l, style: r = {}, _propConfig: o = {}, ...c } = i;
|
|
31
|
+
this.styles = { ...r }, this._propConfig = { ...o }, l && l.length && (this.primitiveClass = [...l]), _(c) || (this.attrs = { ...c }, this.analyzeProps()), t && (this.attrs.ref = t), this.className = this.buildClassName(e, s);
|
|
50
32
|
}
|
|
51
33
|
// 最終クラス文字列の組み立て(出力順の唯一の確定地点)
|
|
52
|
-
// 出力順: [
|
|
53
|
-
|
|
54
|
-
|
|
34
|
+
// 出力順: [className&class] [primitiveClass] [uClasses]
|
|
35
|
+
// className と class が両方来た場合は両方マージする(atts 内で重複は除去される)。
|
|
36
|
+
buildClassName(i, t) {
|
|
37
|
+
return A(i, t, this.primitiveClass, this.uClasses);
|
|
55
38
|
}
|
|
56
|
-
analyzeTrait(
|
|
57
|
-
const { className:
|
|
58
|
-
t === !0 ? this.primitiveClass.push(
|
|
39
|
+
analyzeTrait(i, t) {
|
|
40
|
+
const { className: s, preset: e, presetClass: l, customVar: r, tokenKey: o } = i;
|
|
41
|
+
t === !0 ? this.primitiveClass.push(s) : e && P(e, t) ? this.primitiveClass.push(`${s} ${l}:${String(t)}`) : t && (this.primitiveClass.push(s), o && r && this.addStyle(r, u(t, o)));
|
|
59
42
|
}
|
|
60
43
|
// prop解析
|
|
61
44
|
analyzeProps() {
|
|
62
|
-
const
|
|
63
|
-
|
|
64
|
-
if (Object.hasOwn(
|
|
65
|
-
const e = this.extractProp(
|
|
45
|
+
const i = this.extractProp("set"), t = this.extractProp("util");
|
|
46
|
+
b(void 0, i).forEach((s) => this.addUtil(`set--${s}`)), b(void 0, t).forEach((s) => this.addUtil(`u--${s}`)), Object.keys(this.attrs).forEach((s) => {
|
|
47
|
+
if (Object.hasOwn(C, s)) {
|
|
48
|
+
const e = this.extractProp(s), l = C[s];
|
|
66
49
|
typeof l == "string" ? e && this.primitiveClass.push(l) : this.analyzeTrait(l, e);
|
|
67
|
-
} else if (Object.hasOwn(
|
|
68
|
-
const e = this.attrs[
|
|
69
|
-
delete this.attrs[
|
|
70
|
-
} else if (
|
|
71
|
-
const e = this.extractProp(
|
|
50
|
+
} else if (Object.hasOwn(d, s)) {
|
|
51
|
+
const e = this.attrs[s];
|
|
52
|
+
delete this.attrs[s], this.analyzeLismProp(s, e);
|
|
53
|
+
} else if (s === "hov") {
|
|
54
|
+
const e = this.extractProp(s);
|
|
72
55
|
this.setHovProps(e);
|
|
73
|
-
} else if (
|
|
56
|
+
} else if (s === "css") {
|
|
74
57
|
const e = this.extractProp("css");
|
|
75
58
|
this.addStyles(e);
|
|
76
59
|
}
|
|
77
60
|
});
|
|
78
61
|
}
|
|
79
62
|
// Lism Prop 解析
|
|
80
|
-
analyzeLismProp(
|
|
63
|
+
analyzeLismProp(i, t) {
|
|
81
64
|
if (t == null) return;
|
|
82
|
-
let
|
|
83
|
-
if (
|
|
84
|
-
this._propConfig?.[
|
|
65
|
+
let s = d[i] || null;
|
|
66
|
+
if (s === null) return;
|
|
67
|
+
this._propConfig?.[i] && (s = Object.assign({}, s, this._propConfig[i]));
|
|
85
68
|
const { base: e, ...l } = w(t);
|
|
86
|
-
this.setAttrs(
|
|
87
|
-
|
|
69
|
+
this.setAttrs(i, e, s), Object.keys(l).forEach((r) => {
|
|
70
|
+
s && this.setAttrs(i, l[r], s, r);
|
|
88
71
|
});
|
|
89
72
|
}
|
|
90
|
-
addUtil(
|
|
91
|
-
this.uClasses.push(
|
|
73
|
+
addUtil(i) {
|
|
74
|
+
this.uClasses.push(i);
|
|
92
75
|
}
|
|
93
|
-
addUtils(
|
|
94
|
-
this.uClasses.push(...
|
|
76
|
+
addUtils(i) {
|
|
77
|
+
this.uClasses.push(...i);
|
|
95
78
|
}
|
|
96
79
|
// addState(state) {
|
|
97
80
|
// this.stateClasses.push(state);
|
|
98
81
|
// }
|
|
99
|
-
addStyle(
|
|
100
|
-
this.styles[
|
|
82
|
+
addStyle(i, t) {
|
|
83
|
+
this.styles[i] = t;
|
|
101
84
|
}
|
|
102
|
-
addStyles(
|
|
103
|
-
this.styles = { ...this.styles, ...
|
|
85
|
+
addStyles(i) {
|
|
86
|
+
this.styles = { ...this.styles, ...i };
|
|
104
87
|
}
|
|
105
|
-
addAttrs(
|
|
106
|
-
this.addStyles(
|
|
88
|
+
addAttrs(i) {
|
|
89
|
+
this.addStyles(i.styles || {}), this.addUtils(i.utils || []);
|
|
107
90
|
}
|
|
108
|
-
extractProp(
|
|
109
|
-
const t = this.attrs[
|
|
110
|
-
return this.attrs[
|
|
91
|
+
extractProp(i) {
|
|
92
|
+
const t = this.attrs[i];
|
|
93
|
+
return this.attrs[i] === void 0 ? null : (delete this.attrs[i], t);
|
|
111
94
|
}
|
|
112
|
-
extractProps(
|
|
95
|
+
extractProps(i) {
|
|
113
96
|
const t = {};
|
|
114
|
-
return
|
|
115
|
-
this.attrs[
|
|
97
|
+
return i.forEach((s) => {
|
|
98
|
+
this.attrs[s] !== void 0 && (t[s] = this.attrs[s], delete this.attrs[s]);
|
|
116
99
|
}), t;
|
|
117
100
|
}
|
|
118
101
|
// utilクラスを追加するか、styleにセットするかの分岐処理 @base
|
|
119
102
|
// 値が null, undefined, '', false の時はスキップ
|
|
120
|
-
setAttrs(
|
|
103
|
+
setAttrs(i, t, s = {}, e = "") {
|
|
121
104
|
if (t == null || t === "" || t === !1) return;
|
|
122
|
-
let l = `--${
|
|
123
|
-
if (e && (l = `--${
|
|
105
|
+
let l = `--${i}`, r = `-${String(s.utilKey || i)}`;
|
|
106
|
+
if (e && (l = `--${i}_${e}`, r += `_${e}`), typeof t == "string" && t.startsWith(":")) {
|
|
124
107
|
this.addUtil(`${r}:${t.replace(":", "")}`);
|
|
125
108
|
return;
|
|
126
109
|
}
|
|
127
110
|
if (!e) {
|
|
128
|
-
const { presets:
|
|
129
|
-
if (
|
|
130
|
-
const
|
|
131
|
-
|
|
111
|
+
const { presets: m, tokenClass: j, utils: g, shorthands: $ } = s;
|
|
112
|
+
if (m && P(m, t)) {
|
|
113
|
+
const h = typeof t == "string" || typeof t == "number" ? String(t) : "";
|
|
114
|
+
h && this.addUtil(`${r}:${h}`);
|
|
132
115
|
return;
|
|
133
116
|
}
|
|
134
|
-
if (j &&
|
|
135
|
-
const
|
|
136
|
-
|
|
117
|
+
if (j && s.token && x(s.token, t)) {
|
|
118
|
+
const h = typeof t == "string" || typeof t == "number" ? String(t) : "";
|
|
119
|
+
h && this.addUtil(`${r}:${h}`);
|
|
137
120
|
return;
|
|
138
121
|
}
|
|
139
|
-
let
|
|
140
|
-
if (
|
|
141
|
-
this.addUtil(`${r}:${
|
|
122
|
+
let a = "";
|
|
123
|
+
if (g && typeof t == "string" && (a = S(g, t)), !a && $ && typeof t == "string" && (a = S($, t, !0)), a) {
|
|
124
|
+
this.addUtil(`${r}:${a}`);
|
|
142
125
|
return;
|
|
143
126
|
}
|
|
144
127
|
}
|
|
@@ -146,14 +129,14 @@ class T {
|
|
|
146
129
|
this.addUtil(r);
|
|
147
130
|
return;
|
|
148
131
|
}
|
|
149
|
-
const { prop:
|
|
132
|
+
const { prop: o, isVar: c, alwaysVar: O, token: y, bp: k } = s;
|
|
150
133
|
let f;
|
|
151
|
-
if (
|
|
134
|
+
if (y && (typeof t == "string" || typeof t == "number") ? f = u(t, y) : typeof t == "string" || typeof t == "number" ? f = t : f = JSON.stringify(t), !e) {
|
|
152
135
|
if (c) {
|
|
153
|
-
this.addStyle(`--${
|
|
136
|
+
this.addStyle(`--${i}`, f);
|
|
154
137
|
return;
|
|
155
|
-
} else if (!k && !
|
|
156
|
-
this.addStyle(
|
|
138
|
+
} else if (!k && !O) {
|
|
139
|
+
this.addStyle(o, f);
|
|
157
140
|
return;
|
|
158
141
|
}
|
|
159
142
|
}
|
|
@@ -172,40 +155,40 @@ class T {
|
|
|
172
155
|
// this.addStyle(`--pass_${propName}`, value);
|
|
173
156
|
// });
|
|
174
157
|
// }
|
|
175
|
-
setHovProps(
|
|
176
|
-
|
|
158
|
+
setHovProps(i) {
|
|
159
|
+
i && (i === "-" || i === !0 ? this.addUtil("-hov") : typeof i == "string" ? U(i).forEach((t) => {
|
|
177
160
|
this.addUtil(`-hov:${t}`);
|
|
178
|
-
}) : typeof
|
|
179
|
-
const
|
|
180
|
-
if (!(
|
|
181
|
-
if (
|
|
161
|
+
}) : typeof i == "object" && Object.keys(i).forEach((t) => {
|
|
162
|
+
const s = i[t];
|
|
163
|
+
if (!(s == null || s === "" || s === !1)) {
|
|
164
|
+
if (s === "-" || s === !0)
|
|
182
165
|
this.addUtil(`-hov:${t}`);
|
|
183
166
|
else if (t === "class")
|
|
184
|
-
|
|
167
|
+
U(s).forEach((e) => {
|
|
185
168
|
this.addUtil(`-hov:${e}`);
|
|
186
169
|
});
|
|
187
|
-
else if (typeof
|
|
188
|
-
const e =
|
|
170
|
+
else if (typeof s == "string" || typeof s == "number") {
|
|
171
|
+
const e = u(s, z(t));
|
|
189
172
|
this.addUtil(`-hov:${t}`), this.addStyle(`--hov-${t}`, e);
|
|
190
173
|
}
|
|
191
174
|
}
|
|
192
175
|
}));
|
|
193
176
|
}
|
|
194
177
|
}
|
|
195
|
-
function
|
|
196
|
-
if (Object.keys(
|
|
178
|
+
function Y(n) {
|
|
179
|
+
if (Object.keys(n).length === 0)
|
|
197
180
|
return {};
|
|
198
|
-
const { atomic:
|
|
181
|
+
const { atomic: i, layout: t, ...s } = n, e = V(i, s), l = E(t, e), r = new L(l);
|
|
199
182
|
return {
|
|
200
|
-
...
|
|
183
|
+
...p({
|
|
201
184
|
className: r.className,
|
|
202
|
-
style:
|
|
185
|
+
style: p(r.styles)
|
|
203
186
|
}),
|
|
204
187
|
...r.attrs
|
|
205
188
|
// data-* などHTMLの標準属性はそのまま渡す
|
|
206
189
|
};
|
|
207
190
|
}
|
|
208
191
|
export {
|
|
209
|
-
|
|
210
|
-
|
|
192
|
+
L as LismPropsData,
|
|
193
|
+
Y as default
|
|
211
194
|
};
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
function a(
|
|
2
|
-
if (
|
|
3
|
-
let
|
|
4
|
-
return
|
|
1
|
+
function a(i, r, f) {
|
|
2
|
+
if (i === "color") {
|
|
3
|
+
let n = a("c", r, f);
|
|
4
|
+
return n === String(r) && (n = a("palette", r, f)), n;
|
|
5
5
|
}
|
|
6
|
-
const
|
|
7
|
-
if (!
|
|
8
|
-
|
|
9
|
-
if (
|
|
10
|
-
if (
|
|
11
|
-
return
|
|
12
|
-
} else if (Array.isArray(
|
|
13
|
-
if (
|
|
14
|
-
return
|
|
15
|
-
} else if ("pre" in
|
|
16
|
-
const { pre:
|
|
17
|
-
if (s instanceof Set && s.has(
|
|
18
|
-
return `var(${
|
|
19
|
-
if (Array.isArray(s) && s.includes(
|
|
20
|
-
return `var(${
|
|
6
|
+
const e = f[i];
|
|
7
|
+
if (!e) return String(r);
|
|
8
|
+
const t = typeof r == "number" ? `${r}` : r;
|
|
9
|
+
if (e instanceof Set) {
|
|
10
|
+
if (e.has(t))
|
|
11
|
+
return `var(--${i}--${t})`;
|
|
12
|
+
} else if (Array.isArray(e)) {
|
|
13
|
+
if (e.includes(t))
|
|
14
|
+
return `var(--${i}--${t})`;
|
|
15
|
+
} else if ("pre" in e || "values" in e) {
|
|
16
|
+
const { pre: n = "", values: s = [] } = e;
|
|
17
|
+
if (s instanceof Set && s.has(t))
|
|
18
|
+
return `var(${n}${t})`;
|
|
19
|
+
if (Array.isArray(s) && s.includes(t))
|
|
20
|
+
return `var(${n}${t})`;
|
|
21
21
|
}
|
|
22
|
-
return String(
|
|
22
|
+
return String(r);
|
|
23
23
|
}
|
|
24
24
|
export {
|
|
25
25
|
a as default
|
|
@@ -23,7 +23,7 @@ export type TraitProps = {
|
|
|
23
23
|
[K in keyof TraitsConfig]?: ExtractTraitValue<TraitsConfig[K]>;
|
|
24
24
|
};
|
|
25
25
|
/** set prop で使われるプリセット値(エディタ補完用) */
|
|
26
|
-
type SetPreset = 'gutter' | 'shadow' | 'hov' | 'transition' | 'mask' | 'plain' | 'innerRs'
|
|
26
|
+
type SetPreset = 'gutter' | 'shadow' | 'hov' | 'transition' | 'mask' | 'plain' | 'innerRs';
|
|
27
27
|
/**
|
|
28
28
|
* set prop の値の型。プリセット値がサジェストされつつ、任意の文字列も受け付ける。
|
|
29
29
|
*
|
package/package.json
CHANGED
package/packages/astro/index.ts
CHANGED
|
@@ -114,9 +114,9 @@ $props: (
|
|
|
114
114
|
prop: 'opacity',
|
|
115
115
|
utilities: (
|
|
116
116
|
'0': '0',
|
|
117
|
-
'-10': 'var(--o
|
|
118
|
-
'-20': 'var(--o
|
|
119
|
-
'-30': 'var(--o
|
|
117
|
+
'-10': 'var(--o---10)',
|
|
118
|
+
'-20': 'var(--o---20)',
|
|
119
|
+
'-30': 'var(--o---30)',
|
|
120
120
|
),
|
|
121
121
|
),
|
|
122
122
|
'v': (
|
|
@@ -818,13 +818,13 @@ $props: (
|
|
|
818
818
|
'-1': '-1',
|
|
819
819
|
),
|
|
820
820
|
),
|
|
821
|
-
'
|
|
821
|
+
'ovw': (
|
|
822
822
|
prop: 'overflow-wrap',
|
|
823
823
|
utilities: (
|
|
824
824
|
'anywhere': 'anywhere',
|
|
825
825
|
),
|
|
826
826
|
),
|
|
827
|
-
'
|
|
827
|
+
'whs': (
|
|
828
828
|
prop: 'white-space',
|
|
829
829
|
utilities: (
|
|
830
830
|
'nowrap': 'nowrap',
|
|
@@ -843,10 +843,17 @@ $props: (
|
|
|
843
843
|
'both': 'both',
|
|
844
844
|
),
|
|
845
845
|
),
|
|
846
|
-
'
|
|
846
|
+
'iso': (
|
|
847
847
|
prop: 'isolation',
|
|
848
848
|
utilities: (
|
|
849
849
|
'isolate': 'isolate',
|
|
850
850
|
),
|
|
851
851
|
),
|
|
852
|
+
'wm': (
|
|
853
|
+
prop: 'writing-mode',
|
|
854
|
+
utilities: (
|
|
855
|
+
'vertical-rl': 'vertical-rl',
|
|
856
|
+
),
|
|
857
|
+
bp: 1,
|
|
858
|
+
),
|
|
852
859
|
);
|
package/src/scss/base/_html.scss
CHANGED
|
@@ -18,7 +18,6 @@
|
|
|
18
18
|
--sz--m: 56rem; // 読みやすいのが50文字程度。
|
|
19
19
|
--sz--s: 42rem;
|
|
20
20
|
--sz--xs: 32rem;
|
|
21
|
-
--sz--min: 18rem; // 最低限維持したいコンテンツサイズの標準値。 sideMain等 で使用
|
|
22
21
|
|
|
23
22
|
/**
|
|
24
23
|
* カラーパレット
|
|
@@ -65,9 +64,9 @@
|
|
|
65
64
|
/**
|
|
66
65
|
* opacity
|
|
67
66
|
*/
|
|
68
|
-
--o
|
|
69
|
-
--o
|
|
70
|
-
--o
|
|
67
|
+
--o---10: 0.75;
|
|
68
|
+
--o---20: 0.5;
|
|
69
|
+
--o---30: 0.25;
|
|
71
70
|
|
|
72
71
|
/**
|
|
73
72
|
* border-radius
|
|
@@ -95,8 +94,8 @@
|
|
|
95
94
|
--ar--og: 1.91/1;
|
|
96
95
|
|
|
97
96
|
/**
|
|
98
|
-
*
|
|
97
|
+
* サイトコンテンツの左右につける余白量
|
|
98
|
+
* Memo: -max-sz\:full などからも参照されるのでrootで定義している
|
|
99
99
|
*/
|
|
100
|
-
--gutter-size: var(--s30);
|
|
101
|
-
--vertical-mode: vertical-rl; // 縦書きモード
|
|
100
|
+
--gutter-size: var(--s30);
|
|
102
101
|
}
|