@scalio-cloud/ui 0.1.1 → 0.2.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/CHANGELOG.md +8 -0
- package/README.md +5 -2
- package/package.json +2 -2
- package/tokens.css +12 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.2.0
|
|
4
|
+
- Dark mode colours from Scalio Rosetta: sidebar and other `bg-muted` areas are now darker than the page
|
|
5
|
+
(before: lighter grey), primary blue in dark mode `223 100% 45%` (before: brighter `223 85% 62%`), card,
|
|
6
|
+
border and input slightly adjusted. Light mode unchanged.
|
|
7
|
+
|
|
8
|
+
## 0.1.2
|
|
9
|
+
- Published via npm trusted publishing (GitHub Actions OIDC), no npm token. Content unchanged.
|
|
10
|
+
|
|
3
11
|
## 0.1.1
|
|
4
12
|
- Published publicly on npmjs.com instead of GitHub Packages (no token needed to install). Content unchanged.
|
|
5
13
|
|
package/README.md
CHANGED
|
@@ -48,8 +48,11 @@ see `fonts/licenses/`.
|
|
|
48
48
|
## Release
|
|
49
49
|
|
|
50
50
|
1. Change the files, add a line to `CHANGELOG.md`, bump `version` in `package.json` (semver; tag without `v`).
|
|
51
|
-
2. Merge to `main`, then
|
|
52
|
-
|
|
51
|
+
2. Merge to `main`, then release it: in the Scalio Dev cockpit (row Scalio UI, "Freigeben" with the version) or
|
|
52
|
+
in GitHub (Actions -> publish -> Run workflow on main, or create the tag/release yourself). The `publish`
|
|
53
|
+
workflow tests and publishes that version to npmjs.com via trusted publishing (no token; npm org
|
|
54
|
+
`scalio-cloud`, trusted publisher Scalio-Cloud / scalio-ui / publish.yml) and, when started by hand or from
|
|
55
|
+
the cockpit, creates the tag and GitHub release with the CHANGELOG lines.
|
|
53
56
|
3. Apps update with `yarn upgrade @scalio-cloud/ui@<version>` in their own PR.
|
|
54
57
|
|
|
55
58
|
`npm test` checks: light/dark variables match, the preset only uses defined variables, all font files exist,
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scalio-cloud/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Scalio Control Room design tokens, Tailwind preset and self-hosted fonts",
|
|
5
5
|
"license": "SEE LICENSE IN README.md",
|
|
6
6
|
"private": false,
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
9
|
-
"url": "https://github.com/Scalio-Cloud/scalio-ui.git"
|
|
9
|
+
"url": "git+https://github.com/Scalio-Cloud/scalio-ui.git"
|
|
10
10
|
},
|
|
11
11
|
"main": "tokens.js",
|
|
12
12
|
"exports": {
|
package/tokens.css
CHANGED
|
@@ -35,24 +35,25 @@
|
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
.dark {
|
|
38
|
-
|
|
38
|
+
/* Dark mode from Scalio Rosetta (decision 2026-10-25): sidebar/muted darker than the page. */
|
|
39
|
+
--background: 240 6% 8%;
|
|
39
40
|
--foreground: 0 0% 98%;
|
|
40
|
-
--card: 240
|
|
41
|
+
--card: 240 6% 13%;
|
|
41
42
|
--card-foreground: 0 0% 98%;
|
|
42
|
-
--popover: 240 6%
|
|
43
|
+
--popover: 240 6% 13%;
|
|
43
44
|
--popover-foreground: 0 0% 98%;
|
|
44
|
-
--primary: 223
|
|
45
|
+
--primary: 223 100% 45%;
|
|
45
46
|
--primary-foreground: 0 0% 100%;
|
|
46
47
|
--secondary: 240 4% 16%;
|
|
47
48
|
--secondary-foreground: 0 0% 98%;
|
|
48
|
-
--muted: 240
|
|
49
|
-
--muted-foreground: 240 5%
|
|
50
|
-
--accent: 240 4%
|
|
49
|
+
--muted: 240 7% 6%;
|
|
50
|
+
--muted-foreground: 240 5% 70%;
|
|
51
|
+
--accent: 240 4% 16%;
|
|
51
52
|
--accent-foreground: 0 0% 98%;
|
|
52
|
-
--destructive: 0
|
|
53
|
+
--destructive: 0 84% 60%;
|
|
53
54
|
--destructive-foreground: 0 0% 100%;
|
|
54
|
-
--border: 240
|
|
55
|
-
--input: 240
|
|
56
|
-
--ring: 223
|
|
55
|
+
--border: 240 6% 18%;
|
|
56
|
+
--input: 240 6% 24%;
|
|
57
|
+
--ring: 223 100% 55%;
|
|
57
58
|
color-scheme: dark;
|
|
58
59
|
}
|