-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from hotosm/feat/hot-005/setup-tailwind-navbar
Feat/hot 005/setup tailwind navbar
- Loading branch information
Showing
27 changed files
with
547 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,6 +35,7 @@ wheels/ | |
*.egg-info/ | ||
.installed.cfg | ||
*.egg | ||
staticfiles | ||
|
||
# Github workflows | ||
.github | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,4 @@ | |
**/.venv/ | ||
node_modules | ||
**/dist/ | ||
/staticfiles/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
module.exports = { | ||
plugins: { | ||
tailwindcss: {}, | ||
autoprefixer: {}, | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,55 @@ | ||
/** @type {import('tailwindcss').Config} */ | ||
|
||
module.exports = { | ||
purge: ['./**/*.html', './**/*.js',], | ||
content: ["*/templates/**/*.html"], | ||
future: {}, | ||
content: ["../*/templates/*.{html,js}", "../*/templates/**/*.{html,js}"], | ||
darkMode: "media", | ||
theme: { | ||
extend: {}, | ||
extend: { | ||
spacing: { | ||
"hot-1": "0.625rem", // 10px | ||
"hot-1.2": "0.75rem", // 12px | ||
"hot-1.5": "0.9375rem", // 15px | ||
"hot-2": "1.25rem", // 20px | ||
"hot-2.6": "1.625rem", // 26px | ||
"hot-3": "1.875rem", // 30px | ||
"hot-3.4": "2.125rem", // 34px | ||
"hot-4": "2.5rem", // 40px | ||
"hot-6": "3.75rem", // 60px | ||
"hot-6.6": "4.125rem", // 66px | ||
"hot-8": "5rem", // 80px | ||
"hot-10": "6.25rem", // 100px | ||
"hot-12": "7.5rem", // 120px | ||
}, | ||
fontFamily: { | ||
barlow: "var(--font-barlow)", | ||
archivo: "var(--font-archivo)", | ||
}, | ||
fontSize: { | ||
h1: "var(--font-size-h1)", // 56pt | ||
h2: "var(--font-size-h2)", // 48pt | ||
h3: "var(--font-size-h3)", // 38pt | ||
h4: "var(--font-size-h4)", // 32pt | ||
h5: "var(--font-size-h5)", // 28pt | ||
intro: "var(--font-size-intro)", // 22pt | ||
"base-20": "var(--font-size-base-20)", // 20pt | ||
"base-18": "var(--font-size-base-18)", // 18pt | ||
"base-16": "var(--font-size-base-16)", // 16pt | ||
}, | ||
colors: { | ||
"hot-red": "var(--hot-red)", | ||
"hot-navy": "var(--hot-navy)", | ||
"hot-dark-grey": "var(--hot-dark-grey)", | ||
"hot-slate-grey": "var(--hot-slate-grey)", | ||
"hot-light-grey": "var(--hot-light-grey)", | ||
"hot-off-white": "var(--hot-off-white)", | ||
"hot-white": "var(--hot-white)", | ||
"hot-black": "var(--hot-black)", | ||
}, | ||
}, | ||
}, | ||
variants: { | ||
extend: {}, | ||
}, | ||
plugins: [], | ||
} | ||
variants: {}, | ||
plugins: [ | ||
require("@tailwindcss/forms"), | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
@tailwind base; | ||
@tailwind components; | ||
@tailwind utilities; | ||
|
||
:root { | ||
/* Colors */ | ||
--hot-red: #D73F3F; | ||
--hot-navy: #20365B; | ||
--hot-dark-grey: #68707F; | ||
--hot-slate-grey: #929D83; | ||
--hot-light-grey: #E1E0E0; | ||
--hot-off-white: #F0EFEF; | ||
--hot-white: #FFFFFF; | ||
--hot-black: #000000; | ||
|
||
/* Font Family */ | ||
--font-barlow: "Barlow Condensed", sans-serif; | ||
--font-archivo: "Archivo", sans-serif; | ||
|
||
/* Font Size */ | ||
--font-size-h1: 3.5rem; /* 56pt */ | ||
--font-size-h2: 3rem; /* 48pt */ | ||
--font-size-h3: 2.375rem; /* 38pt */ | ||
--font-size-h4: 2rem; /* 32pt */ | ||
--font-size-h5: 1.75rem; /* 28pt */ | ||
--font-size-intro: 1.375rem; /* 22pt */ | ||
--font-size-base-20: 1.25rem; /* 20pt */ | ||
--font-size-base-18: 1.125rem; /* 18pt */ | ||
--font-size-base-16: 1rem; /* 16pt */ | ||
} |
Oops, something went wrong.