scaffold: manifest v3, stub content script and popup, placeholder icons
This commit is contained in:
1
content/behavior.js
Normal file
1
content/behavior.js
Normal file
@@ -0,0 +1 @@
|
|||||||
|
// Outlook Relook — behavior.js (stub, implemented in later task)
|
||||||
7
content/content.js
Normal file
7
content/content.js
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
// Outlook Relook — Content Script Entry Point
|
||||||
|
// Loaded by manifest on outlook.office.com/*
|
||||||
|
|
||||||
|
(function () {
|
||||||
|
'use strict';
|
||||||
|
console.log('[Outlook Relook] Content script loaded');
|
||||||
|
})();
|
||||||
1
content/injector.js
Normal file
1
content/injector.js
Normal file
@@ -0,0 +1 @@
|
|||||||
|
// Outlook Relook — injector.js (stub, implemented in later task)
|
||||||
1
content/keyboard.js
Normal file
1
content/keyboard.js
Normal file
@@ -0,0 +1 @@
|
|||||||
|
// Outlook Relook — keyboard.js (stub, implemented in later task)
|
||||||
1
content/observer.js
Normal file
1
content/observer.js
Normal file
@@ -0,0 +1 @@
|
|||||||
|
// Outlook Relook — observer.js (stub, implemented in later task)
|
||||||
1
content/selectors.js
Normal file
1
content/selectors.js
Normal file
@@ -0,0 +1 @@
|
|||||||
|
// Outlook Relook — selectors.js (stub, implemented in later task)
|
||||||
1
content/settings-defaults.js
Normal file
1
content/settings-defaults.js
Normal file
@@ -0,0 +1 @@
|
|||||||
|
// Outlook Relook — settings-defaults.js (stub, implemented in later task)
|
||||||
BIN
icons/icon-128.png
Normal file
BIN
icons/icon-128.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 358 B |
BIN
icons/icon-16.png
Normal file
BIN
icons/icon-16.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 82 B |
BIN
icons/icon-48.png
Normal file
BIN
icons/icon-48.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 156 B |
42
manifest.json
Normal file
42
manifest.json
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
{
|
||||||
|
"manifest_version": 3,
|
||||||
|
"name": "Outlook Relook",
|
||||||
|
"version": "0.1.0",
|
||||||
|
"description": "Minimalist reskin for Outlook Web App — clean themes, less clutter, more email.",
|
||||||
|
"permissions": ["storage", "activeTab"],
|
||||||
|
"content_scripts": [
|
||||||
|
{
|
||||||
|
"matches": ["https://outlook.office.com/*", "https://outlook.office365.com/*"],
|
||||||
|
"css": ["themes/base.css"],
|
||||||
|
"js": [
|
||||||
|
"content/settings-defaults.js",
|
||||||
|
"content/selectors.js",
|
||||||
|
"content/observer.js",
|
||||||
|
"content/behavior.js",
|
||||||
|
"content/keyboard.js",
|
||||||
|
"content/injector.js",
|
||||||
|
"content/content.js"
|
||||||
|
],
|
||||||
|
"run_at": "document_idle"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"action": {
|
||||||
|
"default_popup": "popup/popup.html",
|
||||||
|
"default_icon": {
|
||||||
|
"16": "icons/icon-16.png",
|
||||||
|
"48": "icons/icon-48.png",
|
||||||
|
"128": "icons/icon-128.png"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"icons": {
|
||||||
|
"16": "icons/icon-16.png",
|
||||||
|
"48": "icons/icon-48.png",
|
||||||
|
"128": "icons/icon-128.png"
|
||||||
|
},
|
||||||
|
"web_accessible_resources": [
|
||||||
|
{
|
||||||
|
"resources": ["themes/*.css"],
|
||||||
|
"matches": ["https://outlook.office.com/*", "https://outlook.office365.com/*"]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
14
popup/popup.html
Normal file
14
popup/popup.html
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<style>
|
||||||
|
body { width: 320px; padding: 16px; font-family: system-ui, sans-serif; font-size: 13px; }
|
||||||
|
h1 { font-size: 16px; margin: 0 0 8px; }
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>Outlook Relook</h1>
|
||||||
|
<p>Settings panel coming soon.</p>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
1
themes/base.css
Normal file
1
themes/base.css
Normal file
@@ -0,0 +1 @@
|
|||||||
|
/* Outlook Relook — base.css (stub, implemented in later task) */
|
||||||
Reference in New Issue
Block a user