diff --git a/docs/user-documentation/pss.md b/docs/user-documentation/pss.md index 55f2c068..da451ad2 100644 --- a/docs/user-documentation/pss.md +++ b/docs/user-documentation/pss.md @@ -14,7 +14,7 @@ PSS provides a pub-sub facility that can be used for a variety of tasks. Nodes a The intended use of PSS is to communicate privately with a publicly known identity (to for example initiate further communication directly). Due to the cost of mining the trojan chunks, it is not recommended to use as an instant messaging system. -:::warn Light nodes are unreachable +:::caution Light nodes are unreachable Be aware! You can not send message to Light nodes! This is because light nodes does not fully participate in the data exchange in Swarm network and hence the message won't arrive to them. ::: diff --git a/docusaurus.config.js b/docusaurus.config.js index 91c4b683..b95d08a9 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -110,7 +110,7 @@ module.exports = { : "https://github.com/ethersphere/bee-js-docs", }, theme: { - customCss: require.resolve("./src/css/custom.css"), + customCss: [require.resolve("./src/css/custom.css")], }, }, ], diff --git a/src/css/custom.css b/src/css/custom.css index 23e16be8..230e4611 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -24,6 +24,7 @@ --ifm-code-font-size: 95%; --ifm-footer-background-color: #242424 !important ; --ifm-font-color-base-inverse: #fafafa !important; + --ifm-alert-foreground-color: white !important; } @@ -114,6 +115,10 @@ h1{ background: #D0131F; } +.alert--warning{ + background: #eab700; +} + .alert--info{ background: #2CAA5F; } @@ -123,6 +128,20 @@ h1{ background: #4AA8DF; } +.alert{ + color: white !important; + border: none !important; +} + +.admonition-icon svg{ + fill: white !important; +} + +.alert a{ + color: white !important; + text-decoration-color: white!important; +} + code{ color: rgb(191, 199, 213); }