Skip to content

Commit

Permalink
feat: use quark-static cdn
Browse files Browse the repository at this point in the history
  • Loading branch information
xxxsf committed Aug 5, 2024
1 parent 572d6b8 commit 719e1c8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 225 deletions.
5 changes: 4 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@
margin: 0;
}
</style>
<link rel="stylesheet" href="./theme.css">

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/quark-static@latest/theme.css" />
<!-- local debugging -->
<!-- <link rel="stylesheet" href="../statics/theme.css"> -->
</head>
<body>
<quark-doc-header />
Expand Down
2 changes: 1 addition & 1 deletion src/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ button {
.logo {
width: 160px;
height: 40px;
--logo-light-mode: url('https://raw.githubusercontent.com/hellof2e/static/main/quarkd-logo-dark-mode.png');
--logo-light-mode: url('https://unpkg.com/quark-static@latest/quarkd-logo-dark-mode.png');
background-image: var(--logo-dark-mode, var(--logo-light-mode));
background-size: 100%;
background-repeat: no-repeat;
Expand Down
223 changes: 0 additions & 223 deletions theme.css

This file was deleted.

0 comments on commit 719e1c8

Please sign in to comment.