Перейти к основному содержанию
Google Fonts

Google Fonts дизайн-система DESIGN.md и гайдлайн

DesignProv1.0.0 (Актуальная)
fonts.google.com•Привязано 29 нояб. 2026 г., 04:00•Проверено Bestony

Google's type catalogue, built as an Angular Material 3 application themed with Google's own baseline tokens. One typeface - Google Sans Flex at weights 400, 500 and 600, with no bold, no italic and no uppercase anywhere in the interface - and one accent, #0b57d0, reserved entirely for buttons and links. The three-pane shell is separated by a five-step tonal surface ladder from #ffffff to #dde3ea rather than by borders, the catalogue is a single column of full-width tiles divided by 1px #c4c7c5 hairlines, and the only elevated surface in the system is the 320px filter drawer.

Pro-сайт

Вы можете бесплатно читать полное описание дизайна Google Fonts и до 8 основных цветов. Перейдите на Pro, чтобы получить все 171 дизайн-токены, полное скачивание DESIGN.md и ревизий: 1.

Показано 8 из 24 цветов
Тёмный (11%)
Аа Пример текста#B3261E
error
rgb(179, 38, 30)
Тёмный (18%)
Аа Пример текста#747775
outline
rgb(116, 119, 117)
Тёмный (11%)
Аа Пример текста#0B57D0
primary
rgb(11, 87, 208)
Светлый (100%)
Аа Пример текста#FFFFFF
surface
rgb(255, 255, 255)
Светлый (100%)
Аа Пример текста#FFFFFF
on-error
rgb(255, 255, 255)
Тёмный (11%)
Аа Пример текста#00639B
secondary
rgb(0, 99, 155)
Светлый (100%)
Аа Пример текста#FFFFFF
on-primary
rgb(255, 255, 255)
Тёмный (1%)
Аа Пример текста#1F1F1F
on-surface
rgb(31, 31, 31)
Получите полную палитру, CSS-переменные и исходник DESIGN.md

Перейдите на DesignMD Pro, чтобы копировать все цвета как :root CSS-переменные, изучать ссылки компонентных токенов и скачивать полный исходный файл.

Руководство по дизайну

Overview

Google Fonts is Google's type catalogue. Four jobs live in it: browse the whole catalogue at /, inspect one family style by style at /specimen/<family>, browse the Material Symbols set at /icons, and read the "Fonts Knowledge" editorial library at /knowledge. All four are routes in a single Angular application, and all four share one Material 3 theme, one layout shell and one typeface — so the design system is genuinely one system rather than four.

The whole interface is Angular Material 17 themed with Google's own Material 3 baseline tokens, published as --sys-* and --mat-sys-* custom properties on the document root. The palette is the M3 baseline light scheme essentially verbatim: #0b57d0 primary, #00639b secondary, #b3261e error, #1f1f1f on-surface, #444746 on-surface-variant, and a five-step tonal surface ladder from #ffffff to #dde3ea. Nothing in the palette is bespoke, which is the point — a type catalogue must not compete with the type it is cataloguing.

The shell is three vertical panes at desktop width. A 96px icon rail sits flush left in #f0f4f9 and carries the five top-level destinations as icon-plus-label stacks. A 320px filter drawer in #f8fafd opens over the content on the catalogue, icons and knowledge routes and holds the preview controls and the filter accordions. Everything else is the content column. When the drawer is closed the column is 1224px wide (60px of padding either side of a 1344px area); when it is open the column narrows to 904px. Both widths are visible across the captures: the specimen page, whose drawer starts shut, sets its h1 at 1224px, while the browse and knowledge pages, whose drawers open by default, set theirs at 904px.

The catalogue itself is a single-column list of full-width tiles rather than a card grid — .tiles-container computes to grid-template-columns: 904px with a 24px row gap and no column gap. Each tile is a 904px band roughly 160px tall: a 24px-padded header with the family name, its axis count and its authors, then a live pangram set in the family itself. There is no card chrome, no shadow and no hover lift; the tile is separated from its neighbours by a 1px #c4c7c5 hairline and nothing else. That restraint is what lets every family in the catalogue coexist on one page without the interface shouting.

The knowledge route is the one place the system allows itself a large graphic gesture. Its landing page alternates full-width 32px-radius panels tinted with #c2e7ff and #d3e3fd against plain 904px sections, giving the editorial library a magazine rhythm the catalogue deliberately avoids.

Colors

The palette is the Material 3 baseline, and it is used with unusual discipline: two colours do almost all the work.

#0b57d0 is the only saturated colour in the interface. It is the fill of every filled button ("Filters", "Get font", "Sections"), the colour of every link, the colour of the "View all topics" outline button's stroke and label, and the selected state of the search field's leading icon. It measures 6.39:1 against white, comfortably clear of AA, and it is never used as a large background field — the biggest area it ever covers is a 105×48 button.

#1f1f1f is the default text colour and the only near-black. It is the on-surface value, the colour of every heading, of the family names in tiles, of the chip labels and of the specimen pangrams. #444746 is the secondary text colour: nav-rail labels, tile metadata, author credits, drawer copy, the "Reset all" label, and the secondary line of the sort control. On white it measures 9.39:1 and on the drawer's #f8fafd it still measures 8.98:1, so the hierarchy between the two greys is carried by weight and size rather than by fading the colour.

The surface ladder is the other half of the system, and it is what actually separates the panes:

  • #ffffff — the content column and every tile and card.
  • #f8fafd — the filter drawer.
  • #f0f4f9 — the icon rail and the page behind the drawer.
  • #e9eef6 — filter chips, and the search field at 8% alpha over the header.
  • #dde3ea — the deepest step, reserved for pressed states.

Because the steps are only a few percent apart, the pane boundaries read as tone rather than as borders, and the drawer's 0px 16px 16px 0px radius plus its elevation-1 shadow is what actually tells you it is an overlay.

#c2e7ff is the secondary container and is the active state of the nav rail: the selected destination's 56×32 icon tile is filled with it and the glyph and label turn #00639b. It is also the fill of the "Using variable fonts on the web" featured panel on the knowledge page. #d3e3fd is the primary container, used for the glossary panel and the "Stop Stealing Sheep" book promo. Both tints carry #1f1f1f text at better than 12:1.

#004a77 is the on-secondary-container value the site actually renders — a deep blue rather than the near-black the token name suggests. It is the label colour of the selected row/grid toggle on the icons page and the active filter chip's text.

#c4c7c5 is the outline-variant hairline and is the single most common non-text colour on the page after the surface ladder: it draws the tile separators, the 1px border around every knowledge card, and the field outlines. #747775 is the stronger outline, used for the drawer's accordion dividers. Neither is ever used for text.

#303030 with #f2f2f2 is the inverse pair, and it appears in exactly one component: the snackbar. Its action label is #a8c7fa, a light tint of the primary that measures 7.68:1 on the inverse surface.

#b3261e and #f9dedc are the error pair. Neither appears in any captured view — there is no error state, no destructive action and no validation on these four routes — but they ship in the theme and are recorded here for completeness.

The Material Symbols glyphs themselves are excluded from the palette. Each icon is a variable font drawn in the current text colour, so it inherits #444746, #1f1f1f or #00639b depending on where it sits rather than introducing a colour of its own.

Typography

One typeface carries the entire interface: Google Sans Flex, Google's in-house variable sans, falling back to -apple-system and system-ui. It is the only family in any of the four captures, and it is used at exactly three weights — 400, 500 and 600. There is no bold anywhere in the interface, and no italic, and no uppercase transform. Hierarchy is built entirely from size and from the two-step neutral colour pair.

The scale has five rungs above body, and three of them are page-level:

  • 56.992px / 400 / 64px line-height. The h1 on the specimen and knowledge pages ("Inter", "Fonts Knowledge"). It is the largest type in the system and it is set at regular weight — the size alone does the work.
  • 44.992px / 400 / 52px line-height. Every section heading: "Browse topics", "Styles", "Using variable fonts on the web", "Glossary", "History of Latin type".
  • 22px / 400. Knowledge-card titles ("Choosing type"), at roughly a 1.27 line-height.

Below that the interface runs on two sizes. 16px / 400 / 24px is body: the hero's welcome paragraph, the drawer's prose, the tile metadata, the chip labels, the nav-rail links. 14px / 400 / 20px is the compact body: tile subtitles and author credits, the "Reset all" and "Sections" labels, the snackbar's message. 12px / 500 / 16px is the smallest, and it exists in exactly one place — the five labels under the nav-rail icons, at 600 weight when the destination is active and 500 when it is not.

14px / 600 / 24px is the label style for buttons. Every filled button, every outline button and the "View all topics" action use it. It is the only 600 in the interface, which makes buttons legible as buttons without needing a border or a shadow.

Letter-spacing is normal on every element in every capture. For a Google product this is a deliberate choice rather than an oversight: the interface is meant to be typographically invisible so that the families on display are the only thing with a voice.

The specimen pages are the one place where the interface steps aside. The style list sets each weight of the family being shown as a 48px pangram ("Whereas recognition of the…"), and the tile previews on the browse page set the same pangram at 40px in the family itself. Those sizes belong to the product, not the chrome, and are recorded as a single specimen token rather than as part of the UI scale.

Layout

The layout is a fixed three-pane shell with a fluid content column, and it never reflows at desktop width.

The rail is 96px wide, full height, #f0f4f9, with 24px of padding top and bottom and an 8px gap between items. Each destination is an 80×60 stack: a 56×32 icon tile with a 16px radius, then a 12px label. The active item is the only one whose icon tile is filled. The theme toggle is pinned to the bottom of the rail as a 48×48 circular icon button at 828px from the top of a 900px viewport.

The drawer is 320px wide, #f8fafd, full height, radius 0px 16px 16px 0px, with 20px of outer padding and 24px of inner section padding. Its contents are a 48px "Reset all" text button, a "Preview" section with the size slider, a "Filter" section with the accordion, and — on the icons route — the same pattern for axis sliders and category chips. Accordion headers are 68px tall with 16px horizontal and 8px leading padding.

The header spans the content area and is 152px tall: an 88px main row and a 64px secondary row. The main row holds the 208×48 lockup at the left, a 624×56 search field, and a 48×48 bag button at the right. The secondary row holds the drawer toggle — a 105×48 filled pill with 16px leading and 24px trailing padding — and, on the catalogue, the row/grid layout toggle pushed to the right edge.

The content column is 1224px when the drawer is shut and 904px when it is open, always with 60px of padding on each side. Inside it, the catalogue is a single 904px column of tiles with a 24px row gap; the tile header is a 24px-padded flex row with a 12px column gap between the name, the axis count and the authors; the specimen text below it spans the full 854px inner width.

The knowledge page is the only route that uses full-bleed panels. Its hero is a 904×304 block with a 32px radius, split into a 607px text column with 40px of padding and a 297px media column. Its featured and glossary panels are 904px wide with 56px vertical and 56px horizontal padding, also at 32px radius. Knowledge cards sit in a horizontal carousel at 172×234 with 16px radius and 16px padding, thumbnail above title.

Breakpoints. The catalogue is desktop-only in practice: at 1440px the tile is 904px and the specimen pangram gets the full 854px. There is no mobile layout in these captures, and the rail is not collapsible at this width — the 96px rail and the 60px content padding are constants.

Elevation & Depth

The system is almost entirely flat, and it says so deliberately: of the four shadow values computed on the catalogue, three are Material's elevation levels and one is a no-op.

Elevation 1 — rgba(0,0,0,0.2) 0 2px 1px -1px, rgba(0,0,0,0.14) 0 1px 1px 0, rgba(0,0,0,0.12) 0 1px 3px 0 — is the drawer's shadow and the only elevation that appears on a persistent surface. It is what makes the 320px overlay read as floating above the catalogue rather than sitting beside it.

Elevation 2 — rgba(0,0,0,0.2) 0 3px 5px -1px, rgba(0,0,0,0.14) 0 6px 10px 0, rgba(0,0,0,0.12) 0 1px 18px 0 — appears once, on the carousel's next arrow, where a 48×48 circular button in #e9eef6 needs to separate itself from the cards it scrolls past.

Elevation 0 — rgba(0,0,0,0.2) 0 0 0 0, rgba(0,0,0,0.14) 0 0 0 0, rgba(0,0,0,0.12) 0 0 0 0 — is the header's resting shadow, computed on eleven elements. It is a genuine zero: three shadow layers with zero offsets, zero blur and zero spread, which is how Material expresses "this surface can elevate but currently does not".

Everything else is separated by the #c4c7c5 hairline rather than by shadow. Tiles, knowledge cards and field outlines all use a 1px stroke, and the tonal surface ladder does the rest. The result is a page with essentially no depth cues beyond the drawer, which is the right call for a catalogue whose content is other people's typography.

Shapes

Six radii, and they map cleanly onto the component hierarchy:

  • 0px — tiles and the page. The catalogue's full-width bands are square because they are sections of a list, not objects.
  • 8px — filter chips, and the snackbar. Small, self-contained controls.
  • 16px — the drawer's outer corners, knowledge cards, and the nav-rail icon tiles.
  • 24px — filled and outline buttons, the search field, the "View all topics" action.
  • 32px — the knowledge hero, the featured and glossary panels. The large editorial surfaces.
  • 9999px — icon buttons, text buttons, the "Filters" pill, and the drawer toggle. Anything 40–48px tall that should read as a pill.

Two asymmetries are worth recording because they are intentional rather than sloppy. The drawer is 0px 16px 16px 0px — rounded only on the edge that faces the content — and the search field computes to a 48px radius on a 56px-tall box, which reads as a full pill even though it is not literally 9999px. A handful of accordion and sticky surfaces use one-sided 4px and 20px corners for the same reason.

Components

Navigation rail. 96px wide in #f0f4f9, 24px vertical padding, 8px gap. Each item is an 80×60 stack with 4px top padding: a 56×32 icon tile at 16px radius, then a 12px label. The active destination fills its icon tile with #c2e7ff and sets both glyph and label to #00639b at 600 weight; inactive items leave the tile transparent, set the glyph and label to #444746, and drop the label to 500 weight. The theme toggle is a 48×48 9999px icon button with 10px padding, bottom-aligned.

Filter drawer. 320px in #f8fafd, radius 0px 16px 16px 0px, elevation 1. Section headings are 14px/400 in #444746; accordion headers are 68px tall, 16px/500, #1f1f1f, with 8px leading and 16px horizontal padding. Filter chips inside it are 132×32 with an 8px radius, an #e9eef6 fill and #1f1f1f 16px/400 labels, with the label cell carrying 4px vertical and 8px horizontal padding. The "Reset all" control is a 121×40 pill at 14px/500 whose label is #1f1f1f at 38% alpha — the one place the system dims a control instead of greying it.

Search field. 624×56, #e9eef6 at 8% alpha (the site authors it as color(srgb 0.412 0.569 0.839 / 0.08)), 48px radius, no border. The input inside is 407×24 at 16px/400 in #1f1f1f with a 24px line-height and no padding of its own. The sort control beside it is a second 56px-tall trigger in the same tinted pill, split from the search field by a 1px divider, with a 14px "Sort by" caption over a 16px/500 "Trending" value.

Buttons. Four variants, all 48px tall except text buttons at 40px. Filled buttons are #0b57d0 with white 14px/600 labels, 24px horizontal padding, and either a 9999px radius (the "Filters" and "Sections" pills, which add 16px of leading padding to make room for their icon) or a 24px radius ("Get font", "View all topics"). Outline buttons are transparent with a 1px #0b57d0 stroke and a #0b57d0 label at 24px radius. Text buttons are transparent with #444746 14px labels and a 9999px radius; the quiet variant uses #1f1f1f at 500 weight for secondary actions.

Tiles. 904px wide, roughly 160px tall, #ffffff, square, separated by a 1px #c4c7c5 hairline. The header is 24px-padded with a 12px column gap and holds three things on one baseline: the family name at 16px/500 in #1f1f1f, the axis count at 14px/400 in #444746, and the author list at 14px/400 in #444746. Below it the pangram runs at 40px in the family itself. On hover the tile cross-fades its specimen over 350ms — the single longest transition in the system.

Knowledge cards. 172×234, #ffffff, 16px radius, 1px #c4c7c5 border, 16px padding with none at the bottom. A 138×128 thumbnail sits above a 22px/400 title in #1f1f1f. Cards sit in a horizontal carousel whose next arrow is a 48×48 #e9eef6 circle at 24px radius carrying elevation 2.

Panels. The knowledge hero is 904×304 at 32px radius with a 607px text column at 40px padding. Featured panels are #c2e7ff at 32px radius with 56px padding; the glossary panel is #d3e3fd on the same geometry. Both carry 44.992px headings in #1f1f1f.

Snackbar. #303030 at 8px radius with 16px padding, a #f2f2f2 message at 14px/400, and a #a8c7fa action label at 14px/500. It is the only dark surface in the entire system and it appears transiently, so it never registers as part of the page's palette.

Sliders and toggles. Axis and size sliders are 272×48 with #444746 labels. The row/grid layout toggle is a 298×42 button group; each button is 89×40 with 16px/400 labels, the unselected ones in #444746 and the selected one in #004a77 over a #c2e7ff pill.

Do's and Don'ts

Do let the tonal surface ladder carry the pane structure. The 96px rail, the 320px drawer and the content column are separated by #f0f4f9, #f8fafd and #ffffff — a spread of less than four percent in luminance — plus one elevation-1 shadow on the drawer. Adding borders between them would triple the visual noise of a page that has to hold an entire catalogue.

Do keep every heading at weight 400. The 56.992px page title and the 44.992px section headings are regular weight, and they read as headings because of their size and their 64px and 52px line-heights. Bolding them would make the interface compete with the specimens.

Do reserve #0b57d0 for actions and links. It is the fill of buttons, the colour of link text, and the stroke of the outline button — never a background field, never a heading colour, never a decorative tint. The largest area it covers anywhere on the site is a 105×48 pill.

Do use the 1px #c4c7c5 hairline rather than a shadow to separate list rows. Tile separators, knowledge-card borders and field outlines all use it, and it is what keeps a 250,000px-tall catalogue page from feeling heavy.

Don't introduce a second typeface for the interface. Google Sans Flex is the only family in the chrome. The specimen pangrams set in the family being browsed are content, not interface, and they are the only exception — a pangram in the family under inspection is the product.

Don't use bold, italic or uppercase in the interface. Weights stop at 600 and only buttons use it; there is no italic anywhere; and no element uses a text transform. Hierarchy is size, colour and weight-500 versus weight-400, nothing else.

Don't round the catalogue tiles. They are square because they are rows in a list. The 8/16/24/32px radii belong to chips, cards, buttons and editorial panels respectively, and a rounded tile would turn a long list into a grid of objects.

Don't dim disabled controls with grey. The "Reset all" button dims its label to #1f1f1f at 38% alpha rather than switching to a grey token, which keeps the disabled state on the same hue as the enabled one and lets it re-saturate on enable without a colour jump.

Don't reach for the error pair decoratively. #b3261e and #f9dedc ship in the theme but appear in no captured view; there is no destructive action on these four routes, and introducing red for emphasis would break the one-accent rule that makes #0b57d0 legible as "this is clickable".

Don't treat the icon rail as collapsible at desktop width. It is a fixed 96px constant, and the drawer — not the rail — is the pane that opens and closes. Building a hamburger into the rail would misrepresent which pane is optional.

Как использовать DESIGN.md Google Fonts с ИИ-агентом

  1. Получите DESIGN.md Google Fonts

    Загрузите https://www.designmdpro.app/websites/google-fonts.md или вызовите инструмент get_design_md со slug «google-fonts» на MCP-сервере DesignMD Pro для получения публичной версии. Полный набор токенов требует Pro.

  2. Сохраните как DESIGN.md в корне проекта

    Положите файл рядом с AGENTS.md или CLAUDE.md, чтобы Claude Code, Cursor, Codex и другие ИИ-агенты могли его найти.

  3. Попросите агента следовать спецификации

    Например: «Сделай страницу настроек по дизайн-системе Google Fonts из DESIGN.md — используй её цвета, типографику и токены отступов».

ИИ-промпт в стиле Google Fonts

Создай адаптивную посадочную страницу в визуальном стиле Google Fonts (fonts.google.com), следуя его дизайн-системе DESIGN.md.

## Цвета
- error: #B3261E
- outline: #747775
- primary: #0B57D0
- surface: #FFFFFF
- on-error: #FFFFFF
- secondary: #00639B
- on-primary: #FFFFFF
- on-surface: #1F1F1F

## Типографика
- body: "Google Sans Flex", 16px, weight 400, line-height 1.5
- label: "Google Sans Flex", 14px, weight 600, line-height 1.71

## Скругление углов
- lg: 32px
- md: 24px
- sm: 16px

## Правила
- Используй только указанные выше цвета для фонов, текста, границ и акцентов; не придумывай новые цвета.
- Оформляй весь текст стилями типографики выше, сохраняя их иерархию размеров и начертаний.
- Бери радиусы скругления и отступы из шкал выше, чтобы компоненты выглядели согласованно.

Полный DESIGN.md: https://www.designmdpro.app/websites/google-fonts.md
Настроить в генераторе промптов v0 →

Часто задаваемые вопросы

Какой основной цвет у Google Fonts?

Основной брендовый цвет Google Fonts — Синий (#0B57D0). Всего в его DESIGN.md определено 24 цветовых токенов.

Какой шрифт использует Google Fonts?

Google Fonts использует Google Sans Flex в качестве основного шрифта.

Как использовать дизайн-токены Google Fonts в Tailwind CSS или shadcn/ui?

Основной цвет Google Fonts (#0B57D0) открыт на этой странице. Для генерации полной темы Tailwind или shadcn требуется полный DESIGN.md, доступный в DesignMD Pro.

Является ли этот DESIGN.md Google Fonts официальным?

Нет. DesignMD Pro извлёк его с публичного сайта fonts.google.com. Проект не связан с Google Fonts и не одобрен им.

Когда последний раз обновлялся DESIGN.md Google Fonts?

Версия 1.0.0 была зафиксирована 29 ноября 2026 г..

Google Fonts и его товарные знаки принадлежат их законным владельцам. DesignMD Pro — независимый проект, не связанный с Google Fonts и не одобренный им; этот DESIGN.md извлечён с публичного сайта исключительно в справочных целях.