@finstack-com-public/design 0.7.0 → 0.7.1
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/CHANGELOG.md +9 -1
- package/dist/css/wave.css +20 -5
- package/dist/css/wave.md +6 -3
- package/dist/css-text/kit.js +20 -5
- package/dist/css-text/wave.js +20 -5
- package/dist/kit.css +20 -5
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,15 @@
|
|
|
3
3
|
Written by hand for each release. Token names, class names, file paths and exports are the
|
|
4
4
|
public API. While the kit is 0.x, a minor version may break them, and its entry says so.
|
|
5
5
|
|
|
6
|
-
## 0.7.
|
|
6
|
+
## 0.7.1 — 2026-11-08
|
|
7
|
+
|
|
8
|
+
### Fixed
|
|
9
|
+
|
|
10
|
+
- **Wave on wide bands (T82):** `.fs-wave` no longer crops off the crest. The wave is fitted to the band's height (`--fs-wave-height`),
|
|
11
|
+
centred and bottom-anchored; a band wider than height x 5.716 shows the wave at that width with both edges fading out. Narrower
|
|
12
|
+
bands look as before. See `css/wave.md`.
|
|
13
|
+
|
|
14
|
+
## 0.7.0 — 2026-11-08
|
|
7
15
|
|
|
8
16
|
### Upgrading from 0.6.0
|
|
9
17
|
|
package/dist/css/wave.css
CHANGED
|
@@ -2,9 +2,12 @@
|
|
|
2
2
|
@layer fs.components {
|
|
3
3
|
/* An empty, aria-hidden band: a wave of dots, cyan at the left to blue at the right. The
|
|
4
4
|
wave is an image (motifs/wave.webp, D33): the owner's ChatGPT image as white on transparent,
|
|
5
|
-
used as a mask over the brand colours, so its colour comes from the roles.
|
|
6
|
-
|
|
7
|
-
the
|
|
5
|
+
used as a mask over the brand colours, so its colour comes from the roles. The whole wave
|
|
6
|
+
shows: the image is fitted to the band's height (its ratio is 5.716), centred and anchored at
|
|
7
|
+
the bottom. A band narrower than that ratio times its height is filled by the image
|
|
8
|
+
(`cover`: the sides are cropped, never the crest). A wider band gets a box exactly as wide as
|
|
9
|
+
the image, centred, with both edges fading out instead of ending in a cut. `--fs-wave-image`
|
|
10
|
+
points it at a self-hosted copy (keep the ratio). */
|
|
8
11
|
.fs-wave {
|
|
9
12
|
display: block;
|
|
10
13
|
height: var(--fs-wave-height, 160px);
|
|
@@ -18,9 +21,21 @@
|
|
|
18
21
|
content: '';
|
|
19
22
|
display: block;
|
|
20
23
|
height: 100%;
|
|
24
|
+
/* --fs-wave-height is read here, on the host's own value, so a custom height moves the cap too. */
|
|
25
|
+
max-width: calc(var(--fs-wave-height, 160px) * 5.716);
|
|
26
|
+
margin-inline: auto;
|
|
21
27
|
background: linear-gradient(90deg, var(--fs-brand-end), var(--fs-brand-start) 65%);
|
|
22
|
-
|
|
23
|
-
mask:
|
|
28
|
+
/* Two mask layers, intersected: the soft right edge, then the image. */
|
|
29
|
+
-webkit-mask:
|
|
30
|
+
linear-gradient(90deg, transparent, currentcolor 5%, currentcolor 90%, transparent) center bottom / 100% 100%
|
|
31
|
+
no-repeat,
|
|
32
|
+
var(--fs-wave-image, url('../motifs/wave.webp')) center bottom / cover no-repeat;
|
|
33
|
+
-webkit-mask-composite: source-in;
|
|
34
|
+
mask:
|
|
35
|
+
linear-gradient(90deg, transparent, currentcolor 5%, currentcolor 90%, transparent) center bottom / 100% 100%
|
|
36
|
+
no-repeat,
|
|
37
|
+
var(--fs-wave-image, url('../motifs/wave.webp')) center bottom / cover no-repeat;
|
|
38
|
+
mask-composite: intersect;
|
|
24
39
|
}
|
|
25
40
|
/* Decoration: nothing to show in forced colours, nothing to print. */
|
|
26
41
|
@media (forced-colors: active) {
|
package/dist/css/wave.md
CHANGED
|
@@ -15,9 +15,12 @@ ChatGPT images are over. A new wave variant needs a new owner decision.
|
|
|
15
15
|
in light).
|
|
16
16
|
- The wave is an image file, `motifs/wave.webp` (D31, D33; 2172 x 380): white on transparent, used as a CSS
|
|
17
17
|
mask over the brand colours, so light, dark and re-tinted islands need no second file. It is made from
|
|
18
|
-
`art/wave-ai-source.png` by `npm run motifs`.
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
`art/wave-ai-source.png` by `npm run motifs`. The whole wave always shows: the image
|
|
19
|
+
is fitted to the band's height (`--fs-wave-height`), centred and anchored at the bottom. Up to a band width
|
|
20
|
+
of height x 5.716 (the image's ratio; 915 px at the default 160 px) it fills the band, and a narrower band
|
|
21
|
+
crops its sides, never the crest. A wider band gets a wave exactly that wide, centred, with empty space at
|
|
22
|
+
both sides, and both edges fade out (the left over the first 5 %, the right over the last tenth) instead of ending in a cut. The width cap
|
|
23
|
+
follows a custom `--fs-wave-height`. A replacement `--fs-wave-image` should keep the 5.716 ratio.
|
|
21
24
|
- An empty element: place it full-width, often absolutely along the bottom of a section
|
|
22
25
|
(`position: absolute; inset: auto 0 0`), behind the content. It ignores the pointer. When it sits absolutely
|
|
23
26
|
at the bottom of a section, reserve bottom padding of at least `--fs-wave-height` on that section, so no text
|
package/dist/css-text/kit.js
CHANGED
|
@@ -5976,9 +5976,12 @@ export default `@layer fs.tokens, fs.reset, fs.base, fs.components, fs.utilities
|
|
|
5976
5976
|
@layer fs.components {
|
|
5977
5977
|
/* An empty, aria-hidden band: a wave of dots, cyan at the left to blue at the right. The
|
|
5978
5978
|
wave is an image (motifs/wave.webp, D33): the owner's ChatGPT image as white on transparent,
|
|
5979
|
-
used as a mask over the brand colours, so its colour comes from the roles.
|
|
5980
|
-
|
|
5981
|
-
the
|
|
5979
|
+
used as a mask over the brand colours, so its colour comes from the roles. The whole wave
|
|
5980
|
+
shows: the image is fitted to the band's height (its ratio is 5.716), centred and anchored at
|
|
5981
|
+
the bottom. A band narrower than that ratio times its height is filled by the image
|
|
5982
|
+
(\`cover\`: the sides are cropped, never the crest). A wider band gets a box exactly as wide as
|
|
5983
|
+
the image, centred, with both edges fading out instead of ending in a cut. \`--fs-wave-image\`
|
|
5984
|
+
points it at a self-hosted copy (keep the ratio). */
|
|
5982
5985
|
.fs-wave {
|
|
5983
5986
|
display: block;
|
|
5984
5987
|
height: var(--fs-wave-height, 160px);
|
|
@@ -5992,9 +5995,21 @@ export default `@layer fs.tokens, fs.reset, fs.base, fs.components, fs.utilities
|
|
|
5992
5995
|
content: '';
|
|
5993
5996
|
display: block;
|
|
5994
5997
|
height: 100%;
|
|
5998
|
+
/* --fs-wave-height is read here, on the host's own value, so a custom height moves the cap too. */
|
|
5999
|
+
max-width: calc(var(--fs-wave-height, 160px) * 5.716);
|
|
6000
|
+
margin-inline: auto;
|
|
5995
6001
|
background: linear-gradient(90deg, var(--fs-brand-end), var(--fs-brand-start) 65%);
|
|
5996
|
-
|
|
5997
|
-
mask:
|
|
6002
|
+
/* Two mask layers, intersected: the soft right edge, then the image. */
|
|
6003
|
+
-webkit-mask:
|
|
6004
|
+
linear-gradient(90deg, transparent, currentcolor 5%, currentcolor 90%, transparent) center bottom / 100% 100%
|
|
6005
|
+
no-repeat,
|
|
6006
|
+
var(--fs-wave-image, url('${new URL('../motifs/wave.webp', import.meta.url).href}')) center bottom / cover no-repeat;
|
|
6007
|
+
-webkit-mask-composite: source-in;
|
|
6008
|
+
mask:
|
|
6009
|
+
linear-gradient(90deg, transparent, currentcolor 5%, currentcolor 90%, transparent) center bottom / 100% 100%
|
|
6010
|
+
no-repeat,
|
|
6011
|
+
var(--fs-wave-image, url('${new URL('../motifs/wave.webp', import.meta.url).href}')) center bottom / cover no-repeat;
|
|
6012
|
+
mask-composite: intersect;
|
|
5998
6013
|
}
|
|
5999
6014
|
/* Decoration: nothing to show in forced colours, nothing to print. */
|
|
6000
6015
|
@media (forced-colors: active) {
|
package/dist/css-text/wave.js
CHANGED
|
@@ -2,9 +2,12 @@ export default `/* Wave (spec 02 I). Usage: wave.md. */
|
|
|
2
2
|
@layer fs.components {
|
|
3
3
|
/* An empty, aria-hidden band: a wave of dots, cyan at the left to blue at the right. The
|
|
4
4
|
wave is an image (motifs/wave.webp, D33): the owner's ChatGPT image as white on transparent,
|
|
5
|
-
used as a mask over the brand colours, so its colour comes from the roles.
|
|
6
|
-
|
|
7
|
-
the
|
|
5
|
+
used as a mask over the brand colours, so its colour comes from the roles. The whole wave
|
|
6
|
+
shows: the image is fitted to the band's height (its ratio is 5.716), centred and anchored at
|
|
7
|
+
the bottom. A band narrower than that ratio times its height is filled by the image
|
|
8
|
+
(\`cover\`: the sides are cropped, never the crest). A wider band gets a box exactly as wide as
|
|
9
|
+
the image, centred, with both edges fading out instead of ending in a cut. \`--fs-wave-image\`
|
|
10
|
+
points it at a self-hosted copy (keep the ratio). */
|
|
8
11
|
.fs-wave {
|
|
9
12
|
display: block;
|
|
10
13
|
height: var(--fs-wave-height, 160px);
|
|
@@ -18,9 +21,21 @@ export default `/* Wave (spec 02 I). Usage: wave.md. */
|
|
|
18
21
|
content: '';
|
|
19
22
|
display: block;
|
|
20
23
|
height: 100%;
|
|
24
|
+
/* --fs-wave-height is read here, on the host's own value, so a custom height moves the cap too. */
|
|
25
|
+
max-width: calc(var(--fs-wave-height, 160px) * 5.716);
|
|
26
|
+
margin-inline: auto;
|
|
21
27
|
background: linear-gradient(90deg, var(--fs-brand-end), var(--fs-brand-start) 65%);
|
|
22
|
-
|
|
23
|
-
mask:
|
|
28
|
+
/* Two mask layers, intersected: the soft right edge, then the image. */
|
|
29
|
+
-webkit-mask:
|
|
30
|
+
linear-gradient(90deg, transparent, currentcolor 5%, currentcolor 90%, transparent) center bottom / 100% 100%
|
|
31
|
+
no-repeat,
|
|
32
|
+
var(--fs-wave-image, url('${new URL('../motifs/wave.webp', import.meta.url).href}')) center bottom / cover no-repeat;
|
|
33
|
+
-webkit-mask-composite: source-in;
|
|
34
|
+
mask:
|
|
35
|
+
linear-gradient(90deg, transparent, currentcolor 5%, currentcolor 90%, transparent) center bottom / 100% 100%
|
|
36
|
+
no-repeat,
|
|
37
|
+
var(--fs-wave-image, url('${new URL('../motifs/wave.webp', import.meta.url).href}')) center bottom / cover no-repeat;
|
|
38
|
+
mask-composite: intersect;
|
|
24
39
|
}
|
|
25
40
|
/* Decoration: nothing to show in forced colours, nothing to print. */
|
|
26
41
|
@media (forced-colors: active) {
|
package/dist/kit.css
CHANGED
|
@@ -5976,9 +5976,12 @@
|
|
|
5976
5976
|
@layer fs.components {
|
|
5977
5977
|
/* An empty, aria-hidden band: a wave of dots, cyan at the left to blue at the right. The
|
|
5978
5978
|
wave is an image (motifs/wave.webp, D33): the owner's ChatGPT image as white on transparent,
|
|
5979
|
-
used as a mask over the brand colours, so its colour comes from the roles.
|
|
5980
|
-
|
|
5981
|
-
the
|
|
5979
|
+
used as a mask over the brand colours, so its colour comes from the roles. The whole wave
|
|
5980
|
+
shows: the image is fitted to the band's height (its ratio is 5.716), centred and anchored at
|
|
5981
|
+
the bottom. A band narrower than that ratio times its height is filled by the image
|
|
5982
|
+
(`cover`: the sides are cropped, never the crest). A wider band gets a box exactly as wide as
|
|
5983
|
+
the image, centred, with both edges fading out instead of ending in a cut. `--fs-wave-image`
|
|
5984
|
+
points it at a self-hosted copy (keep the ratio). */
|
|
5982
5985
|
.fs-wave {
|
|
5983
5986
|
display: block;
|
|
5984
5987
|
height: var(--fs-wave-height, 160px);
|
|
@@ -5992,9 +5995,21 @@
|
|
|
5992
5995
|
content: '';
|
|
5993
5996
|
display: block;
|
|
5994
5997
|
height: 100%;
|
|
5998
|
+
/* --fs-wave-height is read here, on the host's own value, so a custom height moves the cap too. */
|
|
5999
|
+
max-width: calc(var(--fs-wave-height, 160px) * 5.716);
|
|
6000
|
+
margin-inline: auto;
|
|
5995
6001
|
background: linear-gradient(90deg, var(--fs-brand-end), var(--fs-brand-start) 65%);
|
|
5996
|
-
|
|
5997
|
-
mask:
|
|
6002
|
+
/* Two mask layers, intersected: the soft right edge, then the image. */
|
|
6003
|
+
-webkit-mask:
|
|
6004
|
+
linear-gradient(90deg, transparent, currentcolor 5%, currentcolor 90%, transparent) center bottom / 100% 100%
|
|
6005
|
+
no-repeat,
|
|
6006
|
+
var(--fs-wave-image, url('./motifs/wave.webp')) center bottom / cover no-repeat;
|
|
6007
|
+
-webkit-mask-composite: source-in;
|
|
6008
|
+
mask:
|
|
6009
|
+
linear-gradient(90deg, transparent, currentcolor 5%, currentcolor 90%, transparent) center bottom / 100% 100%
|
|
6010
|
+
no-repeat,
|
|
6011
|
+
var(--fs-wave-image, url('./motifs/wave.webp')) center bottom / cover no-repeat;
|
|
6012
|
+
mask-composite: intersect;
|
|
5998
6013
|
}
|
|
5999
6014
|
/* Decoration: nothing to show in forced colours, nothing to print. */
|
|
6000
6015
|
@media (forced-colors: active) {
|
package/package.json
CHANGED