Skip to content

Commit dc67e50

Browse files
authored
83 Blue color of dark-mode code-block (#84)
* make `--darkBlue` more visible * improve grammar in docs
1 parent c49557b commit dc67e50

File tree

3 files changed

+29
-2
lines changed

3 files changed

+29
-2
lines changed

docs/src/demo.rst

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,33 @@ Caption
7171
def say_hello():
7272
print("hello world!")
7373
74+
Syntax highlighting
75+
~~~~~~~~~~~~~~~~~~~
76+
77+
An example of how syntax highlighting looks for various bits of code:
78+
79+
.. code-block:: python
80+
81+
a = 1
82+
print(a)
83+
84+
85+
def hello_world():
86+
print("hello world!")
87+
88+
89+
class Greeting():
90+
def __init__(self, message: str):
91+
self.message = message
92+
93+
def greeting(self):
94+
print(self.message)
95+
96+
97+
if __name__ == '__main__':
98+
greeting = Greeting(message="hello world")
99+
greeting.greeting()
100+
74101
-------------------------------------------------------------------------------
75102

76103
Tables

piccolo_theme/static/basic_mod.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/sass/basic_mod.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -993,7 +993,7 @@ div.button_nav_wrapper {
993993
.highlight {
994994
--black: #000000;
995995
--red: #ff9393;
996-
--darkBlue: #3a37ff;
996+
--darkBlue: #6b83fe;
997997
--grey: #a8a8a8;
998998
--pink: #ff99d8;
999999
--torquoise: #68e9e9;

0 commit comments

Comments
 (0)