Comments (6)
The icons have been purposely not set to very dark colors so that they should be distinguishable from black background. I see that fails if the background is a similar gray.
It's probably not trivial to make images flip color (in contrast to fonts), unless I encode them in icon fonts, which will probably break on legacy systems that don't support webfonts.
from sketchup-console-plus.
Does commit 5dc2b6b in branch issue-dark-themes improve the situation?
from sketchup-console-plus.
The manually downloaded master (v3.0.2) looks the same.
The best thing going forward would be to have a "themes" folder and beneath that separate named theme folders that have the css and images files in them. Along with a way for user to set the theme.
Then people could contribute theme folders to the project.
from sketchup-console-plus.
That branch is not in a release, only in the source repository.
Hmm, so far there were not yet a lot of people requesting this to justify themeability as a feature, but I'll wait and see. For now, I don't have a problem with users just overwriting the icon resources in the images folder. Or adding in the css file .toolbar button img { filter: brightness(+200%); }
. But I cannot detect the actual color values of the OS theme, I cannot flip such a filter programmatically.
from sketchup-console-plus.
Hmm, so far there were not yet a lot of people requesting this to justify themeability as a feature, but I'll wait and see.
Yeah, well it looks like I'm leaving SketchUp plugin development behind, so it will not affect me going forward.
from sketchup-console-plus.
But I cannot detect the actual color values of the OS theme ...
https://developer.mozilla.org/en-US/docs/Web/API/CSS_Object_Model/Using_dynamic_styling_information
Or adding in the css file
.toolbar button img { filter: brightness(+200%); }
... I cannot flip such a filter programmatically.
rules = document.styleSheets[0].cssRules
for (var i = 0; i < rules.length-1; i++) {
if (rules[i].selectorText == ".toolbar button img") {
rules[i].style.setProperty("filter", "brightness(100%)");
break;
}
}
?
from sketchup-console-plus.
Related Issues (20)
- Multiple warnings when on a Portuguese version HOT 7
- SketchUp Console+ closes when Geolocating HOT 1
- Error when transfering strings with non-UTF-8 compatible bytes HOT 2
- Tutorials HOT 3
- Warning upon launching Console+ 3.1.3 HOT 5
- Text in some console window is white on pale grey - almost ureadable HOT 1
- Points visualized as vectors? HOT 2
- Idea: In-console visualizations HOT 3
- undefined local variable or method `cp' HOT 1
- Draw 3d normals using view.draw? HOT 2
- super laggy some times
- Promise.then method conflicts with standard ruby in Sketchup 2021
- Documentation search not working?
- Console is lagging even after uninstalling console-plus
- Load error, ruby 3
- Display file paths in error trace as a links
- Sketchup2022(Get a reference to an entity in the model by picking it with the pointer.)not work HOT 1
- ReferenceError: ace is not defined HOT 1
- Intro to Sketchup tutorial fails on first step? HOT 5
- Not starting in Sketchup 2024 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 sketchup-console-plus.