Theme presets›Tideline preset

Tideline

Tideline is refrakt's own warm-branded preset: cream paper and maritime navy across body, surfaces, status and code, named for the line where land meets water. It is the one preset that also sets typography — IBM Plex Sans for text, IBM Plex Mono for code — and it renders code on navy even in light mode. Its syntax colors set only the nine base roles, so types paint like functions and tags like keywords.

Opt in

{
  "site": {
    "theme": {
      "package": "@refrakt-md/lumina",
      "presets": ["@refrakt-md/lumina/presets/tideline"]
    }
  }
}

To keep the colors but use another typeface, override theme.tokens.font.sans (for example "'Outfit', system-ui, sans-serif") after opting in.

Palette

Tideline — light

Background#faf5ebW: 1.1 · B: 19.3AA ✗AAA ✗
Text#1d3557W: 12.4 · B: 1.7AA ✓AAA ✓
Muted#5a7a90W: 4.5 · B: 4.6AA ✓AAA ✗
Border#d8e4deW: 1.3 · B: 16.1AA ✗AAA ✗
Primary (cerulean)#457b9dW: 4.6 · B: 4.6AA ✓AAA ✗
Primary hover#376585W: 6.2 · B: 3.4AA ✓AAA ✗
Surface#fffbf2W: 1.0 · B: 20.3AA ✗AAA ✗
Surface hover#fdf0d5W: 1.1 · B: 18.6AA ✗AAA ✗
Surface raised#ffffffW: 1.0 · B: 21.0AA ✗AAA ✗

Tideline — dark

Background#152238W: 15.9 · B: 1.3AA ✓AAA ✓
Text#f1faeeW: 1.1 · B: 19.6AA ✗AAA ✗
Muted#a8dadcW: 1.5 · B: 13.7AA ✗AAA ✗
Primary#70b4c0W: 2.3 · B: 9.0AA ✗AAA ✗
Primary hover#a8dadcW: 1.5 · B: 13.7AA ✗AAA ✗
Surface#1a2940W: 14.6 · B: 1.4AA ✓AAA ✓

Primary scale

#f0f6f9
#dcebf0
#b8d6e2
#a8dadc
#70b4c0
#457b9d
#376585
#1d3557
#182c4a
#12213a
#0c162a
Primary

Status — light

Info

Base#457b9dW: 4.6 · B: 4.6
Background#edf4f8W: 1.1 · B: 18.9
Border#a8dadcW: 1.5 · B: 13.7

Warning

Base#c8900aW: 2.8 · B: 7.4
Background#fdf5e4W: 1.1 · B: 19.4
Border#edd49aW: 1.4 · B: 14.5

Danger

Base#e63946W: 4.2 · B: 5.0
Background#fdecedW: 1.1 · B: 18.4
Border#f0b0b5W: 1.8 · B: 11.6

Success

Base#3d8f65W: 4.0 · B: 5.3
Background#ecf5efW: 1.1 · B: 18.9
Border#a8d4b8W: 1.6 · B: 12.8

Syntax — light

Keyword#f2cc8f
Function#70b4c0
String#a8dadc
Constant#e8c07a
Comment#5a7a90
Variable#b8d6e2

Syntax — dark

Keyword#f2cc8f
Function#a8dadc
String#a8dadc
Constant#e8c07a
Comment#5a7a90
Punctuation#70b4c0
Variable#b8d6e2

Tideline

bodyIBM Plex Sans
The quick brown f48px
The quick brown fox jumps 32px
The quick brown fox jumps over the 24px
The quick brown fox jumps over the lazy dog18px
The quick brown fox jumps over the lazy dog14px
400 — RegularAa Bb Cc
500 — MediumAa Bb Cc
600 — SemiboldAa Bb Cc
700 — BoldAa Bb Cc
monoIBM Plex Mono
The quick brown f48px
The quick brown fox jumps 32px
The quick brown fox jumps over the 24px
The quick brown fox jumps over the lazy dog18px
The quick brown fox jumps over the lazy dog14px
400 — RegularAa Bb Cc
500 — MediumAa Bb Cc

Preview

// A small user-service shape
interface User {
  id: number;
  name: string;
  preferences: Record<string, unknown>;
}

async function findUser(id: number): Promise<User | null> {
  const re = /^\d+$/;
  if (!re.test(String(id))) return null;
  const user = await db.users.findOne({ where: { id } });
  return user ?? null;
}

const widget = <Button onClick={() => findUser(42)} variant="primary">Find</Button>;

Attribution

Original to refrakt; ships in @refrakt-md/lumina under the MIT license. IBM Plex is by IBM, under the SIL Open Font License.