Skip to content

Commit

Permalink
Merge branch 'tailwind'
Browse files Browse the repository at this point in the history
Janiczek committed Sep 23, 2024
2 parents 5edfadb + 7db2eef commit 9915c26
Showing 359 changed files with 2,961 additions and 12,902 deletions.
22 changes: 22 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"tailwindCSS.experimental.configFile": "public/scripts/tailwind.config.js",
"editor.quickSuggestions": {
"strings": true
},
"tailwindCSS.includeLanguages": {
"elm": "html"
},
"tailwindCSS.experimental.classRegex": [
"\\bmod[\\s(<|]+\"[^\"]*\"[\\s(<|]+\"([^\"]*)\"",
"\\bclass[\\s(<|]+\"([^\"]*)\"",
"\\bclass[\\s(]+\"[^\"]*\"[\\s+]+\"([^\"]*)\"",
"\\bclass[\\s<|]+\"[^\"]*\"\\s*\\+{2}\\s*\" ([^\"]*)\"",
"\\bclass[\\s<|]+\"[^\"]*\"\\s*\\+{2}\\s*\" [^\"]*\"\\s*\\+{2}\\s*\" ([^\"]*)\"",
"\\bclass[\\s<|]+\"[^\"]*\"\\s*\\+{2}\\s*\" [^\"]*\"\\s*\\+{2}\\s*\" [^\"]*\"\\s*\\+{2}\\s*\" ([^\"]*)\"",
"\\bclassList[\\s\\[\\(]+\"([^\"]*)\"",
"\\bclassList[\\s\\[\\(]+\"[^\"]*\",\\s[^\\)]+\\)[\\s\\[\\(,]+\"([^\"]*)\"",
"\\bclassList[\\s\\[\\(]+\"[^\"]*\",\\s[^\\)]+\\)[\\s\\[\\(,]+\"[^\"]*\",\\s[^\\)]+\\)[\\s\\[\\(,]+\"([^\"]*)\"",
],
"elmLS.elmPath": "lamdera",
"elmLS.elmReviewDiagnostics": "warning"
}
8 changes: 7 additions & 1 deletion elm.json
Original file line number Diff line number Diff line change
@@ -7,8 +7,10 @@
"dependencies": {
"direct": {
"Elm-Canvas/raster-shapes": "1.1.2",
"Janiczek/elm-bidict": "3.0.0",
"Janiczek/elm-raycasting": "1.0.1",
"billstclair/elm-sha256": "1.0.9",
"dillonkearns/elm-markdown": "7.0.1",
"elm/browser": "1.0.2",
"elm/bytes": "1.0.8",
"elm/core": "1.0.5",
@@ -31,9 +33,11 @@
"elm-explorations/markdown": "1.0.0",
"erlandsona/assoc-set": "1.1.0",
"justinmimbs/time-extra": "1.1.0",
"jxxcarlson/hex": "4.0.1",
"lamdera/codecs": "1.0.0",
"lamdera/core": "1.0.0",
"pzp1997/assoc-list": "1.0.0",
"robinheghan/fnv1a": "1.0.0",
"rtfeldman/elm-iso8601-date-strings": "1.1.3",
"rtfeldman/elm-sorter-experiment": "2.1.1",
"ryan-haskell/date-format": "1.0.0",
@@ -42,7 +46,9 @@
"indirect": {
"elm/regex": "1.0.0",
"elm/virtual-dom": "1.0.2",
"justinmimbs/date": "3.2.1"
"justinmimbs/date": "3.2.1",
"rtfeldman/elm-hex": "1.0.0",
"skyqrose/assoc-list-extra": "1.0.0"
}
},
"test-dependencies": {
17 changes: 17 additions & 0 deletions head.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<link rel="icon" href="/images/favicon-16.png" sizes="16x16">
<link rel="icon" href="/images/favicon-32.png" sizes="32x32">
<link rel="shortcut icon" type="image/png" href="/images/favicon-392.png">
<link rel="apple-touch-icon" href="/images/favicon-392.png">

<link rel="stylesheet" href="/public/styles/fonts.css">
<link rel="stylesheet" href="/public/styles/defaults.css">
<link rel="stylesheet" href="/public/styles/logo-filter.css">
<link rel="stylesheet" href="/public/styles/links.css">
<link rel="stylesheet" href="/public/styles/select.css">
<link rel="stylesheet" href="/public/styles/town-store.css">

<script src="/public/scripts/vendor/tailwindcss.3.4.5.min.js"></script>
<script type="module">
import * as tailwindConfig from "/public/scripts/tailwind.config.js";
tailwind.config = tailwindConfig;
</script>
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -4,6 +4,7 @@
"postinstall": "elm-tooling install"
},
"devDependencies": {
"elm-review": "^2.5.0"
"elm-review": "^2.5.0",
"tailwindcss": "^3.4.12"
}
}
Binary file removed public/images/border-image.png
Binary file not shown.
Binary file added public/images/border-image.webp
Binary file not shown.
Binary file removed public/images/map_marker.png
Binary file not shown.
Binary file added public/images/map_marker.webp
Binary file not shown.
Binary file removed public/images/map_whole.png
Binary file not shown.
Binary file added public/images/map_whole.webp
Binary file not shown.
47 changes: 47 additions & 0 deletions public/scripts/tailwind.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
/** @type {import('tailwindcss').Config} */
export const content = ['../../src/**/*.elm'];
export const theme = {
colors: {
transparent: "transparent",
current: "currentColor",
black: {
DEFAULT: "#000000",
transparent: "rgba(0, 0, 0, 0.25)",
},
green: {
900: "#111810",
800: "#10240C",
//
300: "#007C00",
200: "#00C000",
100: "#3CF800",
//
"800-half-transparent": "rgba(16, 36, 12, 0.5)",
"300-half-transparent": "rgba(0, 124, 0, 0.5)",
},
orange: {
DEFAULT: "#FCFF2F",
transparent: "rgba(252, 253, 125, 0.25)",
"fully-transparent": "rgba(252, 253, 125, 0)",
},
red: "#FC0001",
},
fontSize: {
lg: "32px",
},
fontFamily: {
mono: "PixelOperatorMono",
sans: "PixelOperator",
},
fontWeight: {
normal: 400,
bold: 700,
extraBold: 900,
},
//
extend: {
spacing: {
15: '3.75rem',
}
}
};
62 changes: 62 additions & 0 deletions public/scripts/vendor/tailwindcss.3.4.5.min.js

Large diffs are not rendered by default.

Loading

0 comments on commit 9915c26

Please sign in to comment.