slim down gatsby example, update deps (#193)

* shift example and slim config

removed gatsby-source-airtable and gatsby-theme-recipes to make things more simple, less fragile and speed up the build

* update action to point at new location

* update links

* add test articles

* add theme

* slim config, move to homepage folder

* update renovate path, enable automerge on examples

* turn off rebases, but keep on for examples
This commit is contained in:
Jacob Bolda
2019-12-21 00:34:36 -06:00
committed by GitHub
parent adaef1a3d7
commit 8df78e29b6
43 changed files with 1663 additions and 761 deletions

View File

@@ -11,7 +11,7 @@ jobs:
fail-fast: false
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest]
example: [gatsby/themed-site, vue/quasar-app]
example: [react/gatsby-themed-site, vue/quasar-app]
include:
- platform: ubuntu-latest
CARGO_HOME: ~/.cargo
@@ -85,7 +85,7 @@ jobs:
platform: [ubuntu-latest, macos-latest, windows-latest]
example:
- name : GatsbyThemedSite
folder: gatsby/themed-site
folder: react/gatsby-themed-site
executable: GatsbyThemedSiteApp
- name: quasar-app
folder: vue/quasar-app

4
.gitignore vendored
View File

@@ -73,7 +73,3 @@ target
# doing this because of how our tests currently (naively) drop the tauri.conf.js in that folder
# todo: needs a proper fic
/cli/tauri.js/tauri.conf.js
# example specific ignores
examples/gatsby/**/.cache
examples/gatsby/**/public

View File

View File

@@ -1,155 +0,0 @@
const fs = require("fs");
const path = require("path");
const addPluginsIfAPIKeySet = !process.env.EXAMPLE_GATSBY_AIRTABLE_API_KEY
? []
: [
{
resolve: `gatsby-source-airtable`,
options: {
apiKey: process.env.EXAMPLE_GATSBY_AIRTABLE_API_KEY,
tables: [
{
baseId: `appcL6Jdj7ZrhTg4q`,
tableName: `Recipes`,
tableView: `List`,
queryName: `Recipes`,
mapping: {
images: "fileNode",
ingredients: "text/markdown",
directions: "text/markdown"
},
separateMapTypes: true
}
]
}
},
{
resolve: `gatsby-theme-recipes`,
options: {
sources: ["Airtable"]
}
}
];
if (!process.env.EXAMPLE_GATSBY_AIRTABLE_API_KEY) {
try {
const template = require.resolve(
"gatsby-theme-recipes/src/templates/recipeTemplate.js"
);
const main = require.resolve("gatsby-theme-recipes/src/main/recipes.js");
fs.renameSync(
template,
template
.split(".")
.reduce((acc, cur) => (cur === "js" ? acc + ".nojs" : acc + cur), "")
);
fs.renameSync(
main,
main
.split(".")
.reduce((acc, cur) => (cur === "js" ? acc + ".nojs" : acc + cur), "")
);
} catch (e) {
// no-op
}
} else {
try {
const template = require.resolve(
"gatsby-theme-recipes/src/templates/recipeTemplate.nojs"
);
const main = require.resolve("gatsby-theme-recipes/src/main/recipes.nojs");
fs.renameSync(
template,
template
.split(".")
.reduce((acc, cur) => (cur === "nojs" ? acc + ".js" : acc + cur), "")
);
fs.renameSync(
main,
main
.split(".")
.reduce((acc, cur) => (cur === "nojs" ? acc + ".js" : acc + cur), "")
);
} catch (e) {
// no-op
}
}
module.exports = {
siteMetadata: {
siteTitle: `Jacob Bolda`,
siteDescription: `Structural Engineer with a knack for creative solutions using code and ingenuity.`,
siteAuthor: `Jacob Bolda`,
siteAuthorIdentity: `Structural Engineer`,
siteLanding: `
Focusing on the intersection of tech and Structural
Engineering. Masters degree in Structural Engineering
from the Milwaukee School of Engineering, undergrad in
Architectural Engineering with a minor in Management,
and a deep understanding of software and programming.
Marrying that experience with problem solving and
systematizing is powerful.
`,
siteContact: "https://twitter.com/jacobbolda",
contactLinks: [
{
url: "mailto:me@jacobbolda.com",
text: "me@jacobbolda.com",
icon: ["far", "envelope"]
},
{
url: "https://twitter.com/jacobbolda",
text: "@jacobbolda",
icon: ["fab", "twitter"]
},
{
url: "https://linkedin.com/in/bolda",
text: "linkedin.com/in/bolda",
icon: ["fab", "linkedin"]
},
{
url: "https://github.com/jbolda",
text: "github.com/jbolda",
icon: ["fab", "github"]
},
{
url: "https://keybase.io/jbolda",
text: "keybase.io/jbolda",
icon: ["fab", "keybase"]
},
{
url: "https://angel.co/jacobbolda",
text: "angel.co/jacobbolda",
icon: ["fab", "angellist"]
},
{
url: "http://www.jbolda.com/photo",
text: "My Photographs",
icon: ["fas", "camera"]
}
],
navLinks: [{ url: "/recipes/", text: "Our Recipes" }]
},
plugins: [
{
resolve: `gatsby-source-filesystem`,
options: {
name: `articles`,
path: `${__dirname}/src/articles/`
}
},
`gatsby-plugin-theme-ui`,
`gatsby-plugin-sharp`,
`gatsby-transformer-sharp`,
`@jbolda/gatsby-theme-homepage`,
`@jbolda/gatsby-theme-articles`,
...addPluginsIfAPIKeySet,
{
resolve: `gatsby-plugin-mdx`,
options: {}
},
`gatsby-plugin-react-helmet`,
`gatsby-plugin-netlify`
]
};

View File

@@ -1,31 +0,0 @@
---
title: Hello World (example)
written: 2019-04-15
---
Hello, world! This is a demo post for `gatsby-theme-blog`.
Delete me, and get writing!
```js:title=gatsby-config.js
module.exports = {
plugins: [
"gatsby-theme-blog", // highlight-line
"gatsby-theme-notes"
]
};
```
This is another paragraph after the code block.
## This is a secondary heading
```jsx
import React from "react";
import { ThemeProvider } from "theme-ui";
import theme from "./theme";
export default props => (
<ThemeProvider theme={theme}>{props.children}</ThemeProvider>
);
```

View File

@@ -0,0 +1,48 @@
module.exports = {
siteMetadata: {
siteTitle: `Gatsby Themed Site In Tauri`,
siteDescription: `This is a smoke test to see that a (themed) Gatsbyjs site will work within Tauri.`,
siteAuthor: `Jacob Bolda`,
siteContact: "https://twitter.com/jacobbolda",
contactLinks: [
{
url: "https://twitter.com/jacobbolda",
text: "@jacobbolda",
icon: ["fab", "twitter"]
},
{
url: "https://twitter.com/TauriApps",
text: "@TauriApps",
icon: ["fab", "twitter"]
}
],
navLinks: [{ text: "Articles", url: "/articles/" }]
},
plugins: [
{
resolve: `gatsby-source-filesystem`,
options: {
name: `articles`,
path: `${__dirname}/src/articles/`
}
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `homepage`,
path: `${__dirname}/src/homepage/`
}
},
`gatsby-plugin-theme-ui`,
`gatsby-plugin-sharp`,
`gatsby-transformer-sharp`,
`@jbolda/gatsby-theme-homepage`,
`@jbolda/gatsby-theme-articles`,
{
resolve: `gatsby-plugin-mdx`,
options: {}
},
`gatsby-plugin-react-helmet`,
`gatsby-plugin-netlify`
]
};

View File

@@ -25,29 +25,27 @@
},
"dependencies": {
"@emotion/core": "10.0.22",
"@jbolda/gatsby-theme-articles": "0.0.2",
"@jbolda/gatsby-theme-homepage": "0.0.2",
"@jbolda/gatsby-theme-layout": "0.0.2",
"@mdx-js/mdx": "1.5.1",
"@mdx-js/react": "1.5.1",
"gatsby": "2.18.5",
"gatsby-image": "2.2.34",
"gatsby-plugin-mdx": "1.0.58",
"gatsby-plugin-netlify": "2.1.27",
"gatsby-plugin-react-helmet": "3.1.16",
"gatsby-plugin-sharp": "2.3.4",
"gatsby-plugin-theme-ui": "0.2.43",
"gatsby-source-airtable": "2.1.0-alpha.0",
"gatsby-source-filesystem": "2.1.39",
"gatsby-theme-recipes": "0.0.9",
"gatsby-transformer-sharp": "2.3.6",
"@jbolda/gatsby-theme-articles": "0.0.6",
"@jbolda/gatsby-theme-homepage": "0.0.7",
"@jbolda/gatsby-theme-layout": "0.0.6",
"@mdx-js/mdx": "1.5.3",
"@mdx-js/react": "1.5.3",
"gatsby": "2.18.16",
"gatsby-image": "2.2.37",
"gatsby-plugin-mdx": "1.0.64",
"gatsby-plugin-netlify": "2.1.30",
"gatsby-plugin-react-helmet": "3.1.18",
"gatsby-plugin-sharp": "2.3.10",
"gatsby-plugin-theme-ui": "0.2.53",
"gatsby-source-filesystem": "2.1.43",
"gatsby-transformer-sharp": "2.3.9",
"react": "16.12.0",
"react-dom": "16.12.0",
"react-helmet": "5.2.1",
"theme-ui": "0.2.49"
"theme-ui": "0.2.52"
},
"devDependencies": {
"@babel/plugin-proposal-optional-chaining": "7.7.4",
"tauri": "0.1.3"
"@babel/plugin-proposal-optional-chaining": "7.7.5",
"tauri": "0.2.1"
}
}

View File

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

View File

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB

View File

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

View File

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB

View File

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View File

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

View File

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 33 KiB

View File

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

Before

Width:  |  Height:  |  Size: 38 KiB

After

Width:  |  Height:  |  Size: 38 KiB

View File

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

Before

Width:  |  Height:  |  Size: 6.0 KiB

After

Width:  |  Height:  |  Size: 6.0 KiB

View File

Before

Width:  |  Height:  |  Size: 8.1 KiB

After

Width:  |  Height:  |  Size: 8.1 KiB

View File

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

View File

Before

Width:  |  Height:  |  Size: 57 KiB

After

Width:  |  Height:  |  Size: 57 KiB

View File

Before

Width:  |  Height:  |  Size: 76 KiB

After

Width:  |  Height:  |  Size: 76 KiB

View File

@@ -0,0 +1,10 @@
---
title: First Article
written: 2019-04-15
---
Prow scuttle parrel provost Sail ho shrouds spirits boom mizzenmast yardarm. Pinnace holystone mizzenmast quarter crow's nest nipperkin grog yardarm hempen halter furl. Swab barque interloper chantey doubloon starboard grog black jack gangway rutters.
Deadlights jack lad schooner scallywag dance the hempen jig carouser broadside cable strike colors. Bring a spring upon her cable holystone blow the man down spanker Shiver me timbers to go on account lookout wherry doubloon chase. Belay yo-ho-ho keelhaul squiffy black spot yardarm spyglass sheet transom heave to.
Trysail Sail ho Corsair red ensign hulk smartly boom jib rum gangway. Case shot Shiver me timbers gangplank crack Jennys tea cup ballast Blimey lee snow crow's nest rutters. Fluke jib scourge of the seven seas boatswain schooner gaff booty Jack Tar transom spirits.

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 KiB

View File

@@ -0,0 +1,10 @@
---
title: Second Article
written: 2019-04-15
---
Fire in the hole fire ship cutlass scuppers measured fer yer chains starboard flogging belay handsomely yo-ho-ho bilge bowsprit lookout sheet Cat o'nine tails cable man-of-war warp line aye. Hempen halter poop deck matey gangway cackle fruit chase guns scuttle gaff smartly hardtack chandler dead men tell no tales ahoy transom deadlights lass yawl log fore parrel. Bilged on her anchor fathom Privateer boom wherry red ensign nipperkin fluke warp plunder Jack Tar chase chantey long clothes coxswain cackle fruit avast chandler fore league. Handsomely port crimp lateen sail Jack Ketch walk the plank furl mutiny pillage gally bilge rat measured fer yer chains Gold Road gunwalls execution dock Letter of Marque Blimey sutler avast pinnace. Carouser scallywag rope's end warp bucko fire ship overhaul Privateer poop deck Letter of Marque schooner grog league keel lugger Nelsons folly draught jib starboard crimp. Snow chandler maroon spike log scuppers Jack Tar belaying pin hearties long boat swing the lead heave to splice the main brace weigh anchor black spot fathom ye quarter Letter of Marque draft.
Wherry sheet rum Nelsons folly black spot black jack walk the plank belaying pin measured fer yer chains clipper careen galleon hearties six pounders Blimey poop deck run a shot across the bow Arr starboard come about. Spanker loot parley landlubber or just lubber man-of-war bilge Jolly Roger heave to handsomely league Sea Legs poop deck scuppers cackle fruit provost snow Jack Ketch spike swab black spot. Spirits ahoy gun Corsair reef black jack port yo-ho-ho cable list hail-shot lookout no prey, no pay line bilge water fire in the hole loaded to the gunwalls clap of thunder Spanish Main grapple. Measured fer yer chains Chain Shot lanyard run a shot across the bow furl capstan heave to rum black jack weigh anchor coxswain Sink me yardarm mutiny killick American Main grog fore pinnace Buccaneer. Execution dock league square-rigged chantey killick spyglass fire ship boatswain keelhaul bucko no prey, no pay gangplank stern haul wind grapple parley avast Chain Shot Jack Ketch gaff. Gold Road come about lee spyglass hang the jib nipperkin handsomely gabion Cat o'nine tails Pirate Round hardtack spike careen wherry boatswain clap of thunder Privateer snow American Main skysail.
Come about Davy Jones' Locker ye bilge yardarm Privateer blow the man down main sheet line schooner galleon pillage lass nipper sheet cog belaying pin jib Spanish Main swab. Hang the jib scallywag tender Pirate Round Letter of Marque parrel cutlass measured fer yer chains Corsair ahoy nipperkin rutters clap of thunder hands boatswain clipper Sink me capstan wench draft. Sheet lugsail me rum aye landlubber or just lubber dead men tell no tales matey blow the man down swab nipperkin spyglass list to go on account scuttle gunwalls handsomely Nelsons folly weigh anchor ballast. Splice the main brace wherry bowsprit clap of thunder nipper parrel case shot Blimey spanker scurvy league stern measured fer yer chains spirits jury mast salmagundi brigantine smartly run a rig cable. Killick wench quarter brig deadlights nipperkin bucko lass smartly furl pirate Arr brigantine keelhaul nipper Jack Ketch topsail squiffy Brethren of the Coast plunder. Gun hands lad port bilged on her anchor hornswaggle nipperkin list execution dock Brethren of the Coast American Main scourge of the seven seas Yellow Jack Corsair Jack Ketch yo-ho-ho keel run a rig landlubber or just lubber topmast.

View File

@@ -0,0 +1,14 @@
---
title: First Article
written: 2019-04-15
---
Hornswaggle hands tender sloop hail-shot jolly boat dead men tell no tales log black spot draught. Matey Sink me grog case shot rope's end lateen sail driver list bilge rat shrouds. Lugger scourge of the seven seas Buccaneer fore Jack Tar salmagundi pressgang capstan chase matey. Haul wind aft Letter of Marque Jack Tar code of conduct ye lass grog blossom grapple scurvy.
Cat o'nine tails broadside keel Barbary Coast Privateer yardarm boom fire in the hole doubloon clipper. Loaded to the gunwalls bucko tack prow reef sails me quarterdeck maroon brigantine sutler. Furl draught chase tackle Cat o'nine tails chantey draft parley scuppers aye. Grapple blow the man down interloper lee American Main topsail lateen sail execution dock gibbet brigantine.
Squiffy belay hail-shot quarterdeck mizzenmast Letter of Marque tackle lookout yardarm prow. Long boat hornswaggle crimp chantey swing the lead American Main boatswain topgallant chase guns clap of thunder. Sea Legs scourge of the seven seas quarter fathom Blimey yawl starboard scurvy belay line. Heave down yo-ho-ho gabion piracy long clothes parley chantey list bilge man-of-war.
Sheet cable bowsprit lookout capstan list crimp mutiny Pirate Round draft. Heave down bilge galleon loot Yellow Jack lateen sail American Main gun fore tackle. Sloop Corsair belaying pin list mizzen booty hogshead hail-shot broadside shrouds. Provost ahoy knave hornswaggle matey scuppers cog trysail transom marooned.
Maroon line spyglass parrel run a shot across the bow run a rig rutters topsail rum yardarm. Ballast bilge American Main belaying pin square-rigged careen belay killick bilged on her anchor yawl. Six pounders pinnace cog clap of thunder gun pressgang aft keelhaul Sink me hang the jib. Reef spike yo-ho-ho clap of thunder careen man-of-war ye belaying pin strike colors scuttle.

View File

@@ -0,0 +1,8 @@
---
title: First Article
written: 2019-04-15
---
Gabion starboard bowsprit dead men tell no tales run a shot across the bow schooner shrouds cog Corsair ahoy haul wind hornswaggle barque fire ship landlubber or just lubber sloop yo-ho-ho hearties nipper maroon. Pirate Round draft squiffy Buccaneer keelhaul case shot marooned furl jib clipper parley bilge rat six pounders Nelsons folly splice the main brace rigging Arr hardtack wherry long boat. Yawl quarter Privateer mutiny loaded to the gunwalls swing the lead heave down dance the hempen jig reef sails chase rum fire in the hole Chain Shot execution dock barque port topgallant crimp Jolly Roger ho. Deadlights reef sails code of conduct fluke ballast chantey crow's nest poop deck mizzen hail-shot blow the man down sheet broadside overhaul scourge of the seven seas pinnace spanker squiffy fore carouser.
Admiral of the Black yardarm Plate Fleet Sink me me yawl warp bilge water hulk belay swab bring a spring upon her cable hearties marooned stern sheet plunder Corsair Letter of Marque Nelsons folly. Poop deck haul wind chantey gangway hardtack fire ship yawl swab mizzen mizzenmast stern measured fer yer chains scuppers gaff list square-rigged capstan hogshead grog blossom jib. Lass fore barkadeer Admiral of the Black lad flogging draught haul wind gibbet pirate gangway avast walk the plank aye measured fer yer chains Gold Road log scourge of the seven seas spyglass line. Pirate topmast grapple weigh anchor jury mast take a caulk long clothes chase guns Plate Fleet reef heave down hands port hornswaggle Sea Legs nipperkin overhaul cable swing the lead Jack Ketch.

View File

@@ -0,0 +1,23 @@
---
title: First Article
written: 2019-04-15
---
Mizzen Chain Shot pinnace scurvy handsomely. Long clothes belay gabion Yellow Jack fluke. Bilge measured fer yer chains cog scuttle grog blossom. No prey, no pay pillage maroon rutters provost. Corsair quarter six pounders coffer scuttle. Poop deck lanyard loaded to the gunwalls black spot no prey, no pay. Hogshead pink league grog blossom bring a spring upon her cable. Blimey doubloon come about splice the main brace pressgang. Dance the hempen jig fathom hornswaggle Pirate Round scurvy. Driver crow's nest topgallant hang the jib wench.
Topmast provost log yard fathom. Trysail gangway execution dock rigging mutiny. Pinnace aye sloop brigantine killick. Spanker keel run a rig starboard rutters. Swab trysail keelhaul strike colors rum. Grog blossom scuppers bucko mutiny six pounders. Spanker hornswaggle draft take a caulk lanyard. Clap of thunder sutler cutlass quarter haul wind. Keel black jack boatswain Admiral of the Black sloop. Hornswaggle cable scuppers measured fer yer chains furl.
![Panda](./panda.jpg)
[Copyright by Jacob Bolda](https://www.jacobbolda.com)
Pirate landlubber or just lubber ahoy measured fer yer chains sutler. List brigantine yo-ho-ho loot topsail. Walk the plank belaying pin killick topsail Brethren of the Coast. Jury mast careen gun landlubber or just lubber to go on account. Coxswain Cat o'nine tails lateen sail chase crimp. Overhaul Buccaneer pressgang Jolly Roger rigging. Landlubber or just lubber topmast snow bucko capstan. Fire ship flogging grog Letter of Marque fluke. Galleon clap of thunder fluke starboard Buccaneer. Black jack rum killick Privateer clap of thunder.
Yellow Jack port aft boom wench. Cable keel crack Jennys tea cup careen ye. Avast Spanish Main swing the lead cable hardtack. Cog cackle fruit matey dance the hempen jig main sheet. Port handsomely keelhaul aft sutler. Jolly boat tack squiffy flogging dead men tell no tales. Hempen halter topgallant clap of thunder scallywag parrel. Gun brigantine scuppers blow the man down swab. Yawl tender Nelsons folly overhaul sloop. Spike coffer lee scourge of the seven seas lanyard.
Mizzen Plate Fleet scuttle hearties clap of thunder. Jack Ketch hulk sheet doubloon tackle. Salmagundi Pirate Round man-of-war Barbary Coast Letter of Marque. Bilge rat crack Jennys tea cup square-rigged Davy Jones' Locker provost. Hail-shot spanker pillage topgallant ye. Scurvy scuppers spirits scourge of the seven seas gunwalls. Ho cutlass topsail plunder capstan. Gibbet boatswain Davy Jones' Locker heave down Barbary Coast. Deadlights man-of-war draught Corsair clap of thunder. Spanker maroon gun weigh anchor overhaul.
Trysail brigantine crimp come about Buccaneer. Scallywag Davy Jones' Locker capstan pink bilge rat. Fire in the hole bilge rat code of conduct Davy Jones' Locker poop deck. Rope's end Cat o'nine tails to go on account black jack sheet. Black spot prow driver gaff pink. Reef sails Yellow Jack jury mast spirits mizzen. Walk the plank American Main run a rig nipperkin me. Careen bowsprit poop deck loot reef sails. Jack Ketch knave carouser quarterdeck bucko. Pressgang bucko spirits snow fire ship.
Topsail hornswaggle Shiver me timbers take a caulk cable. Gold Road strike colors trysail keel booty. Rigging Letter of Marque chase brigantine skysail. Knave gangplank spanker yardarm careen. Draft list gally doubloon yawl. Black jack Gold Road line Admiral of the Black sloop. Jack Ketch hogshead spanker overhaul brig. Jolly boat piracy come about black spot league. Gangway lad Chain Shot weigh anchor hardtack. Brigantine belaying pin Sea Legs holystone yawl.
Draft cog keel fluke gally. Topsail fore gunwalls capstan sutler. Hang the jib crimp lass yo-ho-ho keelhaul. Chase long boat quarter case shot strike colors. Draught gibbet pillage gabion Shiver me timbers. Trysail belay wench cutlass gabion. Measured fer yer chains poop deck nipper swab man-of-war. Starboard Gold Road handsomely dance the hempen jig list. Lee jack tack Privateer yard. Chain Shot square-rigged gabion league piracy.

View File

@@ -0,0 +1,147 @@
export default {
initialColorMode: "light",
useCustomProperties: true, // true is default
// ^ prevents FOUC aka flash of unstyled content
useColorSchemeMediaQuery: true, // turns on dark mode if set in browser
breakpoints: ["40em", "56em", "64em"],
space: [0, 2, 4, 8, 12, 16, 20, 24, 28],
fonts: {
body: "Gentium Basic, serif",
heading: "Eczar, serif",
monospace: "Menlo, monospace"
},
fontSizes: [12, 14, 16, 24, 32, 48, 64, 96, 128],
fontWeights: {
body: 400,
heading: 700,
bold: 700
},
lineHeights: {
body: 1.98,
heading: 1.47
},
colors: {
text: "#DFC449",
background: "#0F1227",
primary: "#637EEE",
secondary: "#272e61",
muted: "#EEBF99",
modes: {
dark: {
text: "#F3FBF1",
background: "#1d2121",
primary: "#a6e58b",
secondary: "#363233",
muted: "#dcf4d3"
}
}
},
text: {
heading: {
fontFamily: "heading",
fontWeight: "heading",
lineHeight: "heading",
letterSpacing: "heading"
},
body: {
fontFamily: "body",
fontWeight: "body",
lineHeight: "body",
letterSpacing: "body"
}
},
styles: {
root: {
fontFamily: "body",
lineHeight: "body",
fontWeight: "body"
},
h1: {
color: "text",
fontFamily: "heading",
lineHeight: "heading",
fontWeight: "heading",
fontSize: 5
},
h2: {
color: "text",
fontFamily: "heading",
lineHeight: "heading",
fontWeight: "heading",
fontSize: 4
},
h3: {
color: "text",
fontFamily: "heading",
lineHeight: "heading",
fontWeight: "heading",
fontSize: 3
},
h4: {
color: "text",
fontFamily: "heading",
lineHeight: "heading",
fontWeight: "heading",
fontSize: 2
},
h5: {
color: "text",
fontFamily: "heading",
lineHeight: "heading",
fontWeight: "heading",
fontSize: 1
},
h6: {
color: "text",
fontFamily: "heading",
lineHeight: "heading",
fontWeight: "heading",
fontSize: 0
},
p: {
color: "text",
fontFamily: "body",
fontWeight: "body",
lineHeight: "body"
},
span: {
color: "text",
fontFamily: "body",
fontWeight: "body",
lineHeight: "body"
},
a: {
color: "primary",
fontFamily: "body",
fontWeight: "body",
lineHeight: "body"
},
pre: {
fontFamily: "monospace",
overflowX: "auto",
code: {
color: "inherit"
}
},
code: {
fontFamily: "monospace",
fontSize: "inherit"
},
table: {
width: "100%",
borderCollapse: "separate",
borderSpacing: 0
},
th: {
textAlign: "left",
borderBottomStyle: "solid"
},
td: {
textAlign: "left",
borderBottomStyle: "solid"
},
img: {
maxWidth: "100%"
}
}
};

View File

@@ -0,0 +1,7 @@
# Who Tauri is For
Because of the way Tauri has been built and can be extended, developers are able to interface not only with the entire Rust ecosystem, but also with many other programming languages. Being freed of the heaviest thing in the universe and the many shortcomings of server-side Javascript suddenly opens up whole new avenues for high-performance, security-focused applications that need the purebred power, agility and community acceptance of a low-level language.
We expect to witness an entire new class of applications being built with Tauri. From a simple calender to locally crunching massive realtime feeds at particle colliders or even mesh-network based distributed message- passing ecosystems - the bar has been raised and gauntlet thrown.
What will you make?

View File

@@ -0,0 +1,4 @@
# Tauri
## Click Around and See
Tauri is a tool for building tiny, blazing fast binaries for all major desktop platforms. You can use any front-end framework that compiles to HTML,JS and CSS for building your interface.

View File

@@ -1,8 +1,7 @@
{
"extends": [
"config:base"
],
"extends": ["config:base"],
"schedule": "after 3am on Wednesday",
"rebaseConflictedPrs": false,
"ignorePaths": [],
"enabledManagers": ["cargo", "npm"],
"cargo": {
@@ -10,14 +9,16 @@
},
"packageRules": [
{
"paths": ["examples/gatsby/**"],
"paths": ["examples/react/gatsby-themed-site"],
"groupName": "Gatsby Examples",
"groupSlug": "allGatsby",
"commitMessagePrefix": "chore(examples)",
"lockFileMaintenance": {
"enabled": true
},
"prPriority": -1
"prPriority": -1,
"automerge": true,
"rebaseConflictedPrs": true
},
{
"paths": ["examples/vue/**"],
@@ -27,7 +28,9 @@
"lockFileMaintenance": {
"enabled": true
},
"prPriority": -1
"prPriority": -1,
"automerge": true,
"rebaseConflictedPrs": true
},
{
"paths": ["examples/vanillajs/**"],
@@ -37,7 +40,9 @@
"lockFileMaintenance": {
"enabled": true
},
"prPriority": -1
"prPriority": -1,
"automerge": true,
"rebaseConflictedPrs": true
}
]
}