Skip to content

Instantly share code, notes, and snippets.

View AprilSylph's full-sized avatar

April Sylph AprilSylph

View GitHub Profile
@AprilSylph
AprilSylph / exposeClassKeys.js
Last active January 31, 2024 02:34
expose source names on Tumblr
tumblr.getCssMap().then(cssMap => {
const keys = Object.keys(cssMap);
const elements = document.querySelectorAll('[class]');
for (const { classList } of elements) {
for (const className of classList) {
const mappedClassName = keys.find(key => cssMap[key].includes(className));
if (mappedClassName) classList.add(`style-${mappedClassName}--${className}`);
}
}
});
@AprilSylph
AprilSylph / PKMN Gen 5 Transfer Only List.md
Last active July 20, 2024 21:45
Pokémon Generation V List of Transfer-Only Pokémon

Gen 5 Transfer-Only Pokémon

Note

Grouped by family; the final number is the minimum number of transfers needed from a Generation IV game in order to complete the National Pokédex 100% legitimately in Generation V.

Note

Mythical Pokémon are not listed here, regardless of availability.

Note

The Pokémon Dream Radar is counted as a Generation V game; Radar-exclusive Pokémon are not counted below.

module.exports = {
// colors
colorNavy: 'rgba(0, 25, 53, 1)',
colorBlue: 'rgba(0, 184, 255, 1)',
colorPurple: 'rgba(124, 92, 255, 1)',
colorPink: 'rgba(255, 97, 206, 1)',
colorRed: 'rgba(255, 73, 48, 1)',
colorOrange: 'rgba(255, 138, 0, 1)',
colorYellow: 'rgba(232, 215, 58, 1)',
colorGreen: 'rgba(1, 207, 53, 1)',