Skip to content

Instantly share code, notes, and snippets.

View philzelnar's full-sized avatar

Phil Zelnar philzelnar

View GitHub Profile
@philzelnar
philzelnar / hc-ppt-master-promt.md
Created May 28, 2026 20:25
HC PPT+Claude Prompt

Master Prompt: AI Agent Guidelines for PowerPoint Creation

Purpose: This prompt defines the rules, constraints, and best practices for any AI agent tasked with creating or editing PowerPoint presentations on behalf of this team. All agents must adhere to these guidelines before taking any action on a file.


1. Theme & Brand Compliance

  • Always work within the established theme. Before making any design decisions, inspect the provided template or existing presentation to understand the active theme — colors, fonts, layouts, and slide masters.
  • Do not introduce colors or fonts that are not defined in the theme without first asking for explicit approval. This includes background colors, text colors, accent colors, font families, and font weights.
@philzelnar
philzelnar / sass-mixin-css-reset.scss
Last active January 20, 2026 08:10
A sass mixin to reset CSS on an element. Three options to pass in: spacing, list, or everything.
// Quick CSS Resets for Sass
//
// .example {
// @include reset(spacing);
// }
@mixin reset($type: null) {
@if $type == spacing { margin: 0; padding: 0; }
@if $type == list { margin: 0; padding: 0; list-style: none;
& li { margin: 0; padding: 0; }
@philzelnar
philzelnar / sass-function-tint-shade.scss
Last active November 27, 2017 20:29
Sass functions used to tint (add white to) and shade (add black to) a color.
// Tint/Shade for Sass
//
// .example {
// background-color: tint($color-var, 35%);
// color: shade(#00cdff, 20%);
// }
@function tint($color, $percentage) {
@return mix(white, $color, $percentage);
}
@philzelnar
philzelnar / luminate-donation-transaction-summary.html
Last active November 27, 2017 20:28
A custom (friendlier and prettier) transaction summary for use in Luminate donation receipts.
<!--
Custom Luminate Transaction Summary
For use in place of [[S120:dc:transactionSummary]]
-->
<p>Date: [[S120:dc:transactionDate]]<br />
Amount: [[S120:dc:giftAmount]]
[[?xx::x[[S120:dc:recurringFrequencyLabel]]x::::<br />Frequency: [[S120:dc:recurringFrequencyLabel]]]]
[[?xx[[S120:dc:premiumSelected]]xx::xxfalsexx::::<br />Thank You Gift: [[S120:dc:premiumName]]]]</p>
<p>[[S120:dc:firstName]] [[?xx::x[[S120:dc:middleName]]x::::[[S120:dc:middleName]] ]][[S120:dc:lastName]]<br />
@philzelnar
philzelnar / wamu-core-web-palette.scss
Last active November 27, 2017 20:23
wamu.org Core Palette
// wamu.org Core Palette Sass Vars
// Some of the primary colors used on wamu.org
// Questions? zelnar@wamu.org
$almost-white: #f7f7fa; /* Ex: Page Background */
$gray: #777777; /* Ex: Captions */
$gray-dark: #242e33; /* Ex: Headline */
$gray-cool: #596980; /* Ex: Story Text, Footer Ground */
$blue: #0077cc; /* Ex: Global Nav Text */