Comments (8)
Please check which version you have installed with the command below
npm ls node-red-contrib-theme-midnight-red
from midnight-red.
@dbeltman did you check which version of the theme you have installed?
from midnight-red.
Back again, work happened:)
root@ed18e64a98a6:/data# npm ls node-red-contrib-theme-midnight-red
[email protected] /data
-- [email protected]
That's the output from the command, i haven't changed anything in the last week.
After this, I also tried updating to 1.0.29, but still no dark main grid.
I have tried Chromium and firefox both in private mode so there shouldnt be any caching issues!
Running node-red on docker, if that makes any difference?
from midnight-red.
Can you send a screenshot?
Do you have Show grid
enabled in settings?
from midnight-red.
Also, please update to the new package.
https://www.npmjs.com/package/@node-red-contrib-themes/midnight-red
After installing it you can remove the old one with the command below.
npm uninstall node-red-contrib-theme-midnight-red
from midnight-red.
I also switched to your package using npm i @node-red-contrib-themes/midnight-red
and removed the old one using the command you provided. With that i also updated the settings.js to reflect the new path. I ran all these commands in the /data folder, where my docker volume is mounted at with settings.js and node_modules in it.
However, the issue still persists in the same way: A lot of menu elements are darkened but not all plus the main grid. As a sanity check i removed the css from config and everything became white again. So it's picking up the correct path i presume..
Here is my current theme config:
// Customising the editor
editorTheme: {
page: {
css: "/data/node_modules/@node-red-contrib-themes/midnight-red/theme.css"
},
projects: {
// To enable the Projects feature, set this value to true
enabled: false
}
}
from midnight-red.
Thanks for sending all those details.
I do have show grid enabled:
Sorry, I thought you were not seeing the grid, like in #13.
I also switched to your package using npm i @node-red-contrib-themes/midnight-red and removed the old one
Nice! 🙂
I ran all these commands in the /data folder, where my docker volume is mounted at with settings.js and node_modules in it.
The issue is that the theme is compatible with Node-RED 1.0 (and above). By the screenshot you sent, I see you're still on 0.20.X.
You have two options then:
Upgrade Node-RED (recommended)
OR
Remove the current theme package and install the last version I released with support to 0.20.X. Please note that this package is DEPRECATED.
npm uninstall @node-red-contrib-themes/midnight-red
npm install [email protected]
I'm closing this issue since it's not a problem with the package.
from midnight-red.
thanks @bonanitech. Major fail on my end. Turns out i am running the same docker container as i was 1-2 years ago (lessons learned from statically defining node-red image in DockerFile), and i was under the assumption that i was using the latest node-red image.. Will update Node-red and try your package again!
from midnight-red.
Related Issues (20)
- Dark mode Function Node background - Urrg ! HOT 2
- Does not work on Raspberry pi 3 HOT 1
- .red-ui-diff-text seem to be very hard to read HOT 1
- Wrong scrollbars instruction HOT 1
- Disabled Flows Can't Be Read in Sidebar HOT 3
- installation in node-red with docker HOT 1
- Installation of the theme in a Docker Environment HOT 1
- Debug message border color HOT 1
- Unable to install using Docker HOT 9
- Disabled typedInput are white HOT 1
- Debug New Window not themed HOT 1
- Editor won't load after chaging theme under docker HOT 5
- Config nodes tab almost unreadable HOT 3
- Windows 10 appears not be working with midnight-red HOT 2
- Tabs for flows and sidebar have a strange white gradient on the right. HOT 4
- Monaco editor does not follow the theme HOT 4
- Wrong shading on tabs after update + missing "x" HOT 2
- Themes not working HOT 5
- Not all node instructions are readable with this theme installed. HOT 13
- Problem when changing the editor for function nodes. Theme colour/s lost. HOT 2
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 midnight-red.