Brand and design system
Everything that makes Salam look like Salam: the logo in every approved color and format, the color ramps, type scale, spacing, shape and the syntax-highlight palette this site is built from.
Logo
The Salam mark is a four-petal flower built from four mirrored arcs — a nod to the Persian گل (flower) motif and to compass points. It ships in three colorways; pick whichever keeps the highest contrast against the background.
Don't
Downloads
Every variant as a vector master (SVG) and as a 1024px raster export (PNG and lossless WEBP).
| Variant | SVG | PNG | WEBP |
|---|---|---|---|
| On light | logo.svg | logo.png | logo.webp |
| On dark | logo-white.svg | logo-white.png | logo-white.webp |
| Orange, on light | logo-orange.svg | logo-orange.png | logo-orange.webp |
| App icon | logo-box.svg | logo-box.png | logo-box.webp |
| macOS icon | logo-box-macos.svg | logo-box-macos.png | logo-box-macos.webp |
Color
The 500/600 steps of the orange ramp and the canonical neutrals are the values this site actually runs on; the rest of each ramp is derived for hover, pressed and subtle-fill states.
Brand — orange
Ink — neutrals
★ marks a canonical value taken directly from site.css. Toggle the theme switch in the header to see how the neutrals swap for dark mode.
Syntax highlighting
Typography
Vazirmatn carries both Latin and Persian scripts in one family, so bilingual Salam code and prose stay visually unified.
Vazirmatn
Spacing
The spacing scale used for gaps and padding across the site, rooted at 4px.
Shape
The corner radii in use, from small controls up to the 14px card radius, plus the single soft shadow every elevated surface shares.
Code sample
Syntax colors from the palette above, rendered exactly as they appear across salamlang.ir.
import encoding.uuid
func main:
id := uuid.New()
println uuid.String(id).Len(), uuid.Version(id), uuid.Variant(id) == uuid.VARIANT_RFC
text := uuid.NewString()
println uuid.IsValid(text), text.Len()
println uuid.Nil()
println uuid.Max()
println uuid.IsNil(uuid.Nil()), uuid.IsNil(id)
end36 4 true true 36 00000000-0000-0000-0000-000000000000 ffffffff-ffff-ffff-ffff-ffffffffffff true false
Get the full kit
The logo masters, design tokens and this page's source all live in the Salam repository.