Skip to content
On this page

Size

Size

NameValue
size-base32px

Defined in src/codex-base.json

Refers to size.absolute.200

TODO: Should be a relative size. Deprecate key and change to `size-component`?

size-full100%

Defined in src/codex-base.json

Refers to size.relative.percentage.100

size-icon20px

Defined in src/codex-components.json

Refers to size.absolute.125

TODO: This has to be a relative value, for accessibility reasons.

size-indicator12px

Defined in src/codex-components.json

Refers to size.absolute.75

TODO: This has to be a relative value, for accessibility reasons.

Min-size

NameValue
min-size-base32px

Defined in src/codex-base.json

Refers to size.absolute.200

TODO: Deprecate key and change to `min-size-component`?

min-size-icon20px

Defined in src/codex-components.json

Refers to size.absolute.125

Width

NameValue
width-x-small24px

Defined in src/codex-base.json

Refers to size.absolute.150

width-small128px

Defined in src/codex-base.json

Refers to size.absolute.800

width-medium256px

Defined in src/codex-base.json

Refers to size.absolute.1600

width-large384px

Defined in src/codex-base.json

Refers to size.absolute.2400

width-x-large512px

Defined in src/codex-base.json

Refers to size.absolute.3200

width-full100%

Defined in src/codex-base.json

Refers to size.relative.percentage.100

Max-width

NameValue
max-width-basenone

Defined in src/codex-base.json

Refers to max-width.100

max-width-button448px

Defined in src/codex-components.json

Refers to size.absolute.2800

Note, that this is a slight amendment from WikimediaUI Base from `28.75em` = `460px` to `448px`

Min-height

NameValue
min-height-x-small20px

Defined in src/codex-base.json

Refers to size.absolute.125

min-height-small24px

Defined in src/codex-base.json

Refers to size.absolute.150

min-height-medium32px

Defined in src/codex-base.json

Refers to size.absolute.200

min-height-large40px

Defined in src/codex-base.json

Refers to size.absolute.250

min-height-x-large48px

Defined in src/codex-base.json

Refers to size.absolute.300

Min-width

NameValue