Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Commit

Permalink
💄 Clean up pulse light & dark themes
Browse files Browse the repository at this point in the history
Fixes #259
  • Loading branch information
trickypr committed Sep 21, 2023
1 parent 839f385 commit a7e4542
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 7 deletions.
8 changes: 4 additions & 4 deletions src/browser/themes/addons/pulse/dark/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@
"sidebar_text": "rgb(242, 241, 244)", // Grey 100
"sidebar_border": "transparent",

"button": "rgb(51, 47, 55)", // Grey 800
"button": "rgb(26, 23, 28)", // Grey 900
"button_hover": "rgb(77, 73, 80)", // Grey 700
"button_active": "rgb(101, 99, 105)", // Grey 600
"button_primary": "rgba(130, 64, 181, 0.20)", // Primary 500, 20%
"button_primary_hover": "rgb(130, 64, 191, 0.30)", // Primary 500, 30%
"button_primary": "rgba(130, 64, 191, 1.00)", // Primary 500
"button_primary_hover": "rgb(163, 99, 222, 1.00)", // Primary 600
"button_primary_active": "rgb(130, 64, 191, 0.40)", // Primary 500, 40%
"button_primary_color": "rgb(218, 182, 251)", // Primary 200
"button_primary_color": "rgb(243, 230, 255)", // Primary 100

"error_text_color": "rgb(255, 154, 162)", // TODO: We need red / error colors

Expand Down
6 changes: 3 additions & 3 deletions src/browser/themes/addons/pulse/light/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@
"button": "rgba(191, 188, 194, .33)", // Grey 300, 33% opacity
"button_hover": "rgba(191, 188, 194, .66)", // Grey 300, 66% opacity
"button_active": "rgba(191, 188, 194)", // Grey 300
"button_primary": "rgba(130, 64, 181, 0.20)", // Primary 500, 20%
"button_primary_hover": "rgba(130, 64, 191, 0.30)", // Primary 500, 30%
"button_primary": "rgba(130, 64, 191, 1.00)", // Primary 500, 20%
"button_primary_hover": "rgba(163, 99, 222, 1.00)", // Primary 500, 30%
"button_primary_active": "rgba(130, 64, 191, 0.40)", // Primary 500, 40%
"button_primary_color": "rgba(52, 8, 94)", // Primary 800
"button_primary_color": "rgba(242, 241, 244)", // Primary 100

"error_text_color": "rgb(197,0,66)", // TODO: Error buttons

Expand Down
21 changes: 21 additions & 0 deletions src/toolkit/mozapps/extensions/content/aboutaddons-html.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
diff --git a/toolkit/mozapps/extensions/content/aboutaddons.html b/toolkit/mozapps/extensions/content/aboutaddons.html
index 1c4101dc2843b113e02b29a26ad3d9966f6cc074..bf321c9e79340ea1bbb811fca8934b777c71c4da 100644
--- a/toolkit/mozapps/extensions/content/aboutaddons.html
+++ b/toolkit/mozapps/extensions/content/aboutaddons.html
@@ -2,7 +2,7 @@
- License, v. 2.0. If a copy of the MPL was not distributed with this file,
- You can obtain one at http://mozilla.org/MPL/2.0/. -->

-<!DOCTYPE html>
+<!doctype html>
<html>
<head>
<title data-l10n-id="addons-page-title"></title>
@@ -72,6 +72,7 @@
type="module"
src="chrome://global/content/elements/moz-five-star.mjs"
></script>
+ <script src="chrome://browser/content/contentTheme.js"></script>
</head>
<body>
<drag-drop-addon-installer></drag-drop-addon-installer>

0 comments on commit a7e4542

Please sign in to comment.