Skip to content

Commit

Permalink
Tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Apr 7, 2023
1 parent bb2e870 commit c44e720
Show file tree
Hide file tree
Showing 9 changed files with 248 additions and 162 deletions.
File renamed without changes.
339 changes: 204 additions & 135 deletions package-lock.json

Large diffs are not rendered by default.

11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"private": true,
"type": "module",
"engines": {
"node": ">=14.16"
},
Expand All @@ -12,20 +13,20 @@
},
"devDependencies": {
"@astrojs/image": "^0.16.1",
"@astrojs/rss": "^2.3.0",
"@astrojs/rss": "^2.3.1",
"@astrojs/sitemap": "^1.2.1",
"@astrojs/tailwind": "^3.1.1",
"@astrolib/seo": "^0.3.0",
"@tailwindcss/forms": "^0.5.3",
"@tailwindcss/typography": "^0.5.9",
"@typescript-eslint/parser": "^5.55.0",
"astro": "^2.1.3",
"@typescript-eslint/parser": "^5.57.0",
"astro": "^2.1.8",
"astro-iconify": "^1.2.0",
"eslint-plugin-astro": "^0.24.0",
"eslint-plugin-astro": "^0.26.1",
"limax": "^v3.0.0",
"reading-time": "^1.5.0",
"remark-custom-heading-id": "^1.0.0",
"tailwindcss": "^3.2.7",
"tailwindcss": "^3.3.0",
"typescript": "^4.9.5",
"xo": "^0.53.1"
},
Expand Down
2 changes: 1 addition & 1 deletion source/components/widgets/Header.astro
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ html {
}
</style>

<header class="sticky top-0 z-40 flex-none mx-auto w-full bg-white md:bg-white/90 dark:bg-slate-900 dark:md:bg-slate-900/90 md:backdrop-blur-sm border-b dark:border-b-0">
<header class="sticky top-0 z-40 flex-none mx-auto w-full bg-white md:bg-white/90 dark:bg-slate-950 dark:md:bg-slate-950/90 md:backdrop-blur-sm border-b dark:border-b-0">
<div class="py-3 px-3 mx-auto w-full md:flex md:justify-between max-w-6xl md:px-4">
<div class="flex justify-between">
<a class="flex items-center" href="/">
Expand Down
4 changes: 2 additions & 2 deletions source/content/apps/dato.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Dato supports all the locales and languages that macOS supports for the menu bar

[MacStories review of Dato.](https://www.macstories.net/reviews/dato-review-calendar-events-and-time-zones-from-your-macs-menu-bar/)

Dato requires macOS 13.1 or later.
Dato requires macOS 13 or later.

#### Features

Expand Down Expand Up @@ -48,7 +48,7 @@ Dato requires macOS 13.1 or later.

### Trial

There's a fully functional trial available [here](https://dsc.cloud/sindresorhus/Dato-4.5.1-trial-1677138279.zip). The only limitation is that it will prompt you to buy Dato every 12 hours and it will not receive updates. If you decide to buy Dato on the App Store, all data and settings from the trial version will be preserved (they share the same storage).
There's a fully functional trial available [here](https://dsc.cloud/sindresorhus/Dato-4.5.3-trial-1680577654.zip). The only limitation is that it will prompt you to buy Dato every 12 hours and it will not receive updates. If you decide to buy Dato on the App Store, all data and settings from the trial version will be preserved (they share the same storage).

You can also [try it on Setapp](https://go.setapp.com/stp181?_target=https://setapp.com/apps/dato&utm_medium=vendor_program&utm_source=Sindre+Sorhus&utm_content=link) for 7 days for free.

Expand Down
14 changes: 13 additions & 1 deletion source/content/apps/speediness.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,18 @@ appStoreId: 1596706466

<br>

### Tips

#### Show the current internet speed in the menu bar {#menu-bar-output}

<img src="https://dsc.cloud/sindresorhus/Speediness-menu-bar-1680845399.png" alt="Speediness output in the menu bar" width="230">

You will need the [One Thing](https://sindresorhus.com/one-thing) and [Shortery](https://apps.apple.com/app/id1594183810) app.

Add [this shortcut](https://www.icloud.com/shortcuts/d073ad4fd89f4c9cb110795780ed2377) and then create a new time trigger in Shortery. I would recommend an interval higher than 10 minutes.

<br>

### Frequently Asked Questions {#faq}

#### I have a feature request, bug report, or some feedback
Expand Down Expand Up @@ -55,7 +67,7 @@ Open the Shortcuts app, create a new shortcut, and then drag the “Get Internet

#### How can I run the speed test automatically every hour? {#scheduled}

Open the Shortcuts app, create a new shortcut, and then drag the “Get Internet Speed” action into the shortcut editor. You may want to enable the “Add to History” action setting. [Get the Shortery app](https://apps.apple.com/no/app/shortery/id1594183810?mt=12) and set it to run this shortcut every hour or at an interval of your choosing. (The Shortery app is only needed this year. It's almost certain that Apple will introduce automation for Shortcuts in macOS 13)
Open the Shortcuts app, create a new shortcut, and then drag the “Get Internet Speed” action into the shortcut editor. You may want to enable the “Add to History” action setting. [Get the Shortery app](https://apps.apple.com/no/app/shortery/id1594183810?mt=12) and set it to run this shortcut every hour or at an interval of your choosing. (The Shortery app is only needed this year. It's almost certain that Apple will introduce automation for Shortcuts in macOS 14)

#### Can you add support for iOS? {#ios}

Expand Down
2 changes: 1 addition & 1 deletion source/layouts/BaseLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const {meta = {}} = Astro.props;
<head>
<MetaTags {...meta}/>
</head>
<body class="antialiased text-gray-900 dark:text-slate-300 tracking-tight bg-white dark:bg-slate-900">
<body class="antialiased text-gray-900 dark:text-slate-300 tracking-tight bg-white dark:bg-slate-950">
<slot/>
<BasicScripts/>
<style is:global>
Expand Down
17 changes: 0 additions & 17 deletions tailwind.config.cjs

This file was deleted.

21 changes: 21 additions & 0 deletions tailwind.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import colors from 'tailwindcss/colors.js';
import typography from '@tailwindcss/typography';
import forms from '@tailwindcss/forms';

const config = {
content: ['./source/**/*.{astro,html,js,jsx,md,svelte,ts,tsx,vue}'],
theme: {
extend: {
colors: {
primary: colors.blue,
secondary: colors.pink,
},
},
},
plugins: [
typography,
forms,
],
};

export default config;

0 comments on commit c44e720

Please sign in to comment.