facebook

[Light theme only] bug-report + fix: partstyle.css overrides editor background

  1. DevStyle
  2.  > 
  3. Getting Help
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #593323 Reply

    justyourimage
    Participant

    Host OS: Windows 8.1 x64
    Eclipse Version: Neon.3 Release (4.6.3)
    Build id: 20170314-1500

    Decided to dive in myself since the thing has gotten on my nerves all the time … seemingly you have had some reports here in the forum for the same occasions.

    com.genuitec.eclipse.theming.css_1.10.0.201801162128/css/include/partstyle.css

    These two rules are the cause of the editor-background being overriden all the time:

    .MPart DatePicker > Text,
    .MPart ScheduleDatePicker > Text,
    .MPart Composite > StyledText, /*LIGHTONLY*/
    .MPart StyledText, /*LIGHTONLY*/
    .MPart SashForm > Text[style~='SWT.BORDER'] {
        background-color: #3f4447; /*DARKONLY*/
        background-color: #101213; /*LIGHTONLY*/
        color: #BBBBBB;
    }
    
    .MPartStack.active .MPart DatePicker > Text,
    .MPartStack.active .MPart ScheduleDatePicker > Text,
    .MPartStack.active .MPart Composite > StyledText, /*LIGHTONLY*/
    .MPartStack.active .MPart StyledText, /*LIGHTONLY*/
    .MPartStack.active .MPart SashForm > Text[style~='SWT.BORDER'] {
        background-color: #2f3436; /*DARKONLY*/
        background-color: #101213; /*LIGHTONLY*/
        color: #cccccc;
    }

    I couldn’t exactly find out why they do so but removing those two actually got the editor background to work again. Before that no matter what the default value was weirdly overriden to 250,250,250 (#fafafa) for whatever reason … maybe it’s related to your engine parsing the rules in a wrong way / hiccups?

    Cheers!

    #593346 Reply

    Aaron Lara
    Member

    @justyourimage, Thank you for finding this out! Looks like we introduced this bug while trying to fix another one ¯\_(ツ)_/¯ (Hate when that happens?). We will fix this for our next release.

    Thanks again!
    Aaron Lara

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: [Light theme only] bug-report + fix: partstyle.css overrides editor background

You must be logged in to post in the forum log in