@sharadox/graphical-user-interface-web-library 0.2.0-layout.14 → 0.2.0-layout.15

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.
@@ -1 +1 @@
1
- :where(.avatar){overflow:hidden;inline-size:var(--current-minimum-size);block-size:var(--current-minimum-size);font-weight:600;line-height:1}:where(.picture){display:block;inline-size:100%;block-size:100%;object-fit:cover}
1
+ :where(.avatar){overflow:hidden;inline-size:var(--current-minimum-size);block-size:var(--current-minimum-size);font-size:calc(var(--current-minimum-size)*.4);font-weight:600;line-height:1}:where(.picture){display:block;inline-size:100%;block-size:100%;object-fit:cover}
@@ -2,6 +2,8 @@
2
2
  overflow: hidden;
3
3
  inline-size: var(--current-minimum-size);
4
4
  block-size: var(--current-minimum-size);
5
+ // Two letters always fit: the initials grow with the avatar.
6
+ font-size: calc(var(--current-minimum-size) * 0.4);
5
7
  font-weight: 600;
6
8
  line-height: 1;
7
9
  }
@@ -1 +1 @@
1
- :where(.body){flex:1 1 240px;min-inline-size:0}:where(.title){margin:0;font-size:var(--scale-16);font-weight:600}:where(.description){margin:0;color:var(--middleground-color);font-size:var(--scale-14)}:where(.action){flex:none}
1
+ :where(.body){flex:1 1 240px;min-inline-size:0}:where(.title){margin:0;font-size:var(--scale-16);font-weight:600}:where(.description){margin:0;color:inherit;opacity:.7;font-size:var(--scale-14)}:where(.action){flex:none}
@@ -11,7 +11,9 @@
11
11
 
12
12
  :where(.description) {
13
13
  margin: 0;
14
- color: var(--middleground-color);
14
+ // The card's own text, softened, so it reads on any fill.
15
+ color: inherit;
16
+ opacity: 0.7;
15
17
  font-size: var(--scale-14);
16
18
  }
17
19
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sharadox/graphical-user-interface-web-library",
3
- "version": "0.2.0-layout.14",
3
+ "version": "0.2.0-layout.15",
4
4
  "description": "One generic, accessible, fully configurable component library: every interface piece in every variant, color, corner, line, size and state, styled from a single source of truth that each brand configures.",
5
5
  "private": false,
6
6
  "license": "SEE LICENSE IN LICENCA.md",