@nubisco/ui 5.21.0 → 5.22.0
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nubisco/ui",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.22.0",
|
|
4
4
|
"description": "Vue 3 UI component library",
|
|
5
5
|
"packageManager": "pnpm@12.3.4+sha512.961aa41fb077da3a04a441d9f8e15ebc0c96da8ef710b2eb67bf9ee7cb0610eabd48f1fd85f51cffe73846785fa0f87c56a3a872a1d893f8446741b5cce45457",
|
|
6
6
|
"repository": {
|
|
@@ -264,7 +264,7 @@ $_max-step: 900;
|
|
|
264
264
|
///
|
|
265
265
|
/// @param {String} $id - the app's identifier, chosen by the app. The library
|
|
266
266
|
/// keeps no registry of these: it never needs to know which products exist.
|
|
267
|
-
/// @param {String} $category - one of `creatives`, `engineers`, `home`, `fun`
|
|
267
|
+
/// @param {String} $category - one of `creatives`, `engineers`, `home`, `fun`, `education`
|
|
268
268
|
/// @param {List} $accent - an optional `(light, dark)` override
|
|
269
269
|
@mixin app-theme($id, $category, $accent: null) {
|
|
270
270
|
$category-pair: categories.category($category);
|
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
|
|
7
7
|
/// The audience categories, and the accent pair each one resolves to.
|
|
8
8
|
///
|
|
9
|
-
/// Nubisco groups its products by audience: creatives, engineers, home, fun
|
|
10
|
-
/// These are the
|
|
9
|
+
/// Nubisco groups its products by audience: creatives, engineers, home, fun,
|
|
10
|
+
/// education. These are the five accents that grouping resolves to, each a
|
|
11
11
|
/// `(light, dark)` pair.
|
|
12
12
|
///
|
|
13
13
|
/// ## What is deliberately not here
|
|
14
14
|
///
|
|
15
|
-
/// There is no product list. The library holds the
|
|
15
|
+
/// There is no product list. The library holds the five values and nothing
|
|
16
16
|
/// else: it does not know which product belongs to which category, and it must
|
|
17
17
|
/// not. A registry of product ids here would mean cutting a library release
|
|
18
18
|
/// every time a product is added or renamed, and it would invert the
|
|
@@ -57,6 +57,13 @@ $categories: (
|
|
|
57
57
|
#b83266,
|
|
58
58
|
#f686ae,
|
|
59
59
|
),
|
|
60
|
+
// Signed off by Jose on 2026-10-21. Green carries high luminance, so a
|
|
61
|
+
// light-mode green that passes on every layer has to sit this dark: a
|
|
62
|
+
// friendlier-looking one measures around 3.0:1 on the page background.
|
|
63
|
+
education: (
|
|
64
|
+
#017835,
|
|
65
|
+
#5bbd74,
|
|
66
|
+
),
|
|
60
67
|
);
|
|
61
68
|
|
|
62
69
|
/// The `(light, dark)` accent pair for a category.
|