Comments (6)
Thank you Tusk devs so much for making such excellent dark themes for Evernote. I'm thrilled that somebody has finally done what Evernote has refused to do for its customers for years.
To join in this discussion: I am using Tusk on Windows and I have the same problem with the font color not changing regardless of the theme, so that it is too dark to read. As a temporary fix, I simply go into the Developer Tools, select the text area, and change the CSS for en-note:
en-note {
color: #eeeeee;
}
This change remains at least as long as Tusk is open, and it works great.
Thanks again!
from tusk.
Hi there,
As a software engineer, I really like to use editors with dark theme. So I am going to say what you did was really great. Solving the problem of having no way to customize the theme of Evernote.
While there is a problem about the font color in dark/black theme. After I check out the code, I think the problem can be solved with javascript injection. Then we can manipulate the CSS style within the iframe.
Here is the code I added in browser.js
(see also: https://github.com/jlee58/tusk)
function setFontColor(color){
//inject Javascript to set font color
var content = 'var frame = document.getElementById("en-common-editor-iframe");\
if (frame){\
frame.contentWindow.document.getElementById("en-note").style.color = "' + color + '"\}';
webFrame.executeJavaScript(content);
}
function darkMode() {
document.documentElement.classList.toggle('dark-mode', config.get('darkMode'));
config.get('darkMode')?setFontColor('#DDD'):setFontColor('#000');
}
After this changed, the Vibrant theme will not work properly. I have no idea what is going wrong, hoping you will fix it.
Thanks
from tusk.
@coolfizzin thank you, this is exactly what I was looking for.
I think we could at least allow for some user setting in addition to theme that sets a default text color on new notes?
from tusk.
Feature added on bfb835b
: )
from tusk.
from tusk.
Thank you very much. It looks great!
from tusk.
Related Issues (20)
- Tusk 0.23 opening to a completely blank page. HELP! HOT 3
- Yeah !!! Tusk is back. HOT 1
- Couldn’t sign you in HOT 3
- "Error: Dependecy is not satisfiable: libappindicator1" on Mint
- Export doesn't work on Ubuntu HOT 1
- Batch Export: I need to export several notes in one file
- Login shows insecure browser page HOT 1
- Sometimes hanging on syncing HOT 2
- Keyboard shortcuts are not working
- Can't paste images in notes HOT 1
- Tusk App GUI not working on my Ubuntu 21.10 HOT 5
- Ability to Sort By Tags
- Code block not working
- Gtk-Message: Failed to load module "canberra-gtk-module" and additional questions
- It shows white screen after start HOT 6
- White screen
- Image in white
- Blank Screen
- Unresponsive blank window - can't login or out
- Is this project dead? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tusk.