GithubHelp home page GithubHelp logo

Create black icons set about keynote-octicons HOT 5 CLOSED

primer avatar primer commented on July 2, 2024
Create black icons set

from keynote-octicons.

Comments (5)

sophshep avatar sophshep commented on July 2, 2024 1

@nathos I've updated the octicons in this repo so the keynote file has both black and white versions that can be copied & pasted.

from keynote-octicons.

jonrohan avatar jonrohan commented on July 2, 2024

@sophshep could you add a black version?

@nathos I started hacking on making this more automated, but I couldn't find any great prior-art for

  • converting svg to keynote
  • or creating keynote templates programmatically
  • or creating powerpoint files programmatically

Ideally in the future this repo will pull in the svg files from primer/octicons and build the template.

from keynote-octicons.

nathos avatar nathos commented on July 2, 2024

@jonrohan I did discover that when using Sketch's "Export Artboards to PDF" from the octicons-master.sketch file, it does a create a nice multi-page PDF:

octicons-master.pdf

Each page can be copy/pasted into Keynote as a vector object.

…but yes, creating the Keynote programmatically seems troublesome. It might be possible with AppleScript, but like most things AppleScript, it looks painful/limited:

tell application "Keynote"
	activate
	tell the front document
		tell the current slide
			
			-- TO CREATE A NEW IMAGE ITEM:
			-- use the make command and include an HFS file reference to the file to be imported, as the value of “file” property
			set newImageItem to ¬
				make new image with properties ¬
					{file:alias "Macintosh HD:Users:sal:Pictures:NASA Rocket.jpg"}
			
		end tell
	end tell
end tell

(via Sal Soghoian's iworkautomation.com)

from keynote-octicons.

jonrohan avatar jonrohan commented on July 2, 2024

The problem with just dropping them into keynote from sketch is when it's converted to pdf, there's no way to change the color. Which makes it sucky because we'll have to create a template for every color.

Ideally if we could import them as "symbols" which are keynotes version of scalable graphics. Then we can change the color within keynote.

The apple script approach is interesting, haven't looked at that yet.

Through some deep deep digging, I discovered that the latest powerpoint does import svg properly! And keynote has the ability to open powerpoint files. 🤔

from keynote-octicons.

sophshep avatar sophshep commented on July 2, 2024

were these created from a PDF export from Sketch? Any other automation involved?

I just copied and pasted them over from the sketch file directly. A pain in the butt since you need to do each one individually, but ultimately much faster than researching and building any scripts.

from keynote-octicons.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.