Skip to content

Building 70 Projects ranging from beginner to advanced so anyone can — learn from, build upon, use as a reference, or even copy directly. Owned by my cybersecurity company 👇

821 B
Raw Blame
// ===================
// © AngelaMos | 2026
// method-badge.module.scss

// CSS module for the HTTP method badge component

// Styles a monospace semibold 2xs text badge with wide
// letter spacing and a default $text-lighter color. Seven
// method variant classes (.get through .options) apply
// $method-* token colors. Connects to
// components/method-badge, styles/_tokens
// ===================

@use '@/styles/tokens' as *;

.badge {
  font-family: monospace;
  font-weight: $font-weight-semibold;
  font-size: $font-size-2xs;
  letter-spacing: $tracking-wide;
  color: $text-lighter;
}

.get { color: $method-get; }
.post { color: $method-post; }
.put { color: $method-put; }
.delete { color: $method-delete; }
.patch { color: $method-patch; }
.head { color: $method-head; }
.options { color: $method-options; }