You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by bb...@apache.org on 2022/04/20 13:31:11 UTC

[airflow] 01/01: Make copy button blue

This is an automated email from the ASF dual-hosted git repository.

bbovenzi pushed a commit to branch blue-copy-btn
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit e3872be596512e1e5bf513020752680b2a004768
Author: Brent Bovenzi <br...@gmail.com>
AuthorDate: Tue Apr 19 18:01:37 2022 -0400

    Make copy button blue
    
    Our actions are blue, copy button is an action, therefore it should be blue as well
---
 airflow/www/static/js/tree/Clipboard.jsx | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/airflow/www/static/js/tree/Clipboard.jsx b/airflow/www/static/js/tree/Clipboard.jsx
index 11215d10b5..88b29b592b 100644
--- a/airflow/www/static/js/tree/Clipboard.jsx
+++ b/airflow/www/static/js/tree/Clipboard.jsx
@@ -18,6 +18,7 @@ export const ClipboardButton = forwardRef(
       iconOnly = false,
       label = 'copy',
       title = 'Copy',
+      colorScheme = 'blue',
       'aria-label': ariaLabel = 'Copy',
       ...rest
     },
@@ -31,6 +32,7 @@ export const ClipboardButton = forwardRef(
       variant,
       title,
       ref,
+      colorScheme,
       ...rest,
     };