Skip to content

Commit

Permalink
📝 add source for formulas
Browse files Browse the repository at this point in the history
  • Loading branch information
slooi committed Sep 8, 2024
1 parent 48adf10 commit f88725a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import './style.css'
// https://stackoverflow.com/questions/596216/formula-to-determine-perceived-brightness-of-rgb-color
// source: https://stackoverflow.com/questions/596216/formula-to-determine-perceived-brightness-of-rgb-color
// source: https://www.w3.org/TR/AERT/#color-contrast

class ClipboardFileListener {
constructor(callback: (imgData: string | ArrayBuffer) => any) {
document.addEventListener("paste", event => {
Expand Down

0 comments on commit f88725a

Please sign in to comment.