Press kit and UI tokens

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.

On light On light
On dark On dark
Orange, on light Orange, on light
App icon App icon
macOS icon macOS icon
Do
  • 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
Don't
  • 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).

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

50#FFF5F0
100#FEE8DC
200#FDCFB5
300#FBAB7E
400#FF8642
500 ★#FF5C00
600 ★#E04F00
700#B74606
800#8F3704
900#682803
950#451A02

Ink — neutrals

0 ★#FFFFFF
50 ★#F7F6F3
100#F0F0EF
200 ★#E6E2DC
300#CDCCCB
400#AFAEAC
500#8C8A87
600 ★#5E5A55
700#535250
800#393837
900 ★#1B1A19
950#121211
1000#000000

★ 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

keyword#FF8A3D
type#6CC6FF
builtin#C792EA
function#FFD580
string#A5D68A
number#F78C6C
comment#7D8290

Typography

Vazirmatn carries both Latin and Persian scripts in one family, so bilingual Salam code and prose stay visually unified.

Heading 1 · 800

Salam language

Heading 2 · 800

Write once, speak your language

Heading 3 · 700

Fast, native, bilingual syntax

Body · 400

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.

space-14px
space-28px
space-312px
space-416px
space-520px
space-624px
space-832px
space-1040px
space-1248px
space-1664px

Shape

The corner radii in use, from small controls up to the 14px card radius, plus the single soft shadow every elevated surface shares.

4px
8px
10px
14px ★
999px
--shadow

Code sample

Syntax colors from the palette above, rendered exactly as they appear across salamlang.ir.

encoding-uuid-guide-basics.salam
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)
end
Output36 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.