From 142e077b46070ce206c083bf838ccdf3bb4d7679 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Pfeuffer?= Date: Tue, 16 Nov 2021 15:14:18 +0100 Subject: [PATCH] Fix color for namespace in high contrast theme --- gradle/changelog/fix_available_plugins.yaml | 2 -- gradle/changelog/fix_styles.yaml | 2 ++ scm-ui/ui-styles/src/components/_main.scss | 8 ++++++++ .../src/repos/components/list/RepositoryGroupEntry.tsx | 2 +- scm-ui/ui-webapp/src/repos/containers/RepositoryRoot.tsx | 2 +- 5 files changed, 12 insertions(+), 4 deletions(-) delete mode 100644 gradle/changelog/fix_available_plugins.yaml create mode 100644 gradle/changelog/fix_styles.yaml diff --git a/gradle/changelog/fix_available_plugins.yaml b/gradle/changelog/fix_available_plugins.yaml deleted file mode 100644 index a14afddc44..0000000000 --- a/gradle/changelog/fix_available_plugins.yaml +++ /dev/null @@ -1,2 +0,0 @@ -- type: fixed - description: Color for available plugins diff --git a/gradle/changelog/fix_styles.yaml b/gradle/changelog/fix_styles.yaml new file mode 100644 index 0000000000..e7c7a379ee --- /dev/null +++ b/gradle/changelog/fix_styles.yaml @@ -0,0 +1,2 @@ +- type: fixed + description: Color for available plugins and namespace diff --git a/scm-ui/ui-styles/src/components/_main.scss b/scm-ui/ui-styles/src/components/_main.scss index ffad026135..18179ee020 100644 --- a/scm-ui/ui-styles/src/components/_main.scss +++ b/scm-ui/ui-styles/src/components/_main.scss @@ -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; +} diff --git a/scm-ui/ui-webapp/src/repos/components/list/RepositoryGroupEntry.tsx b/scm-ui/ui-webapp/src/repos/components/list/RepositoryGroupEntry.tsx index 071d0877ec..63e234da4e 100644 --- a/scm-ui/ui-webapp/src/repos/components/list/RepositoryGroupEntry.tsx +++ b/scm-ui/ui-webapp/src/repos/components/list/RepositoryGroupEntry.tsx @@ -41,7 +41,7 @@ const RepositoryGroupEntry: FC = ({ group }) => { ); const namespaceHeader = ( <> - + {group.name} {" "} {settingsLink} diff --git a/scm-ui/ui-webapp/src/repos/containers/RepositoryRoot.tsx b/scm-ui/ui-webapp/src/repos/containers/RepositoryRoot.tsx index 341b480b01..fb946d5284 100644 --- a/scm-ui/ui-webapp/src/repos/containers/RepositoryRoot.tsx +++ b/scm-ui/ui-webapp/src/repos/containers/RepositoryRoot.tsx @@ -158,7 +158,7 @@ const RepositoryRoot = () => { const titleComponent = ( <> - + {repository.namespace} /{repository.name}