diff --git a/src/components/applications/file-explorer/FileExplorer.module.css b/src/components/applications/file-explorer/FileExplorer.module.css
index 51b515a..11c0cf5 100644
--- a/src/components/applications/file-explorer/FileExplorer.module.css
+++ b/src/components/applications/file-explorer/FileExplorer.module.css
@@ -103,7 +103,7 @@
}
.Nav-button:hover, .Nav-button:focus-visible {
- background-color: rgba(255, 255, 255, 10%);
+ background-color: hsla(var(--background-color-a-hsl), 75%);
}
.Nav-button svg {
@@ -140,7 +140,7 @@
.File-button:hover, .Folder-button:hover,
.File-button:focus-visible, .Folder-button:focus-visible {
- background-color: rgba(255, 255, 255, 10%);
+ background-color: hsla(var(--background-color-a-hsl), 35%);
}
.File-button-preview {
diff --git a/src/components/applications/settings/Settings.jsx b/src/components/applications/settings/Settings.jsx
index 97d5c0e..7fa329a 100644
--- a/src/components/applications/settings/Settings.jsx
+++ b/src/components/applications/settings/Settings.jsx
@@ -60,10 +60,13 @@ function StorageTab({ virtualRoot }) {
const freeKB = maxKB - usedKB;
return (<>
-
+
Virtual Drive ({round(maxKB, 1)} KB)
- {round(usedKB, 1)} KB used - {round(freeKB, 1)} KB free
+
+ {round(usedKB, 1)} KB used
+ {round(freeKB, 1)} KB free
+
Manage data
@@ -82,28 +85,30 @@ function AboutTab({ windowsManager, virtualRoot }) {
About ProzillaOS
ProzillaOS is a web-based operating system inspired by Ubuntu Linux and Windows made with React.js by Prozilla.
-
-
+
+
+
+
>);
}
@@ -117,18 +122,27 @@ export function Settings({ initialTabIndex }) {
const settingsManager = useSettings();
const windowsManager = useWindowsManager();
+ const getClassName = (index) => {
+ const classNames = [styles["Tab-button"]];
+
+ if (index === tabIndex)
+ classNames.push(styles["Active-tab"]);
+
+ return classNames.join(" ");
+ };
+
return (
-