Skip to content

Commit

Permalink
Use theme colors
Browse files Browse the repository at this point in the history
  • Loading branch information
mgmeyers committed Feb 15, 2023
1 parent 56d0596 commit e556926
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "obsidian-list-callouts",
"name": "List Callouts",
"version": "1.1.2",
"version": "1.1.3",
"minAppVersion": "1.1.1",
"description": "Create simple callouts in lists.",
"author": "mgmeyers",
Expand Down
14 changes: 7 additions & 7 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,31 +12,31 @@ import { buildPostProcessor } from "./postProcessor";

const DEFAULT_SETTINGS: ListCalloutsSettings = [
{
color: "255, 214, 0",
color: "var(--color-yellow-rgb)",
char: "&",
},
{
color: "255, 145, 0",
color: "var(--color-orange-rgb)",
char: "?",
},
{
color: "255, 23, 68",
color: "var(--color-red-rgb)",
char: "!",
},
{
color: "124, 77, 255",
color: "var(--color-purple-rgb)",
char: "~",
},
{
color: "0, 184, 212",
color: "var(--color-blue-rgb)",
char: "@",
},
{
color: "0, 200, 83",
color: "var(--color-green-rgb)",
char: "$",
},
{
color: "158, 158, 158",
color: "var(--callout-quote)",
char: "%",
},
];
Expand Down
2 changes: 1 addition & 1 deletion src/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ function buildNewCalloutSetting(
) {
const callout: Callout = {
char: "",
color: "127, 127, 127",
color: "158, 158, 158",
icon: null,
custom: true,
};
Expand Down

0 comments on commit e556926

Please sign in to comment.