Skip to content

Commit

Permalink
fix(frontend): design issues, destinguish between out of sync/dead mi…
Browse files Browse the repository at this point in the history
…rrors
  • Loading branch information
dr460nf1r3 committed Jan 4, 2025
1 parent 4479324 commit 62dc901
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 6 deletions.
6 changes: 3 additions & 3 deletions frontend/src/app/about/about.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,14 @@ <h3 class="text-maroon pb-5 text-center text-lg font-bold">{{ member.name }}</h3
<ul class="chaotic-list-regular text-text">
<li>Please use our issue trackers or the Telegram group, for general questions and support.</li>
<li>
If a matter needs to be discussed privately, feel free to pick any of those channels:
If a matter needs to be discussed privately, feel free to pick any of these channels:
<a
class="text-mauve"
href="https://keyoxide.org/D245D484F3578CB17FD6DA6B67DB29BFF3C96757"
rel="noopener"
target="_blank"
>keyoxide.org/D245D484F3578CB17FD6DA6B67DB29BFF3C96757</a
>
>these channels</a
>.
</li>
</ul>
</p-panel>
Expand Down
3 changes: 2 additions & 1 deletion frontend/src/app/mirrors/mirrors.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@
class="pi"
[ngClass]="{
'pi-check-circle text-green': mirror.healthy,
'pi-exclamation-circle text-red': !mirror.healthy,
'pi-exclamation-circle text-red': !mirror.healthy && !mirror.last_update,
'pi-fast-backward text-peach': !mirror.healthy && mirror.last_update,
}"
></i>
</td>
Expand Down
16 changes: 14 additions & 2 deletions frontend/src/app/theme.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Aura from '@primeng/themes/aura';
import { definePreset } from '@primeng/themes';
import * as flavors from '@catppuccin/palette';
import { definePreset } from '@primeng/themes';
import Aura from '@primeng/themes/aura';

const mocha = flavors.flavors.mocha;
export const Catppuccin = definePreset(Aura, {
Expand Down Expand Up @@ -380,6 +380,18 @@ export const Catppuccin = definePreset(Aura, {
},
},
},
components: {
tooltip: {
colorScheme: {
light: {
background: mocha.colors.crust.hex,
},
dark: {
background: mocha.colors.crust.hex,
},
},
},
},
});

export const CatppuccinFlavors: string[] = [
Expand Down

0 comments on commit 62dc901

Please sign in to comment.