31 lines
821 B
SCSS
31 lines
821 B
SCSS
// ===================
|
|
// © 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; }
|