-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove gradient background #150
Remove gradient background #150
Conversation
Hey please update snapshots again |
8dee710
to
518d02d
Compare
const DARK_BG_COLOR = 'linear-gradient(rgb(0, 0, 42), rgb(82, 87, 110))'; | ||
const LIGHT_BG_COLOR = 'radial-gradient(#efeded, #8f9091)'; | ||
|
||
const DEFAULT_MESH_COLOR = new THREE.Color('#434442'); | ||
const SELECTED_MESH_COLOR = new THREE.Color('#AB5118'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we make the mesh color a little bit brighter?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes I'm working on it 👍🏽
518d02d
to
cba4898
Compare
const DEFAULT_MESH_COLOR = () => new THREE.Color(getCSSVariableColor('--jp-inverse-layout-color4')); | ||
const DEFAULT_EDGE_COLOR = () => new THREE.Color(getCSSVariableColor('--jp-inverse-layout-color2')); | ||
const SELECTED_MESH_COLOR = () => new THREE.Color(getCSSVariableColor('--jp-brand-color0')); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure about these, it's probably too expensive to evaluate everytime we need colors. I'll change it to evaluate only when the theme changes.
@trungleduc this is ready! |
Thanks! |
No description provided.