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

[Theme] Inverted social icons in night theme #2209

Merged
merged 1 commit into from Mar 26, 2019

Conversation

Glennmen
Copy link
Contributor

@Glennmen Glennmen commented Mar 25, 2019

What type of PR is this? (check all applicable)

  • Refactor
  • Feature
  • Bug Fix
  • Documentation Update

Description

Inverted the social icons in the sidebar so they will be more visible when using night theme. Inverting them will remove the need to provide icons in a different colour.

I know filter: var(--theme-social-icon-invert, invert(0)); looks ugly, I tried it this way first: filter: invert(var(--theme-social-icon-invert, 0)); but it kept giving me a SASS error.

Sass::SyntaxError at /
$color: "var(--theme-icon-invert, 0)" is not a color for `invert'

I think it is related to this issue: sass/libsass#151 but it was fixed this this PR: sass/libsass#515
Any suggestions are welcome to clean it up.

Related Tickets & Documents

/

Mobile & Desktop Screenshots/Recordings (if there are UI changes)

Before

Screenshot at Mar 25 21-40-50

After

Screenshot at Mar 25 22-06-56

Added to documentation?

  • docs.dev.to
  • readme
  • no documentation needed

@pr-triage pr-triage bot added the PR: unreviewed bot applied label for PR's with no review label Mar 25, 2019
@pr-triage pr-triage bot added PR: reviewed-approved bot applied label for PR's where reviewer approves changes and removed PR: unreviewed bot applied label for PR's with no review labels Mar 26, 2019
@benhalpern benhalpern merged commit cfd61b3 into forem:master Mar 26, 2019
@pr-triage pr-triage bot added PR: merged bot applied label for PR's that are merged and removed PR: reviewed-approved bot applied label for PR's where reviewer approves changes labels Mar 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: merged bot applied label for PR's that are merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants