Skip to content

Pn/tauri/dark mode button#514

Open
psnairne wants to merge 7 commits into
rr/tauri/csv-page-backendfrom
pn/tauri/dark_mode_button
Open

Pn/tauri/dark mode button#514
psnairne wants to merge 7 commits into
rr/tauri/csv-page-backendfrom
pn/tauri/dark_mode_button

Conversation

@psnairne

Copy link
Copy Markdown
Contributor

This lets you click on Settings, and it presents a toggle and a text box which do nothing (yet).

I think this helped me understand somewhat

a) HTML/CSS
b) Routing

Next PR I need to understand how to get things to talk to the backend

@psnairne psnairne changed the base branch from main to rr/tauri/csv-page-backend July 15, 2026 10:15
Comment thread phenoxtract-ui/src/app/pages/start/start_settings.component.ts Outdated
Comment thread phenoxtract-ui/src/app/pages/start/start_settings.component.ts Outdated
Comment thread phenoxtract-ui/src/app/pages/start/start_settings.component.ts
Comment thread phenoxtract-ui/src/app/pages/start/start_settings.component.ts
Comment on lines +16 to +21
<span class="font-semibold text-gray-700">Dark mode:</span>
<p-toggleSwitch />
</div>

<div class="settings-row">
<span class="font-semibold text-gray-700">ORCID:</span>

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please do not force hardcoded colors. If we change themes, then these colors will stay.

Suggested change
<span class="font-semibold text-gray-700">Dark mode:</span>
<p-toggleSwitch />
</div>
<div class="settings-row">
<span class="font-semibold text-gray-700">ORCID:</span>
<span class="font-semibold">Dark mode:</span>
<p-toggleSwitch />
</div>
<div class="settings-row">
<span class="font-semibold">ORCID:</span>

@SmartMonkey-git SmartMonkey-git Jul 16, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you want to use font-semibold in this menu, please adjust the csv menu as well. So, things are consistent

@SmartMonkey-git SmartMonkey-git left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LFG!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants