Fix color for namespace in high contrast theme

This commit is contained in:
René Pfeuffer
2021-11-16 15:14:18 +01:00
parent f45fd47cdd
commit 142e077b46
5 changed files with 12 additions and 4 deletions

View File

@@ -1,2 +0,0 @@
- type: fixed
description: Color for available plugins

View File

@@ -0,0 +1,2 @@
- type: fixed
description: Color for available plugins and namespace

View File

@@ -828,3 +828,11 @@ form .field:not(.is-grouped) {
.sg-sub-section + .sg-sub-section {
margin-top: 2.5rem;
}
.has-text-inherit {
color: inherit !important;
}
.has-text-default {
color: $text !important;
}

View File

@@ -41,7 +41,7 @@ const RepositoryGroupEntry: FC<Props> = ({ group }) => {
);
const namespaceHeader = (
<>
<Link to={`/repos/${group.name}/`} className="has-text-dark">
<Link to={`/repos/${group.name}/`} className="has-text-inherit">
{group.name}
</Link>{" "}
{settingsLink}

View File

@@ -158,7 +158,7 @@ const RepositoryRoot = () => {
const titleComponent = (
<>
<RouteLink to={`/repos/${repository.namespace}/`} className="has-text-dark">
<RouteLink to={`/repos/${repository.namespace}/`} className="has-text-inherit">
{repository.namespace}
</RouteLink>
/{repository.name}