Skip to content

Instantly share code, notes, and snippets.

View rodi01's full-sized avatar

Rodrigo Soares rodi01

View GitHub Profile
@dannyweilai
dannyweilai / getThemeID.js
Created February 2, 2018 02:47
Midnight - get theme id
if(NSClassFromString("DLMidnightTheme")) {
const current = DLMidnightTheme.currentTheme()
const themeID = current.themeID()
log("Current theme ID: " + themeID)
// if themeID == "original" means it is Sketch default theme
}