Skip to content

Commit

Permalink
Merge branch 'release/1.1.1' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
DMeurer committed Feb 7, 2024
2 parents dff058b + 0602e72 commit 65d88b3
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 3 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ I'm a huge fan of the "configure everything until its ugly" approach that the Je
- Wether its underlined or not
- Divider color
- Base color (light and dark theme)
- line number color
- configurable line marker (toggle, line number color)


# Installation
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Improved Potato",
"version": "1.1.0.1",
"version": "1.1.1",
"minAppVersion": "1.5.0",
"author": "Dominik Meurer",
"authorUrl": "https://dmeurer.github.io/"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "improved-potato",
"version": "1.1.0.1",
"version": "1.1.1",
"scripts": {
"version": "node version-bump.mjs && git add manifest.json versions.json"
}
Expand Down
57 changes: 56 additions & 1 deletion theme.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@

/* ───────────────────────────────────────────────────
Improved Potato Theme
Version 1.0.0
Created by Dominik Meurer
It is heavily inspired by the Things Theme by @colineckert
Expand Down Expand Up @@ -32,6 +31,7 @@ body {
--purple: #B97CFF;

--divider-color: var(--color-base-30);
--current-line-number-color: var(--yellow);

--h1-color: var(--text-normal);
--h2-color: var(--text-normal);
Expand Down Expand Up @@ -69,6 +69,8 @@ body {

--titlebar-background: var(--color-base-10);
--titlebar-background-focused: var(--color-base-25);

--line-number-color: var(--color-base-50);
}

.theme-dark {
Expand All @@ -87,6 +89,8 @@ body {
--color-base-100: #ccd2db;

--titlebar-background: var(--color-base-25);

--line-number-color: var(--color-base-50);
}

/* ─────────────────────────────────────────────────── */
Expand Down Expand Up @@ -169,6 +173,15 @@ body.fancy-mermaid .edgeLabel:not(:empty) {
padding: 2px;
}

/* Line numbers */
div.cm-gutter.cm-lineNumbers {
color: var(--line-number-color);
}

body.fancy-mark-current-line div.cm-gutter.cm-lineNumbers .cm-active {
color: var(--current-line-number-color);
}


/* ─────────────────────────────────────────────────── */
/* Code blocks */
Expand Down Expand Up @@ -290,11 +303,28 @@ body.fancy-code .markdown-preview-view pre code {


/* Project */
/* ─────────────────────────────────────────────────── */

div.footer.svelte-1kmm5u0 {
background-color: var(--background-primary)
}

/* Calendar */
/* ─────────────────────────────────────────────────── */

div.day.has-note.today.svelte-q3wqg9 {
--color-text-today: var(--pink);
font-weight: var(--font-bold);
}

.theme-dark div.reset-button.svelte-1vwr9dd {
color: hsl(var(--accent-h), var(--accent-s), var(--accent-d)) !important;
}

.theme-light div.reset-button.svelte-1vwr9dd {
color: hsl(var(--accent-h), var(--accent-s), var(--accent-l)) !important;
}


/* ─────────────────────────────────────────────────── */
/* Styles Settings */
Expand Down Expand Up @@ -322,6 +352,12 @@ settings:
id: fancy-mermaid
type: class-toggle
default: true
-
title: Mark current line
description: Mark the current line in the editor
id: fancy-mark-current-line
type: class-toggle
default: true
-
id: headings
title: Headings
Expand Down Expand Up @@ -484,6 +520,25 @@ settings:
type: variable-color
format: hex
default: '#656a74'
-
id: line-number-color
title: Line number color
type: variable-color
format: hex
default-light: '#7b89a3'
default-dark: '#7886a1'
-
id: current-line-number-color
title: Current line line number color
type: variable-color
format: hex
default: '#FFD500'
-
id: color-text-today
title: Calendar plugin today color
type: variable-color
format: hex
default: '#ff3c7f'
-
id: color-bases
title: Color bases
Expand Down

0 comments on commit 65d88b3

Please sign in to comment.