Skip to content

Commit

Permalink
Update css
Browse files Browse the repository at this point in the history
- Fix battery primary color
- Fix search container color
- Fix compose panel color
  • Loading branch information
mgiovani committed Jul 2, 2020
1 parent 4022b3f commit 43e6f38
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
12 changes: 12 additions & 0 deletions src/install-win.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
set WHATSAPP=app-2.2025.7\resources
copy /Y styles.css %WHATSAPP%\styles.css
cd %WHATSAPP%
del /S/Q tmp
rmdir /S/Q tmp
mkdir tmp
npx asar extract app.asar tmp
copy /Y app.asar backup_app.asar
type styles.css >> tmp\cssm.css
npx asar pack tmp app.asar
del /S/Q tmp
rmdir /S/Q tmp
6 changes: 5 additions & 1 deletion src/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
--bubble-meta-icon-rgb: transparent !important;
--butterbar-battery-background: var(--incoming-background) !important;
--butterbar-battery-background-rgb: transparent !important;
--butterbar-battery-primary: transparent !important;
--butterbar-battery-primary: var(--accent) !important;
--butterbar-battery-primary-rgb: transparent !important;
--butterbar-battery-secondary: var(--text) !important;
--butterbar-battery-secondary-rgb: transparent !important;
Expand Down Expand Up @@ -187,6 +187,8 @@
--compose-background-rgb: transparent !important;
--compose-background-focused: transparent !important;
--compose-background-focused-rgb: transparent !important;
--compose-panel-background-hover: var(--menu-background) !important;
--compose-panel-background-hover-rgb: transparent !important;
--compose-border: transparent !important;
--compose-border-rgb: transparent !important;
--compose-border-focused: transparent !important;
Expand Down Expand Up @@ -388,6 +390,8 @@
--quick-action-button-background-rgb: transparent !important;
--rich-text-panel-background: transparent !important;
--rich-text-panel-background-rgb: transparent !important;
--search-container-background: transparent !important;
--search-container-background-rgb: transparent !important;
--search-input-background: transparent !important;
--search-input-background-rgb: transparent !important;
--secondary: var(--text) !important;
Expand Down
4 changes: 4 additions & 0 deletions src/uninstall-win.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
set WHATSAPP=app-2.2025.7\resources
cd %WHATSAPP%
copy /Y backup_app.asar app.asar
del /S/Q backup_app.asar

0 comments on commit 43e6f38

Please sign in to comment.