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

feat(colors): add red color scheme in Teams theme #1353

Merged
merged 8 commits into from
May 20, 2019

Conversation

mnajdova
Copy link
Contributor

@mnajdova mnajdova commented May 17, 2019

  • added red color scheme specified by the design theme
  • fixed some color schemes for the colors still not red-lined with design, in order to improve the usage showcase in the mean time

manajdov added 2 commits May 17, 2019 10:56
-added new colors in default color scheme
-refactored label variables to use inverted color scheme
@@ -40,13 +40,16 @@ export const colorScheme: ColorSchemeMapping = {
default: {
foreground: colors.white,
foreground1: colors.grey[250],
foreground3: colors.grey[300],
foreground4: colors.white,
foreground2: colors.grey[300],
Copy link
Contributor Author

@mnajdova mnajdova May 17, 2019

Choose a reason for hiding this comment

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

Fixed wrong name of color scheme token, added two new approved by design.

default: {
background: color,
foreground: 'rgb(232, 232, 232)',
foreground: 'rgba(0, 0, 0, 0.6)',
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Would really like to use here some color scheme values, because these overrides now goes to all themes (this is why we have to add labelVariables in teams and HC theme), which are actually partially copies from the light theme :(

@codecov
Copy link

codecov bot commented May 17, 2019

Codecov Report

Merging #1353 into master will decrease coverage by 0.04%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1353      +/-   ##
==========================================
- Coverage   72.39%   72.35%   -0.05%     
==========================================
  Files         770      772       +2     
  Lines        5749     5751       +2     
  Branches     1680     1680              
==========================================
- Hits         4162     4161       -1     
- Misses       1581     1584       +3     
  Partials        6        6
Impacted Files Coverage Δ
...rc/themes/teams/components/Label/labelVariables.ts 0% <ø> (ø) ⬆️
packages/react/src/themes/teams/siteVariables.ts 100% <ø> (ø) ⬆️
packages/react/src/themes/teams/colors.ts 76.47% <ø> (-1.31%) ⬇️
packages/react/src/themes/teams-dark/colors.ts 100% <ø> (ø) ⬆️
...ges/react/src/themes/teams-high-contrast/colors.ts 100% <ø> (ø) ⬆️
...s-high-contrast/components/Label/labelVariables.ts 0% <0%> (ø)
...emes/teams-dark/components/Label/labelVariables.ts 0% <0%> (ø)

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 bbace32...8a26af2. Read the comment docs.

@mnajdova mnajdova changed the title feat(colors): add red color scheme in Teams theme; improved label's usage of the color scheme feat(colors): add red color scheme in Teams theme May 20, 2019
@mnajdova mnajdova merged commit 24337ce into master May 20, 2019
@delete-merged-branch delete-merged-branch bot deleted the feat/add-red-color-scheme branch May 20, 2019 14:03
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.

3 participants