Skip to content

UI fixes#165

Merged
Davy-c merged 4 commits intomasterfrom
ui-fixes
Dec 18, 2019
Merged

UI fixes#165
Davy-c merged 4 commits intomasterfrom
ui-fixes

Conversation

@kazup01
Copy link
Copy Markdown
Member

@kazup01 kazup01 commented Dec 17, 2019

Screen Shot 2019-12-17 at 22 08 58

<>
{prev}
<div className='separator'>></div>
<div className='separator'>/</div>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Let's also use &frasl; instead of /, will prevent some lint errors

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Fixed.


export const sideBarTextColor = ({ theme }: StyledProps) =>
`color: ${theme.sideBarTextColor};`
export const sideBarTextColor = ({
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

the sidebarTextColor is already used in three components, and the other components have not been adapted to this change.

keep only

export const sideBarTextColor = ({ theme }: StyledProps) =>
  `color: ${theme.sideBarTextColor};`

or change the other affected components

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

It is okey because UI is natural in other sections.

export const activeBackgroundColor = ({ theme }: StyledProps) =>
`background-color: ${theme.activeBackgroundColor};`

export const activeSideBarSecondaryTextColor = ({ theme }: StyledProps) =>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I don't think this is used anywhere

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Deleted.

Comment thread src/lib/styled/styleFunctions.ts Outdated
export const textColor = ({ theme }: StyledProps) =>
`color: ${theme.textColor};`

export const activeUiTextColor = ({ theme }: StyledProps) =>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I don't think this is used anywhere

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Deleted.

Kazumasa Yokomizo and others added 3 commits December 18, 2019 10:48
@Davy-c Davy-c merged commit 648301d into master Dec 18, 2019
@Davy-c Davy-c deleted the ui-fixes branch December 18, 2019 02:16
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.

2 participants