@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.
@@ -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.47.5",
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.47.5",
71
- "@platformatic/config": "0.47.5",
72
- "@platformatic/swagger-ui-theme": "0.47.5",
73
- "@platformatic/telemetry": "0.47.5",
74
- "@platformatic/utils": "0.47.5"
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": [