Comments (4)
maybe we can use a styling like this
/* for the fixed header */
table.pluto-table .schema-names th, table.pluto-table .schema-types th:first-child {
background-color: background_color;
}
/* for the rows numbers */
table.pluto-table tbody th:first-child {
background-color: background_color;
}
/* for the hovering header*/
table.pluto-table .schema-types th {
background-color: background_color;
color: output_color;
}
I'm just not sure how to PR this.
from darkmode.
Thanks guys! I've updated the styles to reflect these changes, they should be better now. @zuckberj your suggestions were good! CSS has a keyword called inherit
for the things you were going for, and that did the trick. So you'd write background-color: inherit
instead of background-color: background-color
. I also credited you because your template did most of the heavy lifting :)
from darkmode.
Hey @Pocket-titan, thank you so much for the credits, it really feels good to be part of the community 😄
I tested the fix and I think we have a problem.
The inherit
makes the bg color to be transparent.
Maybe we should use CSS variables to make things more customizable?
I will try to make a PR with this.
from darkmode.
@zuckberj Haha, no problem! And yes, I thought the table bg was the same color as the cell bg in the light mode, too? Or should they be different (& did I miss that completely 🙃)? You could try experimenting with stuff like hsla(0, 0%, 0%, 0.2)
so it overlays, and tune the values a bit until it feels right to you. But css variables also work!
from darkmode.
Related Issues (6)
- how can I make it as a default case where I dont require to enable dark theme again after opening a new notebook? HOT 4
- Theme resets to default when hide and unhide the code block.
- Any plans to register DarkMode as an official package in the Julia registry? HOT 1
- Codeblocks in Live Docs are illegible HOT 3
- text in backticks is white
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 darkmode.