Skip to content

Commit

Permalink
Update secondary button color
Browse files Browse the repository at this point in the history
  • Loading branch information
rayc2045 committed Apr 25, 2024
1 parent 347ed43 commit 04368e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ const localStore = {
const style = {
a: {
nav: 'inline-block py-2 hover:text-gray-500 transition',
footer: 'text-gray-700 hover:underline'
footer: 'text-gray-700 hover:underline',
},
btn: {
raw: 'inline-block px-4 py-3 rounded-md text-sm select-none font-medium text-white',
get primary() {
return `${this.raw} bg-blue-600 hover:bg-blue-700 focus:outline-none focus:ring focus:ring-blue-300`;
},
get secondary() {
return `${this.raw} bg-gray-500/80 hover:bg-gray-500 focus:outline-none focus:ring focus:ring-gray-300`;
return `${this.raw} bg-slate-500/80 hover:bg-slate-500 focus:outline-none focus:ring focus:ring-slate-300`;
},
color(tailwindColor) {
return `${this.raw} bg-${tailwindColor}-600 hover:bg-${tailwindColor}-700 focus:outline-none focus:ring focus:ring-${tailwindColor}-300`;
Expand Down

0 comments on commit 04368e1

Please sign in to comment.