Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dark theme fixes #190

Merged
merged 2 commits into from
Dec 7, 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
1 change: 0 additions & 1 deletion client/demo/dist/assets/icons/folder.svg

This file was deleted.

2 changes: 1 addition & 1 deletion client/demo/dist/index.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion client/demo/public/assets/icons/folder.svg

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import { fileSelectorAsDataURL, useIndexedDB } from "@dannadori/voice-changer-cl
import { useGuiState } from "../001_GuiStateProvider";
import { AUDIO_ELEMENT_FOR_PLAY_MONITOR, AUDIO_ELEMENT_FOR_PLAY_RESULT, AUDIO_ELEMENT_FOR_TEST_CONVERTED, AUDIO_ELEMENT_FOR_TEST_CONVERTED_ECHOBACK, INDEXEDDB_KEY_AUDIO_MONITR, INDEXEDDB_KEY_AUDIO_OUTPUT } from "../../../const";
import { isDesktopApp } from "../../../const";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import { faFolderClosed } from "@fortawesome/free-regular-svg-icons";

export type DeviceAreaProps = {};

Expand Down Expand Up @@ -293,7 +295,9 @@ export const DeviceArea = (_props: DeviceAreaProps) => {
<audio id={AUDIO_ELEMENT_FOR_TEST_CONVERTED_ECHOBACK} controls hidden></audio>
</div>
<div>
<img className="config-sub-area-control-field-wav-file-folder" src="./assets/icons/folder.svg" onClick={onFileLoadClicked} />
<a className="config-sub-area-control-field-wav-file-folder" onClick={onFileLoadClicked}>
<FontAwesomeIcon icon={faFolderClosed} />
</a>
</div>
<div
className={echobackClass}
Expand Down
14 changes: 6 additions & 8 deletions client/demo/src/css/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ body {
--text-color: #dedede;
--company-color1: rgba(64, 119, 187, 1);
--company-color2: rgb(14, 25, 45);
--company-color3: rgba(0, 0, 0, 1);
--company-color3: rgb(20, 20, 20);

--button-passthru-active-border: 1px solid #a80000;
--button-passthru-active: #990000;
Expand All @@ -100,7 +100,7 @@ body {
--dialog-background-tint: rgba(100, 100, 100, 0.4);
--dialog-border-color: rgba(100, 100, 100, 1);
--dialog-shadow-color: rgba(0, 0, 0, 0.3);
--dialog-background-color: rgba(0, 0, 0, 1);
--dialog-background-color: rgb(20, 20, 20);
}

.dialog-container, .dialog-container2 {
Expand Down Expand Up @@ -1659,8 +1659,8 @@ audio::-webkit-media-controls-overlay-enclosure{
cursor: pointer;
}
.config-sub-area-control-field-screen-select-button {
border: solid 1px #333;
background: #fff;
border: var(--button-selector-inactive-border);
background: var(--button-selector-inactive);
font-size: 0.8rem;
border-radius: 5px;
height: 1.2rem;
Expand All @@ -1681,13 +1681,11 @@ audio::-webkit-media-controls-overlay-enclosure{
}
}
.config-sub-area-control-field-wav-file-folder {
height: 1rem;
width: 1rem;
cursor: pointer;
}
.config-sub-area-control-field-wav-file-echoback-button {
border: solid 1px #333;
background: #fff;
border: var(--button-selector-inactive-border);
background: var(--button-selector-inactive);
font-size: 0.8rem;
border-radius: 5px;
height: 1.2rem;
Expand Down
Loading