Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Color of actions in header area #10

Open
jvaldman opened this issue May 29, 2023 · 3 comments
Open

Color of actions in header area #10

jvaldman opened this issue May 29, 2023 · 3 comments

Comments

@jvaldman
Copy link

How to change color of actions in the header area? Actions do not obey --color-header-text in "generic" and nor it is possible to put something like --color-text-primary into "top-navigation".

@stoeps13
Copy link

stoeps13 commented May 30, 2023

I see the same, the css class it tertiary xxx, but there is more missing:

image

I have this config set:

{
    "name": "Top Navigation Logo",
    "type": "com.hcl.connections.custom.style",
    "payload": {
        "style-customization": {
            "generic": {
                "--color-header": "#3A5412",
                "--color-navigation": "#3A5412",
                "--color-navigation-selected": "#1D2A09",
                "--color-footer": "#3A5412",
                "--color-button": "#3A5412",
                "--color-button-hover": "#1D2A09",
                "--color-link": "#3A5412",
                "--color-link-hover": "#1D2A09",
                "--color-third-navigation-text": "#3A5412",
                "--color-third-navigation-selected": "#1D2A09"
            },
            "top-navigation": {
                "logo": {
                    "order": "1",
                    "src": "/files/customizer/stoeps-customizer-css/logo-white.png"
                }
            }
        },
        "cache-headers": {
            "cache-control": "max-age=0"
        }
    },
    "path": "global"
}

The search bar icon gets the green background, the filter icon on the right not. The left side filter "Recently visited" does not get the icon color.

This tertiary navigation is in all apps, but I can't figure out how to change the link colors. Thanks @jvaldman! @caiaga any idea?

@stoeps13
Copy link

stoeps13 commented Jun 3, 2023

Hi @jvaldman
I found the class to change the header area:

"--color-tab-text": "#3A5412",
"--color-tab-text-selected": "#3A5412"

As mentioned in the session about Connections 8 migration (https://engage.ug/Engage2.nsf/pages/2023e_Slides/$File/Connections%208%20Upgrade%20&%20Customizing.pdf), the used css classes are stored in: /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/ConnectionsCell/Common.ear/connections.info.war/ui/cnx8-react /ui.css here you can find all used colors and variables and check where they are applied.

@jvaldman
Copy link
Author

jvaldman commented Jun 4, 2023

Thanks Christoph,
however these (--color-tab- text ...) change the colors of "top navigation", not the Actions (top-right).

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

No branches or pull requests

2 participants