Skip to content

Commit 4a3d333

Browse files
committed
feat: Customize <a> tag appearance
1 parent 96d5faf commit 4a3d333

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

packages/browser-utils/src/styles.css

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
@import './styles/layout.css';
77
@import './styles/application.css';
8+
@import './styles/text.css';
89

910
@import './styles/components.css';
1011
@import './styles/modal.css';
+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
html.spx-app {
2+
a:not(:has(.spx-button)) {
3+
text-decoration: none;
4+
5+
&:visited {
6+
color: var(--spx-color-text-link);
7+
}
8+
&:hover {
9+
filter: var(--spx-filter-control-hover);
10+
}
11+
}
12+
}

packages/browser-utils/src/themes/default.theme.css

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ html *,
1010
--spx-color-text-default: #f5f5f5;
1111
--spx-color-text-subtle: #a1a1aa;
1212
--spx-color-text-highlighted: #ffffff;
13+
--spx-color-text-link: var(--spx-color-accent);
1314

1415
/* Base Colors */
1516
--spx-color-background: #1a2327;

0 commit comments

Comments
 (0)