Skip to content

Commit

Permalink
fix firefox images not displaying
Browse files Browse the repository at this point in the history
  • Loading branch information
waymondrang committed Sep 20, 2022
1 parent c6a765d commit b5179a2
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 14 deletions.
8 changes: 3 additions & 5 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,11 @@

[![Chrome Web Store](https://img.shields.io/chrome-web-store/v/pihphjfnfjmdbhakhjifipfdgbpenobg?color=%23262626%20)](https://chrome.google.com/webstore/detail/docsafterdark/pihphjfnfjmdbhakhjifipfdgbpenobg) [![Mozilla Add-on](https://img.shields.io/amo/v/docsafterdark?color=%23262626%20)](https://addons.mozilla.org/en-US/firefox/addon/docsafterdark/)

DocsAfterDark aims to relieve eye-strain from the Google Docs experience with a focus on functionality and artful design.
DocsAfterDark relieves eye-strain from the Google Docs experience with a focus on functionality and artful design.

Customize the document background to a darker shade or any color in the extension's option menu, which can be accessed by clicking on the extension icon in the browser toolbar. Any valid background CSS value can be used in the custom field, including images and gradients (This feature may be unstable on Chrome).
Enable dark mode for documents without modifying the original project using the extension's option menu, which can be accessed by clicking on the extension icon in the browser toolbar.

With the invert option, document content (excluding images) will appear inverted. This option is recommended for users who want a darker document background without needing to change the font color.

To temporarily toggle dark mode on/off, click on the button at the bottom left of the page. This toggle may block other elements, such as the persistent word count widget. When this occurs, use the raise button settings in the options menu.
To temporarily toggle dark mode on/off, click on the button at the bottom left corner of the page. Sometimes, this button may block other elements, such as the word count widget. When this occurs, use the raise button setting in the option menu.

The global toggle in the options menu can be used to disable/enable the extension.

Expand Down
Binary file added releases/dad_v0.5.1_chrome.zip
Binary file not shown.
Binary file added releases/dad_v0.5.1_firefox.zip
Binary file not shown.
Binary file added releases/dad_v0.5.1_opera.zip
Binary file not shown.
4 changes: 2 additions & 2 deletions src/chrome/docs.css
Original file line number Diff line number Diff line change
Expand Up @@ -1505,6 +1505,6 @@ span.docs-material-gm-checkbox-checked.docs-material-gm-checkbox-focused {
}

/* Fix for Firefox */
.kix-canvas-tile-content svg {
display: none;
.kix-canvas-tile-content svg rect {
fill: transparent !important;
}
2 changes: 1 addition & 1 deletion src/chrome/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "DocsAfterDark",
"version": "0.5.0",
"version": "0.5.1",
"description": "Modern, dark mode for Google Docs",
"author": "Raymond Wang",
"manifest_version": 3,
Expand Down
4 changes: 2 additions & 2 deletions src/firefox/docs.css
Original file line number Diff line number Diff line change
Expand Up @@ -1505,6 +1505,6 @@ span.docs-material-gm-checkbox-checked.docs-material-gm-checkbox-focused {
}

/* Fix for Firefox */
.kix-canvas-tile-content svg {
display: none;
.kix-canvas-tile-content svg rect {
fill: transparent !important;
}
2 changes: 1 addition & 1 deletion src/firefox/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"manifest_version": 2,
"name": "DocsAfterDark",
"version": "0.5.0",
"version": "0.5.1",
"description": "Modern, dark mode for Google Docs",
"author": "Raymond Wang",
"content_scripts": [
Expand Down
4 changes: 2 additions & 2 deletions src/opera/docs.css
Original file line number Diff line number Diff line change
Expand Up @@ -1505,6 +1505,6 @@ span.docs-material-gm-checkbox-checked.docs-material-gm-checkbox-focused {
}

/* Fix for Firefox */
.kix-canvas-tile-content svg {
display: none;
.kix-canvas-tile-content svg rect {
fill: transparent !important;
}
2 changes: 1 addition & 1 deletion src/opera/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"manifest_version": 3,
"name": "DocsAfterDark",
"version": "0.5.0",
"version": "0.5.1",
"description": "Modern, dark mode for Google Docs",
"author": "Raymond Wang",
"content_scripts": [
Expand Down

0 comments on commit b5179a2

Please sign in to comment.