Skip to content

Commit 6f348c4

Browse files
committed
Refactor toggle switch styles: move popup-toggle.css to common-ui-elements and update references in HTML files
1 parent 07f341b commit 6f348c4

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

popup.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<!-- UI Components: Console, save status, export/import buttons, confirmation & error dialogs, and toast notifications -->
1313
<link rel="stylesheet" href="/popup-page-styles/popup-components.css" />
1414
<!-- Toggle switch styles: iPhone-style toggle switches -->
15-
<link rel="stylesheet" href="/popup-page-styles/popup-toggle.css" />
15+
<link rel="stylesheet" href="/common-ui-elements/popup-toggle.css" />
1616
<!-- Theme overrides: Dark mode styles -->
1717
<link rel="stylesheet" href="/popup-page-styles/popup-theme.css" />
1818
</head>
@@ -333,7 +333,7 @@ <h3>
333333
id="crossChatModuleEnableToggle"
334334
aria-label="Enable Cross-Chat Prompt Sharing"
335335
/>
336-
<span class="slider round"></span>
336+
<span class="slider "></span>
337337
</label>
338338
<span class="switch-label"
339339
>Enable Cross-Chat Prompt Sharing</span
@@ -401,7 +401,7 @@ <h4>Settings</h4>
401401
<div class="switch-container">
402402
<label class="switch">
403403
<input type="checkbox" id="crossChatAutosendCopy" />
404-
<span class="slider round"></span>
404+
<span class="slider "></span>
405405
</label>
406406
<span class="switch-label">Autosend after 📋 Copy</span>
407407
</div>
@@ -413,7 +413,7 @@ <h4>Settings</h4>
413413
<div class="switch-container">
414414
<label class="switch">
415415
<input type="checkbox" id="crossChatAutosendPaste" />
416-
<span class="slider round"></span>
416+
<span class="slider "></span>
417417
</label>
418418
<span class="switch-label"
419419
>Autosend after 📥 Paste & Send</span
@@ -672,7 +672,7 @@ <h2>Theme</h2>
672672
id="darkThemeToggle"
673673
aria-label="Enable Dark Theme"
674674
/>
675-
<span class="slider round"></span>
675+
<span class="slider "></span>
676676
</label>
677677
<span class="switch-label">Enable Dark Theme</span>
678678
</div>

welcome.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
<title>OneClickPrompts Instructions</title>
77
<link rel="icon" type="image/png" href="icon128.png">
88
<link rel="stylesheet" href="welcome-page-files/styles.css">
9+
<link rel="stylesheet" href="common-ui-elements/common-style.css">
10+
<link rel="stylesheet" href="common-ui-elements/popup-toggle.css">
911
</head>
1012
<body>
1113
<div class="container">

0 commit comments

Comments
 (0)