diff --git a/templates/_components/button.html b/templates/_components/button.html index 05761fe53..922ef8a1c 100644 --- a/templates/_components/button.html +++ b/templates/_components/button.html @@ -12,7 +12,7 @@ {% endif %} class=" - inline-flex items-center justify-center rounded-md border border-transparent shadow-sm text-white transition-buttons duration-200 + inline-flex items-center justify-center rounded-md border border-transparent shadow-sm transition-buttons duration-200 {% if small %} px-2 py-1 text-xs font-normal @@ -23,25 +23,37 @@ {% if disabled %} cursor-not-allowed bg-slate-300 text-slate-800 {% elif variant == "primary" %} - bg-oxford-600 + bg-oxford-600 text-white hover:bg-oxford-700 focus:bg-oxford-700 focus:ring-oxford-500 focus:ring-offset-white + {% elif variant == "primary-outline" %} + bg-transparent border border-oxford-700 text-oxford-700 + hover:bg-oxford-100 + focus:bg-oxford-100 focus:ring-oxford-500 focus:ring-offset-white {% elif variant == "secondary" %} - bg-slate-500 + bg-slate-500 text-white hover:bg-slate-600 focus:bg-slate-600 focus:ring-slate-500 focus:ring-offset-white + {% elif variant == "secondary-outline" %} + bg-transparent border border-slate-700 text-slate-700 + hover:bg-slate-200 + focus:bg-slate-200 focus:ring-slate-500 focus:ring-offset-white {% elif variant == "danger" %} - bg-bn-ribbon-600 + bg-bn-ribbon-600 text-white hover:bg-bn-ribbon-700 focus:ring-bn-ribbon-500 focus:ring-offset-white {% elif variant == "warning" %} - bg-bn-flamenco-600 + bg-bn-flamenco-600 text-white hover:bg-bn-flamenco-700 focus:ring-bn-flamenco-500 focus:ring-offset-white {% elif variant == "success" %} - bg-green-600 + bg-green-600 text-white hover:bg-green-700 focus:ring-green-500 focus:ring-offset-white + {% elif variant == "success-outline" %} + bg-transparent border border-green-700 text-green-700 + hover:bg-green-100 + focus:bg-green-100 focus:ring-green-500 focus:ring-offset-white {% endif %} {% if not disabled %} diff --git a/templates/project_release_list.html b/templates/project_release_list.html index 910e1bfba..1dbdf67b5 100644 --- a/templates/project_release_list.html +++ b/templates/project_release_list.html @@ -39,7 +39,7 @@