feat: add react.md cheatsheet.

This commit is contained in:
jaywcjlove
2022-10-04 00:56:09 +08:00
parent 5279d3082e
commit 0f5128ebd9
6 changed files with 836 additions and 7 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);
}