amdelamar / pm-theme Goto Github PK
View Code? Open in Web Editor NEW🎨 Easy Themes for ProtonMail (v3.16.x)
Home Page: https://amdelamar.com/pm-theme/
License: MIT License
🎨 Easy Themes for ProtonMail (v3.16.x)
Home Page: https://amdelamar.com/pm-theme/
License: MIT License
Screenshots are outdated. Please take new screenshots and update soon!
Maybe add some shadow around the borders as well. Like on Mac.
Using @import
doesn't work anymore. The default default-src 'self';
security policy of the page is blocking the loading of remote content (CSS).
Hi their,
when I click onto a label in the sidebar their text color changes to white. So I can't read that anymore. I hope you could maybe fix this in your css code :)
Have a nice start into the new year!
Timo
Email entries in the "horizontal layout" (toggle view) are obfuscated and barely visible, as of the 15/16th January. Vertical layout seem's fine, or "better". The dark colouring has also changed substantially.
This is on both Windows 7 and Xubuntu 16.04.3 desktop machines. It's the same for me in Chrome, Firefox, and Brave web browsers.
I'm using @import url("https://austindelamar.com/pm-theme/themes/pm-dark-theme.min.css");
in the settings custom theme box.
This makes the BG colour correct but I think it needs to match the style of the other dropdowns where
only the text highlight
.pm_dropdown {
background: var(--theme3)!important;
}
Currency EUR/USD selector has wrong background color and hover color
the mail contents window and the compose window still have white background. Is this because of a limitation? The Dark Reader addon is able to darken those backgrounds but I don't know whether it's because that has more access as an extension.
Each Key row is slightly off. The bg color, arrow twisty, action dropdown, action link (maybe it should be a button?) and more. BG-image theme has transparent issue with the arrows, and GM theme has some shading issues. Dark/Flat have issues with the action dropdown mainly, and the left twisty.
Could use a media query to get users preferred color scheme, light/dark
:
@media (prefers-color-scheme: dark) {
/* set colors */
}
Since I'm publishing to NPM for unpkg CDN links already. (#31)
I can use jsDelivr CDN as well.
Links already work like so:
@import url("https://cdn.jsdelivr.net/npm/pm-theme/themes/pm-dark-theme.min.css");
Just need to update the README. And maybe clarify the x3 different options somehow. Especially for new users.
Most of the time the conversation texts are gray and so they are hard to read. I want them black all the time to get full contrast. Could you help me with a short CSS code to make it? Thanks for your work.
Looking at an email in a folder, the folder indicator at the top has the wrong bg color.
Ever since I added my custom domain to my github page profile, ProtonMail fails to load the custom theme via the CSS @import url
.
Error:
Blocked loading mixed active content “http://austindelamar.com/pm-theme/themes/pm-flat-theme.css”[Learn More]
Solution:
Encrypt the custom domain with HTTPS / SSL. And then update the README links to point to the new URL.
ProtonMail logo:
Search form:
Settings Dashboard:
Updates for contacts and composing.
A "Shaken not stirred" kinda theme. Copy paste into the custom theme box:
/* First load the theme. */
@import url("https://austindelamar.com/pm-theme/themes/pm-flat-theme.css");
/* Now override colors. */
:root {
--theme1: #6d5e4e;
--theme2: #68635e;
--theme4: #bbbebf;
--theme5: #82807a;
--theme6: #afa067;
}
/* Set fonts */
body,h1,h2,h3,h4,h5,h6,p,span,b,strong,em,th,td{
font-family: "Georgia", Times, serif !important;
}
/* Button is by itself or some icons will break. */
button {
font-family: "Georgia", Times, serif;
}
Some changes to ui classes.
The text and dark background need to be adjusted to make it more readable.
White around time/date in meta infomation in ProtonMail 3.14.
This fixes it but wasn't sure how to incorporate it into your CSS
.summary-right {
background: var(--theme3)!important;
}
Before
After
Some changes to ui classes. Background coloring being the most noticeable. Need to analyze what CSS to fix.
The search modal's close button looks wonky when :hover is active. Also, the select inputs could use some shadow to match the text inputs. Like so:
`
.pm_form select, .pm_form select:active, .pm_form select:focus {
box-shadow: inset 0 2px 5px rgba(0, 0, 0, .15);
border: 1px solid var(--theme4);
}
form.searchForm fieldset button[type="button"]:hover, .searchForm-action-button:hover {
background: transparent;
color: var(--theme4);
}
`
The color of the currently selected label in the menu bar is white for the flat theme. Makes it hard to read in front of the light background. I think the font-style should be consistent with the other menu items.
When receiving a calendar event / invitation the theme doesn't apply to it. Things like border/background/font colors are not covered in the current CSS rules.
Lot of CSS changes in v3.12.23
A sophisticated theme. Copy paste into the custom theme box:
/* First load the theme. */
@import url("https://austindelamar.com/pm-theme/themes/pm-flat-theme.css");
/* Now override colors. */
:root {
--theme1: #4f4f4f;
--theme6: #777777;
}
/* Set fonts */
body,h1,h2,h3,h4,h5,h6,p,span,b,strong,em,th,td{
font-family: "Georgia", Times, serif !important;
}
/* Button is by itself or some icons will break. */
button {
font-family: "Georgia", Times, serif;
}
Drop down list for alternate emails "From" list is hard to read. Text color should contrast with bg color.
So we can see how themes look like.
First, this depends on NPM publish.
But then, the unpkg link would be as simple as:
https://unpkg.com/[email protected]/themes/pm-dark-theme.min.css
The background color of these buttons are not being applied.
Move to Trash
Move to Archive
Move to Spam
Change Layout (both)
Hi their,
it would be really awesome if you could update the theme wo work with Protonmail 3.7 the new settings sidebar menu does requier some makeup (the back button) and the searchbar too.
Thank you,
Timo
First, thanks for the amazing job with the the dark them.
I just want to flag that the block div.autocompleteEmails-field.autocomplete-container > .awesomplete > ul
seems to lack the right background colour.
To reproduce:
Thanks!
I've found a few additional bugs and perhaps improvements of the GM theme:
Left and top bar: The gray used could/should perhaps be a little darker each. The left one and the red font on the bottom don't match that well - the contrast is a bit too low so it's hard to read. So I changed theme2 to #3f3f40 and theme5 to #696a6c. That's a personal thing obviously but as I worked in webdesign, those minor things (like color matching/blocking) nag a bit on me ;) Just thinking those two changes would appear in a bit more harmonious default
Settings / Dashboard: The red "Info" text next to the (i) Button for more information on the professional option have borders around. Those aren't nice to look at nor are they in the default theme.
Settings / Folders/Labels: (and any page with toggles) The toggles have a fine border and background around them. Shouldn't be there. Edit & Delete Buttons have no spacing between them and look crowded.
Settings / Filters: Same as 3, toggles with borders, three buttons on the right with no spacing. Also the Whitelist Buttons for move and delete look too big and crowded with the box border.
Settings / Autorespond: Biggest issue with the toggle background and border as it get's stretched the whole 50% grid and interferes with the "Answer" text on the right if enabled.
Settings / Security: The toggles again ;)
Settings / Design: Toggles! And didn't notice it before but the Dropdowns all look like white text boxes, the down arrow seems missing. And for german text the last box (left to right) is too narrow. Did a quick test and it seems the "z-index: 3" is the problem with the missing arrow.
Settings / Payment: The download buttons again shows it's a tad too big and touches the bottom divider line so it just looks "crowded". Either adding margin:2px to .pm_button or reducing it's height and line-height from 34 to ~30 would do fine.
But even if that list starts sounding like nitpicking, I just want to say a big thank you, as the all-around quality of the theme/changes is amazing and makes using protonmail much more fun (for me at least) and eye-candy ;)
Greets,
Jens
The header/masthead, search dialog, message info section, and possibly more, have changed in v3.7.1...
This will make it simpler to copy the CSS source without getting that intermediate step of clicking "raw" on a github source page.
Search Modal background color is uneven.
// flat-theme, gm-theme
.searchForm-advanced-container, .searchForm-advanced-main, .searchForm-advanced-wrapper {
background-color: var(--theme3);
}
// dark-theme
.searchForm-advanced-container, .searchForm-advanced-main, .searchForm-advanced-wrapper {
background-color: var(--theme7);
}
I'd make a feature suggestion to include a dark-style version of the Background Image Theme just like e.g. the current GMail style with a little bigger search bar fonts, font-spacings etc.
In the search modal, some of the input fields like "Location" have a different background color than others.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.