Skip to content
This repository was archived by the owner on Mar 9, 2025. It is now read-only.

Commit

Permalink
Merge pull request #7 from noxygalaxy/main
Browse files Browse the repository at this point in the history
add: version next to SpaceTheme text
  • Loading branch information
SpaceEnergy authored Nov 11, 2024
2 parents 883de5e + 9573f92 commit 2342c47
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 11 deletions.
6 changes: 3 additions & 3 deletions gui/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<div class="title-bar">
<div class="title">
<div class="title-first">Space</div>
<div class="title-second">Theme</div>
<div class="title-second">Theme <span id="version-number"></span></div>
</div>
<div class="window-controls">
<div class="closeButt" id="closeButton">
Expand Down Expand Up @@ -87,7 +87,7 @@
</div>
</div>
</div>

<script src="version.js"></script>
<script>
const { shell } = require('electron');
const { ipcRenderer } = require('electron');
Expand Down Expand Up @@ -147,4 +147,4 @@
});
</script>
</body>
</html>
</html>
6 changes: 3 additions & 3 deletions gui/src/logs.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<div class="title-bar">
<div class="title">
<div class="title-first">Space</div>
<div class="title-second">Theme</div>
<div class="title-second">Theme <span id="version-number"></span></div>
</div>
<div class="window-controls">
<div class="closeButt" id="closeButton">
Expand Down Expand Up @@ -63,7 +63,7 @@
</div>
</div>
</div>

<script src="version.js"></script>
<script>
const electron = require('electron');
const { shell } = require('electron');
Expand Down Expand Up @@ -156,4 +156,4 @@
});
</script>
</body>
</html>
</html>
6 changes: 3 additions & 3 deletions gui/src/select-theme.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<div class="title-bar">
<div class="title">
<div class="title-first">Space</div>
<div class="title-second">Theme</div>
<div class="title-second">Theme <span id="version-number"></span></div>
</div>
<div class="window-controls">
<div class="closeButt" id="closeButton">
Expand Down Expand Up @@ -78,7 +78,7 @@
</div>
</div>
</div>

<script src="version.js"></script>
<script>
const electron = require('electron');
const { shell } = electron;
Expand Down Expand Up @@ -193,4 +193,4 @@
});
</script>
</body>
</html>
</html>
17 changes: 15 additions & 2 deletions gui/src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,18 @@ body {
font-weight: 900;
}

#version-number {
color: rgb(110, 110, 110);
font-family: Inter;
font-size: 12px;
font-weight: 400;
line-height: 7px;
letter-spacing: 0px;
text-align: left;
position: relative;
top: -4px;
}

.window-controls {
-webkit-app-region: no-drag;
display: flex;
Expand Down Expand Up @@ -197,6 +209,8 @@ body {
}

.license-content {
font-family: Be Vietnam Pro;
font-weight: 400;
height: 100%;
background: rgb(30, 30, 30);
border-radius: 8px;
Expand All @@ -208,7 +222,6 @@ body {
line-height: 1.6;
white-space: pre-wrap;
max-height: 300px;
font-weight: 300;
}


Expand Down Expand Up @@ -482,4 +495,4 @@ body {
.nav-button.next.available {
cursor: pointer;
opacity: 1;
}
}
2 changes: 2 additions & 0 deletions gui/src/version.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
const version = 'v1.0.1';
document.getElementById('version-number').textContent = version;

0 comments on commit 2342c47

Please sign in to comment.