diff --git a/nix/package.nix b/nix/package.nix index aae9e76..07ddbb9 100644 --- a/nix/package.nix +++ b/nix/package.nix @@ -30,6 +30,7 @@ in { packageJSON = ../package.json; yarnLock = ../yarn.lock; + yarnFlags = ["--offline" "--production=true"]; pkgConfig.sharp = { nativeBuildInputs = with pkgs; [ diff --git a/tailwind.config.ts b/tailwind.config.ts new file mode 100644 index 0000000..3d669e0 --- /dev/null +++ b/tailwind.config.ts @@ -0,0 +1,33 @@ +import type { Config } from 'tailwindcss' +import forms from '@tailwindcss/forms'; +import typography from '@tailwindcss/typography'; +import { fontFamily } from "tailwindcss/defaultTheme"; + +export default { + content: ["./src/**/*.{astro,html,js,jsx,md,mdx,ts,tsx}"], + theme: { + extend: { + fontFamily: { + sans: ["Manrope", ...fontFamily.sans], + serif: ["Literata", ...fontFamily.serif], + mono: ["Martian", ...fontFamily.mono], + }, + colors: { + green: "#f0506e", + red: "#f0506e", + pumpkin: "#f57855", + gold: "#ffdc50", + forest: "#28aa68", + teal: "#008791", + arctic: "#0cc0df", + aqua: "#5082d2", + black: "#282828", + } + }, + }, + plugins: [ + typography, + forms, + ], +} satisfies Config +