Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,097 changes: 557 additions & 540 deletions package-lock.json

Large diffs are not rendered by default.

8 changes: 7 additions & 1 deletion src/123ishatest.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@import url('/themes/darcula.css');

:root {
--white: #ffffff;
--black: #000000;
Expand Down Expand Up @@ -26,9 +28,13 @@
--tw-prose-headings: var(--header-color);
}

* {
body {
font-family: var(--font-primary), serif;
}

.prose-isha {
--tw-prose-headings: var(--header-color);
--tw-prose-body: var(--text-primary);
}

.blueprint {
Expand Down
2 changes: 1 addition & 1 deletion src/routes/(app)/about/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<Header>About</Header>

<Card hoverEffect={false}>
<div class="prose text-white md:m-4">
<div class="prose prose-isha md:m-4">
{@render children()}
</div>
</Card>
Expand Down
2 changes: 1 addition & 1 deletion src/routes/(app)/blog/(posts)/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<Header>{blogName}</Header>

<Card hoverEffect={false}>
<div class="prose text-white md:m-4 md:w-xl">
<div class="prose prose-isha md:m-4 md:w-xl">
{@render children()}
</div>
</Card>
Expand Down
2 changes: 1 addition & 1 deletion src/routes/(app)/blog/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
{#each blogPosts as blogPost (blogPost.id)}
<Link href={blogPost.path}>
<Card>
<div class="text-white md:m-4 md:w-lg">
<div class="md:m-4 md:w-lg">
<Title>{blogPost.title}</Title>
<span class="relative -top-4 opacity-40">{blogPost.date}</span>

Expand Down
2 changes: 1 addition & 1 deletion src/routes/(app)/contact/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<Header>Contact</Header>

<Card hoverEffect={false}>
<div class="prose text-white md:m-4">
<div class="prose prose-isha md:m-4">
{@render children()}
</div>
</Card>
Expand Down
4 changes: 2 additions & 2 deletions src/routes/privacy/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
</script>

<div class="flex w-full flex-col items-center p-4">
<Card>
<div class="prose text-white">
<Card hoverEffect={false}>
<div class="prose prose-isha">
{@render children()}
</div>
</Card>
Expand Down
163 changes: 163 additions & 0 deletions static/themes/darcula.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,163 @@
/**
* Darcula theme
*
* Adapted from a theme based on:
* IntelliJ Darcula Theme (https://github.com/bulenkov/Darcula)
*
* @author Alexandre Paradis <service.paradis@gmail.com>
* @version 1.0
*/

code[class*='language-'],
pre[class*='language-'] {
color: #a9b7c6;
font-family: Consolas, Monaco, 'Andale Mono', monospace;
direction: ltr;
text-align: left;
white-space: pre;
word-spacing: normal;
word-break: normal;
line-height: 1.5;

-moz-tab-size: 4;
-o-tab-size: 4;
tab-size: 4;

-webkit-hyphens: none;
-moz-hyphens: none;
-ms-hyphens: none;
hyphens: none;
}

pre[class*='language-']::-moz-selection,
pre[class*='language-'] ::-moz-selection,
code[class*='language-']::-moz-selection,
code[class*='language-'] ::-moz-selection {
color: inherit;
background: rgba(33, 66, 131, 0.85);
}

pre[class*='language-']::selection,
pre[class*='language-'] ::selection,
code[class*='language-']::selection,
code[class*='language-'] ::selection {
color: inherit;
background: rgba(33, 66, 131, 0.85);
}

/* Code blocks */
pre[class*='language-'] {
padding: 1em;
margin: 0.5em 0;
overflow: auto;
}

:not(pre) > code[class*='language-'],
pre[class*='language-'] {
background: #2b2b2b;
}

/* Inline code */
:not(pre) > code[class*='language-'] {
padding: 0.1em;
border-radius: 0.3em;
}

.token.comment,
.token.prolog,
.token.cdata {
color: #808080;
}

.token.delimiter,
.token.boolean,
.token.keyword,
.token.selector,
.token.important,
.token.atrule {
color: #cc7832;
}

.token.operator,
.token.punctuation,
.token.attr-name {
color: #a9b7c6;
}

.token.tag,
.token.tag .punctuation,
.token.doctype,
.token.builtin {
color: #e8bf6a;
}

.token.entity,
.token.number,
.token.symbol {
color: #6897bb;
}

.token.property,
.token.constant,
.token.variable {
color: #9876aa;
}

.token.string,
.token.char {
color: #6a8759;
}

.token.attr-value,
.token.attr-value .punctuation {
color: #a5c261;
}

.token.attr-value .punctuation:first-child {
color: #a9b7c6;
}

.token.url {
color: #287bde;
text-decoration: underline;
}

.token.function {
color: #ffc66d;
}

.token.regex {
background: #364135;
}

.token.bold {
font-weight: bold;
}

.token.italic {
font-style: italic;
}

.token.inserted {
background: #294436;
}

.token.deleted {
background: #484a4a;
}

code.language-css .token.property,
code.language-css .token.property + .token.punctuation {
color: #a9b7c6;
}

code.language-css .token.id {
color: #ffc66d;
}

code.language-css .token.selector > .token.class,
code.language-css .token.selector > .token.attribute,
code.language-css .token.selector > .token.pseudo-class,
code.language-css .token.selector > .token.pseudo-element {
color: #ffc66d;
}
Loading