removing app.scss stuff infavor of the current way of doing things

This commit is contained in:
2026-06-07 22:08:16 -05:00
parent a140127c44
commit 74ee25d2f1
3 changed files with 51 additions and 53 deletions
+34 -32
View File
@@ -1,44 +1,46 @@
<script lang="javascript"> <script lang="javascript">
let {data} = $props() let { data } = $props();
$inspect("b",data) $inspect("b", data);
</script> </script>
<svelte:head> <svelte:head>
<title></title> <title></title>
<meta name="description" content="" /> <meta name="description" content="" />
</svelte:head> </svelte:head>
<section> <section>
<h1>I might decide to write sometime</h1> <h1>I might decide to write sometime</h1>
<ol> <ol>
{#each data.blags as {title, uri, created_at}} {#each data.blags as { title, uri, created_at }}
<li><a href="blag/{uri}">{title}</a> @ <p>{new Date(created_at).toLocaleDateString()}</p></li> <li>
{/each} <a href="blag/{uri}">{title}</a> @
</ol> <p>{new Date(created_at).toLocaleDateString()}</p>
</li>
{/each}
</ol>
</section> </section>
<style lang="scss"> <style lang="scss">
@use '/src/app.scss' as *; section {
margin: 1rem auto;
section { min-width: 60rem;
margin: 1rem auto; display: flex;
min-width: 60rem; flex-direction: column;
display: flex; align-items: center;
flex-direction: column; h1 {
align-items: center; font-size: 1.5rem;
h1{ text-shadow: 3px 3px 3px var(--primary-8);
font-size: 1.5rem; }
text-shadow: 3px 3px 3px $green; ol {
} list-style: none;
ol{ padding: 0;
list-style: none; li {
padding: 0; display: flex;
li{ gap: 1rem;
display: flex; justify-content: space-between;
gap: 1rem; }
justify-content: space-between; }
} }
}
}
</style> </style>
+4 -6
View File
@@ -22,7 +22,6 @@
</section> </section>
<style lang="scss"> <style lang="scss">
@use "/src/app.scss" as *;
section { section {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
@@ -38,14 +37,14 @@
text-align: center; text-align: center;
} }
:global(hr) { :global(hr) {
color: $green; color: var(--primary-1);
} }
:global(blockquote) { :global(blockquote) {
background: $green-42; background: var(--primary-6);
border-left: 1rem solid $green; border-left: 1rem solid var(--primary-8);
padding: 0.5rem 1rem; padding: 0.5rem 1rem;
&:before { &:before {
color: $orange; color: var(--secondary-5);
content: open-quote; content: open-quote;
font-size: 1.5rem; font-size: 1.5rem;
line-height: 0.1rem; line-height: 0.1rem;
@@ -61,4 +60,3 @@
} }
} }
</style> </style>
+13 -15
View File
@@ -53,8 +53,6 @@ Regular; hmm double enter gets a new
</section> </section>
<style lang="scss"> <style lang="scss">
@use "/src/app.scss" as *;
section { section {
width: 100%; width: 100%;
display: flex; display: flex;
@@ -74,9 +72,9 @@ Regular; hmm double enter gets a new
margin: 1rem 0; margin: 1rem 0;
gap: 1rem; gap: 1rem;
input { input {
background: $green-42; background: var(--primary-7);
color: $yellow; color: var(--primary-1);
border: solid 3px $green; border: solid 3px var(--primary-5);
border-radius: 5px; border-radius: 5px;
&:focus-visible { &:focus-visible {
outline: none; outline: none;
@@ -88,10 +86,10 @@ Regular; hmm double enter gets a new
width: 100%; width: 100%;
height: 40rem; height: 40rem;
line-height: 1.5; line-height: 1.5;
border: 1px solid $green; border: 1px solid var(--primary-7);
border-radius: 5px; border-radius: 5px;
background: $green-42; background: var(--primary-5);
color: $yellow; color: var(--primary-1);
font-family: "Garamond"; font-family: "Garamond";
&:focus-visible { &:focus-visible {
outline: none; outline: none;
@@ -100,9 +98,9 @@ Regular; hmm double enter gets a new
button { button {
padding: 0.25rem 0.75rem; padding: 0.25rem 0.75rem;
margin-top: 1rem; margin-top: 1rem;
background-color: $green-42; background-color: var(--primary-5);
color: $yellow; color: var(--primary-1);
border: solid 3px $green; border: solid 3px var(--primary-7);
border-radius: 5px; border-radius: 5px;
align-self: center; align-self: center;
} }
@@ -119,14 +117,14 @@ Regular; hmm double enter gets a new
text-align: center; text-align: center;
} }
:global(hr) { :global(hr) {
color: $green; color: var(--primary-7);
} }
:global(blockquote) { :global(blockquote) {
background: $green-42; background: var(--primary-7);
border-left: 1rem solid $green; border-left: 1rem solid var(--primary-7);
padding: 0.5rem 1rem; padding: 0.5rem 1rem;
&:before { &:before {
color: $orange; color: var(--secondary-5);
content: open-quote; content: open-quote;
font-size: 1.5rem; font-size: 1.5rem;
line-height: 0.1rem; line-height: 0.1rem;