From 2f42f134d7155ca6d4711f054c3d371142a646cd Mon Sep 17 00:00:00 2001 From: Sebastian Wendel Date: Tue, 5 Mar 2024 21:51:47 +0100 Subject: [PATCH] updated development environment configuration --- nix/package.nix | 1 + tailwind.config.ts | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 tailwind.config.ts 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 +