Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: samples #1350

Closed
wants to merge 64 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
ad956ba
docs: add sample shortcode
bennypowers Nov 16, 2023
deaeb6f
docs(card): add html sample
bennypowers Nov 16, 2023
ec59760
docs(timestamp): add samples
bennypowers Nov 16, 2023
25426b8
docs(timestamp): remove sample from do-not-do
bennypowers Nov 16, 2023
c9dfd89
docs: more nice
bennypowers Nov 16, 2023
f25e241
docs: nicer
bennypowers Nov 16, 2023
4f77ff4
docs: nice
bennypowers Nov 16, 2023
ecb7c6b
docs: sample with codeblock
bennypowers Nov 16, 2023
dc6a7e9
fix: codeblock in grid
bennypowers Nov 16, 2023
ca3f8fc
Merge branch 'main' into card/docs/sample
bennypowers Nov 21, 2023
b2b5fc6
docs(tabs): real-world demo
bennypowers Nov 23, 2023
1be82b7
docs: organize readme
bennypowers Nov 23, 2023
4339770
fix(codeblock): allow pre-rendered
bennypowers Nov 23, 2023
fa198ff
docs: card guidelines samples
bennypowers Nov 23, 2023
92c8989
docs: sample dsd element
bennypowers Nov 23, 2023
e58c152
docs: wip card samples
bennypowers Nov 23, 2023
4219848
fix(card): first child
bennypowers Nov 23, 2023
ce05c02
docs: fix sample footnote
bennypowers Nov 23, 2023
6bb0532
docs(card): usage: grouping
bennypowers Nov 23, 2023
0d540c8
docs(card): behaviour: height
bennypowers Nov 23, 2023
f82156d
docs: fix sample shortcode
bennypowers Nov 23, 2023
6a3762e
docs: sample element
bennypowers Nov 24, 2023
37b9716
docs: sample columns
bennypowers Nov 24, 2023
ce875ab
docs: fix
bennypowers Nov 24, 2023
1b43c66
docs: card
bennypowers Nov 24, 2023
6bf2641
docs: card samples
bennypowers Nov 24, 2023
844136b
docs: card style
bennypowers Nov 26, 2023
9e49de0
docs(accordion): some samples
bennypowers Nov 26, 2023
5a78617
docs: import sample on call
bennypowers Nov 30, 2023
c0e312e
Merge branch 'main' into card/docs/sample
bennypowers Dec 5, 2023
0a0ec2b
fix(alert): inline styles
bennypowers Dec 5, 2023
5988560
docs: sample styles
bennypowers Dec 5, 2023
d10b065
fix(alert): case-insensitive variants
bennypowers Dec 5, 2023
6b8ee4a
fix(alert): make toast variants always dismissable
bennypowers Dec 5, 2023
7daa731
docs: simplify sample shortcode
bennypowers Dec 5, 2023
50109d5
fix(alert): header-only layout
bennypowers Dec 5, 2023
512d321
docs(alert): samples
bennypowers Dec 5, 2023
6c5ee54
fix(alert): header content
bennypowers Dec 5, 2023
935a0d6
docs: sample code blocks
bennypowers Dec 5, 2023
df72ebb
docs(audio-player): wip samples
bennypowers Dec 6, 2023
a07ca6f
Merge branch 'main' into card/docs/sample
bennypowers Dec 6, 2023
aa6de1a
Merge remote-tracking branch 'refs/remotes/origin/card/docs/sample' i…
bennypowers Dec 13, 2023
a06801b
Merge branch 'main' into card/docs/sample
bennypowers Dec 13, 2023
ff0e94e
docs: sample shortcode improvements
bennypowers Dec 13, 2023
511dbb7
docs(audio-player): sizes demo
bennypowers Dec 13, 2023
f46a9fd
docs(audio-player): style samples
bennypowers Dec 13, 2023
1ca6096
style(audio-player): formatting
bennypowers Dec 13, 2023
470f2e7
docs(audio-player): samples
bennypowers Dec 13, 2023
b7e50f9
Merge branch 'main' into card/docs/sample
bennypowers Dec 13, 2023
365fd0f
Merge branch 'main' into card/docs/sample
bennypowers Jan 4, 2024
9f7bc3e
docs: code-sample element
bennypowers Jan 8, 2024
5445670
Merge branch 'main' of github.com:RedHat-UX/red-hat-design-system int…
brianferry Jan 8, 2024
dce174d
feat: wip uxdot-anatomy-sample
bennypowers Jan 8, 2024
791cf6f
docs: dedupe icon code
bennypowers Jan 10, 2024
dce9fb3
docs: add `target` to sample shortcode
bennypowers Jan 10, 2024
86c930a
docs(accordion): picker target
bennypowers Jan 10, 2024
dd2c104
docs: use danger colour for "dont" samples
bennypowers Jan 10, 2024
75bc9d1
Merge branch 'main' into card/docs/sample
bennypowers Jan 10, 2024
179cb97
docs: tooltippy anatomy sample
bennypowers Jan 10, 2024
9b5151d
Merge branch 'main' into card/docs/sample
bennypowers Jan 10, 2024
fb6db0b
Merge branch 'main' into card/docs/sample
zeroedin Jan 26, 2024
849014e
docs: hold off on anatomy sample
bennypowers Jan 28, 2024
a23d287
docs: revert samples on style page for now
bennypowers Jan 29, 2024
aab12da
Merge branch 'main' into card/docs/sample
bennypowers Feb 13, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
docs: use danger colour for "dont" samples
  • Loading branch information
bennypowers committed Jan 10, 2024
commit dd2c104f0428afa6eb99688fd8ac69e7d34fa2fd
5 changes: 3 additions & 2 deletions docs/_plugins/shortcodes/sample.cjs
Original file line number Diff line number Diff line change
@@ -68,7 +68,7 @@ module.exports = function(eleventyConfig) {
gap: var(--rh-space-md);
grid-template-columns: repeat(var(--columns), 1fr);
:host(.dont) & {
border-color: var(--rh-color-red-500);
border-color: var(--rh-color-red-orange-50);
}
@media (min-width: 992px) { /* --rh-media-md */
padding: var(--rh-space-7xl);
@@ -81,10 +81,11 @@ module.exports = function(eleventyConfig) {
inset-inline-start: 1em;
}
pf-icon.dont {
color: var(--rh-color-red-500);
color: var(--rh-color-red-orange-50);
position: absolute;
inset-block-start: var(--rh-space-xl);
inset-inline-start: var(--rh-space-sm);
z-index: 1;
}
slot[name="code"] {
display: block;
Loading