From dfc509b95ff03d0c9027ee74d31d7b171f867bf1 Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Wed, 26 May 2021 23:59:17 +0530 Subject: generated website --- .../2019-05-05-Custom-Snowboard-Anemone-Theme.html | 448 +++++++++++++++++++++ 1 file changed, 448 insertions(+) create mode 100644 docs/posts/2019-05-05-Custom-Snowboard-Anemone-Theme.html (limited to 'docs/posts/2019-05-05-Custom-Snowboard-Anemone-Theme.html') diff --git a/docs/posts/2019-05-05-Custom-Snowboard-Anemone-Theme.html b/docs/posts/2019-05-05-Custom-Snowboard-Anemone-Theme.html new file mode 100644 index 0000000..cdcb2ae --- /dev/null +++ b/docs/posts/2019-05-05-Custom-Snowboard-Anemone-Theme.html @@ -0,0 +1,448 @@ + + + + + + + + + Hey - Post + + + + + +
+

Creating your own custom theme for Snowboard or Anemone

+ +

Contents

+ + + +

Getting Started

+ +

Note: Without the proper folder structure, your theme may not show up!

+ + + +

Theme Configuration

+ + + +
<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+  <plist version="1.0">
+  <dict>
+    <key>PackageName</key>
+    <string>ThemeName</string>
+    <key>ThemeType</key>
+    <string>Icons</string>
+  </dict>
+</plist>
+
+ + + +

Now, you might ask what is the difference between PackageName and ThemeName?

+ +

Well, if for example you want to publish two variants of your icons, one dark and one white but you do not want the user to seperately install them. +Then, you would name the package MyTheme and include two themes Blackie and White thus creating two entries. More about this in the end

+ +

Creating Icons

+ + + +

Note: Due to IconBundles, we just need to create the icons in one size and they get resized automatically :ghost:

+ +

Want to create rounded icons? +Create them squared only, we will learn how to apply masks!

+ +

Exporting Icons

+ +

Note: All icons must be saved as *.png (Tip: This means you can even create partially transparent icons!)

+ + + +
Finding BundleIDs
+ +

Stock Application BundleIDs

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameBundleID
App Storecom.apple.AppStore
Apple Watchcom.apple.Bridge
Calculatorcom.apple.calculator
Calendarcom.apple.mobilecal
Cameracom.apple.camera
Classroomcom.apple.classroom
Clockcom.apple.mobiletimer
Compasscom.apple.compass
FaceTimecom.apple.facetime
Filescom.apple.DocumentsApp
Game Centercom.apple.gamecenter
Healthcom.apple.Health
Homecom.apple.Home
iBookscom.apple.iBooks
iTunes Storecom.apple.MobileStore
Mailcom.apple.mobilemail
Mapscom.apple.Maps
Measurecom.apple.measure
Messagescom.apple.MobileSMS
Musiccom.apple.Music
Newscom.apple.news
Notescom.apple.mobilenotes
Phonecom.apple.mobilephone
Photo Boothcom.apple.Photo-Booth
Photoscom.apple.mobileslideshow
Playgroundscome.apple.Playgrounds
Podcastscom.apple.podcasts
Reminderscom.apple.reminders
Safaricom.apple.mobilesafari
Settingscom.apple.Preferences
Stockscom.apple.stocks
Tipscom.apple.tips
TVcom.apple.tv
Videoscom.apple.videos
Voice Memoscom.apple.VoiceMemos
Walletcom.apple.Passbook
Weathercom.apple.weather
+ +

3rd Party Applications BundleID +Click here

+ +

Icon Masks

+ + + +

In your Info.plist file add the following value between <dict> and

+ +
<key>IB-MaskIcons</key>
+    <true/>
+
+ + + +

NOTE: This is an optional step, if you do not want Icon Masks, skip this step

+ + + +

Designing Masks

+ +

Masking does not support IconBundles, therefore you need to save the masks for each of the following

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FileResolution
AppIconMask@2x~ipad.png152x512
AppIconMask@2x~iphone.png120x120
AppIconMask@3x~ipad.png180x180
AppIconMask@3x~iphone.png180x180
AppIconMask~ipad.png76x76
DocumentBadgeMask-20@2x.png40x40
DocumentBadgeMask-145@2x.png145x145
GameAppIconMask@2x.png84x84
NotificationAppIconMask@2x.png40x40
NotificationAppIconMask@3x.png60x60
SpotlightAppIconMask@2x.png80x80
SpotlightAppIconMask@3x.png120x120
TableIconMask@2x.png58x58
TableIconOutline@2x.png58x58
+ + + +

Example (Credits: Pinpal):

+ +

Credit: Pinpal

+ +

would result in

+ +

Credit: Pinpal

+ +

Packaging

+ + + +

Paste the following in it, replacing yourname, themename, Theme Name, A theme with beautiful icons! and Your Name with your details:

+ +
Package: com.yourname.themename
+Name: Theme Name
+Version: 1.0
+Architecture: iphoneos-arm
+Description: A theme with beautiful icons!
+Author: Your Name
+Maintainer: Your Name
+Section: Themes
+
+ + + +

Building the DEB

+ +

For building the deb you need a *nix system, otherwise you can build it using your iPhones

+ +
Pre-Requisite for MacOS users
+ +

1) Install Homenbrew /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" (Run this in the terminal) +2) Install dpkg, by running brew install dpkg

+ +

There is a terrible thing called .DS_Store which if not removed, will cause a problem during either build or installation

+ + + +
Pre-Requisite for Windows Users
+ + + +
Common Instructions
+ + + +
DEBIAN  Library
+
+ + + +

Now you will have the themeNameForCydia.deb in the same directory

+ +

You can share this with your friends :+1:

+ +
+ + + + + + \ No newline at end of file -- cgit v1.2.3