-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(tokens): add component level tokens for theming
BREAKING CHANGE: Advisory variant has been removed. Warning variant is the intended replacement.
- Loading branch information
1 parent
5b06d77
commit b1ee061
Showing
16 changed files
with
2,217 additions
and
2,548 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,13 @@ | ||
<auro-icon ondark category="interface" name="pin-trip"></auro-icon> | ||
<auro-icon ondark category="interface" name="pin-trip" emphasis></auro-icon> | ||
<auro-icon ondark category="interface" name="pin-trip" accent></auro-icon> | ||
<auro-icon ondark category="interface" name="pin-trip" disabled></auro-icon> | ||
<auro-icon ondark category="interface" name="pin-trip" error></auro-icon> | ||
<auro-icon ondark category="interface" name="pin-trip" success></auro-icon> | ||
<auro-icon ondark category="interface" name="pin-trip" advisory></auro-icon> | ||
<span style="color: var(--ds-color-text-primary-inverse)"> | ||
<auro-icon category="interface" name="pin-trip" onDark></auro-icon>default<br /> | ||
<auro-icon category="interface" name="pin-trip" onDark accent></auro-icon>accent<br /> | ||
<auro-icon category="interface" name="pin-trip" onDark disabled></auro-icon>disabled<br /> | ||
<auro-icon category="interface" name="pin-trip" onDark emphasis></auro-icon>emphasis<br /> | ||
<auro-icon category="interface" name="pin-trip" onDark error></auro-icon>error<br /> | ||
<auro-icon category="interface" name="pin-trip" onDark info></auro-icon>info<br /> | ||
<auro-icon category="interface" name="pin-trip" onDark secondary></auro-icon>secondary<br /> | ||
<auro-icon category="interface" name="pin-trip" onDark subtle></auro-icon>subtle<br /> | ||
<auro-icon category="interface" name="pin-trip" onDark success></auro-icon>success<br /> | ||
<auro-icon category="interface" name="pin-trip" onDark tertiary></auro-icon>tertiary<br /> | ||
<auro-icon category="interface" name="pin-trip" onDark warning></auro-icon>warning | ||
</span> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
<auro-icon category="interface" name="pin-trip"></auro-icon> | ||
<auro-icon category="interface" name="pin-trip" emphasis></auro-icon> | ||
<auro-icon category="interface" name="pin-trip" accent></auro-icon> | ||
<auro-icon category="interface" name="pin-trip" disabled></auro-icon> | ||
<auro-icon category="interface" name="pin-trip" error></auro-icon> | ||
<auro-icon category="interface" name="pin-trip" success></auro-icon> | ||
<auro-icon category="interface" name="pin-trip" advisory></auro-icon> | ||
<auro-icon category="interface" name="pin-trip"></auro-icon> default<br /> | ||
<auro-icon category="interface" name="pin-trip" accent></auro-icon> accent<br /> | ||
<auro-icon category="interface" name="pin-trip" disabled></auro-icon> disabled<br /> | ||
<auro-icon category="interface" name="pin-trip" emphasis></auro-icon> emphasis<br /> | ||
<auro-icon category="interface" name="pin-trip" error></auro-icon> error<br /> | ||
<auro-icon category="interface" name="pin-trip" info></auro-icon> info<br /> | ||
<auro-icon category="interface" name="pin-trip" secondary></auro-icon> secondary<br /> | ||
<auro-icon category="interface" name="pin-trip" subtle></auro-icon> subtle<br /> | ||
<auro-icon category="interface" name="pin-trip" success></auro-icon> success<br /> | ||
<auro-icon category="interface" name="pin-trip" tertiary></auro-icon>tertiary<br /> | ||
<auro-icon category="interface" name="pin-trip" warning></auro-icon> warning |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
<!-- | ||
Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license | ||
See LICENSE in the project root for license information. | ||
HTML in this document is standardized and NOT to be edited. | ||
All demo code should be added/edited in ./demo/index.md | ||
With the exception of adding custom elements if needed for the demo. | ||
----------------------- DO NOT EDIT ----------------------------- | ||
--> | ||
|
||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Auro Web Component Generator | auro-icon custom element</title> | ||
<link | ||
rel="stylesheet" | ||
type="text/css" | ||
href="https://cdn.jsdelivr.net/npm/[email protected]/themes/prism.css" | ||
/> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@latest/dist/tokens/CSSCustomProperties.css"> | ||
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@latest/dist/demoWrapper.css" /> | ||
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@latest/dist/elementDemoStyles.css" /> | ||
</head> | ||
<body class="auro-markdown"> | ||
<main></main> | ||
|
||
<script type="module"> | ||
import 'https://cdn.jsdelivr.net/npm/marked@latest/marked.min.js'; | ||
import 'https://cdn.jsdelivr.net/npm/prismjs@latest/prism.js'; | ||
fetch('/demo/alaska.md') | ||
.then((response) => response.text()) | ||
.then((text) => { | ||
const rawHtml = marked.parse(text); | ||
document.querySelector('main').innerHTML = rawHtml; | ||
Prism.highlightAll(); | ||
}); | ||
</script> | ||
<script type="module" data-demo-script="true" src="../src/auro-alaska.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> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.