feat: add react.md cheatsheet. 0f5128ebd9

This commit is contained in:
jaywcjlove
2022-10-03 16:56:52 +00:00
parent 82a05113d5
commit 0e968d7e74
5 changed files with 684 additions and 8 deletions

View File

@ -605,6 +605,10 @@ body:not(.home) .h2wrap > h2 a::after {
box-shadow: 0 0 #0000, 0 0 #0000, 0 6px 8px rgba(102,119,136,0.03),0 1px 2px rgba(102,119,136,0.3);
}
.h2wrap-body > .wrap .wrap-body > *:last-child {
border-radius: 0 0 0.5rem 0.5rem;
}
.code-highlight {
display: block;
overflow-x: auto;
@ -697,7 +701,7 @@ body:not(.home) .h2wrap > h2 a::after {
color: var(--color-prettylights-syntax-entity-tag);
}
.token.maybe-class-name {
color: var(--color-prettylights-syntax-variable);
color: var(--color-prettylights-syntax-entity);
}
.token.property-access, .token.operator, .token.boolean, .token.number, .token.selector .token.class, .token.attr-name, .token.string, .token.char, .token.builtin {
color: var(--color-prettylights-syntax-constant);
@ -733,6 +737,9 @@ body:not(.home) .h2wrap > h2 a::after {
.token.rule, .token.regex, .token.important, .token.keyword {
color: var(--color-prettylights-syntax-keyword);
}
.token.module {
color: var(--color-prettylights-syntax-variable);
}
.token.coord {
color: var(--color-prettylights-syntax-meta-diff-range);
}