lism-css 0.7.1 → 0.7.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/config/defaults/props.js +1 -1
- package/package.json +1 -1
- package/packages/astro/HTML/button.astro +1 -1
- package/src/scss/_prop-config.scss +3 -6
- package/src/scss/base/_dom.scss +1 -1
- package/src/scss/modules/dynamic/_modal.scss +1 -0
- package/src/scss/modules/state/_linkbox.scss +8 -5
- package/src/scss/utility/_cbox.scss +1 -1
- package/src/scss/utility/_linkExpand.scss +1 -1
package/config/defaults/props.js
CHANGED
|
@@ -253,7 +253,7 @@ export default {
|
|
|
253
253
|
presets: ['subgrid', 'liquid'],
|
|
254
254
|
exUtility: {
|
|
255
255
|
// repeat: { '--cols': '1', '--gtc': 'repeat(var(--cols), 1fr)' },
|
|
256
|
-
liquid: { '--cols': 'var(--sz--min)', '--gtc': 'repeat(auto-
|
|
256
|
+
liquid: { '--cols': 'var(--sz--min)', '--gtc': 'repeat(auto-fit, minmax(min(var(--cols), 100%), 1fr))' },
|
|
257
257
|
},
|
|
258
258
|
bp: 1,
|
|
259
259
|
},
|
package/package.json
CHANGED
|
@@ -197,8 +197,7 @@ $props: (
|
|
|
197
197
|
'l': 'var(--sz--l)',
|
|
198
198
|
'xl': 'var(--sz--xl)',
|
|
199
199
|
),
|
|
200
|
-
exUtility: (
|
|
201
|
-
),
|
|
200
|
+
exUtility: (),
|
|
202
201
|
),
|
|
203
202
|
'bg': (
|
|
204
203
|
prop: 'background',
|
|
@@ -657,8 +656,7 @@ $props: (
|
|
|
657
656
|
),
|
|
658
657
|
'gt': (
|
|
659
658
|
prop: 'grid-template',
|
|
660
|
-
utilities: (
|
|
661
|
-
),
|
|
659
|
+
utilities: (),
|
|
662
660
|
exUtility: (
|
|
663
661
|
'repeat': (
|
|
664
662
|
'grid-template': 'repeat(var(--rows,1), 1fr) / repeat(var(--cols,1), 1fr)',
|
|
@@ -678,7 +676,7 @@ $props: (
|
|
|
678
676
|
exUtility: (
|
|
679
677
|
'liquid': (
|
|
680
678
|
'--cols': 'var(--sz--min)',
|
|
681
|
-
'--gtc': 'repeat(auto-
|
|
679
|
+
'--gtc': 'repeat(auto-fit, minmax(min(var(--cols), 100%), 1fr))',
|
|
682
680
|
),
|
|
683
681
|
),
|
|
684
682
|
bp: 1,
|
|
@@ -856,5 +854,4 @@ $props: (
|
|
|
856
854
|
'isolate': 'isolate',
|
|
857
855
|
),
|
|
858
856
|
),
|
|
859
|
-
|
|
860
857
|
);
|
package/src/scss/base/_dom.scss
CHANGED
|
@@ -75,7 +75,7 @@ h6 {
|
|
|
75
75
|
---------------------------------------- */
|
|
76
76
|
// link
|
|
77
77
|
@include mixin.maybe_where('a') {
|
|
78
|
-
color: var(--c--link);
|
|
78
|
+
color: var(--link-c, var(--c--link));
|
|
79
79
|
text-decoration: var(--link-td, underline);
|
|
80
80
|
// text-underline-offset: var(--underline-offset, auto);
|
|
81
81
|
// text-decoration-thickness: var(--underline-thickness, 1px);
|
|
@@ -10,9 +10,12 @@
|
|
|
10
10
|
isolation: isolate; // 内部のz-index順位と外部のz-indexを混同させない。
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
//
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
position: relative; // isolation: isolate;
|
|
17
|
-
z-index: 1;
|
|
13
|
+
// リンクをクリック可能にするためにz-indexあげる
|
|
14
|
+
.is--linkBox a {
|
|
15
|
+
z-index: 2; // .u-linkExpand::before + 1
|
|
18
16
|
}
|
|
17
|
+
|
|
18
|
+
/* これをしてしまうと z-index 関係がややこしくなる。リンク以外のz-indexはデフォのままにする。 */
|
|
19
|
+
// .is--linkBox > * {
|
|
20
|
+
// z-index: 0;
|
|
21
|
+
// }
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
--c: color-mix(in srgb, var(--c--text), var(--keycolor) var(--cbox-cPct, 40%));
|
|
6
6
|
--bgc: color-mix(in srgb, var(--c--base), var(--keycolor) var(--cbox-bgPct, 5%));
|
|
7
7
|
--bdc: var(--keycolor);
|
|
8
|
-
--c
|
|
8
|
+
--link-c: var(--keycolor); // --c--link を上書きすると、keycolorに --c--link が使えなくなる
|
|
9
9
|
// --link-td: underline;
|
|
10
10
|
color: var(--c);
|
|
11
11
|
background-color: var(--bgc);
|