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.
- Keep clear space of at least one petal-width around the mark
- Use the boxed version at small sizes, such as app icons and favicons
- Place it on high-contrast backgrounds: white, near-black, or brand orange
- Recolor the mark outside the three approved colorways
- Stretch, skew, or rotate the logo off-axis
- Place it on busy photography without a solid backing shape
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
Syntax highlighting
Typography
Vazirmatn carries both Latin and Persian scripts in one family, so bilingual Salam code and prose stay visually unified.
Salam language
Write once, speak your language
Fast, native, bilingual syntax
The quick orange fox compiles natively on arm64 and x86-64.
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)
endGet the full kit
The logo masters, design tokens and this page's source all live in the Salam repository.