Created
November 18, 2024 08:56
-
-
Save nailulll/f9ff6dcd0a2aea921ee9d5fc2057e4d6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| tailwind.config = { | |
| theme: { | |
| extend: { | |
| colors: { | |
| primary: "#5A4FFF", | |
| dark: "#292929", | |
| background: "#FEF9F2", | |
| }, | |
| }, | |
| }, | |
| }; | |
| const togglePassword = () => { | |
| const password = document.getElementById("password"); | |
| const eye = document.getElementById("eye"); | |
| if (password.type === "password") { | |
| password.type = "text"; | |
| eye.src = "eye.svg"; | |
| } else { | |
| password.type = "password"; | |
| eye.src = "eye-slash.svg"; | |
| } | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @import url("https://fonts.googleapis.com/css2?family=Courier+Prime:ital,wght@0,400;0,700;1,400;1,700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap"); | |
| body { | |
| font-family: "Courier Prime", monospace; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment