chore: replace --logseq-og with --ls

This commit is contained in:
Tienson Qin
2023-11-09 13:37:33 +08:00
parent 086e25b236
commit 4402dcd38a
14 changed files with 110 additions and 110 deletions

View File

@@ -103,9 +103,9 @@ html[data-theme='dark'] {
--ls-success-background-color: var(--color-green-900);
--ls-focus-ring-color: rgba(18, 98, 119, 0.5);
--ls-header-button-background: #dee4ea;
--logseq-og-left-sidebar-text-color: var(--lx-gray-11);
--logseq-og-button-background-hsl: 200 98% 35%;
--logseq-og-button-background: hsl(var(--logseq-og-button-background-hsl));
--ls-left-sidebar-text-color: var(--lx-gray-11);
--ls-button-background-hsl: 200 98% 35%;
--ls-button-background: hsl(var(--ls-button-background-hsl));
--color-level-1: var(--ls-secondary-background-color);
--color-level-2: var(--ls-tertiary-background-color);
--color-level-3: var(--ls-quaternary-background-color);
@@ -184,9 +184,9 @@ html[data-theme='light'] {
--ls-success-background-color: var(--color-green-100);
--ls-focus-ring-color: rgba(66, 133, 244, 0.5);
--ls-header-button-background: rgba(15, 20, 25, 1);
--logseq-og-left-sidebar-text-color: var(--lx-gray-12);
--logseq-og-button-background-hsl: 200 98% 35%;
--logseq-og-button-background: hsl(var(--logseq-og-button-background-hsl));
--ls-left-sidebar-text-color: var(--lx-gray-12);
--ls-button-background-hsl: 200 98% 35%;
--ls-button-background: hsl(var(--ls-button-background-hsl));
--color-level-1: var(--ls-secondary-background-color);
--color-level-2: var(--ls-tertiary-background-color);
--color-level-3: var(--ls-quaternary-background-color);
@@ -207,7 +207,7 @@ html {
}
body {
color: or(--logseq-og-default-text-color, --lx-gray-12, --ls-primary-text-color);
color: or(--ls-default-text-color, --lx-gray-12, --ls-primary-text-color);
line-height: 1.5;
background-color: transparent;
min-height: 100%;
@@ -271,12 +271,12 @@ pre {
a {
cursor: pointer;
color: or(--logseq-og-anchor-link-text-color, --lx-accent-11, --ls-link-text-color, #045591);
color: or(--ls-anchor-link-text-color, --lx-accent-11, --ls-link-text-color, #045591);
text-decoration: none;
}
a:hover {
color: or(--logseq-og-anchor-link-text-color-hover, --lx-accent-12, --ls-link-text-hover-color, #000);
color: or(--ls-anchor-link-text-color-hover, --lx-accent-12, --ls-link-text-hover-color, #000);
}
code {
@@ -529,7 +529,7 @@ i.ti {
/* region FIXME: override elements (?) */
h1.title {
margin-bottom: 1.5rem;
color: or(--logseq-og-journal-title-color, --lx-gray-12, --ls-title-text-color, #222);
color: or(--ls-journal-title-color, --lx-gray-12, --ls-title-text-color, #222);
font-size: var(--ls-page-title-size, 36px);
font-weight: 500;
}
@@ -575,7 +575,7 @@ button.menu {
.menu-link:hover,
button.pull:hover,
button.menu:focus {
background-color: or(--logseq-og-settings-list-item-hover-background-color, --lx-gray-05, --ls-menu-hover-color, #f4f5f7);
background-color: or(--ls-settings-list-item-hover-background-color, --lx-gray-05, --ls-menu-hover-color, #f4f5f7);
}
.menu-links-wrapper,
@@ -583,7 +583,7 @@ button.menu:focus {
@apply py-2 rounded-md shadow-lg overflow-y-auto;
max-height: calc(100vh - 100px) !important;
background-color: or(--logseq-og-settings-dropdown-background, --lx-gray-03, --ls-primary-background-color, #fff);
background-color: or(--ls-settings-dropdown-background, --lx-gray-03, --ls-primary-background-color, #fff);
min-width: 12rem;
}
@@ -594,8 +594,8 @@ button.menu:focus {
}
.menu-link {
background-color: or(--logseq-og-settings-dropdown-link-item-background, --lx-gray-03, --ls-primary-background-color, #fff);
color: or(--logseq-og-settings-dropdown-link-text-color, --lx-gray-11, --ls-primary-text-color);
background-color: or(--ls-settings-dropdown-link-item-background, --lx-gray-03, --ls-primary-background-color, #fff);
color: or(--ls-settings-dropdown-link-text-color, --lx-gray-11, --ls-primary-text-color);
user-select: none;
}
@@ -688,15 +688,15 @@ a.tag {
cursor: pointer;
padding: 0 2px;
border-radius: 4px;
background: or(--logseq-og-tag-background, --lx-accent-05, transparent);
color: or(--logseq-og-tag-text, --lx-accent-11, --ls-tag-text-color, #045591);
background: or(--ls-tag-background, --lx-accent-05, transparent);
color: or(--ls-tag-text, --lx-accent-11, --ls-tag-text-color, #045591);
opacity: var(--ls-tag-text-opacity, 0.8);
}
a.tag:hover {
opacity: var(--ls-tag-text-hover-opacity, 1);
background: or(--logseq-og-tag-background-hover, --lx-accent-06, transparent);
color: or(--logseq-og-tag-text-hvoer, --lx-accent-12, --ls-tag-text-hover-color, #045591);
background: or(--ls-tag-background-hover, --lx-accent-06, transparent);
color: or(--ls-tag-text-hvoer, --lx-accent-12, --ls-tag-text-hover-color, #045591);
}
svg.note {
@@ -802,8 +802,8 @@ mark {
font-family: MonoLisa, 'Fira Code', Monaco, Menlo, Consolas, 'COURIER NEW',
monospace;
letter-spacing: 0;
background-color: or(--logseq-og-inline-code-background, --lx-gray-06, --ls-page-inline-code-bg-color, #eee);
color: or(--logseq-og-inline-code-text, --lx-gray-11, --ls-page-inline-code-color);
background-color: or(--ls-inline-code-background, --lx-gray-06, --ls-page-inline-code-bg-color, #eee);
color: or(--ls-inline-code-text, --lx-gray-11, --ls-page-inline-code-color);
background-color: var(--ls-page-inline-code-bg-color, #eee);
color: var(--ls-page-inline-code-color);
text-rendering: optimizeSpeed;
@@ -840,11 +840,11 @@ a.tooltip-priority {
}
.page-reference:hover {
background: or(--logseq-og-page-reference-hover-background, --lx-accent-04-alpha, --ls-secondary-background-color);
background: or(--ls-page-reference-hover-background, --lx-accent-04-alpha, --ls-secondary-background-color);
}
.references-blocks .page-reference:hover {
background: or(--logseq-og-page-reference-block-hover-background, --lx-accent-04-alpha, --ls-tertiary-background-color);
background: or(--ls-page-reference-block-hover-background, --lx-accent-04-alpha, --ls-tertiary-background-color);
}
#head .fade-link {