dart-pad icon indicating copy to clipboard operation
dart-pad copied to clipboard

Light mode

Open elcolie opened this issue 4 years ago • 7 comments

I use white theme on my laptop. DartPad is using dracula mode and it blur my eyes when switch between IDE and DartPad

elcolie avatar Oct 05 '20 16:10 elcolie

Yes please!

sebastianhaberey avatar Aug 23 '21 16:08 sebastianhaberey

Yes please as well.

danbrotherston avatar Sep 08 '21 14:09 danbrotherston

Me too, too. But while we're waiting, here's my .css for fixing this. I use it with Cascadea on Safari.

Enjoy!

dartpad.css
header, body, footer, .CodeMirror, #issues, .mdc-button, .message, .mdc-tab__text-label {
	background-color: #eee !important;
	color: #000 !important;
}
.CodeMirror-gutter {
	background-color: #ddd !important;
	color: #000 !important;
}
.CodeMirror-selected {
	opacity: 0.3; !important;
}
.CodeMirror-cursor {
    border-left:2px solid #555 !important
}
#run-button {
	background-color: #99c !important;
}
/* Dart code */
.cm-keyword {
	color: #080 !important;
}
.cm-string {
	color: #800 !important;
}
.cm-builtin {
	color: #000 !important;
}
.cm-variable {
	color: #00a !important;
}
.cm-operator {
	color: #08f !important;
}
.cm-number {
	color: #808 !important;
}
.cm-variable-2 {
	color: #644 !important;
}
.mdc-tab-indicator__content--underline {
	border-color:#000 !important;
}
/* html */

.cm-tag {
	color: #242 !important;
}
.cm-attribute {
	color: #224 !important;
}

/* css pane */
.cm-property {
	color: #422 !important;
}
.cm-atom {
	color: #644 !important;
}
/* console */
p {
	color: #000 !important;
}
.normal {
	color: #000 !important;
}
h1 {
	color: #068 !important;
}
em{
	color: #633 !important;
}
a {
	color: #227 !important;
}
.launch-icon {
	background-color: #008 !important;
}

mykdavies avatar Apr 17 '22 15:04 mykdavies

Yes, only those who have dyslexia know how bad it is, please!

henriqueArrazao avatar Jun 13 '22 11:06 henriqueArrazao

wait.... you guys using light theme????

myxzlpltk avatar Jun 29 '22 06:06 myxzlpltk

I would love to have this as well. Even more, to have it synced with the system defaults. I switch between light mode during the daytime, when there's a lot of light in the room and dark mode at night.

dumazy avatar Aug 21 '22 09:08 dumazy

Another vote in favour or a light theme. I can't use it otherwise. It's way too hard on my eyes.

rontarrant avatar Sep 14 '22 10:09 rontarrant

Anyone interested, see workaround for light theme in https://github.com/dart-lang/dart-pad/issues/1260#issuecomment-1333580800

ivanzoid avatar Dec 01 '22 13:12 ivanzoid

Voting for this 👍

lwinch2006 avatar Aug 19 '23 13:08 lwinch2006

Whether it's day or night, I've never been able to use dark themes, it always hurts my eyes. So for now, no DartPad for me :(

nicolas-mace avatar Nov 24 '23 14:11 nicolas-mace

Whether it's day or night, I've never been able to use dark themes, it always hurts my eyes. So for now, no DartPad for me :(

I agree. I find it unfathomable that dark mode is the only option on a growing number of applications. I have to wonder if these developers are looking to shrink their user base?

rontarrant avatar Dec 06 '23 13:12 rontarrant

The now-live version of DartPad outlined in https://github.com/dart-lang/dart-pad/issues/2808 now has a persistent button to switch between light and dark themes. Thanks for all of the feedback and discussion here!

If you have any feedback around the current light and dark modes, please open an issue with specific feedback. Thanks again :D

parlough avatar Feb 18 '24 02:02 parlough