Skip to content

Commit

Permalink
feat: add all code necessary for theme support
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-capsule42 committed Sep 30, 2024
1 parent 48782de commit c2cd6f4
Show file tree
Hide file tree
Showing 20 changed files with 2,558 additions and 2,978 deletions.
244 changes: 0 additions & 244 deletions .eslintrc.cjs

This file was deleted.

1 change: 1 addition & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npx --no-install commitlint --edit "$1"
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

./node_modules/.bin/npm-run-all linters test
2 changes: 0 additions & 2 deletions apiExamples/label.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
<auro-badge label>Hello World</auro-badge>
<auro-badge label error>Danger</auro-badge>
<auro-badge label success>Success</auro-badge>
<auro-badge label advisory>Advisory</auro-badge>
<auro-badge label style="color: var(--auro-color-text-primary-on-light); background-color: var(--auro-color-brand-tropical-300); border-color: var(--auro-color-brand-tropical-300)">Flight 167</auro-badge>
3 changes: 1 addition & 2 deletions demo/api.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<script type="module">
import 'https://cdn.jsdelivr.net/npm/marked@5.1.0/marked.min.js';
import 'https://cdn.jsdelivr.net/npm/prismjs@latest/prism.js';
fetch('/demo/apiExamples.md')
fetch('/demo/api.md')
.then((response) => response.text())
.then((text) => {
const rawHtml = marked.parse(text);
Expand All @@ -41,7 +41,6 @@
});
</script>
<script type="module" src="../index.js" data-demo-script="true"></script>
<script src="./api.min.js"></script>

<!-- If additional elements are needed for the demo, add them here. -->
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-accordion@latest/dist/auro-accordion__bundled.js" type="module"></script>
Expand Down
Loading

0 comments on commit c2cd6f4

Please sign in to comment.