Skip to content
This repository was archived by the owner on Mar 4, 2020. It is now read-only.

feat: give component examples a theme specific background #316

Merged
merged 3 commits into from
Oct 4, 2018

Conversation

codepretty
Copy link
Collaborator

@codepretty codepretty commented Oct 4, 2018

Allowing component examples to use theme specific backgrounds

Example for Dark theme
image

Copy link
Member

@levithomason levithomason left a comment

Choose a reason for hiding this comment

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

See comment

color: siteVariables.bodyColor,
}}
>
<div dir={showRtl ? 'rtl' : undefined}>{exampleElement}</div>
Copy link
Member

Choose a reason for hiding this comment

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

While we're touching this area, let's hoist dir up to the Column component.

@codepretty codepretty changed the title [WIP] theme background for doc examples feat: give component examples a theme specific background Oct 4, 2018
@codecov
Copy link

codecov bot commented Oct 4, 2018

Codecov Report

Merging #316 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #316   +/-   ##
=======================================
  Coverage   89.54%   89.54%           
=======================================
  Files          62       62           
  Lines        1177     1177           
  Branches      152      152           
=======================================
  Hits         1054     1054           
  Misses        121      121           
  Partials        2        2

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 70acc81...cb588f6. Read the comment docs.

@codepretty codepretty merged commit 7ca9cfd into master Oct 4, 2018
@codepretty codepretty deleted the feat/add-bg-examples branch October 4, 2018 19:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants