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

fix(Popup): update styles for popup colors in Teams themes #1561

Merged
merged 5 commits into from
Jul 9, 2019

Conversation

codepretty
Copy link
Collaborator

Updated the box shadow and border colors for popup in Teams theme

Teams theme
image

Teams-dark theme
image

Teams-high-contrast theme
image

@codecov
Copy link

codecov bot commented Jun 28, 2019

Codecov Report

Merging #1561 into master will increase coverage by 0.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1561      +/-   ##
==========================================
+ Coverage   71.67%   71.68%   +0.01%     
==========================================
  Files         848      847       -1     
  Lines        6916     6915       -1     
  Branches     1985     1965      -20     
==========================================
  Hits         4957     4957              
+ Misses       1953     1952       -1     
  Partials        6        6
Impacted Files Coverage Δ
...es/teams/components/Popup/popupContentVariables.ts 0% <ø> (ø) ⬆️
...hemes/teams/components/Popup/popupContentStyles.ts 16.66% <ø> (ø) ⬆️

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 8c9ef6b...c02b3e3. Read the comment docs.

@@ -13,9 +16,12 @@ export interface PopupContentVariables {

export default (siteVars: any): PopupContentVariables => {
return {
borderColor: siteVars.colors.grey[250],
borderColor: siteVars.colorScheme.default.border2,
borderRadius: pxToRem(3),
Copy link
Member

Choose a reason for hiding this comment

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

Should this be an explicit value instead of rems because of the border being 1px always?

@codepretty codepretty merged commit 9717c1a into master Jul 9, 2019
@delete-merged-branch delete-merged-branch bot deleted the update-shadows branch July 9, 2019 01:01
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

3 participants