diff --git a/.changeset/two-pots-bow.md b/.changeset/two-pots-bow.md new file mode 100644 index 00000000..a6aac452 --- /dev/null +++ b/.changeset/two-pots-bow.md @@ -0,0 +1,5 @@ +--- +"counterfact": minor +--- + +New logo! It's not perfect, but the best I can do by myself. If you have graphic design skills, I could use some help cleaning it up. diff --git a/CHANGELOG.md b/CHANGELOG.md index 8ac4778a..12af2d1a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -220,7 +220,7 @@ ### Minor Changes -- 93d7607: added a 🤖 to the prompt to make it look more distinguished +- 93d7607: added a ⬣> to the prompt to make it look more distinguished - 960105a: just for fun, the tagline when the CLI starts is different every time you run it ### Patch Changes diff --git a/README.md b/README.md index 0f2f9eb3..a3454675 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@
-# Counterfact +

Counterfact

_A Mock Server for High-performing Front-end Teams_ diff --git a/counterfact.svg b/counterfact.svg new file mode 100644 index 00000000..5a1c49dd --- /dev/null +++ b/counterfact.svg @@ -0,0 +1,81 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/docs/usage.md b/docs/usage.md index 48980a72..ffe9fee9 100644 --- a/docs/usage.md +++ b/docs/usage.md @@ -257,10 +257,10 @@ ____ ____ _ _ _ _ ___ ____ ____ ____ ____ ____ ___ Starting REPL, type .help for more info -🤖> +⬣> ``` -At the `🤖>` prompt, you can enter JavaScript code to interact with the live [context object](#context-object). For example, here's a quick way to add a pet to the store. +At the `⬣>` prompt, you can enter JavaScript code to interact with the live [context object](#context-object). For example, here's a quick way to add a pet to the store. ```js context.addPet({ name: "Fluffy", photoUrls: [] }); diff --git a/src/client/index.html.hbs b/src/client/index.html.hbs index b54acc5f..7ec77a97 100644 --- a/src/client/index.html.hbs +++ b/src/client/index.html.hbs @@ -17,8 +17,8 @@ it up later. In the mean time, I welcome pull requests. :) font-family: Helvetica, Arial, sans-serif; max-width: 800px; margin: 0 auto; - background-color: #333540; - color: #eee; + background-color: white; + color: black; } a { @@ -34,9 +34,6 @@ it up later. In the mean time, I welcome pull requests. :) border-collapse: collapse; } - th { - color: #aaa; - } .tilt { width: 1.5em; position: relative; @@ -57,7 +54,6 @@ it up later. In the mean time, I welcome pull requests. :) thead { position: sticky; top: 0; - background-color: #333540; } th.path > * { @@ -83,11 +79,11 @@ it up later. In the mean time, I welcome pull requests. :) } tbody tr:hover { - background-color: #0a0a0a; + background-color: #ccc; } .path a { - color: #eee; + color: black; text-decoration: none; } @@ -96,18 +92,17 @@ it up later. In the mean time, I welcome pull requests. :) position: relative; display: flex; justify-content: center; - top: -65px; - left: 96px + top: -40px; + left: 72px; } .buttons > a { display: inline-block; margin: 0 0.5em; padding: 0.5em 1em; - background-color: #1f1f1f; - border: 1px solid #aaa; + background-color: #0071b5; border-radius: 5px; - color: #aaa; + color: white; text-decoration: none; } @@ -122,7 +117,85 @@ it up later. In the mean time, I welcome pull requests. :)

- Counterfact + + + + + + + + + + + + + + + + + +

@@ -157,7 +230,7 @@ it up later. In the mean time, I welcome pull requests. :) {{#if route.methods.PUT }}⚪️{{/if}} {{#if route.methods.DELETE }}⚪️{{/if}} {{#if route.methods.PATCH }}⚪️{{/if}} - {{route.path}} + {{route.path}} {{/each}} diff --git a/src/client/rapi-doc.html.hbs b/src/client/rapi-doc.html.hbs index 7cb4ffba..8fb913a3 100644 --- a/src/client/rapi-doc.html.hbs +++ b/src/client/rapi-doc.html.hbs @@ -21,11 +21,11 @@ >
{{#each routes as |route|}} - Edit in VSCode - Edit in VSCode - Edit in VSCode - Edit in VSCode - Edit in VSCode + Edit in VSCode + Edit in VSCode + Edit in VSCode + Edit in VSCode + Edit in VSCode {{/each}} diff --git a/src/repl/repl.ts b/src/repl/repl.ts index b0bfcc18..2a40d39e 100644 --- a/src/repl/repl.ts +++ b/src/repl/repl.ts @@ -72,7 +72,7 @@ export function startRepl( } } - const replServer = repl.start({ prompt: "🤖> " }); + const replServer = repl.start({ prompt: "⬣> " }); replServer.defineCommand("counterfact", { action() {