-
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
137 additions
and
76 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"name": "kitsune", | ||
"version": "0.1.0", | ||
"private": true, | ||
"scripts": { | ||
"build": "tailwindcss -i styles/app.css -o assets/app.css --minify", | ||
"dev": "tailwindcss -i styles/tailwind.css -o assets/app.css --watch", | ||
"fmt": "prettier --write --ignore-unknown --cache ." | ||
}, | ||
"devDependencies": { | ||
"@tailwindcss/forms": "^0.5.9", | ||
"@tailwindcss/typography": "^0.5.15", | ||
"@trivago/prettier-plugin-sort-imports": "^4.3.0", | ||
"prettier": "^3.4.1", | ||
"prettier-plugin-tailwindcss": "^0.6.9", | ||
"tailwindcss": "^3.4.15" | ||
} | ||
} |
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,3 @@ | ||
@tailwind base; | ||
@tailwind components; | ||
@tailwind utilities; |
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,17 @@ | ||
import forms from "@tailwindcss/forms"; | ||
import typography from "@tailwindcss/typography"; | ||
import { extendTheme } from "./theme"; | ||
|
||
import type { Config } from "tailwindcss"; | ||
|
||
export default { | ||
content: ["./templates/**/*.{html,js,ts}"], | ||
|
||
theme: { | ||
extend: { | ||
...extendTheme, | ||
}, | ||
}, | ||
|
||
plugins: [typography, forms], | ||
} as Config; |
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,24 +1,17 @@ | ||
<!DOCTYPE html> | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<link rel="stylesheet" href="/public/app.css" /> | ||
|
||
<head> | ||
<meta charset="UTF-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<link rel="stylesheet" href="/public/template.css"> | ||
{% block head %} {% endblock %} | ||
|
||
{% block head %} | ||
{% endblock %} | ||
<title>{% block title %} {% endblock %}</title> | ||
</head> | ||
|
||
<title> | ||
{% block title %} | ||
{% endblock %} | ||
</title> | ||
</head> | ||
|
||
<body> | ||
{% block body %} | ||
{% endblock %} | ||
</body> | ||
|
||
</html> | ||
<body> | ||
{% block body %} {% endblock %} | ||
</body> | ||
</html> |
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,4 +1,4 @@ | ||
<!DOCTYPE html> | ||
<!doctype html> | ||
<html> | ||
<head> | ||
<title>Welcome to Kitsune!</title> | ||
|
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,25 +1,30 @@ | ||
{% extends "../base.html" %} | ||
{% extends "../base.html" %} {% block title %}OAuth Login{% endblock %} {% block | ||
body %} | ||
<p class="header">Kitsune</p> | ||
|
||
{% block title %} | ||
OAuth Login | ||
{% endblock %} | ||
|
||
{% block body %} | ||
<p class="header">Kitsune</p> | ||
{% for (_level, msg) in flash_messages %} | ||
<div class="message">{{ msg }}</div> | ||
{% endfor %} | ||
|
||
{% for (_level, msg) in flash_messages %} | ||
<div class="message"> | ||
{{ msg }} | ||
</div> | ||
{% endfor %} | ||
|
||
<form method="post"> | ||
<div> | ||
<label class="label" for="username">Username</label><br /> | ||
<input class="field" type="text" id="username" name="username" value="" /><br /> | ||
<label class="label" for="password">Password</label><br /> | ||
<input class="field" type="password" id="password" name="password" value="" /><br /><br /> | ||
</div> | ||
<input class="formButton" type="submit" value="Submit" /> | ||
</form> | ||
{% endblock %} | ||
<form method="post"> | ||
<div> | ||
<label class="label" for="username">Username</label><br /> | ||
<input | ||
class="field" | ||
type="text" | ||
id="username" | ||
name="username" | ||
value="" | ||
/><br /> | ||
<label class="label" for="password">Password</label><br /> | ||
<input | ||
class="field" | ||
type="password" | ||
id="password" | ||
name="password" | ||
value="" | ||
/><br /><br /> | ||
</div> | ||
<input class="formButton" type="submit" value="Submit" /> | ||
</form> | ||
{% endblock %} |
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,16 +1,9 @@ | ||
{% extends "../base.html" %} | ||
{% extends "../base.html" %} {% block title %} OAuth Token {% endblock %} {% | ||
block body %} | ||
<p class="header">{{domain}}</p> | ||
|
||
{% block title %} | ||
OAuth Token | ||
<div class="tokenContainer"> | ||
<p>Copy & Paste this token into <span class="appName">{{app_name}}</span></p> | ||
<code class="token">{{token}}</code> | ||
</div> | ||
{% endblock %} | ||
|
||
{% block body %} | ||
<p class="header"> | ||
{{domain}} | ||
</p> | ||
|
||
<div class="tokenContainer"> | ||
<p>Copy & Paste this token into <span class="appName">{{app_name}}</span></p> | ||
<code class="token">{{token}}</code> | ||
</div> | ||
{% endblock %} |
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,19 @@ | ||
const extendTheme = { | ||
colors: { | ||
dark: { | ||
"1": "#1c1626", | ||
"2": "#2b233a", | ||
"3": "#042f40", | ||
}, | ||
shade1: { | ||
dark: "#ff9e55", | ||
light: "#afd7fa", | ||
}, | ||
shade2: { | ||
dark: "#935d7e", | ||
light: "#d68fbc", | ||
}, | ||
}, | ||
}; | ||
|
||
export { extendTheme }; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
packages: | ||
- kitsune/ | ||
- kitsune-fe/ | ||
- website/ |
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