This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @media (prefers-color-scheme: dark) { | |
| :root { | |
| --main-bg: #282a36; | |
| --dark-bg: #202023; | |
| --light-bg: #535667; | |
| --main-font: #f8f8f2; | |
| --light-font: #282a36; | |
| --dark-font: #f8f8f2; | |
| --main-theme: #ffe875; | |
| --theme-font: #ffe875; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Translates a HTMl page in the web l10n style from the Add-on SDK with | |
| * WebExtensions strings. | |
| * Large parts of the logic are very similar to the SDK implmentation. | |
| * All you have to do to use this in a document is load it. | |
| * | |
| * It supports some additional attributes: | |
| * - The "translate" attribute is fully respected (see | |
| * https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/translate) | |
| * - "data-l10n-nocontent" means that the text content of the element |