@payfit/unity-themes 3.2.3 → 3.2.4
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/dist/css/unity.css +50 -2
- package/package.json +1 -1
package/dist/css/unity.css
CHANGED
|
@@ -1498,7 +1498,9 @@
|
|
|
1498
1498
|
/**
|
|
1499
1499
|
* The host-controlled gradient border width. The masked border reads this
|
|
1500
1500
|
* value for its inset and padding, so changing it keeps the border aligned
|
|
1501
|
-
* without changing the host's padding, radius, or background.
|
|
1501
|
+
* without changing the host's padding, radius, or background. It inherits so
|
|
1502
|
+
* a decorative gradient layer can share the host's geometry. Consumers that
|
|
1503
|
+
* omit it receive the 1px fallback.
|
|
1502
1504
|
*/
|
|
1503
1505
|
@property --uy-ai-gradient-border-width {
|
|
1504
1506
|
syntax: '<length>';
|
|
@@ -1506,10 +1508,45 @@
|
|
|
1506
1508
|
initial-value: 1px;
|
|
1507
1509
|
}
|
|
1508
1510
|
|
|
1511
|
+
/**
|
|
1512
|
+
* Visibility of the masked AI gradient border, expressed as a number between
|
|
1513
|
+
* 0 and 1. It inherits from the component host to its decorative border
|
|
1514
|
+
* layer. Consumers that omit it receive 0, keeping the border idle.
|
|
1515
|
+
*/
|
|
1516
|
+
@property --uy-ai-gradient-border-opacity {
|
|
1517
|
+
syntax: '<number>';
|
|
1518
|
+
inherits: true;
|
|
1519
|
+
initial-value: 0;
|
|
1520
|
+
}
|
|
1521
|
+
|
|
1522
|
+
/**
|
|
1523
|
+
* Visibility of the AI gradient surface layer, expressed as a number between
|
|
1524
|
+
* 0 and 1. It inherits from the component host to its decorative surface
|
|
1525
|
+
* layer. Consumers that omit it receive 0, keeping the surface idle.
|
|
1526
|
+
*/
|
|
1527
|
+
@property --uy-ai-gradient-surface-opacity {
|
|
1528
|
+
syntax: '<number>';
|
|
1529
|
+
inherits: true;
|
|
1530
|
+
initial-value: 0;
|
|
1531
|
+
}
|
|
1532
|
+
|
|
1533
|
+
/**
|
|
1534
|
+
* Playback state for the renderer's gradient animation. It inherits from the
|
|
1535
|
+
* component host to its decorative border layer. Consumers that omit it
|
|
1536
|
+
* receive `paused`, so visible gradients do not animate until their local
|
|
1537
|
+
* state recipe explicitly opts in.
|
|
1538
|
+
*/
|
|
1539
|
+
@property --uy-ai-gradient-animation-play-state {
|
|
1540
|
+
syntax: 'running | paused';
|
|
1541
|
+
inherits: true;
|
|
1542
|
+
initial-value: paused;
|
|
1543
|
+
}
|
|
1544
|
+
|
|
1509
1545
|
/**
|
|
1510
1546
|
* Opacity contribution of each colour in `--uy-ai-gradient-glow`.
|
|
1511
1547
|
* Override it on the interactive host to tune glow strength independently of
|
|
1512
|
-
* the host and its content opacity.
|
|
1548
|
+
* the host and its content opacity. It inherits to the decorative border
|
|
1549
|
+
* layer; consumers that omit it receive the 20% fallback.
|
|
1513
1550
|
*/
|
|
1514
1551
|
@property --uy-ai-gradient-glow-opacity {
|
|
1515
1552
|
syntax: '<percentage>';
|
|
@@ -1517,6 +1554,17 @@
|
|
|
1517
1554
|
initial-value: 20%;
|
|
1518
1555
|
}
|
|
1519
1556
|
|
|
1557
|
+
/**
|
|
1558
|
+
* Visibility of the decorative AI glow layer, expressed as a number between
|
|
1559
|
+
* 0 and 1. It inherits from the component host to its `::after` layer.
|
|
1560
|
+
* Consumers that omit it receive 0, keeping the glow hidden.
|
|
1561
|
+
*/
|
|
1562
|
+
@property --uy-ai-gradient-glow-visibility {
|
|
1563
|
+
syntax: '<number>';
|
|
1564
|
+
inherits: true;
|
|
1565
|
+
initial-value: 0;
|
|
1566
|
+
}
|
|
1567
|
+
|
|
1520
1568
|
/**
|
|
1521
1569
|
* Unwrapped angle and scale for the interactive Payfit AI brand motion.
|
|
1522
1570
|
* Registering them lets the browser interpolate the two full turns in either
|