Skip to content

Commit

Permalink
fix: replace variables with values
Browse files Browse the repository at this point in the history
  • Loading branch information
v8tenko committed Oct 1, 2024
1 parent 0315f6f commit 34ec9a9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,5 @@ jobs:
run: npm run test
- name: Typecheck
run: npm run typecheck
- name: Build
run: npm run build
11 changes: 7 additions & 4 deletions src/scss/_note.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,14 @@
}
}


// @todo replace with variables

$colors: (
yfm-accent-info: var(--yfm-color-accent),
yfm-accent-tip: var(--yfm-color-note-tip),
yfm-accent-alert: var(--yfm-color-note-important),
yfm-accent-warning: var(--yfm-color-note-warning),
yfm-accent-info: #027bf3,
yfm-accent-tip: #56bd67,
yfm-accent-warning: #f19518,
yfm-accent-alert: #ff4645,
);

@each $type, $color in $colors {
Expand Down

0 comments on commit 34ec9a9

Please sign in to comment.