Design System / Components

Icons

All icons are SVG assets. Use the masked-icon mixin in Sass to render them in a single color (e.g. Pitt Gold or Pitt Royal). The mixin uses CSS mask so the icon shape is filled with your chosen background-color.

Using the masked-icon mixin

In any component that @use '../icons' as *; (or the project’s icons module), call the mixin on a block or inline element. The icon will take the size and color you pass.

@include masked-icon($size, $icon-path, $color);

Parameters:

  • $size – width and height (e.g. 1.5rem, 2rem)
  • $icon – path to the SVG file (relative to the compiled CSS, often ../../src/assets/img/icon/name.svg from a component in src/sass/components/)
  • $color – fill color (e.g. $color-pitt-gold, $color-pitt-royal, $color-light)

Changing colors: Use any Sass color variable or value as the third argument. The SVG is used as a mask, so the visible color is always the element’s background-color. Example for gold on dark backgrounds:

@include masked-icon(2rem, '../../src/assets/img/icon/chevron-right.svg', $color-pitt-gold);

Example for white (e.g. social icons in footer):

@include masked-icon(1.5rem, '../../src/assets/img/social/meta.svg', $color-light);
UI Icons

Icons in src/assets/img/icon/ — chevrons, menu, search, calendar, alarm-clock, etc. Shapes use fill="currentColor" so they render black by default and inherit color when inlined; with masked-icon in Sass, pass any color as the third argument.

alarm-click-plus
alarm-clock
app-grid-plus
app-mac-plus-sharp
arrow-right
avatar
bell-ring
bookmarks-sharp
briefcase
briefcase-2-sharp
building-community
bullseye-arrow
calendar
calendar-2
calendar-check
calendar-detail
calendar-range
chevron-down
chevron-left
chevron-right
chevron-up
circle
click-plus
close
cloud
contact-plus
cursor
cursor-click
date-time
date-time-2
degree
diamond-gem
email
flag-2
helicopter
image-new
landmark
lightbulb
mic
menu
modem
money
monitor
monitor-check-sharp
monitor-dot
monitor-x-2
phone
plus
presentation-chart-line-sharp
radio
road
router
search
signal
siren
smile-plus
sparkles
speed-fast
star
target
teach
thermometer-warning
thumbs-up-2-left-sharp
trending-up
trophy-sharp
users
video-play
wifi
zap
Block decorators

Decorative block SVGs in src/assets/img/blocks/ — used in secondary callout, general content, footer, etc.

block-3
block-4
block-5
block-6
block-7
block-h-3
block-h-4
block-plus
block-v-4
square
Social icons

Social platform icons in src/assets/img/social/ — use with masked-icon and $color-light on dark backgrounds, or Pitt Gold/Royal on light.