Lewati ke konten utama
Open Food Facts

Open Food Facts sistem desain & panduan gaya DESIGN.md

ConsumerProv1.0.0 (Terbaru)
world.openfoodfacts.org•Ditautkan 28 Nov 2026, 04.00•Ditinjau oleh Bestony

A non-profit food-products database built on warm cream grounds and a warm near-black, with a coral accent that carries the entire donation argument, Public Sans as the only family at a 14px root, an 8px workhorse radius beside 1000px pills, one shadow on the product cards, and headings set at regular weight.

Situs web Pro

Anda dapat membaca narasi desain lengkap Open Food Facts dan hingga 8 warna utama secara gratis. Upgrade ke Pro untuk semua 95 token desain, unduhan DESIGN.md lengkap, dan 1 revisi.

Menampilkan 8 dari 10 warna
Gelap (0%)
Aa Contoh Uji#000000
ink
rgb(0, 0, 0)
Gelap (1%)
Aa Contoh Uji#341100
bark
rgb(52, 17, 0)
Terang (76%)
Aa Contoh Uji#EDE0DB
cream
rgb(237, 224, 219)
Gelap (1%)
Aa Contoh Uji#201A17
night
rgb(32, 26, 23)
Gelap (3%)
Aa Contoh Uji#333333
slate
rgb(51, 51, 51)
Gelap (34%)
Aa Contoh Uji#FF6E78
primary
rgb(255, 110, 120)
Terang (100%)
Aa Contoh Uji#FFFFFF
surface
rgb(255, 255, 255)
Gelap (2%)
Aa Contoh Uji#222222
ink-warm
rgb(34, 34, 34)
Dapatkan palet lengkap, variabel CSS, dan sumber DESIGN.md

Upgrade ke DesignMD Pro untuk menyalin semua warna sebagai :root variabel CSS, memeriksa referensi token komponen, dan mengunduh file sumber lengkap.

Panduan Desain

Overview

Open Food Facts is a non-profit database of food products, and its world portal is a working tool dressed as a campaign page. A dark utility bar and a cream header sit above a coral-edged hero that asks for money in the largest type on the site; below it two illustrated panels introduce the project, then a dark product bar hands over to an enormous grid of product cards that is the page's real content. A dark app-install band, a repeat of the donation panel and a footer close it.

The page is built on warm neutrals, one coral accent, one family and one shadow. The grounds are all warm — a cream header, a deeper cream nav, a paler cream panel, and a warm near-black for the bars. The coral #ff6e78 appears only in the donation panel: its heading, its progress bar, its button and its arrow. Everything else is restrained. The measured shadow list contains exactly one value, and it is used fifty times, all on the product cards.

The personality is civic and warm. This is a volunteer-run non-profit, and the page reads like one: the donation ask is unmissable but not desperate, the illustrations are flat vector with thick outlines, and the product grid is presented as a public resource rather than as a catalogue.

The emotional register is earnest and matter-of-fact. "WE STILL NEED €120,000 TO FINISH 2026!" is the loudest sentence on the page and it is set in a flat blue banner with no gradient and no urgency device. The number does the work.

Colors

  • primary #ff6e78 — a coral pink, and the system's one accent. It is confined to the donation panel: the "Become an Open Food Facts patron" heading, the progress bar, the "I SUPPORT" button and the curved arrow that points at the team photograph. It is the only saturated colour in the chrome and its restriction to a single panel is the page's most disciplined colour decision — the coral is the sound of the ask, and nothing else is allowed to make that sound.
  • night #201a17 — a warm near-black, and the page's framing colour. It grounds the top utility bar, the donation panel, the product bar, the app-install band and the footer. Twenty measured background uses make it the second most common ground after white, and its warmth is what keeps a page with this much dark area from feeling cold.
  • cream #ede0db — a warm cream, and the header's ground. It is the site's signature neutral: not white, not grey, and warm enough to sit beside the coral without fighting it.
  • cream-deep #f2e9e4 — a deeper cream, and the navigation bar's ground, a step below the header so the two bars read as separate bands.
  • cream-pale #f6f3f0 — a paler cream, and the ground of the lighter panels, a step above the page white.
  • bark #341100 — a very dark warm brown, and the fill of the two most important controls: the search button and the "GET THE APP" button. It is darker than night and warmer than it, and using it for actions rather than night is what makes those buttons read as objects rather than as bars.
  • surface #ffffff — pure white, and the ground of the product cards and the "Learn more" pills.
  • ink #000000 — pure black, and the body text on light grounds, with 75 measured uses.
  • ink-warm #222222 — a soft near-black, and the heading and list colour.
  • slate #333333 — a dark grey, and the control and link colour, with 26 measured uses.

The overall character is warm cream, warm near-black, dark brown and one coral. There is no cool grey anywhere, no blue in the chrome, and no gradient. The illustrations carry their own palette — the globe's teal and the jigsaw's golden yellow #f5c100 and orange #ef7e1a — and those are artwork, not interface.

Typography

One family. Public Sans sets every piece of type on the page — 122 measured uses — with Material Icons carrying the glyphs. There is no display face, no serif and no monospace.

The most distinctive typographic decision is that the headings are set at regular weight. The 31px section headings are weight 400, and only the 18px sub-headings step up to 600. On a page this content-heavy that is the right answer: a 31px heading at regular weight in a near-black still reads as a heading, and it lets the coral donation ask be the only thing that shouts.

The second decision is the 14px root. The document is set at font-size: 14px and every size and space is rem-based, which is why the whole page measures small: the body is 14px, the controls are 13px, the captions are 10px, and the spacing values include 2.8px, 4px, 5px and 10.5px — all exact rem multiples. Knowing the rem basis matters, because the entire system rescales with the root and the relationships, not the pixel values, are the design.

The scale itself is unusually compressed: 31px, 18px, 16px, 14px, 13px and 10px. There is nothing between 18px and 31px, and the gap between the largest heading and the body is barely two to one. Leading is a uniform 1.4 on headings and controls and 1.6 on body copy. Nothing is italic and nothing is tracked.

  • display 31px/400 — the section headings, "Discover", "Contribute", "Scan a product", at 1.4 leading.
  • heading 18px/600 — the sub-headings, "Join the community", "Discover the project".
  • body 14px/400 — the paragraphs, list items and inline links, at 1.6 leading.
  • control 13px/400 — the button and navigation labels, at 1.4 leading.
  • control-lg 16px/400 — the "GET THE APP" and "I SUPPORT" labels.
  • caption 10px/700 — the smallest labels, the only place weight 700 appears.

Layout

The page is a centred column at 1280px, used nine times and clearly the house container, with the dark bars and the app-install band running full-bleed to the 1440px window.

The vertical and horizontal scale is rem-based at 14px and dominated by two values: 10px with 250 measured uses and 2.8px with 208. They are followed by 4px (200), 12px (165), 8px (116), 5px (108), 7px (63), 10.5px (36) and 15px (29), with 28px (13), 21px (7) and 35px (2) carrying the section rhythm. The near-total dominance of a single 10px value — a quarter of all measured spacing — is the page's most distinctive layout decision, and it is what gives a page with a hundred product cards a single uniform pulse.

The structure is a strict vertical stack of alternating grounds: dark utility bar → cream header → cream nav → coral-edged donation panel → two illustrated panels → dark product bar → white card grid → dark app band → donation panel again → footer. The grounds alternate warm-cream and warm-dark with almost no transition, and the two full-bleed dark bands are placed exactly where the page needs to change gear.

The donation panel is the page's one composed moment and it is asymmetric: a blue banner and a team photograph on the left, the coral heading, a five-item bullet list, a progress bar and the "I SUPPORT" pill on the right. It is the only place on the page where a single panel carries a complete argument, and it appears twice — at the top, where it interrupts the hero, and again at the foot, where it closes it.

The product grid is the page's real content and it is ruthlessly regular: white cards at 8px radius, four across, each with a product image, a name, a quantity and a row of small coloured indicators. The grid repeats more than twenty times down the page, and its regularity is what makes the donation panel above it feel like an interruption rather than like a decoration.

Elevation & Depth

The page has exactly one shadow, used fifty times. A measured rgba(0, 0, 0, 0.25) 0px 4px 4px 0px appears on every product card and on nothing else — no button, no panel, no bar, no input.

This is a precise and unusual answer. One elevation level, applied to one component family, is what a working database needs: the cards are objects that sit on a surface, and everything else is a ground or a control. There is no second shadow level, no hover lift and no inset.

Depth is otherwise created entirely by ground changes — cream against near-black, near-black against white, white cards against a pale ground — and by the coral border that frames the donation panel, which is the only decorative edge on the page.

The consequence is that the product cards are the only things on the page that feel physical, and they are the page's bulk. Everything else — the bars, the panels, the buttons — is flat. That division is exactly right: the content is a shelf of objects, and the chrome is a building.

Shapes

The shape system is one workhorse radius and one pill.

  • md 8px — the workhorse, with 115 measured uses. The product cards, the "GET THE APP" button, the search button and the panels all carry it. At 115 uses it is by a wide margin the most common value on the page, and its uniformity is what makes a page with three component families feel like one system.
  • pill 1000px — every capsule on the page, with eight measured uses: the search field, the "Sign in" button, the "Learn more" buttons, the sort and filter dropdowns, and the "I SUPPORT" button. The pill is reserved for controls that sit inline in a bar or a list.
  • sm 5px — the smallest controls, with two measured uses.

The search group is the page's one shape idea: the field and its button are asymmetric pills — 1000px 0 0 1000px on the field and 0 1000px 1000px 0 on the button — so that together they form a single capsule with a square seam where they meet. Two further asymmetric pills appear once each. A 28px radius and a 14px radius each appear once, and seven elements are fully round at 50%.

The relationship is simple: cards and block buttons are 8px, inline controls are pills, and the search group is two half-pills. There are no squircles and nothing between 8px and 1000px.

Motion & Micro-interaction

Motion is one primitive, used thirty-two times.

  • 300ms ease-out on background-color (32 instances). This is the house transition and it governs every interactive state change on the page — link hovers, button hovers, card hovers, dropdown openers.

Four further transitions appear once each — a 1s ease-out on top, a 0.3s ease on all, a 0.3s ease-out on left, and a 0.5s ease on transform — and they belong to the page's one moving element, the sticky product bar that follows the scroll. Treat 300ms ease-out as the default for every state change and reserve the slower curves for the sticky bar alone.

There are no keyframe loops on the page's chrome, no parallax, no counters and no carousel. The illustrations have their own animation — a rotating globe and a bumping tag — but those are artwork, not interface.

Voice & Content Strategy

The voice is civic, plain and unembarrassed about asking. The donation banner states the need in eight words — "WE STILL NEED €120,000 TO FINISH 2026!" — and the panel beneath it itemises exactly what the money does: "keeping our database open and available to all, technical infrastructure (website/mobile app) and a small permanent team, remain independent of the food industry, engage a community of committed citizens, support the advancement of public health research." The progress bar reports the truth to the euro: "€55,326 of €170,000 · 33%" and "€114,674 short."

The closing line of the panel is the page's best sentence and it is a bargain rather than a plea: "If every visitor this month clicked on Donate and gave just 1€, we'd get over 8 times our yearly budget!"

The two project panels explain the product in the register of a public library. "Open Food Facts is a food products database made by everyone, for everyone. You can use it to make better food choices, and as it is open data, anyone can re-use it for any purpose." The contribute panel names the mechanism directly: "You can start contributing by adding a product from your kitchen with our app for iPhone or Android."

The product bar reports scale with a live number — 4,936,932 products — and offers two ways in: "Most scanned products" and "Explore products by". The footer closes with "Join the community", "Discover the project" and a one-line description of the association.

There is no testimonial, no logo wall, no press mention and no pricing. The page's only persuasion is its own usefulness and one very direct ask.

Components

  • cta-support — the donation button. A 1000px-radius capsule filled with primary #ff6e78, 38px tall, with 7px 28px padding and a white Public Sans 16px/400 label. Label: "I SUPPORT". It is the only coral control on the page and the loudest object in the layout.
  • cta-app — the app-install button. An 8px-radius rectangle filled with bark #341100, 36px tall, with 2.8px 15px padding and a white 16px/400 label, preceded by a phone glyph. Label: "GET THE APP". It appears in the header and in the app band.
  • cta-search — the search button. An 8px-radius square filled with bark, 33px tall, with 5.6px 7px padding, carrying a magnifier glyph. It is the right half of the search capsule.
  • cta-learn — the quiet link-button. A 1000px-radius capsule filled with surface white, 38px tall, with 7px 10.5px padding and a slate 13px/400 label, preceded by a book glyph. Labels: "Learn more about Open Food Facts", "Learn more about how you can join us".
  • chip — the inline control. A 1000px-radius capsule filled with cream #ede0db, 38px tall, with 7px 10.5px padding and a slate 13px/400 label, preceded by a glyph. Labels: "Most scanned products", "Explore products by", "Edit your preferences".
  • chip-signin — the smaller chip. The same cream fill and 1000px radius at only 28px tall, with 2.8px 15px padding, preceded by an account glyph. Label: "Sign in". It sits in the dark top bar, where its cream fill is the only light object.
  • search-field — the product search. A white input, 33px tall, with a 1px #cccccc border, a 1000px 0 0 1000px radius and a 14px/400 ink label. Placeholder: "Search for a product". With its button it forms one capsule.
  • product-card — the grid cell. A white 8px-radius rectangle carrying the page's one shadow, holding a product image, a name, a quantity and a row of small indicators. It repeats more than twenty times and it is the only elevated object in the system.
  • top-bar — the utility bar. A full-bleed night band carrying the world and language selectors and the sign-in chip.
  • header-bar — the main header. A full-bleed cream band carrying the wordmark, the search group, the primary navigation and the app button.
  • nav-bar — the navigation strip. A full-bleed cream-deep band, a step below the header, carrying "Discover" and "Contribute".
  • patron-band — the donation panel. A night panel framed by a coral border, carrying the blue need banner, the team photograph, the coral heading, the five-item list, the progress bar and the support pill. It is the page's one composed argument and it appears twice.
  • panel-pale — the lighter panel. A cream-pale ground used for the paler of the two project panels.
  • product-bar — the sticky product bar. A full-bleed night band carrying the live product count and the two sort chips. It is the page's one sticky element and the only one that moves on scroll.
  • footer-bar — the closing bands. A light community and project area above a full-bleed night bar carrying the association's one-line description.
  • heading-display / heading-section — the 31px/400 and 18px/600 Public Sans headings in ink-warm. The regular weight on the larger size is the system's signature decision.
  • heading-patron — the donation heading, the one place display size is set in primary coral.
  • body-copy — the 14px/400 paragraphs in ink, at 1.6 leading.
  • list-item — the 14px/400 list items in ink-warm.
  • nav-link — the 13px/400 navigation labels in slate.
  • link-body — the inline links, in bark #341100 — the only place the dark brown is used as a text colour.
  • caption-label — the 10px/700 labels, the only place weight 700 appears.

Do's and Don'ts

  • Do keep every ground warm. night, cream, cream-deep, cream-pale and bark are all warm, and a single cool grey would immediately cost the page its character.
  • Do confine primary #ff6e78 to the donation panel. The coral is the sound of the ask — its heading, its progress bar, its button, its arrow — and nothing else on the page may make that sound.
  • Do set headings at regular weight. 31px/400 and 18px/600 is the system's whole weight scale, and it is what lets the coral ask be the only thing that shouts.
  • Do keep the root at 14px and let every value be a rem multiple. The 2.8px, 4px, 5px and 10.5px measurements are not noise; they are the scale.
  • Do use 10px as the default spacing value. It has 250 measured uses and it is the page's uniform pulse.
  • Do use 8px for every card and block button, and reserve the 1000px pill for inline controls. The two radii never swap jobs.
  • Do build the search group as two asymmetric half-pills — 1000px 0 0 1000px and 0 1000px 1000px 0 — so the field and button read as one capsule with a square seam.
  • Do apply the one shadow to the product cards and to nothing else. rgba(0, 0, 0, 0.25) 0 4px 4px 0 is the system's only elevation level.
  • Do use bark #341100 for actions rather than night. The two are close in value, and reserving the warmer, darker one for buttons is what makes them read as objects rather than as bars.
  • Do default every state change to 300ms ease-out on background-color, and reserve the slower curves for the sticky product bar.
  • Do know that the support button is the page's one flagged contrast case and treat it as the documented exception: white on primary #ff6e78 measures 2.71:1, below the 4.5:1 AA minimum for its 16px/400 label. This is the site's own measured pairing, and the coral heading on the night panel above it measures 6.35:1 and needs no change. If compliance is the priority over fidelity, darken primary toward #e04f5a for the button fill only and leave the heading and the progress bar alone.
  • Don't add a second accent. There is one coral, and the illustrations' teal, golden yellow and orange are artwork, not chrome.
  • Don't bold the headings. Weight 700 appears exactly once in the system, on the 10px caption.
  • Don't add a display face or a serif. Public Sans and Material Icons are the whole system.
  • Don't add a second shadow level, a hover lift, a glow or a gradient. The page has exactly one elevation value.
  • Don't round the product cards beyond 8px, and don't put a pill on a card.
  • Don't cool the neutrals, and don't introduce a blue into the chrome — the only blue on the page is the donation banner, and it is a single flat fill.
  • Don't add scroll animations, parallax or counters to the chrome. The only moving element is the sticky product bar.

Cara menggunakan DESIGN.md Open Food Facts dengan agen AI

  1. Dapatkan DESIGN.md Open Food Facts

    Ambil https://www.designmdpro.app/websites/open-food-facts.md atau panggil alat get_design_md dengan slug "open-food-facts" dari server MCP DesignMD Pro untuk versi publik. Kumpulan token lengkap memerlukan Pro.

  2. Simpan sebagai DESIGN.md di root proyek Anda

    Letakkan file ini di sebelah AGENTS.md atau CLAUDE.md agar Claude Code, Cursor, Codex, dan agen coding lain dapat menemukannya.

  3. Minta agen Anda mengikutinya

    Misalnya: "Buat halaman pengaturan mengikuti sistem desain Open Food Facts di DESIGN.md — gunakan token warna, tipografi, dan spasinya."

Prompt AI bergaya Open Food Facts

Buat halaman landing responsif dengan gaya visual Open Food Facts (world.openfoodfacts.org), mengikuti sistem desain DESIGN.md-nya.

## Warna
- ink: #000000
- bark: #341100
- cream: #EDE0DB
- night: #201A17
- slate: #333333
- primary: #FF6E78
- surface: #FFFFFF
- ink-warm: #222222

## Tipografi
- body: "Public Sans", 14px, weight 400, line-height 1.6, letter-spacing 0em
- caption: "Public Sans", 10px, weight 700, line-height 1.5, letter-spacing 0em

## Radius sudut
- md: 8px
- sm: 5px
- pill: 1000px

## Aturan
- Gunakan hanya warna di atas untuk latar belakang, teks, garis batas, dan aksen; jangan membuat warna baru.
- Terapkan gaya tipografi di atas untuk seluruh teks serta pertahankan hierarki ukuran dan ketebalannya.
- Ambil radius sudut dan spasi dari skala di atas agar komponen terlihat konsisten.

DESIGN.md lengkap: https://www.designmdpro.app/websites/open-food-facts.md
Sesuaikan di generator prompt v0 →

Pertanyaan yang sering diajukan

Apa warna utama Open Food Facts?

Warna merek utama Open Food Facts adalah Koral (#FF6E78). File DESIGN.md-nya mendefinisikan total 10 token warna.

Font apa yang digunakan Open Food Facts?

Open Food Facts menggunakan Public Sans sebagai jenis huruf utamanya.

Apakah Public Sans merupakan font gratis?

Ya. Public Sans gratis dan sumber terbuka, serta tersedia di Google Fonts.

Bagaimana cara menggunakan token desain Open Food Facts di Tailwind CSS atau shadcn/ui?

Warna utama Open Food Facts (#FF6E78) bersifat publik di halaman ini. Membuat tema Tailwind atau shadcn lengkap memerlukan DESIGN.md penuh yang tersedia dengan DesignMD Pro.

Apakah DESIGN.md Open Food Facts ini resmi?

Tidak. DesignMD Pro mengekstraknya dari situs web publik world.openfoodfacts.org. Proyek ini tidak berafiliasi dengan atau didukung oleh Open Food Facts.

Kapan DESIGN.md Open Food Facts terakhir diperbarui?

Versi 1.0.0 diambil pada 28 November 2026.

Open Food Facts dan merek dagangnya adalah milik masing-masing pemiliknya. DesignMD Pro adalah proyek independen, tidak berafiliasi dengan atau didukung oleh Open Food Facts; DESIGN.md ini diekstrak dari situs web publik hanya sebagai referensi.