Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Dark mode images #2084

Merged
merged 1 commit into from
Dec 28, 2022
Merged

Dark mode images #2084

merged 1 commit into from
Dec 28, 2022

Conversation

int-y1
Copy link
Contributor

@int-y1 int-y1 commented Dec 28, 2022

Part of #2035. Use inverted brightness for:

  • LaTeX images
  • Comment editor buttons

Capture1

@codecov-commenter
Copy link

Codecov Report

Base: 46.65% // Head: 46.65% // No change to project coverage 👍

Coverage data is based on head (7a4b94c) compared to base (60964b2).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2084   +/-   ##
=======================================
  Coverage   46.65%   46.65%           
=======================================
  Files         238      238           
  Lines       13250    13250           
=======================================
  Hits         6182     6182           
  Misses       7068     7068           
Impacted Files Coverage Δ
judge/jinja2/markdown/__init__.py 63.38% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

'svg': result['svg'], 'png': result['png'],
'width': result['meta']['width'], 'height': result['meta']['height'],
'tail': ' /' if self.options.get('use_xhtml') else '',
}
style = ['max-width: 100%',
'height: %s' % result['meta']['height'],
'max-height: %s' % result['meta']['height'],
'width: %s' % result['meta']['height']]
'width: %s' % result['meta']['width']]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

beautiful.

@Xyene Xyene merged commit 98ea6e8 into DMOJ:master Dec 28, 2022
@int-y1 int-y1 deleted the img-dark branch December 28, 2022 23:01
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants