Skip to content

Commit 64a6134

Browse files
committed
Update demo styles
1 parent 267f7a1 commit 64a6134

File tree

2 files changed

+12
-8
lines changed

2 files changed

+12
-8
lines changed

src/test/resources/mdfx-dark.css

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,8 @@
127127
-mdfx-bg-color-1: #484848;
128128
-mdfx-bg-color-2: #3c3c3c;
129129
-mdfx-bg-color-3: #303030;
130+
131+
-mdfx-link-color: #0e80d4;
130132
}
131133

132134
.markdown-italic {
@@ -140,14 +142,14 @@
140142
-fx-font-family: "Jetbrains Mono";
141143
}
142144

143-
* .markdown-link {
144-
-fx-fill: #0e80d4;
145-
}
146-
147145
.markdown-link-hover {
148146
-fx-underline: true;
149147
}
150148

149+
.markdown-strikethrough {
150+
-fx-strikethrough: true;
151+
}
152+
151153
.markdown-preview-area .mdfx-node {
152154
-fx-padding: 5;
153155
}

src/test/resources/mdfx-light.css

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,8 @@
127127
-mdfx-bg-color-1: #ccc;
128128
-mdfx-bg-color-2: #ddd;
129129
-mdfx-bg-color-3: #eee;
130+
131+
-mdfx-link-color: blue;
130132
}
131133

132134
.markdown-italic {
@@ -140,14 +142,14 @@
140142
-fx-font-family: "Jetbrains Mono";
141143
}
142144

143-
* .markdown-link {
144-
-fx-fill: #2121d0;
145-
}
146-
147145
.markdown-link-hover {
148146
-fx-underline: true;
149147
}
150148

149+
.markdown-strikethrough {
150+
-fx-strikethrough: true;
151+
}
152+
151153
.markdown-preview-area .mdfx-node {
152154
-fx-padding: 5;
153155
}

0 commit comments

Comments
 (0)