Closed Hemant2A2 closed 2 months ago
Welcome! 👋 Thanks for opening your first issue here! And to ensure the community is able to respond to your issue, be sure to follow the issue template if you haven't already.
Hi, @Hemant2A2, thanks for reporting this issue. In my view, this problem is related to p5.js
rather than p5.js-web-editor
.
We have another issue regarding making the sketch background be white regardless of the theme. That would also fix this. See #1852
@raclim @lindapaiste I have tried to fix the issue #2785, check this #2801
@raclim @Hemant2A2 I would like to work on this issue
p5.js version
1.9.0
What is your operating system?
Mac OS
Web browser and version
Chrome , Version 120.0.6099.109 (Official Build) (arm64)
Actual Behavior
when the
LABEL
is passed indescribe()
the text colour is not changed when switched to dark/high contrast theme.Light theme:
Dark theme:
Expected Behavior
The text colour should toggle as the user switches between light and dark theme
Steps to reproduce
Steps:
describe()
)Snippet:
function setup() { background('pink');
// Draw a heart. fill('red'); noStroke(); circle(67, 67, 20); circle(83, 67, 20); triangle(91, 73, 75, 95, 59, 73);
// Add a general description of the canvas // and display it for debugging. describe('A pink square with a red heart in the bottom-right corner.', LABEL); }