@platformatic/service 0.47.5 → 1.0.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/lib/root-endpoint/public/images/favicon.ico +0 -0
- package/lib/root-endpoint/public/index.html +9 -9
- package/package.json +6 -6
- /package/lib/root-endpoint/public/{background_frame.svg → images/background_frame.svg} +0 -0
- /package/lib/root-endpoint/public/{background_polygon_14.svg → images/background_polygon_14.svg} +0 -0
- /package/lib/root-endpoint/public/{background_polygon_28.svg → images/background_polygon_28.svg} +0 -0
- /package/lib/root-endpoint/public/{dark_mode.svg → images/dark_mode.svg} +0 -0
- /package/lib/root-endpoint/public/{light_mode.svg → images/light_mode.svg} +0 -0
- /package/lib/root-endpoint/public/{platformatic-logo-dark.svg → images/platformatic-logo-dark.svg} +0 -0
- /package/lib/root-endpoint/public/{platformatic-logo-light.svg → images/platformatic-logo-light.svg} +0 -0
|
Binary file
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
overflow-y: hidden;
|
|
14
14
|
--text-color: #FFFFFF;
|
|
15
15
|
--bg-color: #001825;
|
|
16
|
-
--theme-img: url('./light_mode.svg')
|
|
16
|
+
--theme-img: url('./images/light_mode.svg')
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
body.light-theme {
|
|
20
20
|
--text-color: #001825;
|
|
21
21
|
--bg-color: #FFFFFF;
|
|
22
|
-
--theme-img: url('./dark_mode.svg')
|
|
22
|
+
--theme-img: url('./images/dark_mode.svg')
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
body {
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
}
|
|
126
126
|
|
|
127
127
|
.polygon14 {
|
|
128
|
-
background-image: url("background_polygon_14.svg");
|
|
128
|
+
background-image: url("images/background_polygon_14.svg");
|
|
129
129
|
background-repeat: no-repeat;
|
|
130
130
|
position: fixed;
|
|
131
131
|
height: 868px;
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
}
|
|
139
139
|
|
|
140
140
|
.polygon28 {
|
|
141
|
-
background-image: url("background_polygon_28.svg");
|
|
141
|
+
background-image: url("images/background_polygon_28.svg");
|
|
142
142
|
background-repeat: no-repeat;
|
|
143
143
|
position: absolute;
|
|
144
144
|
height: 212px;
|
|
@@ -194,7 +194,7 @@
|
|
|
194
194
|
<div id="root">
|
|
195
195
|
<div class="polygon14"></div>
|
|
196
196
|
<div class="polygon28"></div>
|
|
197
|
-
<img class="topFrame" src="background_frame.svg" />
|
|
197
|
+
<img class="topFrame" src="images/background_frame.svg" />
|
|
198
198
|
<button id="button-theme-selector" type="button" class="theme-selector" alt="theme selector" onclick="toggleLightMode()"></button>
|
|
199
199
|
|
|
200
200
|
<div id="content">
|
|
@@ -221,18 +221,18 @@
|
|
|
221
221
|
const prefersLightScheme = window.matchMedia('(prefers-color-scheme: light)');
|
|
222
222
|
if (prefersLightScheme.matches) {
|
|
223
223
|
document.body.classList.add('light-theme');
|
|
224
|
-
document.getElementById('logo').src = 'platformatic-logo-light.svg'
|
|
224
|
+
document.getElementById('logo').src = 'images/platformatic-logo-light.svg'
|
|
225
225
|
} else {
|
|
226
226
|
document.body.classList.remove('light-theme');
|
|
227
|
-
document.getElementById('logo').src = 'platformatic-logo-dark.svg'
|
|
227
|
+
document.getElementById('logo').src = 'images/platformatic-logo-dark.svg'
|
|
228
228
|
}
|
|
229
229
|
|
|
230
230
|
const toggleLightMode = function() {
|
|
231
231
|
document.body.classList.toggle('light-theme');
|
|
232
232
|
if (document.body.classList.contains('light-theme')) {
|
|
233
|
-
document.getElementById('logo').src = 'platformatic-logo-light.svg'
|
|
233
|
+
document.getElementById('logo').src = 'images/platformatic-logo-light.svg'
|
|
234
234
|
} else {
|
|
235
|
-
document.getElementById('logo').src = 'platformatic-logo-dark.svg'
|
|
235
|
+
document.getElementById('logo').src = 'images/platformatic-logo-dark.svg'
|
|
236
236
|
}
|
|
237
237
|
}
|
|
238
238
|
</script>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platformatic/service",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
@@ -67,11 +67,11 @@
|
|
|
67
67
|
"pino-pretty": "^10.0.0",
|
|
68
68
|
"rfdc": "^1.3.0",
|
|
69
69
|
"ua-parser-js": "^1.0.35",
|
|
70
|
-
"@platformatic/client": "0.
|
|
71
|
-
"@platformatic/
|
|
72
|
-
"@platformatic/swagger-ui-theme": "0.
|
|
73
|
-
"@platformatic/
|
|
74
|
-
"@platformatic/utils": "0.
|
|
70
|
+
"@platformatic/client": "1.0.0",
|
|
71
|
+
"@platformatic/telemetry": "1.0.0",
|
|
72
|
+
"@platformatic/swagger-ui-theme": "1.0.0",
|
|
73
|
+
"@platformatic/config": "1.0.0",
|
|
74
|
+
"@platformatic/utils": "1.0.0"
|
|
75
75
|
},
|
|
76
76
|
"standard": {
|
|
77
77
|
"ignore": [
|
|
File without changes
|
/package/lib/root-endpoint/public/{background_polygon_14.svg → images/background_polygon_14.svg}
RENAMED
|
File without changes
|
/package/lib/root-endpoint/public/{background_polygon_28.svg → images/background_polygon_28.svg}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/lib/root-endpoint/public/{platformatic-logo-dark.svg → images/platformatic-logo-dark.svg}
RENAMED
|
File without changes
|
/package/lib/root-endpoint/public/{platformatic-logo-light.svg → images/platformatic-logo-light.svg}
RENAMED
|
File without changes
|