@memobit/themes 1.3.0 → 1.4.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/README.md +1 -1
- package/dist/index.js +1 -2
- package/dist/previewPalettes.js +9 -2
- package/dist/themeConfig.js +9 -3
- package/dist/themes/circuit-harbor.css +1 -0
- package/dist/themes.css +1 -1
- package/dist/vite.js +1 -2
- package/package.json +3 -3
- package/src/theming/circuit-harbor.scss +36 -0
package/dist/vite.js
CHANGED
|
@@ -2,7 +2,7 @@ import { THEME_ASSET_DIR } from "./index.js";
|
|
|
2
2
|
import { readFileSync, readdirSync } from "node:fs";
|
|
3
3
|
import { createRequire } from "node:module";
|
|
4
4
|
import { dirname, join } from "node:path";
|
|
5
|
-
|
|
5
|
+
// src/vite.ts
|
|
6
6
|
var readThemeFiles = (root) => {
|
|
7
7
|
const require = createRequire(join(root, "noop.js"));
|
|
8
8
|
let themesDir;
|
|
@@ -64,5 +64,4 @@ var memobitThemes = (options = {}) => {
|
|
|
64
64
|
}
|
|
65
65
|
};
|
|
66
66
|
};
|
|
67
|
-
//#endregion
|
|
68
67
|
export { memobitThemes };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@memobit/themes",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "1.4.0",
|
|
4
|
+
"description": "69 themes for the Memobit apps — each published as its own stylesheet so an app loads only the one it is showing, with preview palettes for the theme picker.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"css",
|
|
7
7
|
"themes",
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"sass": "1.99.0",
|
|
77
77
|
"typescript": "6.0.3",
|
|
78
78
|
"typescript-eslint": "8.70.1",
|
|
79
|
-
"vite": "8.
|
|
79
|
+
"vite": "8.3.3",
|
|
80
80
|
"vite-plugin-dts": "5.0.0"
|
|
81
81
|
}
|
|
82
82
|
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
// Circuit Harbor theme - Dedicated to IoT Central app
|
|
2
|
+
// Dense device dashboard: Mesh Circuit's cyan kept for the accent only, on neutral surfaces that
|
|
3
|
+
// stay apart (card vs page 1.31, card border vs card 1.61) and neutral text (muted 5.3 on cards),
|
|
4
|
+
// so colour is left to device states.
|
|
5
|
+
@use './profile-theme' as profile;
|
|
6
|
+
|
|
7
|
+
[data-theme='circuit-harbor'] {
|
|
8
|
+
@include profile.app-profile(
|
|
9
|
+
(
|
|
10
|
+
font-family: "'Inter', 'IBM Plex Sans', sans-serif",
|
|
11
|
+
display-family: "'Space Grotesk', 'Inter', sans-serif",
|
|
12
|
+
base: #070c10,
|
|
13
|
+
surface: #1a2833,
|
|
14
|
+
surface-alt: #213140,
|
|
15
|
+
surface-strong: #0d151b,
|
|
16
|
+
border: #33495a,
|
|
17
|
+
border-strong: #44606f,
|
|
18
|
+
text: #d6e2ea,
|
|
19
|
+
title: #f4f8fb,
|
|
20
|
+
muted: #879cad,
|
|
21
|
+
sub-title: #abbecd,
|
|
22
|
+
accent: #22d3ee,
|
|
23
|
+
accent-strong: #06b6d4,
|
|
24
|
+
accent-soft: #0e3440,
|
|
25
|
+
accent-contrast: #04161a,
|
|
26
|
+
success: #4ade80,
|
|
27
|
+
warning: #fbbf24,
|
|
28
|
+
danger: #f87171,
|
|
29
|
+
info: #60a5fa,
|
|
30
|
+
wash-a: #0e7490,
|
|
31
|
+
wash-b: #1e3a5f,
|
|
32
|
+
title-transform: none,
|
|
33
|
+
title-letter-spacing: 0,
|
|
34
|
+
)
|
|
35
|
+
);
|
|
36
|
+
}
|