Skip to content

Commit

Permalink
Add transparency for key input background
Browse files Browse the repository at this point in the history
  • Loading branch information
caiiiycuk committed Sep 19, 2024
1 parent 1a8297d commit 2daff96
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
5 changes: 4 additions & 1 deletion README.deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,7 @@ yarn run vite build --base /latest --sourcemap true --minify terser && \
dist s3://jsdos/latest --delete
```

Clear the CDN cache (v8.js-dos.com) in dashboard.
Clear the CDN cache (v8.js-dos.com) in dashboard, pattern:
```
/latest,/latest/*
```
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
// loginUrl: "http://localhost:8080/subscription.html",
// autoStart: true,
// kiosk: true,
// background: "https://dos.zone/images/http/original/2X/f/f833b147609640191342f555d70eb07261f53c03.png/0a94af564ab81a14a27d6a67671e5416.webp",
pathPrefix: "/emulators/",
server: params.get("server"),
room: params.get("room"),
Expand Down
2 changes: 1 addition & 1 deletion src/window/prerun-window.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ function SecretKey() {
{warnMark}
<input maxLength={5} value={token} onChange={(e) => setToken(e.currentTarget.value)}
placeholder="-----"
class={"input input-xs input-bordered mt-4 mb-4 text-center w-20" +
class={"input input-xs input-bordered mt-4 mb-4 text-center w-20 bg-blend-multiply bg-opacity-40" +
(warnOnKey ? " input-warning animate-pulse" : "")}></input>
</div>}
</div>;
Expand Down
4 changes: 4 additions & 0 deletions tailwind.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ module.exports = {
"text-success-content",
"text-error-content",
"text-warning-content",
"input-bordered",
"input-xs",
"bg-blend-multiply",
"bg-opacity-40",
],
daisyui: {
themes: [
Expand Down

0 comments on commit 2daff96

Please sign in to comment.