Skip to content
This repository has been archived by the owner on Jan 10, 2018. It is now read-only.

Replace Genericons with SVG icons. #253

Merged
merged 84 commits into from Oct 14, 2016
Merged

Conversation

samikeijonen
Copy link
Contributor

Clean PR for replacing Genericons with SVG icons.

imnok and others added 20 commits September 25, 2016 00:32
typo in style.css for h1 size
Swapping tagline color from #bbb to white (the site title color), and
using opacity to make it lighter.
Swapping tagline color from #bbb to white (the site title color), and
using opacity to make it lighter.
Actually includng the change in the PR
The offset includes the navigation height, so it wasn’t docking until the menu went offscreen. By subtracting the menu height when there’s a custom image, we dock the menu at the right scroll position.
Appears to be functionally duplicate to `site-navigation-fixed`, and is causing a “sticky menu” bug.
@melchoyce
Copy link
Contributor

Looks like there's a Travis check failing, @samikeijonen.

@samikeijonen
Copy link
Contributor Author

Yes, I asked @grappler how to solve that. I don't know how that works 😏

@josephfusco
Copy link
Collaborator

josephfusco commented Oct 11, 2016

@samikeijonen If you don't have this installed in your text editor I recommend you do.

https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards#how-to-use

That contains some info on setting up in a few different editors, but if you use Atom here is an awesome post on that specifically. https://tommcfarlin.com/using-php-codesniffer/

Takes some time setting up but allows you to see all of these inline with your code before they reach travis.

@samikeijonen
Copy link
Contributor Author

Thanks @josephfusco. I have tried Atom but had some weird issues on Windows. Going to check again.

samikeijonen and others added 4 commits October 11, 2016 23:21
2. Remove twentyseventeen_do_svg() function.
…l displayed size, not only full viewport width. Handles both content images and featured images. Reworked from Twenty Sixteen.
Remove the animation when “docking” the menu after scroll for a smoother experience.
@samikeijonen
Copy link
Contributor Author

Thanks @laurelfulford for review!

I might have not enough time or skills to fix all the issues (IE8 support, adding icons for comment author and blockquote, minor styling issues) before this is merged to Core. I already talked about this with @davidakennedy.

Therefore I suggest that we do final decision about using SVGs or not. If yes, I suggest that we merge this PR. It's helpful on several ways.

  • Other people can more easily jump in and fix SVG related issues.
  • Avoid double work if there are fixes in Genericon styles in the same time.

@samikeijonen
Copy link
Contributor Author

@ryelle suggestion seems best for using blockquote icon.

For comment author icon I wish there was is_post_author() function. We could then put SVG icon directly in the markup without JS. I'll check how is_post_author() function could work.

@samikeijonen
Copy link
Contributor Author

samikeijonen commented Oct 14, 2016

Okay, I messed this PR also. It ain't funny anymore 😄. Everything should be OK but there are other commits seen also in this PR.

Now I need your help how to proceed.

  1. Create another clean PR.
  2. Merge this if possible.
  3. We can always go with Genericons. There have been new commits to that direction also.

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.

None yet