GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat: add dark option for code blocks by mjcuva · Pull Request #284 · readmeio/markdown

Conversation

@mjcuva

@mjcuva mjcuva commented Sep 1, 2021

Copy link
Copy Markdown
Member

Added a dark mode option!

image

I don't love the look of the tabs, I think we can probably make those look a little bit better. I think we should make this the default in the new design!

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
mjcuva added 2 commits September 1, 2021 13:44
@mjcuva
feat: add dark option for code blocks
1a156dd
@mjcuva
fix: messed up some selectors
28abfc8
@mjcuva
mjcuva requested review from rafegoldberg and runnabro September 1, 2021 20:48
@kellyjosephprice
kellyjosephprice temporarily deployed to markdown-pr-284 September 1, 2021 20:48 Inactive
runnabro
runnabro reviewed Sep 1, 2021
View reviewed changes
Comment thread components/Code/style.scss
}

pre code.theme-dark {
background-color: $background-dark;

@runnabro runnabro Sep 1, 2021

Copy link
Copy Markdown
Contributor

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.

Is this doubled for ie?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@mjcuva
fix: broken test
9479795
runnabro
runnabro approved these changes Sep 1, 2021
View reviewed changes

@runnabro runnabro left a comment

Copy link
Copy Markdown
Contributor

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.

Looks good! I'm miiiildly worried about changing the default from light to dark. If you're confident customers won't care then I'm on board!

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

rafegoldberg reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@mjcuva
mjcuva temporarily deployed to markdown-pr-284 September 1, 2021 20:58 Inactive
@mjcuva

mjcuva commented Sep 1, 2021

Copy link
Copy Markdown
Member Author

@runnabro I'm not super worried, especially if we make sure that the new dark theme only is enabled in the redesign. I don't think any custom css will break and it makes everything more consistent!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@rafegoldberg

rafegoldberg commented Sep 1, 2021 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Collaborator

I am also worried about changing it; I think it simply adds friction and makes it harder to manage reactions, versus if we were to just allow it to be an opt-in thing. I still maintain that adding this as a toggle in the dash makes a whole lot of sense as an option for a documentation provider like ourselves! Plus, adding a dash-side opt-in for the dark theme would solve the issue of how to release it.

But it's not a hill I'm willing to die on so I won't push it any further! 🙃

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

rafegoldberg
rafegoldberg approved these changes Sep 1, 2021
View reviewed changes
Kelly Joseph Price
update snapshots
c418a5b
@kellyjosephprice
kellyjosephprice temporarily deployed to markdown-pr-284 September 20, 2021 17:14 Inactive
Kelly Joseph Price
Merge branch 'next' into use-same-syntax-highlighter-theme-as-rm-344
9b6ec44
@kellyjosephprice
kellyjosephprice temporarily deployed to markdown-pr-284 September 20, 2021 17:16 Inactive
Kelly Joseph Price
revert test theme
b33bd28
@kellyjosephprice
kellyjosephprice temporarily deployed to markdown-pr-284 September 20, 2021 17:57 Inactive
Kelly Joseph Price
Revert "update snapshots"
14a1643
This reverts commit c418a5b.
@kellyjosephprice
kellyjosephprice temporarily deployed to markdown-pr-284 September 20, 2021 17:59 Inactive
@kellyjosephprice
kellyjosephprice merged commit 885b844 into next Sep 20, 2021
@kellyjosephprice
kellyjosephprice deleted the use-same-syntax-highlighter-theme-as-rm-344 branch September 20, 2021 18:10
@rafegoldberg

ghost commented Sep 20, 2021

Copy link
Copy Markdown
Collaborator

This PR was released!

🚀 Changes included in v6.31.0

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@rafegoldberg rafegoldberg added the released label Sep 20, 2021

This branch was previously deployed

1 inactive deployment
markdown-pr-284 — 14a16433 Deployed Sep 20, 2021 by kellyjosephprice
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@rafegoldberg rafegoldberg rafegoldberg approved these changes
@runnabro runnabro runnabro approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

released

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@mjcuva @rafegoldberg @runnabro @kellyjosephprice
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.