Skip to content

Commit

Permalink
Merge pull request #46 from rt4914/kvngjamesng/Add-Color-Palette-to-W…
Browse files Browse the repository at this point in the history
…ebsite

Fixes #29: Add-Color-palette-to-Website
  • Loading branch information
rt4914 authored Oct 10, 2024
2 parents 6454bca + 0647e9f commit c3b72be
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 4 deletions.
8 changes: 5 additions & 3 deletions src/App.jsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
const App = () => {
return (
<>
<h1 className="underline p-4">Hello World!</h1>
</>
<div>
<h1 className="text-orange bg-brown text-4xl font-bold">
Welcome to KlinicCon App
</h1>
</div>
);
};

Expand Down
15 changes: 14 additions & 1 deletion tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
const defaultColors = require('tailwindcss/colors');

/** @type {import('tailwindcss').Config} */
export default {
content: [
Expand All @@ -6,7 +8,18 @@ export default {
"./.storybook/**/*.{js,jsx,ts,tsx}",
],
theme: {
extend: {},
extend: {
colors: {
...defaultColors,
'orange': {
DEFAULT: '#ff6725',
'dark': '#ff3f25',
'light': '#fef7f3',
},
'brown': '#453a34',
'green': '#00b579',
},
},
},
plugins: [],
};

0 comments on commit c3b72be

Please sign in to comment.