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

fix(Segment): add background color #408

Merged
merged 2 commits into from
Oct 29, 2018
Merged

Conversation

levithomason
Copy link
Member

@levithomason levithomason commented Oct 29, 2018

See #407, the Segment does not have a background color currently.

This PR adds a background color that matches the body background. A few other style values were also hoisted to the variables position.


export interface SegmentVariables {
padding: string
color: string
Copy link
Member

Choose a reason for hiding this comment

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

color and fontSize are not used anywhere in segmentStyles

Copy link
Member Author

Choose a reason for hiding this comment

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

thanks, fixed

@codecov
Copy link

codecov bot commented Oct 29, 2018

Codecov Report

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

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #408   +/-   ##
=======================================
  Coverage   91.72%   91.72%           
=======================================
  Files          41       41           
  Lines        1341     1341           
  Branches      197      172   -25     
=======================================
  Hits         1230     1230           
  Misses        107      107           
  Partials        4        4

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 79ba776...1c54f32. Read the comment docs.

@levithomason levithomason merged commit 37f4fd1 into master Oct 29, 2018
@levithomason levithomason deleted the fix/segment-background branch October 29, 2018 20:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants