Skip to content

Commit

Permalink
Update colors
Browse files Browse the repository at this point in the history
  • Loading branch information
hanshenrik committed May 31, 2024
1 parent 362e4d5 commit 3bb2b60
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 15 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"version": "0.0.1",
"private": true,
"scripts": {
"dev": "astro dev",
"network": "astro dev --host",
"dev": "astro dev --port 3000",
"network": "astro dev --host --port 3000",
"start": "astro dev",
"build": "astro build",
"preview": "astro preview",
Expand Down
28 changes: 15 additions & 13 deletions tailwind.config.cjs
Original file line number Diff line number Diff line change
@@ -1,21 +1,23 @@
const defaultTheme = require("tailwindcss/defaultTheme");

const colors = {
blue: "rgb(139 186 208)",
"dark-blue": "rgb(48 64 112)",
indigo: "rgb(158, 0, 89)",
orange: "rgb(253 165 58)",
pink: "rgb(238 113 148)",
yellow: "rgb(253 211 104)",
black: "rgb(18, 18, 18)",
white: "rgb(241, 241, 241)",
"chalk-white": "rgb(255, 255, 255)",
};

/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}"],
theme: {
extend: {
colors: {
blue: "rgb(139, 197, 255)",
"dark-blue": "rgb(1, 90, 143)",
indigo: "rgb(158, 0, 89)",
orange: "rgb(255, 84, 0)",
pink: "rgb(255, 0, 84)",
yellow: "rgb(247, 205, 107)",
black: "rgb(18, 18, 18)",
white: "rgb(241, 241, 241)",
"chalk-white": "rgb(255, 255, 255)",
},
colors,
fontFamily: {
sans: ["Raleway", ...defaultTheme.fontFamily.sans],
display: ["Libre Baskerville"],
Expand All @@ -32,8 +34,8 @@ module.exports = {
"-100": "-1",
},
boxShadow: {
solid: "-6px 6px 0px 0px rgb(139, 197, 255)",
"solid-hover": "-10px 10px 0px 0px rgb(139, 197, 255)",
solid: `-6px 6px 0px 0px ${colors.blue}`,
"solid-hover": `-10px 10px 0px 0px ${colors["dark-blue"]}`,
},
animation: {
orbit: "orbit-right 10s linear infinite",
Expand Down

0 comments on commit 3bb2b60

Please sign in to comment.