Skip to content

Commit

Permalink
More legible text on colored buttons (#1830)
Browse files Browse the repository at this point in the history
This just changes the colors of a few buttons and adds a faint shadow to
the text on those buttons to make it easier to read the text.

Before/after:
![Before vs after extension
buttons](https://github.com/user-attachments/assets/c2b0f7e2-e18b-43c9-9856-3d132e5241a1)
  • Loading branch information
DNin01 authored Jan 1, 2025
1 parent 41c134d commit c791aef
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions development/homepage-template.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -158,14 +158,15 @@
backdrop-filter: blur(0.6px);
}
.extension-buttons > * {
padding: 0.5rem;
background-color: #4c97ff;
padding: 0.5rem;
border-radius: 0.5rem;
border: none;
font: inherit;
cursor: pointer;
color: white;
text-decoration: none;
text-shadow: 0 0 4px #0003;
pointer-events: auto;
transition: filter 0.15s;
filter: drop-shadow(0px 1px 3px #00000075);
Expand All @@ -185,11 +186,11 @@
color: white;
}
.extension-buttons .docs {
background-color: #FFAB19;
background-color: #f69925;
color: white;
}
.extension-buttons .sample {
background-color: #40BF4A;
background-color: #3ebb48;
color: white;
}
.extension-buttons :disabled {
Expand Down

0 comments on commit c791aef

Please sign in to comment.