1
0
mirror of https://github.com/kuohuanhuan/x-markdown-css.git synced 2024-11-25 06:18:19 +00:00

Compare commits

..

12 Commits

5 changed files with 21 additions and 9 deletions

View File

@ -25,8 +25,8 @@ jobs:
# Step IV # Step IV
- name: Publish to NPM Registry - name: Publish to NPM Registry
uses: JS-DevTools/npm-publish@v1 uses: JS-DevTools/npm-publish@v1
env: with:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} token: ${{ secrets.NPM_TOKEN }}
# Step V # Step V
- name: Generate Changelog - name: Generate Changelog
run: npx changelogithub@0.12 run: npx changelogithub@0.12

2
.gitignore vendored
View File

@ -1,4 +1,2 @@
dist/
.env.local .env.local
node_modules/ node_modules/

View File

@ -1,7 +1,21 @@
{ {
"name": "x-markdown-css", "name": "x-markdown-css",
"version": "0.0.0-20230228.1", "version": "0.0.0-20230228.6",
"description": "A simple and customizable Markdown CSS for everyone.", "description": "A simple and customizable Markdown CSS for everyone.",
"keywords": [
"markdown",
"css",
"sass",
"scss",
"coffeescript",
"grunt",
"javascript",
"postcss",
"prose",
"blog",
"article",
"documentation"
],
"main": "index.js", "main": "index.js",
"repository": { "repository": {
"type": "git", "type": "git",

View File

@ -1,2 +1,2 @@
$font-sans: 'Open Sans', 'Noto Sans TC', 'Inter', 'Roboto', 'Helvetica', 'Arial', sans-serif; $font-sans: 'Open Sans', 'Inter', 'Roboto', 'Helvetica', 'Arial', 'Noto Sans TC', 'Noto Sans SC', 'Sarasa Gothic TC', 'Sarasa Gothic SC', 'Microsoft JhengHei', 'Microsoft YaHei', -apple-system, sans-serif;
$font-monospace: 'DM Mono', 'Jetbrains Mono', 'Fira Code', 'Input Mono', 'Ubuntu', monospace; $font-mono: 'DM Mono', 'Fira Code', 'Jetbrains Mono', 'Input Mono', 'Menlo', 'MesloLGS NF', 'Ubuntu', monospace;

View File

@ -12,7 +12,7 @@
.highlight { .highlight {
margin: .5rem 0; margin: .5rem 0;
font-size: 1.05rem; font-size: 1.05rem;
font-family: var(--xm-font-monospace) !important; font-family: var(--xm-font-mono) !important;
line-height: 1.4; line-height: 1.4;
&.shiki-light { &.shiki-light {
background: var(--xm-c-shiki-light) !important; background: var(--xm-c-shiki-light) !important;
@ -79,7 +79,7 @@ html {
} }
} }
} }
.itrem { .item {
text-decoration: none; text-decoration: none;
opacity: .6; opacity: .6;
transition: .2s all ease-out; transition: .2s all ease-out;