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

add: version next to SpaceTheme text #7

Merged
merged 5 commits into from
Nov 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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;