You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

94 lines
2.3 KiB

/*
* Copyright (c) Facebook, Inc. and its affiliates.
*/
module.exports = {
// Text colors
primary: '#23272F', // gray-90
'primary-dark': '#F6F7F9', // gray-5
secondary: '#404756', // gray-70
'secondary-dark': '#EBECF0', // gray-10
[Beta] Homepage (#5501) * twk * more * twkg * bla * search bar, blog, misc polish * fixes * polish * fixes * polish * adding back select * change order on mobile * fixes * search fix * fix * make select chevron clickable * add isLoading boolean to example4 * wip * tweak * wip * rewire * wip * tweaks * wip * wip * twk * content * twk * twk * twk * fix * wip * adding community marquee * fix * polish * polish * optimize img * images * 8 images * stuff * swap * words * making the button fun * slightly more subtle * checking in OG images * tweak * words * lol * improve blog section * algolia.css improvements * words * fix * wat * Revert "8 images" This reverts commit 31c69ed78c310d7bfce359b10f334becb0bd8866. * wip * 8 images * add new badge and bottom align date * change icon * rm new for now * change icon * img * Revert "change icon" This reverts commit a2758b97b57dc9fddd661f73995fa014cd2d70eb. * mobile fixes for marquee * like button tweaks * polish * en dash * adding ctas * clean up images, wire up og * more subtle search * smaller divider * remove search shadow * cta * cleanup * cta * refactor * Revert "remove search shadow" This reverts commit a4e0d972117693b4afea91d131e6c3d4f934f6a4. * Revert "smaller divider" This reverts commit 0996b5bedeeaa2e3bb42e5ea18b784e438ded88a. * Revert "more subtle search" This reverts commit 734b5d7129e0fda20bd262bdab5c13ff88b56199. * scroll topg * tweaks * tweaks * cta * words * words * typo * batch of visual polish / touches * tweak * add subheader component * algolia css fixes * border * tweaks * tweak * polish * tweak * gradient text * flip gradient text * grad * gr * tweak * swap * reorder * rm * caps * updated fonts * top nav tweak * tweak * more rounded left/right bars * `Conferences`: Move past conferences to past section (#5544) * Move past conferences to past section * Update ordering for past conferences, most recent first * added React Nexus to conference list in beta docs (#5552) * Fix typo in flushSync docs (#5589) * fix: change experimental_useEvent to experimental_useEffectEvent in escape-hatches.md (#5573) * Fix typo in forwardRef Beta Docs Reference (#5570) * Fixed wrong debug command (#5596) * Forgotten import statement for `createElement` (#5601) Added `createElement` in the import statement since it was used within the code snippet but was not imported. * docs: fix `react-hooks/exhaustive-dependencies` typo (#5605) The rule is `exhaustive-deps`, not `exhaustive-dependencies`. Signed-off-by: Eng Zer Jun <engzerjun@gmail.com> * fix: correct prev link in `hello-world` (#5595) * fix typo (#5611) * Fix fonts * Update .gitignore * more preload * meh * fixes * fix missing * increase width * words * twl * put real images * blog fixes * all imgs * read more button * add react text on large screens * misc polish, new icons, footer tweaks * change pitfall icon * fix * add gradient * fix * blog updates * scroll lock * fit * blog tweaks * display * smaller images * tweaks * separate component * fix some hanging words * tinier images * even tinier I guess * small a11y fixes * minor * add experimental_ * check in images * compress * lazy load community * fix * outline * svg conf bgs * crush images * reorder images for balance * bg in case images don't load * RN CTA target=_blank * refactor * rmfixed * eager lazyg * dimensions * add some content vis * lock * detect scroll without event * ts * check * Revert "check" This reverts commit c4048920b7cfe9f32d735c8dda744e3831168ed4. * remove feedback on mobile * just "Go truly native" * anim-fix * fix stretching * tsc * more scroll perf * mobile nav fixes * z-index fix * z * next/link for CTA for scroll restoration and client-side nav * logo symmetry * curly quotes * fix * fix wrapping on mobile on platform section * highlights * polish * tweaks * fix safari * adjust outline above SearchInput * symmetry * spacing * tweak * nbsp * orphans * fix * no match * oops * extract posts * fixnav * let them play a bit more * don't animate until hydration * fix boundaries calc * fix og images * 404 * twks * fix likes * less aggro lock * no initial fadein * gpu * fix sticky * more opt * clearer * twk * wip * wip * wip * wip * post * tweak shadows * nav animation * twk * fix * fix grid alignment * fix * animation tweak * wip * stuff * recommend to * drop spin * link * edits * edit * twk * clarify * twk * twk * twk * link * edits * dates * fix * edits * words * fixes * refactor * tweak * twk * custom setups * expo --------- Signed-off-by: Eng Zer Jun <engzerjun@gmail.com> Co-authored-by: Dan Abramov <dan.abramov@gmail.com> Co-authored-by: D <dan.lebo@me.com> Co-authored-by: Sophie Alpert <git@sophiebits.com> Co-authored-by: Nick Foden <nickfoden@gmail.com> Co-authored-by: Kiran Abburi <akiran@users.noreply.github.com> Co-authored-by: Minh Nguyen <2852660+NMinhNguyen@users.noreply.github.com> Co-authored-by: LamNVQ <97967630+DawnGate@users.noreply.github.com> Co-authored-by: Hyunseung Lee <hyunseunglee2008@gmail.com> Co-authored-by: BIKI DAS <bikid475@gmail.com> Co-authored-by: Mark Evola <76978800+MarkE16@users.noreply.github.com> Co-authored-by: Eng Zer Jun <engzerjun@gmail.com> Co-authored-by: Xavi Lee <awxiaoxian2020@163.com> Co-authored-by: 이동현 <ldh19971027@gmail.com> Co-authored-by: Dan Abramov <dan.abramov@me.com>
2 years ago
tertiary: '#5E687E', // gray-50
'tertiary-dark': '#99A1B3', // gray-30
link: '#087EA4', // blue-50
'link-dark': '#149ECA', // blue-40
syntax: '#EBECF0', // gray-10
wash: '#FFFFFF',
'wash-dark': '#23272F', // gray-90
card: '#F6F7F9', // gray-05
'card-dark': '#343A46', // gray-80
highlight: '#E6F7FF', // blue-10
'highlight-dark': 'rgba(88,175,223,.1)',
border: '#EBECF0', // gray-10
'border-dark': '#343A46', // gray-80
'secondary-button': '#EBECF0', // gray-10
'secondary-button-dark': '#404756', // gray-70
// Gray
'gray-95': '#16181D',
'gray-90': '#23272F',
'gray-80': '#343A46',
'gray-70': '#404756',
'gray-60': '#4E5769',
[Beta] Homepage (#5501) * twk * more * twkg * bla * search bar, blog, misc polish * fixes * polish * fixes * polish * adding back select * change order on mobile * fixes * search fix * fix * make select chevron clickable * add isLoading boolean to example4 * wip * tweak * wip * rewire * wip * tweaks * wip * wip * twk * content * twk * twk * twk * fix * wip * adding community marquee * fix * polish * polish * optimize img * images * 8 images * stuff * swap * words * making the button fun * slightly more subtle * checking in OG images * tweak * words * lol * improve blog section * algolia.css improvements * words * fix * wat * Revert "8 images" This reverts commit 31c69ed78c310d7bfce359b10f334becb0bd8866. * wip * 8 images * add new badge and bottom align date * change icon * rm new for now * change icon * img * Revert "change icon" This reverts commit a2758b97b57dc9fddd661f73995fa014cd2d70eb. * mobile fixes for marquee * like button tweaks * polish * en dash * adding ctas * clean up images, wire up og * more subtle search * smaller divider * remove search shadow * cta * cleanup * cta * refactor * Revert "remove search shadow" This reverts commit a4e0d972117693b4afea91d131e6c3d4f934f6a4. * Revert "smaller divider" This reverts commit 0996b5bedeeaa2e3bb42e5ea18b784e438ded88a. * Revert "more subtle search" This reverts commit 734b5d7129e0fda20bd262bdab5c13ff88b56199. * scroll topg * tweaks * tweaks * cta * words * words * typo * batch of visual polish / touches * tweak * add subheader component * algolia css fixes * border * tweaks * tweak * polish * tweak * gradient text * flip gradient text * grad * gr * tweak * swap * reorder * rm * caps * updated fonts * top nav tweak * tweak * more rounded left/right bars * `Conferences`: Move past conferences to past section (#5544) * Move past conferences to past section * Update ordering for past conferences, most recent first * added React Nexus to conference list in beta docs (#5552) * Fix typo in flushSync docs (#5589) * fix: change experimental_useEvent to experimental_useEffectEvent in escape-hatches.md (#5573) * Fix typo in forwardRef Beta Docs Reference (#5570) * Fixed wrong debug command (#5596) * Forgotten import statement for `createElement` (#5601) Added `createElement` in the import statement since it was used within the code snippet but was not imported. * docs: fix `react-hooks/exhaustive-dependencies` typo (#5605) The rule is `exhaustive-deps`, not `exhaustive-dependencies`. Signed-off-by: Eng Zer Jun <engzerjun@gmail.com> * fix: correct prev link in `hello-world` (#5595) * fix typo (#5611) * Fix fonts * Update .gitignore * more preload * meh * fixes * fix missing * increase width * words * twl * put real images * blog fixes * all imgs * read more button * add react text on large screens * misc polish, new icons, footer tweaks * change pitfall icon * fix * add gradient * fix * blog updates * scroll lock * fit * blog tweaks * display * smaller images * tweaks * separate component * fix some hanging words * tinier images * even tinier I guess * small a11y fixes * minor * add experimental_ * check in images * compress * lazy load community * fix * outline * svg conf bgs * crush images * reorder images for balance * bg in case images don't load * RN CTA target=_blank * refactor * rmfixed * eager lazyg * dimensions * add some content vis * lock * detect scroll without event * ts * check * Revert "check" This reverts commit c4048920b7cfe9f32d735c8dda744e3831168ed4. * remove feedback on mobile * just "Go truly native" * anim-fix * fix stretching * tsc * more scroll perf * mobile nav fixes * z-index fix * z * next/link for CTA for scroll restoration and client-side nav * logo symmetry * curly quotes * fix * fix wrapping on mobile on platform section * highlights * polish * tweaks * fix safari * adjust outline above SearchInput * symmetry * spacing * tweak * nbsp * orphans * fix * no match * oops * extract posts * fixnav * let them play a bit more * don't animate until hydration * fix boundaries calc * fix og images * 404 * twks * fix likes * less aggro lock * no initial fadein * gpu * fix sticky * more opt * clearer * twk * wip * wip * wip * wip * post * tweak shadows * nav animation * twk * fix * fix grid alignment * fix * animation tweak * wip * stuff * recommend to * drop spin * link * edits * edit * twk * clarify * twk * twk * twk * link * edits * dates * fix * edits * words * fixes * refactor * tweak * twk * custom setups * expo --------- Signed-off-by: Eng Zer Jun <engzerjun@gmail.com> Co-authored-by: Dan Abramov <dan.abramov@gmail.com> Co-authored-by: D <dan.lebo@me.com> Co-authored-by: Sophie Alpert <git@sophiebits.com> Co-authored-by: Nick Foden <nickfoden@gmail.com> Co-authored-by: Kiran Abburi <akiran@users.noreply.github.com> Co-authored-by: Minh Nguyen <2852660+NMinhNguyen@users.noreply.github.com> Co-authored-by: LamNVQ <97967630+DawnGate@users.noreply.github.com> Co-authored-by: Hyunseung Lee <hyunseunglee2008@gmail.com> Co-authored-by: BIKI DAS <bikid475@gmail.com> Co-authored-by: Mark Evola <76978800+MarkE16@users.noreply.github.com> Co-authored-by: Eng Zer Jun <engzerjun@gmail.com> Co-authored-by: Xavi Lee <awxiaoxian2020@163.com> Co-authored-by: 이동현 <ldh19971027@gmail.com> Co-authored-by: Dan Abramov <dan.abramov@me.com>
2 years ago
'gray-50': '#5E687E',
'gray-40': '#78839B',
'gray-30': '#99A1B3',
'gray-20': '#BCC1CD',
[Beta] Homepage (#5501) * twk * more * twkg * bla * search bar, blog, misc polish * fixes * polish * fixes * polish * adding back select * change order on mobile * fixes * search fix * fix * make select chevron clickable * add isLoading boolean to example4 * wip * tweak * wip * rewire * wip * tweaks * wip * wip * twk * content * twk * twk * twk * fix * wip * adding community marquee * fix * polish * polish * optimize img * images * 8 images * stuff * swap * words * making the button fun * slightly more subtle * checking in OG images * tweak * words * lol * improve blog section * algolia.css improvements * words * fix * wat * Revert "8 images" This reverts commit 31c69ed78c310d7bfce359b10f334becb0bd8866. * wip * 8 images * add new badge and bottom align date * change icon * rm new for now * change icon * img * Revert "change icon" This reverts commit a2758b97b57dc9fddd661f73995fa014cd2d70eb. * mobile fixes for marquee * like button tweaks * polish * en dash * adding ctas * clean up images, wire up og * more subtle search * smaller divider * remove search shadow * cta * cleanup * cta * refactor * Revert "remove search shadow" This reverts commit a4e0d972117693b4afea91d131e6c3d4f934f6a4. * Revert "smaller divider" This reverts commit 0996b5bedeeaa2e3bb42e5ea18b784e438ded88a. * Revert "more subtle search" This reverts commit 734b5d7129e0fda20bd262bdab5c13ff88b56199. * scroll topg * tweaks * tweaks * cta * words * words * typo * batch of visual polish / touches * tweak * add subheader component * algolia css fixes * border * tweaks * tweak * polish * tweak * gradient text * flip gradient text * grad * gr * tweak * swap * reorder * rm * caps * updated fonts * top nav tweak * tweak * more rounded left/right bars * `Conferences`: Move past conferences to past section (#5544) * Move past conferences to past section * Update ordering for past conferences, most recent first * added React Nexus to conference list in beta docs (#5552) * Fix typo in flushSync docs (#5589) * fix: change experimental_useEvent to experimental_useEffectEvent in escape-hatches.md (#5573) * Fix typo in forwardRef Beta Docs Reference (#5570) * Fixed wrong debug command (#5596) * Forgotten import statement for `createElement` (#5601) Added `createElement` in the import statement since it was used within the code snippet but was not imported. * docs: fix `react-hooks/exhaustive-dependencies` typo (#5605) The rule is `exhaustive-deps`, not `exhaustive-dependencies`. Signed-off-by: Eng Zer Jun <engzerjun@gmail.com> * fix: correct prev link in `hello-world` (#5595) * fix typo (#5611) * Fix fonts * Update .gitignore * more preload * meh * fixes * fix missing * increase width * words * twl * put real images * blog fixes * all imgs * read more button * add react text on large screens * misc polish, new icons, footer tweaks * change pitfall icon * fix * add gradient * fix * blog updates * scroll lock * fit * blog tweaks * display * smaller images * tweaks * separate component * fix some hanging words * tinier images * even tinier I guess * small a11y fixes * minor * add experimental_ * check in images * compress * lazy load community * fix * outline * svg conf bgs * crush images * reorder images for balance * bg in case images don't load * RN CTA target=_blank * refactor * rmfixed * eager lazyg * dimensions * add some content vis * lock * detect scroll without event * ts * check * Revert "check" This reverts commit c4048920b7cfe9f32d735c8dda744e3831168ed4. * remove feedback on mobile * just "Go truly native" * anim-fix * fix stretching * tsc * more scroll perf * mobile nav fixes * z-index fix * z * next/link for CTA for scroll restoration and client-side nav * logo symmetry * curly quotes * fix * fix wrapping on mobile on platform section * highlights * polish * tweaks * fix safari * adjust outline above SearchInput * symmetry * spacing * tweak * nbsp * orphans * fix * no match * oops * extract posts * fixnav * let them play a bit more * don't animate until hydration * fix boundaries calc * fix og images * 404 * twks * fix likes * less aggro lock * no initial fadein * gpu * fix sticky * more opt * clearer * twk * wip * wip * wip * wip * post * tweak shadows * nav animation * twk * fix * fix grid alignment * fix * animation tweak * wip * stuff * recommend to * drop spin * link * edits * edit * twk * clarify * twk * twk * twk * link * edits * dates * fix * edits * words * fixes * refactor * tweak * twk * custom setups * expo --------- Signed-off-by: Eng Zer Jun <engzerjun@gmail.com> Co-authored-by: Dan Abramov <dan.abramov@gmail.com> Co-authored-by: D <dan.lebo@me.com> Co-authored-by: Sophie Alpert <git@sophiebits.com> Co-authored-by: Nick Foden <nickfoden@gmail.com> Co-authored-by: Kiran Abburi <akiran@users.noreply.github.com> Co-authored-by: Minh Nguyen <2852660+NMinhNguyen@users.noreply.github.com> Co-authored-by: LamNVQ <97967630+DawnGate@users.noreply.github.com> Co-authored-by: Hyunseung Lee <hyunseunglee2008@gmail.com> Co-authored-by: BIKI DAS <bikid475@gmail.com> Co-authored-by: Mark Evola <76978800+MarkE16@users.noreply.github.com> Co-authored-by: Eng Zer Jun <engzerjun@gmail.com> Co-authored-by: Xavi Lee <awxiaoxian2020@163.com> Co-authored-by: 이동현 <ldh19971027@gmail.com> Co-authored-by: Dan Abramov <dan.abramov@me.com>
2 years ago
'gray-15': '#D0D3DC',
'gray-10': '#EBECF0',
'gray-5': '#F6F7F9',
// Blue
[Beta] Homepage (#5501) * twk * more * twkg * bla * search bar, blog, misc polish * fixes * polish * fixes * polish * adding back select * change order on mobile * fixes * search fix * fix * make select chevron clickable * add isLoading boolean to example4 * wip * tweak * wip * rewire * wip * tweaks * wip * wip * twk * content * twk * twk * twk * fix * wip * adding community marquee * fix * polish * polish * optimize img * images * 8 images * stuff * swap * words * making the button fun * slightly more subtle * checking in OG images * tweak * words * lol * improve blog section * algolia.css improvements * words * fix * wat * Revert "8 images" This reverts commit 31c69ed78c310d7bfce359b10f334becb0bd8866. * wip * 8 images * add new badge and bottom align date * change icon * rm new for now * change icon * img * Revert "change icon" This reverts commit a2758b97b57dc9fddd661f73995fa014cd2d70eb. * mobile fixes for marquee * like button tweaks * polish * en dash * adding ctas * clean up images, wire up og * more subtle search * smaller divider * remove search shadow * cta * cleanup * cta * refactor * Revert "remove search shadow" This reverts commit a4e0d972117693b4afea91d131e6c3d4f934f6a4. * Revert "smaller divider" This reverts commit 0996b5bedeeaa2e3bb42e5ea18b784e438ded88a. * Revert "more subtle search" This reverts commit 734b5d7129e0fda20bd262bdab5c13ff88b56199. * scroll topg * tweaks * tweaks * cta * words * words * typo * batch of visual polish / touches * tweak * add subheader component * algolia css fixes * border * tweaks * tweak * polish * tweak * gradient text * flip gradient text * grad * gr * tweak * swap * reorder * rm * caps * updated fonts * top nav tweak * tweak * more rounded left/right bars * `Conferences`: Move past conferences to past section (#5544) * Move past conferences to past section * Update ordering for past conferences, most recent first * added React Nexus to conference list in beta docs (#5552) * Fix typo in flushSync docs (#5589) * fix: change experimental_useEvent to experimental_useEffectEvent in escape-hatches.md (#5573) * Fix typo in forwardRef Beta Docs Reference (#5570) * Fixed wrong debug command (#5596) * Forgotten import statement for `createElement` (#5601) Added `createElement` in the import statement since it was used within the code snippet but was not imported. * docs: fix `react-hooks/exhaustive-dependencies` typo (#5605) The rule is `exhaustive-deps`, not `exhaustive-dependencies`. Signed-off-by: Eng Zer Jun <engzerjun@gmail.com> * fix: correct prev link in `hello-world` (#5595) * fix typo (#5611) * Fix fonts * Update .gitignore * more preload * meh * fixes * fix missing * increase width * words * twl * put real images * blog fixes * all imgs * read more button * add react text on large screens * misc polish, new icons, footer tweaks * change pitfall icon * fix * add gradient * fix * blog updates * scroll lock * fit * blog tweaks * display * smaller images * tweaks * separate component * fix some hanging words * tinier images * even tinier I guess * small a11y fixes * minor * add experimental_ * check in images * compress * lazy load community * fix * outline * svg conf bgs * crush images * reorder images for balance * bg in case images don't load * RN CTA target=_blank * refactor * rmfixed * eager lazyg * dimensions * add some content vis * lock * detect scroll without event * ts * check * Revert "check" This reverts commit c4048920b7cfe9f32d735c8dda744e3831168ed4. * remove feedback on mobile * just "Go truly native" * anim-fix * fix stretching * tsc * more scroll perf * mobile nav fixes * z-index fix * z * next/link for CTA for scroll restoration and client-side nav * logo symmetry * curly quotes * fix * fix wrapping on mobile on platform section * highlights * polish * tweaks * fix safari * adjust outline above SearchInput * symmetry * spacing * tweak * nbsp * orphans * fix * no match * oops * extract posts * fixnav * let them play a bit more * don't animate until hydration * fix boundaries calc * fix og images * 404 * twks * fix likes * less aggro lock * no initial fadein * gpu * fix sticky * more opt * clearer * twk * wip * wip * wip * wip * post * tweak shadows * nav animation * twk * fix * fix grid alignment * fix * animation tweak * wip * stuff * recommend to * drop spin * link * edits * edit * twk * clarify * twk * twk * twk * link * edits * dates * fix * edits * words * fixes * refactor * tweak * twk * custom setups * expo --------- Signed-off-by: Eng Zer Jun <engzerjun@gmail.com> Co-authored-by: Dan Abramov <dan.abramov@gmail.com> Co-authored-by: D <dan.lebo@me.com> Co-authored-by: Sophie Alpert <git@sophiebits.com> Co-authored-by: Nick Foden <nickfoden@gmail.com> Co-authored-by: Kiran Abburi <akiran@users.noreply.github.com> Co-authored-by: Minh Nguyen <2852660+NMinhNguyen@users.noreply.github.com> Co-authored-by: LamNVQ <97967630+DawnGate@users.noreply.github.com> Co-authored-by: Hyunseung Lee <hyunseunglee2008@gmail.com> Co-authored-by: BIKI DAS <bikid475@gmail.com> Co-authored-by: Mark Evola <76978800+MarkE16@users.noreply.github.com> Co-authored-by: Eng Zer Jun <engzerjun@gmail.com> Co-authored-by: Xavi Lee <awxiaoxian2020@163.com> Co-authored-by: 이동현 <ldh19971027@gmail.com> Co-authored-by: Dan Abramov <dan.abramov@me.com>
2 years ago
'blue-80': '#043849',
'blue-60': '#045975',
'blue-50': '#087EA4',
'blue-40': '#149ECA', // Brand Blue
'blue-30': '#58C4DC', // unused
'blue-20': '#ABE2ED',
'blue-10': '#E6F7FF', // todo: doesn't match illustrations
'blue-5': '#E6F6FA',
// Yellow
'yellow-60': '#B65700',
'yellow-50': '#C76A15',
'yellow-40': '#DB7D27', // unused
'yellow-30': '#FABD62', // unused
'yellow-20': '#FCDEB0', // unused
'yellow-10': '#FDE7C7',
'yellow-5': '#FEF5E7',
// Purple
'purple-60': '#2B3491', // unused
'purple-50': '#575FB7',
'purple-40': '#6B75DB',
'purple-30': '#8891EC',
'purple-20': '#C3C8F5', // unused
'purple-10': '#E7E9FB',
'purple-5': '#F3F4FD',
// Green
'green-60': '#2B6E62',
'green-50': '#388F7F',
'green-40': '#44AC99',
'green-30': '#7FCCBF',
'green-20': '#ABDED5',
'green-10': '#E5F5F2',
'green-5': '#F4FBF9',
// RED
'red-60': '#712D28',
'red-50': '#A6423A', // unused
'red-40': '#C1554D',
'red-30': '#D07D77',
'red-20': '#E5B7B3', // unused
'red-10': '#F2DBD9', // unused
'red-5': '#FAF1F0',
// MISC
'code-block': '#99a1b30f', // gray-30 @ 6%
'gradient-blue': '#58C4DC', // Only used for the landing gradient for now.
github: {
highlight: '#fffbdd',
},
};