Fix styles

Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
This commit is contained in:
Charles de Dreuille
2025-03-25 11:35:23 +00:00
parent 4371b5d781
commit 2137831f04
4 changed files with 31 additions and 31 deletions
+7 -7
View File
@@ -584,7 +584,7 @@
margin: .375rem 1rem;
}
a.canon-Link {
.canon-Link {
font-family: var(--canon-font-regular);
color: var(--canon-fg-link);
cursor: pointer;
@@ -602,31 +602,31 @@ a.canon-Link {
}
}
a.canon-Link--variant-body {
.canon-Link--variant-body {
font-size: var(--canon-font-size-3);
line-height: 140%;
}
a.canon-Link--variant-subtitle {
.canon-Link--variant-subtitle {
font-size: var(--canon-font-size-4);
line-height: 140%;
}
a.canon-Link--variant-caption {
.canon-Link--variant-caption {
font-size: var(--canon-font-size-2);
line-height: 140%;
}
a.canon-Link--variant-label {
.canon-Link--variant-label {
font-size: var(--canon-font-size-1);
line-height: 140%;
}
a.canon-Link--weight-regular {
.canon-Link--weight-regular {
font-weight: var(--canon-font-weight-regular);
}
a.canon-Link--weight-bold {
.canon-Link--weight-bold {
font-weight: var(--canon-font-weight-bold);
}
+5 -5
View File
@@ -9083,6 +9083,11 @@
}
}
:where(a) {
color: inherit;
text-decoration: none;
}
:root {
--canon-font-regular: system-ui;
--canon-font-monospace: ui-monospace, "Menlo", "Monaco", "Consolas", "Liberation Mono", "Courier New", monospace;
@@ -9158,11 +9163,6 @@
--canon-ring: #1f5493;
--canon-scrollbar: #a0a0a03b;
--canon-scrollbar-thumb: #a0a0a0;
& a {
color: inherit;
text-decoration: none;
}
}
[data-theme="dark"] {
+7 -7
View File
@@ -1,4 +1,4 @@
a.canon-Link {
.canon-Link {
font-family: var(--canon-font-regular);
color: var(--canon-fg-link);
cursor: pointer;
@@ -16,30 +16,30 @@ a.canon-Link {
}
}
a.canon-Link--variant-body {
.canon-Link--variant-body {
font-size: var(--canon-font-size-3);
line-height: 140%;
}
a.canon-Link--variant-subtitle {
.canon-Link--variant-subtitle {
font-size: var(--canon-font-size-4);
line-height: 140%;
}
a.canon-Link--variant-caption {
.canon-Link--variant-caption {
font-size: var(--canon-font-size-2);
line-height: 140%;
}
a.canon-Link--variant-label {
.canon-Link--variant-label {
font-size: var(--canon-font-size-1);
line-height: 140%;
}
a.canon-Link--weight-regular {
.canon-Link--weight-regular {
font-weight: var(--canon-font-weight-regular);
}
a.canon-Link--weight-bold {
.canon-Link--weight-bold {
font-weight: var(--canon-font-weight-bold);
}
+12 -12
View File
@@ -9083,6 +9083,11 @@
}
}
:where(a) {
color: inherit;
text-decoration: none;
}
:root {
--canon-font-regular: system-ui;
--canon-font-monospace: ui-monospace, "Menlo", "Monaco", "Consolas", "Liberation Mono", "Courier New", monospace;
@@ -9158,11 +9163,6 @@
--canon-ring: #1f5493;
--canon-scrollbar: #a0a0a03b;
--canon-scrollbar-thumb: #a0a0a0;
& a {
color: inherit;
text-decoration: none;
}
}
[data-theme="dark"] {
@@ -9790,7 +9790,7 @@
margin: .375rem 1rem;
}
a.canon-Link {
.canon-Link {
font-family: var(--canon-font-regular);
color: var(--canon-fg-link);
cursor: pointer;
@@ -9808,31 +9808,31 @@ a.canon-Link {
}
}
a.canon-Link--variant-body {
.canon-Link--variant-body {
font-size: var(--canon-font-size-3);
line-height: 140%;
}
a.canon-Link--variant-subtitle {
.canon-Link--variant-subtitle {
font-size: var(--canon-font-size-4);
line-height: 140%;
}
a.canon-Link--variant-caption {
.canon-Link--variant-caption {
font-size: var(--canon-font-size-2);
line-height: 140%;
}
a.canon-Link--variant-label {
.canon-Link--variant-label {
font-size: var(--canon-font-size-1);
line-height: 140%;
}
a.canon-Link--weight-regular {
.canon-Link--weight-regular {
font-weight: var(--canon-font-weight-regular);
}
a.canon-Link--weight-bold {
.canon-Link--weight-bold {
font-weight: var(--canon-font-weight-bold);
}