Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

extend template for light theme #1305

Merged
merged 4 commits into from
Oct 29, 2020
Merged

extend template for light theme #1305

merged 4 commits into from
Oct 29, 2020

Conversation

nicolasmartinrojo
Copy link
Contributor

No description provided.

@@ -1114,6 +1115,7 @@ export const theme = {
selectFontWeight,
selectColorLT,
selectFontWeightBold,
panelTabColor,
Copy link
Contributor

Choose a reason for hiding this comment

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

you need to also add panelTabColor to themeLT and themeBS and have it equals to the value of subtextColor in that theme

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Nice catch!. as both themes extends the theme variable I've added to themeLT and themeBS just the cases where that value was overwritten

@@ -1310,6 +1312,7 @@ export const theme = {
lineHeight,
textColor,
textColorLT,
dataTabletextColor,
Copy link
Contributor

Choose a reason for hiding this comment

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

same as above

Copy link
Contributor Author

Choose a reason for hiding this comment

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

same as above

@@ -1350,6 +1353,7 @@ export const theme = {
sliderHandleWidth,
sliderHandleColor,
sliderHandleTextColor,
sliderInactiveBorderColor,
Copy link
Contributor

Choose a reason for hiding this comment

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

same as above

Copy link
Contributor Author

Choose a reason for hiding this comment

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

same as above

@@ -42,6 +42,7 @@ export const labelColorLT = '#6A7485';

export const textColor = '#A0A7B4';
export const textColorLT = '#3A414C';
export const dataTabletextColor = textColorLT;
Copy link
Contributor

Choose a reason for hiding this comment

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

dataTableTextColor

@@ -1494,6 +1498,7 @@ export const themeLT = {
sliderBarColor: '#A0A7B4',
sliderBarBgd: '#D3D8E0',
sliderHandleColor: '#F7F7F7',
Copy link
Contributor

Choose a reason for hiding this comment

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

You created 4 new theme names

dataTabletextColor
sliderInactiveBorderColor
panelTabColor
dataTabletextColor

Stll missing some in temeLT and themeBS
Be diligent please

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Both themeLT and ThemeBS extends from theme. the variables has been added there(in theme). should I add them again in both themes?

Copy link
Contributor

Choose a reason for hiding this comment

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

for the ones share same value between dark and light, you don't need to, but for the ones have different values you need to add them to light specifically

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This change was attended

@heshan0131 heshan0131 merged commit 334f0b7 into master Oct 29, 2020
@delete-merged-branch delete-merged-branch bot deleted the feature/lightTheme branch October 29, 2020 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants