Skip to content

Commit 34ec9a9

Browse files
committed
fix: replace variables with values
1 parent 0315f6f commit 34ec9a9

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

.github/workflows/ci.yml

+2
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,5 @@ jobs:
2828
run: npm run test
2929
- name: Typecheck
3030
run: npm run typecheck
31+
- name: Build
32+
run: npm run build

src/scss/_note.scss

+7-4
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,14 @@
2929
}
3030
}
3131

32+
33+
// @todo replace with variables
34+
3235
$colors: (
33-
yfm-accent-info: var(--yfm-color-accent),
34-
yfm-accent-tip: var(--yfm-color-note-tip),
35-
yfm-accent-alert: var(--yfm-color-note-important),
36-
yfm-accent-warning: var(--yfm-color-note-warning),
36+
yfm-accent-info: #027bf3,
37+
yfm-accent-tip: #56bd67,
38+
yfm-accent-warning: #f19518,
39+
yfm-accent-alert: #ff4645,
3740
);
3841

3942
@each $type, $color in $colors {

0 commit comments

Comments
 (0)