- ${k}
- =
-
+ ${k}
+ =
+
${isRevealed ? val : '••••••••••••'}
-
+
${icon(isRevealed ? 'EyeOff' : 'Eye', 'w-3.5 h-3.5')}
-
+
${icon('Copy', 'w-3.5 h-3.5')}
-
+
${icon('Trash2', 'w-3.5 h-3.5')}
- ${icon('Key', 'w-8 h-8 text-navy-700 mb-2')}
-
No secrets configured
-
Add API tokens or credentials here to securely access them in your user scripts.
+
+ ${icon('Key', 'w-8 h-8 text-slate-300 mb-2')}
+
No secrets configured
+
Add API tokens or credentials (like GH_PAT) here to securely access them in your user scripts.
`}
-
-
Code usage in scripts:
-
const token = OpenScript.env.MY_API_KEY;
-// or: const token = env.MY_API_KEY;
-// or: const token = GM_getValue('MY_API_KEY');
+
+
Code usage in scripts:
+
const token = OpenScript.env.GH_PAT;
+// or: const token = env.GH_PAT;
+// or: const token = GM_getValue('GH_PAT');
-
+
${keys.length} secrets stored
Storage: chrome.storage.sync
diff --git a/src/styles/index.css b/src/styles/index.css
index 38259da..35ce430 100644
--- a/src/styles/index.css
+++ b/src/styles/index.css
@@ -10,6 +10,8 @@ body {
overflow: hidden;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
user-select: none;
+ background-color: #f8fafc;
+ color: #0f172a;
}
::-webkit-scrollbar {
@@ -17,12 +19,12 @@ body {
height: 6px;
}
::-webkit-scrollbar-track {
- background: #072138;
+ background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
- background: #1e3a5f;
+ background: #cbd5e1;
border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
- background: #2563eb;
+ background: #94a3b8;
}