<#5322 [UI Feature] Add CSS customization option f...
# flyte-github
c
#5322 [UI Feature] Add CSS customization option for optional visual indicator with accent color to distinguish separate deployments Issue created by gpgn ### Motivation: Why do you think this is important? As adoption of Flyte in our org grows, teams have one or multiple deployments of Flyte (for example, to separate
dev
,
staging
,
prod
) which may contain very similar projects and workflows making the UI near indistinguishable. We want to support our users and administrators to easily be able to identify at first glance in which environment they are operating, reducing cognitive load. Currently, we are doing this through a CSS workaround which adds a colored banner, but it would be great if this could be provided as a feature directly. ### Goal: What should the final outcome look like, ideally? Since the sidebar is always present, it provides an ideal location to include a noticeable border in an accent color. [image](https://private-user-images.githubusercontent.com/4107738/327652501-814491a0-9a27-408e-957e-333a247447c7.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDg2NTA1MjYsIm5iZiI6MTc0ODY1MDIyNiwicGF0aCI6Ii80MTA3NzM4LzMyNzY1MjUwMS04MTQ0OTFhMC05YTI3LTQwOGUtOTU3ZS0zMzNhMjQ3NDQ3YzcucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDUzMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTA1MzFUMDAxMDI2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZGViN2JmZDJmYmY4Yjg5NWMyNjgxMWEzYTFjZWI2YThlZDA4NGRmYTNmZDJkMzU1YTZmMWI0ODczMmYxNjU5ZiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.nv3pbIkcKBxrNj6dGs04CzWRJkSzyIeqLO9PPk-5Tuw) Above: Example of a possible implementation (our current usage to distinguish production, staging, and development environments). An alternative/extension could involve providing the possibility of adding a name for the deployment as well, which would be shown in the accent color. This option is more visually cluttered however, and less visible if not combined with the vertical bar. Other alternatives could include allowing the Flyte logo and/or "Flyte" text at the top of the sidear to be colored as well, but as this impacts the branding I've not included it a serious option. [image](https://private-user-images.githubusercontent.com/4107738/327653023-63e15e0b-947e-4489-8d85-ac8308142de2.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDg2NTA1MjYsIm5iZiI6MTc0ODY1MDIyNiwicGF0aCI6Ii80MTA3NzM4LzMyNzY1MzAyMy02M2UxNWUwYi05NDdlLTQ0ODktOGQ4NS1hYzgzMDgxNDJkZTIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDUzMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTA1MzFUMDAxMDI2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZGEwMzhlNmUxZjcwYjFmYTc4M2Y4MmEzNDI2MTQzZjFkNTA5MzIyYmRkZjgyYjdhNzI3YThiNDA3NDRmMjRjNCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.c7YCMqmAG9QPggpa9it4HThe5LSSeL8fixEzuD6pbEI) This would be set as
flyteconsole.sidebarAccentColor: #ffffff
in the Helm chart, picked up as
SIDEBAR_ACCENT_COLOR
in flyteconsole (optionally with
ENABLE_SIDEBAR_ACCENT_COLOR
, or similar). I could work on an initial PR if this finds traction. ### Propose: Link/Inline OR Additional context No response ### Are you sure this issue hasn't been raised already? • Yes ### Have you read the Code of Conduct? • Yes flyteorg/flyte