@scalio-cloud/ui 0.1.2 → 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 CHANGED
@@ -1,5 +1,10 @@
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
+
3
8
  ## 0.1.2
4
9
  - Published via npm trusted publishing (GitHub Actions OIDC), no npm token. Content unchanged.
5
10
 
package/README.md CHANGED
@@ -48,9 +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 create the tag (e.g. `0.1.1`, GitHub Releases or `git push origin <tag>`). The `publish`
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`
52
53
  workflow tests and publishes that version to npmjs.com via trusted publishing (no token; npm org
53
- `scalio-cloud`, trusted publisher Scalio-Cloud / scalio-ui / publish.yml).
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.
54
56
  3. Apps update with `yarn upgrade @scalio-cloud/ui@<version>` in their own PR.
55
57
 
56
58
  `npm test` checks: light/dark variables match, the preset only uses defined variables, all font files exist,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scalio-cloud/ui",
3
- "version": "0.1.2",
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,
package/tokens.css CHANGED
@@ -35,24 +35,25 @@
35
35
  }
36
36
 
37
37
  .dark {
38
- --background: 240 6% 7%;
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 5% 11%;
41
+ --card: 240 6% 13%;
41
42
  --card-foreground: 0 0% 98%;
42
- --popover: 240 6% 10%;
43
+ --popover: 240 6% 13%;
43
44
  --popover-foreground: 0 0% 98%;
44
- --primary: 223 85% 62%;
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 4% 16%;
49
- --muted-foreground: 240 5% 65%;
50
- --accent: 240 4% 18%;
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 62% 50%;
53
+ --destructive: 0 84% 60%;
53
54
  --destructive-foreground: 0 0% 100%;
54
- --border: 240 4% 20%;
55
- --input: 240 4% 22%;
56
- --ring: 223 85% 62%;
55
+ --border: 240 6% 18%;
56
+ --input: 240 6% 24%;
57
+ --ring: 223 100% 55%;
57
58
  color-scheme: dark;
58
59
  }