Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
softwaremagico committed Nov 22, 2024
2 parents 1b6cc8b + 2c88ce9 commit 562d8c5
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/app/app.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<img alt="kote" class="filter-white" src="assets/img/kote.svg" width="50">
<a class="softwaremagico" mat-button routerLink="/">
<span class="app-title">Kendo Tournament Manager v2</span>
<span class="app-title title">Kendo Tournament Manager v2</span>
<span class="app-title-reduced">KTM v2</span>
</a>
<span class="menu-spacer"></span>
Expand Down
4 changes: 4 additions & 0 deletions frontend/src/app/app.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
font-size: 150%;
}

.app-title.title {
color: var(--title-color);
}

:host(.dark-mode) {
display: flex;
flex-direction: column;
Expand Down
10 changes: 10 additions & 0 deletions frontend/src/basic-colors.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@
--ribbon-border: #ffffff;
--ribbon-background: #011d4a;
--focus-element: #00081a;
--title-color: white;
--link: #001239;
--link-visited: #012f67;
--link-hover: #8097b3;
--link-active: #012f67;
}

:root .dark-mode {
Expand Down Expand Up @@ -58,5 +63,10 @@
--ribbon-border: #665e83;
--ribbon-background: #303030;
--focus-element: #c9c5d3;
--title-color: white;
--link: #ccc5dd;
--link-visited: #afa5d5;
--link-hover: #9f98b9;
--link-active: #8d7fc3;
}

20 changes: 20 additions & 0 deletions frontend/src/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -125,3 +125,23 @@ body {
font-family: "Square Sans Serif 7";
src: local("Square Sans Serif 7"), url(./assets/fonts/square_sans_serif_7.ttf) format("truetype");
}


a:link {
color: var(--link);
}

/* visited link */
a:visited {
color: var(--link-visited);
}

/* mouse over link */
a:hover {
color: var(--link-hover);
}

/* selected link */
a:active {
color: var(--link-active);
}

0 comments on commit 562d8c5

Please sign in to comment.