Skip to content

Commit

Permalink
Removed blur codes
Browse files Browse the repository at this point in the history
  • Loading branch information
Levminer committed Nov 17, 2024
1 parent a32a24d commit b1cca81
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 19 deletions.
4 changes: 0 additions & 4 deletions interface/styles/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,6 @@ html {
@apply transparent-800 mb-5 flex w-full flex-row items-center justify-between rounded-xl p-5 text-left sm:flex-col sm:items-start;
}

.blurCodes {
@apply blur-md delay-500 duration-200 ease-linear hover:blur-none;
}

.focusRing {
@apply outline-none focus-visible:ring-4 focus-visible:ring-popup-magenta;
}
Expand Down
1 change: 1 addition & 0 deletions interface/utils/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ declare global {
minimizeToTray: boolean
optionalAnalytics: boolean
codesDescription: boolean
/** @deprecated Removed in 6.0.0 */
blurCodes: boolean
sortCodes: number
codesLayout: number
Expand Down
5 changes: 0 additions & 5 deletions interface/windows/codes/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,6 @@ export const generateCodeElements = (data: LibImportFile) => {
const progress = document.querySelector(`#progress${i}`)
const button = document.querySelector(`#button${i}`)

// blur codes
if (settings.settings.blurCodes === true) {
code.classList.add("blurCodes")
}

// description
if (settings.settings.codesDescription === true) {
description.textContent = names[i].length > 35 ? `${names[i].slice(0, 35)}...` : names[i]
Expand Down
10 changes: 0 additions & 10 deletions interface/windows/settings/settings.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -81,16 +81,6 @@
</div>
</div>

<div class="transparent-800 mb-5 flex w-full flex-row items-center justify-between rounded-xl p-5 text-left">
<div>
<h2>{language.settings.blurCodes}</h2>
<h3>{language.settings.blurCodesText}</h3>
</div>
<div class="ml-20 flex gap-3">
<Toggle bind:checked={$settings.settings.blurCodes} />
</div>
</div>

<div class="transparent-800 mb-5 flex w-full flex-row items-center justify-between rounded-xl p-5 text-left">
<div>
<h2>{language.settings.codesLayout}</h2>
Expand Down

0 comments on commit b1cca81

Please sign in to comment.