-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: theme tokens * docs: theme * fix: fallbacks * fix: markdown descriptions * refactor: actions * docs: typos * docs: tokens * feat: icon, text-brand, etc * fix: nested tokens under theme * docs: theme stuff * fix: don't use multiple colors in css * docs: nice md * docs: nice md * docs: nicer sample * docs: fix samp * docs: fix samp * docs: fix sampe * docs: fix demo * docs: more content * docs: fancier demo * docs: title and icon * fix: border and status token names * chore: node version * fix(editor): fix color snippets * fix: interactive and status tokens * fix: textmate comments * perf: reduce size of copyright header * feat: rhds context output * fix: docs, interactive tokens * docs: config * feat: cjs plugin for stylelint * fix: build steps * fix: esm stylelint headache * fix: surface computed * fix: nullify computed tokens in map * fix(stylelint): better fix, messages * feat(stylelint): deprecated rule * fix: restore and deprecate interactive colours * fix: shadow tokens * docs: changesets * style: whitespace * docs: nice theme demo * docs: nice font samples * docs: btt
- Loading branch information
1 parent
03cf444
commit 9d914cc
Showing
56 changed files
with
5,562 additions
and
2,391 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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
"@rhds/tokens": minor | ||
--- | ||
|
||
✨ Added interactive tokens, and **DEPRECATES** the older interactive tokens | ||
|
||
```diff | ||
- color: var(--rh-color-interactive-blue-darker); | ||
+ color: var(--rh-color-interactive-primary-default-on-light); | ||
- color: var(--rh-color-interactive-purple-darker); | ||
+ color: var(--rh-color-interactive-primary-visited-default-on-light); | ||
``` |
This file was deleted.
Oops, something went wrong.
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,34 @@ | ||
--- | ||
"@rhds/tokens": minor | ||
--- | ||
Added theme tokens for responsive colours. Read these in a themable container | ||
such as `<rh-card>` to style themable content that responds to the color palette | ||
|
||
```html | ||
<rh-surface color-palette="lighter"> | ||
<p>Use <a href="#">theme tokens</a> for best results.<p> | ||
<rh-card color-palette="darkest"> | ||
<p>That way, colours respond to their parents' <code>color-palette</code> | ||
Without requiring <a href="#">custom CSS</a></p> | ||
</rh-card> | ||
</rh-surface> | ||
``` | ||
|
||
```css | ||
rh-surface { | ||
& a { | ||
color: var(--rh-color-interactive-primary-default); | ||
&:hover { color: var(--rh-color-interactive-primary-hover); } | ||
&:focus-within { color: var(--rh-color-interactive-primary-focus); } | ||
&:active { color: var(--rh-color-interactive-primary-active); } | ||
&:visited { | ||
color: var(--rh-color-interactive-primary-visited); | ||
&:hover { color: var(--rh-color-interactive-primary-visited-hover); } | ||
&:focus-within { color: var(--rh-color-interactive-primary-visited-focus); } | ||
&:active { color: var(--rh-color-interactive-primary-visited-active); } | ||
} | ||
} | ||
} | ||
``` | ||
|
||
For more information, please see our [theming docs](https://ux.redhat.com/themeing). |
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
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
v22.6.0 | ||
v22.7.0 |
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.