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:10 UTC

[airflow] branch blue-copy-btn created (now e3872be596)

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

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


      at e3872be596 Make copy button blue

This branch includes the following new commits:

     new e3872be596 Make copy button blue

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[airflow] 01/01: Make copy button blue

Posted by bb...@apache.org.
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,
     };