-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added demo and overrideable kerning and leading
- Loading branch information
Craig Riley
committed
Feb 3, 2022
1 parent
15a178b
commit fde199e
Showing
15 changed files
with
3,099 additions
and
13 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 |
---|---|---|
@@ -1 +1,2 @@ | ||
.DS_Store | ||
.DS_Store | ||
node_modules |
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,5 @@ | ||
demo | ||
vite.config.js | ||
.github | ||
tailwind.config.js | ||
postcss.config.js |
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,13 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<link rel="icon" href="/favicon.ico" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Vite App</title> | ||
</head> | ||
<body> | ||
<div id="app"></div> | ||
<script type="module" src="/src/main.js"></script> | ||
</body> | ||
</html> |
Binary file not shown.
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,39 @@ | ||
<template> | ||
<h1 class="fluid-5xl">Fluid 5XL</h1> | ||
<h2 class="fluid-4xl">Fluid 4XL</h2> | ||
<h3 class="fluid-3xl">Fluid 3XL</h3> | ||
<h4 class="fluid-2xl">Fluid 2XL</h4> | ||
<h5 class="fluid-xl">Fluid XL</h5> | ||
<h6 class="fluid-lg">Fluid LG</h6> | ||
<p class="fluid-base">Fluid BASE</p> | ||
<div class="fluid-prose"> | ||
<div> | ||
<section> | ||
<article> | ||
<h1 style="--fluid-line-height: 2.5; --fluid-letter-spacing: 10px"> | ||
Fluid 5XL | ||
</h1> | ||
<h2>Fluid 4XL</h2> | ||
<h3>Fluid 3XL</h3> | ||
<h4>Fluid 2XL</h4> | ||
<h5>Fluid XL</h5> | ||
<h6>Fluid LG</h6> | ||
<p>Fluid BASE</p> | ||
</article> | ||
</section> | ||
</div> | ||
</div> | ||
</template> | ||
|
||
<style lang="postcss"> | ||
#app { | ||
font-family: Avenir, Helvetica, Arial, sans-serif; | ||
-webkit-font-smoothing: antialiased; | ||
-moz-osx-font-smoothing: grayscale; | ||
text-align: center; | ||
color: #2c3e50; | ||
margin-top: 60px; | ||
--testing: 1.35; | ||
letter-spacing: var(--testing); | ||
} | ||
</style> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,40 @@ | ||
<script setup> | ||
import { ref } from 'vue' | ||
defineProps({ | ||
msg: String | ||
}) | ||
const count = ref(0) | ||
</script> | ||
|
||
<template> | ||
<h1>{{ msg }}</h1> | ||
|
||
<p> | ||
Recommended IDE setup: | ||
<a href="https://code.visualstudio.com/" target="_blank">VSCode</a> | ||
+ | ||
<a href="https://github.com/johnsoncodehk/volar" target="_blank">Volar</a> | ||
</p> | ||
|
||
<p> | ||
<a href="https://vitejs.dev/guide/features.html" target="_blank"> | ||
Vite Documentation | ||
</a> | ||
| | ||
<a href="https://v3.vuejs.org/" target="_blank">Vue 3 Documentation</a> | ||
</p> | ||
|
||
<button type="button" @click="count++">count is: {{ count }}</button> | ||
<p> | ||
Edit | ||
<code>components/HelloWorld.vue</code> to test hot module replacement. | ||
</p> | ||
</template> | ||
|
||
<style scoped> | ||
a { | ||
color: #42b983; | ||
} | ||
</style> |
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 @@ | ||
import "./style.css"; | ||
|
||
import { createApp } from "vue"; | ||
import App from "./App.vue"; | ||
|
||
createApp(App).mount("#app"); |
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,11 @@ | ||
@tailwind base; | ||
@tailwind components; | ||
@tailwind utilities; | ||
|
||
@layer utilities { | ||
.fluid-prose { | ||
:where(h1) { | ||
@apply fluid-5xl; | ||
} | ||
} | ||
} |
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
Oops, something went wrong.