Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

docs: restyle docs to be more "Truffley" #4035

Closed
wants to merge 82 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
82 commits
Select commit Hold shift + click to select a range
b52cbf9
chore: remove support for Node.js v12 (#3705)
davidmurdoch Sep 23, 2022
3868ea1
chore: upgrade @ethereumjs/vm to v6.0.0 (#3656)
MicaiahReid Sep 23, 2022
a0c4e74
feat: add support for the `merge` hardfork (#3658)
davidmurdoch Sep 23, 2022
fb6d37d
refactor: remove tech-debt added during ejs upgrade (#3776)
MicaiahReid Nov 30, 2022
d0b366f
fix white space in package-lock
MicaiahReid Nov 30, 2022
c48c4fe
clean up todo comments
MicaiahReid Nov 30, 2022
cf3d218
properly pass on the prefixCodeHashes options
MicaiahReid Nov 30, 2022
1c83066
remove timeouts
MicaiahReid Nov 30, 2022
fb68a01
remove comment
MicaiahReid Dec 1, 2022
d334449
simplify conversion
MicaiahReid Dec 1, 2022
0f784c8
revert style; keep types
MicaiahReid Dec 1, 2022
ba31379
set "merge" as default hardfork
MicaiahReid Dec 1, 2022
fe1122b
update tests to have "merge" as default hardfork
MicaiahReid Dec 1, 2022
d4862ed
Apply suggestions from code review
MicaiahReid Dec 1, 2022
2d27cae
shrinkwrap
MicaiahReid Dec 2, 2022
44290fd
shrinkwrap formatting
MicaiahReid Dec 2, 2022
89fdb47
shrinkwrap again
MicaiahReid Dec 2, 2022
d4325e8
Merge branch 'develop' into the-merge
MicaiahReid Dec 2, 2022
799eb09
fix package-lock whitespace
MicaiahReid Dec 2, 2022
0bc1de7
str8 to big int, dog
MicaiahReid Dec 6, 2022
3ffe434
add test for truncating address
MicaiahReid Dec 6, 2022
e03d24d
convert RuntimeBlock gas params to Quantity
MicaiahReid Dec 6, 2022
4608785
use nullish coalescing operator
MicaiahReid Dec 6, 2022
d62a8f0
don't convert like that, silly
MicaiahReid Dec 6, 2022
6d936f8
load ganache with cdn
MicaiahReid Dec 6, 2022
461fbdd
set up IntersectionalObserver to load editor as it becomes visible
MicaiahReid Dec 6, 2022
30f3daf
fix some styles
MicaiahReid Dec 6, 2022
a3f14ec
change order of hiding/unhiding elements
MicaiahReid Dec 8, 2022
612fe8b
add missing truffle colors
MicaiahReid Dec 8, 2022
8e579d9
define ganache-colors monaco theme
MicaiahReid Dec 8, 2022
7b06cf8
upgrade monaco
MicaiahReid Dec 8, 2022
7c0de91
fix line-height formula
MicaiahReid Dec 8, 2022
630b563
little bita css
MicaiahReid Dec 8, 2022
67459ea
fix evm_removeAccount docs example
MicaiahReid Dec 8, 2022
1bed2e6
fix web3_sha3 docs example
MicaiahReid Dec 8, 2022
f86e387
fix eth_sendRawTransaction docs example
MicaiahReid Dec 8, 2022
a2cc30a
fix personal_sendTransaction docs example
MicaiahReid Dec 8, 2022
e44d726
fix txpool_content docs example
MicaiahReid Dec 8, 2022
f784f9a
update custom theme
MicaiahReid Dec 9, 2022
ce200bf
load editor above and below intersected element
MicaiahReid Dec 9, 2022
2286891
add preamble
MicaiahReid Dec 9, 2022
4565a94
some css
MicaiahReid Dec 9, 2022
100cd85
add category tag to api docs
MicaiahReid Dec 9, 2022
dd26724
group navbar by category
MicaiahReid Dec 9, 2022
0b743f9
fix sidebar spacing
MicaiahReid Dec 9, 2022
2804943
fix source code links
MicaiahReid Dec 9, 2022
6dcbc32
fix docs builder to not use typedoc category
MicaiahReid Dec 12, 2022
9305fa4
fix evm_setTime example
MicaiahReid Dec 12, 2022
36d3541
remove category tags
MicaiahReid Dec 12, 2022
34c7472
styling things
MicaiahReid Dec 12, 2022
0c762d6
add in some logos
MicaiahReid Dec 12, 2022
390d377
fix editor spacings
MicaiahReid Dec 12, 2022
9b41c13
point to commit hash
MicaiahReid Dec 14, 2022
08d411a
remove CI check. add try/catch
MicaiahReid Dec 14, 2022
40d3e4d
change var name
MicaiahReid Dec 14, 2022
6ad8b95
ci tests
MicaiahReid Dec 14, 2022
c42b5d1
more ci tests
MicaiahReid Dec 14, 2022
c3f3628
fix casing
MicaiahReid Dec 14, 2022
cca8b68
remove logging
MicaiahReid Dec 14, 2022
406439f
rename logs to ganache logs
MicaiahReid Dec 14, 2022
05de060
put CI stuff back
MicaiahReid Dec 14, 2022
b1e44bd
remove newline char in function return types (regex)
MicaiahReid Dec 14, 2022
68792d5
remove logging
MicaiahReid Dec 14, 2022
b9223ac
use latest ganache version
MicaiahReid Dec 14, 2022
300ed98
add chevron/styling to sidebar links
MicaiahReid Dec 14, 2022
146d635
fix sidebar formatting
MicaiahReid Dec 14, 2022
5f7abd1
add better/more robust css for light theme
MicaiahReid Dec 14, 2022
3be9b8e
fix/format main ganache link
MicaiahReid Dec 14, 2022
3815ce9
add header action buttons
MicaiahReid Dec 14, 2022
688ddac
change color themes onclick of button
MicaiahReid Dec 14, 2022
eba51ef
position sandwich button
MicaiahReid Dec 14, 2022
663fd61
add js for switching color themes
MicaiahReid Dec 14, 2022
8d95edd
position button
MicaiahReid Dec 14, 2022
9c062d9
link to github readme
MicaiahReid Dec 14, 2022
20967cc
add titles to links/alts to imgs
MicaiahReid Dec 14, 2022
d089d79
Merge branch 'develop' into docs-perf
MicaiahReid Dec 14, 2022
d485626
remove provider.once("message") from api examples
MicaiahReid Dec 14, 2022
bb0c046
update readmes
MicaiahReid Dec 14, 2022
c97c9ca
disable context menu
MicaiahReid Dec 14, 2022
9ea2035
Style in line with Truffle Dashboard
OnlyOneJMJQ Dec 15, 2022
0b859b8
Remove problematic padding in monaco view-lines
OnlyOneJMJQ Dec 15, 2022
834aa98
Merge branch 'docs-perf' into docs-styling
davidmurdoch Dec 16, 2022
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
8 changes: 2 additions & 6 deletions docs/assets/css/highlight-truffle.css
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
font-family: "Open sans";
transform: translate(-3vw, calc(-100% + 3.05vw));
padding: 0.5vw 1vw 3vw;
text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.5);
/* text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.5); */
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should probs delete this I guess?

Suggested change
/* text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.5); */

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Totally. I just commented this out initially because I was unsure if it aided readability in dark mode (I was primarily working in light mode at the time).

box-shadow: 0 -1px 1px rgba(224, 191, 168, 1);
}
.code-inner {
Expand All @@ -65,7 +65,7 @@
*:not(pre) > code,
.hljs {
font-family: "Share Tech Mono", monospace;
text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.7);
/* text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.7); */
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
/* text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.7); */

}
.hljs {
overflow: visible;
Expand Down Expand Up @@ -130,10 +130,6 @@
color: var(--light-turquoise);
}

.hljs-built_in {
color: var(--medium-dark-turquoise);
}

.hljs-symbol,
.hljs-bullet,
.hljs-variable,
Expand Down
Loading