Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(www): Add gatsby-plugin-theme-ui, dark theme MVP #18027

Merged
merged 98 commits into from
Oct 8, 2019
Merged
Show file tree
Hide file tree
Changes from 96 commits
Commits
Show all changes
98 commits
Select commit Hold shift + click to select a range
cb520ed
First cut (not the deepest)
fk Jul 15, 2019
ecfbc10
Merge remote-tracking branch 'origin/master' into topics/www-theme-ui
fk Jul 20, 2019
fc19331
Second cut 🔪
fk Jul 20, 2019
6987b98
Merge remote-tracking branch 'origin/master' into topics/www-theme-ui
fk Jul 23, 2019
d836f75
Missed .token fix when merging, format
fk Jul 23, 2019
9fa0a6c
Moar ✂️
fk Jul 23, 2019
eb2f4bf
Merge remote-tracking branch 'origin/master' into topics/www-theme-ui
fk Jul 25, 2019
9b29b8a
😳🗡
fk Jul 27, 2019
671f135
Merge remote-tracking branch 'origin/master' into topics/www-theme-ui
fk Jul 27, 2019
9b4a684
(@ ̄ρ ̄@)
fk Jul 27, 2019
e329d54
Merge remote-tracking branch 'origin/master' into topics/www-theme-ui
fk Jul 27, 2019
decb3ef
Bump gatsby, -image, -plugin-mdx
fk Jul 27, 2019
5fe6eff
Fix a couple things
fk Jul 28, 2019
8665a40
Merge remote-tracking branch 'origin/master' into topics/www-theme-ui
fk Jul 30, 2019
06b12bd
merge aftercare
fk Jul 30, 2019
8e36b54
MOAR
fk Jul 31, 2019
4bdb4e0
Merge remote-tracking branch 'origin/master' into topics/www-theme-ui
fk Jul 31, 2019
720f3f0
Well well
fk Jul 31, 2019
8071307
As if I knew
fk Sep 23, 2019
8a2a278
Merge branch 'master' into topics/www-theme-ui
fk Oct 1, 2019
754631e
merge aftercare
fk Oct 1, 2019
5f76f9a
Merge branch 'master' into topics/www-theme-ui
fk Oct 1, 2019
1e910b5
Minor stuff
fk Oct 1, 2019
4d67a5f
Fix merge d'oh, reduce logo size from 36 to 24px
fk Oct 1, 2019
24b58e8
Format 🤷‍♂️
fk Oct 1, 2019
dd41e10
Missed pragma, basic fixes for layer model tabs UI
fk Oct 1, 2019
039b496
Undo blog post changes
fk Oct 1, 2019
70cc36a
Mv logo-inverted
fk Oct 1, 2019
af90103
Lint
fk Oct 2, 2019
efa0844
Lint moar
fk Oct 2, 2019
24856c2
Lint d'oh
fk Oct 2, 2019
4f8933e
Moar d'oh
fk Oct 2, 2019
38603b9
And another one
fk Oct 2, 2019
1e8617d
🔪
fk Oct 2, 2019
f064803
✂️
fk Oct 2, 2019
577b3df
🗡
fk Oct 2, 2019
6e5498f
🥳
fk Oct 2, 2019
df62d92
🎉
fk Oct 2, 2019
5674c0a
🔨
fk Oct 2, 2019
3cacaf6
Fix tests
fk Oct 2, 2019
f3ae1d1
Fix hex2rgba choking on theme-ui's CSS var
fk Oct 2, 2019
50c2878
One more time
fk Oct 2, 2019
3c0a1aa
No need to opt-in to `useCustomProperties` anymore
fk Oct 2, 2019
43d8d5b
Merge branch 'master' into topics/www-theme-ui
fk Oct 2, 2019
d48506d
Fix homepage logo banner colors for dark mode
fk Oct 2, 2019
4533243
Merge branch 'master' into topics/www-theme-ui
fk Oct 2, 2019
a616928
🧹
fk Oct 2, 2019
7f958e6
Tidy avatar component, use it in `template-contributor-page`
fk Oct 2, 2019
874f788
Fix gatsby-design-tokens / theme-ui's colors.text conflict
fk Oct 2, 2019
6bf4c6c
Pro forma, currently unused: adjust `colors.muted`
fk Oct 2, 2019
f233ba2
fonts.header -> fonts.heading; minor fixes
fk Oct 2, 2019
5a4a29d
text.primary -> text
fk Oct 3, 2019
59800d9
Fix diagram item heading color
fk Oct 3, 2019
4bcb45e
Newsletter tokens, dark mode fixes
fk Oct 3, 2019
a333976
A few fixes for `/features`
fk Oct 3, 2019
511512a
theme-ui fontWeights
fk Oct 3, 2019
d05314f
Rm `utils/guidelines/theme`
fk Oct 3, 2019
fab9cdb
Rm unused import
fk Oct 3, 2019
2116f96
D'oh
fk Oct 3, 2019
080ffe5
Meh
fk Oct 3, 2019
d01a3f8
Couple homepage fixes for dark mode
fk Oct 3, 2019
8866bd9
Fix homepage section icons
fk Oct 3, 2019
b81e8ec
Moar MVP fixes
fk Oct 3, 2019
d872d7a
Consolidate 3️⃣ skip-nav-links + styles in component
fk Oct 3, 2019
8244053
Fix share-menu, ditch its themes
fk Oct 3, 2019
0779368
MdLaunch instead of FaExtLink icon for Starter details deps
fk Oct 3, 2019
8a88f58
Fix "All Starters" link color
fk Oct 3, 2019
f2d5c14
Cosmetics
fk Oct 3, 2019
3ea2a1e
Mixed bag
fk Oct 4, 2019
b828be8
💤
fk Oct 4, 2019
9dd264f
🙄
fk Oct 4, 2019
ab67285
🧹
fk Oct 4, 2019
a2ace8e
🧹
fk Oct 4, 2019
1943106
Merge branch 'master' into topics/www-theme-ui
fk Oct 4, 2019
a920cb3
Merge branch 'master' into topics/www-theme-ui
fk Oct 4, 2019
6950d67
(mobile nav) icons x dark theme
fk Oct 4, 2019
aa0841c
Fix "Featured Sites" gradient overlay
fk Oct 5, 2019
d4ebc6f
🧹
fk Oct 5, 2019
3805d13
Merge branch 'master' into topics/www-theme-ui
fk Oct 5, 2019
0184a5d
🙊
fk Oct 5, 2019
5d7281d
🛍 `button` and moar mixed bag
fk Oct 6, 2019
424b1e4
Starters v2 badge x dark theme, cosmetics
fk Oct 6, 2019
5d26534
🍤
fk Oct 6, 2019
b6cbd96
showcase/starter sidebar filters
fk Oct 6, 2019
2ea0b4f
Rm `tiny` button variant
fk Oct 6, 2019
63aae7f
Mobile nav final rinse
fk Oct 6, 2019
5e699e4
MVP fixes for `guidelines/logo`
fk Oct 6, 2019
39c1f98
🙄
fk Oct 6, 2019
c782ddd
Starter list once more 😴
fk Oct 6, 2019
da4ff5d
🦖
fk Oct 6, 2019
f57c542
🏴‍☠️
fk Oct 6, 2019
ed28832
Hack docsearch 🥳
fk Oct 6, 2019
641f240
🙈
fk Oct 6, 2019
09e3044
Merge branch 'master' into topics/www-theme-ui
fk Oct 7, 2019
46cd86f
Fix secondary button background for dark theme
fk Oct 7, 2019
086ff8e
Align dark mode toggle button with "social nav icons"
fk Oct 7, 2019
ec891f3
🧹
fk Oct 8, 2019
40ee843
Merge branch 'master' into topics/www-theme-ui
fk Oct 8, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/docs/images/disqus-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 0 additions & 3 deletions www/gatsby-browser.js

This file was deleted.

1 change: 1 addition & 0 deletions www/gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ module.exports = {
"Mdx.frontmatter.author": `AuthorYaml`,
},
plugins: [
`gatsby-plugin-theme-ui`,
{
resolve: `gatsby-source-npm-package-search`,
options: {
Expand Down
3 changes: 0 additions & 3 deletions www/gatsby-ssr.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import React from "react"
import wrapRoot from "./wrap-root-element"

export const onRenderBody = ({ setHeadComponents, setPostBodyComponents }) => {
setHeadComponents([
Expand Down Expand Up @@ -31,5 +30,3 @@ export const onRenderBody = ({ setHeadComponents, setPostBodyComponents }) => {
/>,
])
}

export const wrapRootElement = wrapRoot
4 changes: 2 additions & 2 deletions www/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"@mdx-js/mdx": "^1.5.0",
"@mdx-js/react": "^1.5.0",
"@reach/skip-nav": "^0.1.3",
"@reach/visually-hidden": "^0.1.4",
"@styled-system/prop-types": "^5.1.2",
"@styled-system/should-forward-prop": "^5.1.2",
"@styled-system/theme-get": "^5.1.2",
Expand All @@ -20,7 +19,6 @@
"color-blend": "^2.0.7",
"dotenv": "^6.2.0",
"email-validator": "^1.2.3",
"emotion-theming": "^10.0.19",
"fuse.js": "^3.4.5",
"gatsby": "^2.15.29",
"gatsby-design-tokens": "~1.0.9",
Expand All @@ -42,6 +40,7 @@
"gatsby-plugin-offline": "^3.0.11",
"gatsby-plugin-react-helmet": "^3.1.10",
"gatsby-plugin-sentry": "^1.0.1",
"gatsby-plugin-theme-ui": "^0.2.6",
"gatsby-plugin-sharp": "^2.2.28",
"gatsby-plugin-sitemap": "^2.2.16",
"gatsby-plugin-twitter": "^2.1.9",
Expand Down Expand Up @@ -95,6 +94,7 @@
"slash": "^1.0.0",
"slugify": "^1.3.5",
"styled-system": "^5.1.2",
"theme-ui": "^0.2.14",
"typography": "^1.0.0-alpha.4",
"typography-plugin-code": "^1.0.0-alpha.0",
"wcag-contrast": "^2.1.1",
Expand Down
2 changes: 1 addition & 1 deletion www/src/assets/guidelines/manually-tracked.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions www/src/assets/guidelines/partnership-lockups.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion www/src/assets/guidelines/wordmark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 5 additions & 6 deletions www/src/assets/icons/blog.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading