Skip to content
On this page

Font

Font-family

NameValue
font-family-basesans-serif

The quick brown fox
jumps over the lazy dog.

Defined in src/codex-base.json

Refers to font-family.sans.10

Reference Vector's default fallback sans instead of the deprecated value `font-family-sans` in WikimediaUI Base.

font-family-sans deprecated 'Helvetica Neue', 'Helvetica', 'Liberation Sans', 'Arial', sans-serif

The quick brown fox
jumps over the lazy dog.

Defined in src/codex-base.json

Refers to font-family.sans.50

Deprecated: Use `font-family-sans--fallback` instead. See T247166.

font-family-system-sans-apple-system, 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'Inter', 'Helvetica', 'Arial', sans-serif

The quick brown fox
jumps over the lazy dog.

Defined in src/codex-base.json

Refers to font-family.sans.100

font-family-sans--fallbacksans-serif

The quick brown fox
jumps over the lazy dog.

Defined in src/codex-base.json

Refers to font-family.sans.10

font-family-serif'Linux Libertine', 'Georgia', 'Times', 'Source Serif Pro', serif

The quick brown fox
jumps over the lazy dog.

Defined in src/codex-base.json

Refers to font-family.serif.100

font-family-serif--fallbackserif

The quick brown fox
jumps over the lazy dog.

Defined in src/codex-base.json

Refers to font-family.serif.10

font-family-monospace'Menlo', 'Consolas', 'Liberation Mono', 'Fira Code', 'Courier New', monospace

The quick brown fox
jumps over the lazy dog.

Defined in src/codex-base.json

Refers to font-family.monospace.100

font-family-monospace--fallbackmonospace, monospace

The quick brown fox
jumps over the lazy dog.

Defined in src/codex-base.json

Refers to font-family.monospace.10

font-family-heading-main'Linux Libertine', 'Georgia', 'Times', 'Source Serif Pro', serif

The quick brown fox
jumps over the lazy dog.

Defined in src/codex-components.json

Refers to font-family.serif.100

Legacy value from WikimediaUI Base. Use for first heading special treatment.

Font-weight

NameValue
font-weight-hairline100

The quick brown fox
jumps over the lazy dog.

Defined in src/codex-base.json

Refers to font-weight.25

font-weight-light300

The quick brown fox
jumps over the lazy dog.

Defined in src/codex-base.json

Refers to font-weight.75

font-weight-normal400

The quick brown fox
jumps over the lazy dog.

Defined in src/codex-base.json

Refers to font-weight.100

font-weight-semi-bold600

The quick brown fox
jumps over the lazy dog.

Defined in src/codex-base.json

Refers to font-weight.150

font-weight-bold700

The quick brown fox
jumps over the lazy dog.

Defined in src/codex-base.json

Refers to font-weight.175

Line-height

NameValue
line-height-xxx-small1.25

The quick brown fox
jumps over the lazy dog.

Defined in src/codex-base.json

Refers to line-height.60

`x` stands for extra. In this case extra-extra-extra small.

line-height-xx-small1.375

The quick brown fox
jumps over the lazy dog.

Defined in src/codex-base.json

Refers to line-height.70

line-height-x-small deprecated 1.4285714

The quick brown fox
jumps over the lazy dog.

Defined in src/codex-base.json

Refers to line-height.80

Deprecated: Legacy line-height. Use `line-height-small` instead.

line-height-small1.5714285

The quick brown fox
jumps over the lazy dog.

Defined in src/codex-base.json

Refers to line-height.90

line-height-medium1.6

The quick brown fox
jumps over the lazy dog.

Defined in src/codex-base.json

Refers to line-height.100

line-height-base deprecated 1.6

The quick brown fox
jumps over the lazy dog.

Defined in src/codex-base.json

Refers to line-height.100

Deprecated: Legacy `line-height` for use in non-Codex products. Use `line-height-medium` instead.

line-height-heading deprecated 1.3

The quick brown fox
jumps over the lazy dog.

Defined in src/codex-base.json

Refers to line-height.65

Deprecated: Legacy `line-height` for headings in non-Codex products. Use `line-height-xx-small` instead.

Text-decoration

NameValue
text-decoration-nonenone

The quick brown fox
jumps over the lazy dog.

Defined in src/codex-base.json

Refers to text-decoration.0

text-decoration-line-throughline-through

The quick brown fox
jumps over the lazy dog.

Defined in src/codex-base.json

Refers to text-decoration.150

text-decoration-underlineunderline

The quick brown fox
jumps over the lazy dog.

Defined in src/codex-base.json

Refers to text-decoration.200