Skip to content

Commit

Permalink
Merge branch 'release/v1.1.4' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
DMeurer committed Dec 18, 2024
2 parents a03af3b + b7ccdcf commit bd99c02
Show file tree
Hide file tree
Showing 5 changed files with 63 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@ I kinda like em and you can change them as you want.

A bunch of custom callouts.

Predefined are `info`, `text` and `mt`.
Predefined are `info`, `text`, `warn` and `mt`.

You can choose the Icon for `c1`, `c2`, `c3` and `c4`.

Every callout has to have a color attatched.
Every callout has to have a color attached.

Possible colors are:
- `pink`
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.3",
"version": "1.1.4",
"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.3",
"version": "1.1.4",
"scripts": {
"version": "node version-bump.mjs && git add manifest.json versions.json"
}
Expand Down
57 changes: 57 additions & 0 deletions theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,63 @@ body.fancy-code .markdown-preview-view pre code {
--callout-icon: lucide-text;
}

/* Warning */

.callout[data-callout="warn-pink"] {
--callout-color: var(--callout-color-pink);
--callout-icon: lucide-triangle-alert;
}

.callout[data-callout="warn-blue"] {
--callout-color: var(--callout-color-blue);
--callout-icon: lucide-triangle-alert;
}

.callout[data-callout="warn-green"] {
--callout-color: var(--callout-color-green);
--callout-icon: lucide-triangle-alert;
}

.callout[data-callout="warn-yellow"] {
--callout-color: var(--callout-color-yellow);
--callout-icon: lucide-triangle-alert;
}

.callout[data-callout="warn-red"] {
--callout-color: var(--callout-color-red);
--callout-icon: lucide-triangle-alert;
}

.callout[data-callout="warn-purple"] {
--callout-color: var(--callout-color-purple);
--callout-icon: lucide-triangle-alert;
}

.callout[data-callout="warn-orange"] {
--callout-color: var(--callout-color-orange);
--callout-icon: lucide-triangle-alert;
}

.callout[data-callout="warn-light-blue"] {
--callout-color: var(--callout-color-light-blue);
--callout-icon: lucide-triangle-alert;
}

.callout[data-callout="warn-cyan"] {
--callout-color: var(--callout-color-cyan);
--callout-icon: lucide-triangle-alert;
}

.callout[data-callout="warn-light-purple"] {
--callout-color: var(--callout-color-light-purple);
--callout-icon: lucide-triangle-alert;
}

.callout[data-callout="warn-grey"] {
--callout-color: var(--callout-color-grey);
--callout-icon: lucide-triangle-alert;
}

/* Custom 1 */

.callout[data-callout="c1-pink"] {
Expand Down
3 changes: 2 additions & 1 deletion versions.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"1.1.3": "1.5.0"
"1.1.3": "1.5.0",
"1.1.4": "1.5.0"
}

0 comments on commit bd99c02

Please sign in to comment.