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

refactor(Theme): move base theme styles to teams theme #1908

Merged
merged 34 commits into from
Sep 12, 2019

Conversation

mnajdova
Copy link
Contributor

@mnajdova mnajdova commented Sep 10, 2019

We decided to remove the base theme from Stardust, as it was created in an early stage, where we didn't have more use-cases to test it against. All theme definitions (styles, variables, siteVariables etc( that were currently in the base theme, are now moved to the teams theme.

The plan is to start to work on the base theme, with adding some more designs/applications where we will test whether the definitions added in the base theme are sufficient for achieving all different cases.

For Teams theme, this is not breaking change, as all styles from base theme are now included directly in Teams theme.

Introduced PR #1941 for explicitly adding typings for teams theme as ThemePrepared, as we no longer use mergeThemes when exporting it.

@codecov
Copy link

codecov bot commented Sep 10, 2019

Codecov Report

Merging #1908 into master will increase coverage by 0.34%.
The diff coverage is 41.54%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1908      +/-   ##
==========================================
+ Coverage   69.99%   70.34%   +0.34%     
==========================================
  Files         898      877      -21     
  Lines        7818     7738      -80     
  Branches     2254     2241      -13     
==========================================
- Hits         5472     5443      -29     
+ Misses       2336     2285      -51     
  Partials       10       10
Impacted Files Coverage Δ
.../themes/teams/components/Chat/chatMessageStyles.ts 2.32% <ø> (ø) ⬆️
.../teams/components/Provider/providerBoxVariables.ts 0% <ø> (ø) ⬆️
.../src/themes/teams/components/Icon/iconVariables.ts 50% <ø> (ø) ⬆️
...rc/themes/teams/components/Image/imageVariables.ts 0% <ø> (ø)
.../themes/teams/components/Slider/sliderVariables.ts 0% <ø> (ø) ⬆️
...t/src/themes/teams/components/Embed/embedStyles.ts 0% <ø> (ø) ⬆️
.../components/Dropdown/dropdownSelectedItemStyles.ts 25% <ø> (ø) ⬆️
.../src/themes/teams/components/Text/textVariables.ts 33.33% <ø> (ø) ⬆️
...act/src/themes/teams/components/Menu/menuStyles.ts 0% <ø> (ø) ⬆️
...s-high-contrast/components/Input/inputVariables.ts 0% <ø> (ø) ⬆️
... and 69 more

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 723d5dd...d343b5c. Read the comment docs.

@mnajdova mnajdova changed the title refactor(Checkbox): move base theme styles to teams theme refactor(Theme): move base theme styles to teams theme Sep 10, 2019
manajdov added 2 commits September 11, 2019 12:13
…ms-theme' into refactor/move-base-styles-to-teams-theme
@vercel vercel bot temporarily deployed to staging September 11, 2019 22:47 Inactive
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.

👍

@mnajdova mnajdova merged commit e55dbd3 into master Sep 12, 2019
@mnajdova mnajdova deleted the refactor/move-base-styles-to-teams-theme branch September 12, 2019 00:31
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.

None yet

2 participants