@klex/mascot 0.2.0 → 0.2.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/name-tag.css +2 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@klex/mascot",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "The animated Klex mascot: a React component, its GSAP motion engine, body presets, and SVG helpers.",
5
5
  "type": "module",
6
6
  "license": "MIT AND CC-BY-4.0",
package/src/name-tag.css CHANGED
@@ -4,7 +4,8 @@
4
4
  left: 50%;
5
5
  transform: translateX(-50%);
6
6
  border-radius: 9999px;
7
- background: rgb(0 0 0 / 50%);
7
+ /* The outline badge on a frosted page background, in either theme. */
8
+ background: color-mix(in oklab, var(--background) 80%, transparent);
8
9
  backdrop-filter: blur(1px);
9
10
  pointer-events: none;
10
11
  }