munchboka-edutools 0.1.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (150) hide show
  1. munchboka_edutools/__init__.py +182 -0
  2. munchboka_edutools/_plotmath_shim.py +126 -0
  3. munchboka_edutools/_version.py +2 -0
  4. munchboka_edutools/directives/__init__.py +1 -0
  5. munchboka_edutools/directives/admonitions.py +356 -0
  6. munchboka_edutools/directives/cas_popup.py +272 -0
  7. munchboka_edutools/directives/dialogue.py +137 -0
  8. munchboka_edutools/directives/escape_room.py +296 -0
  9. munchboka_edutools/directives/factor_tree.py +549 -0
  10. munchboka_edutools/directives/ggb.py +209 -0
  11. munchboka_edutools/directives/ggb_icon.py +62 -0
  12. munchboka_edutools/directives/ggb_popup.py +165 -0
  13. munchboka_edutools/directives/horner.py +324 -0
  14. munchboka_edutools/directives/interactive_code.py +75 -0
  15. munchboka_edutools/directives/jeopardy.py +252 -0
  16. munchboka_edutools/directives/multi_plot.py +1126 -0
  17. munchboka_edutools/directives/pair_puzzle.py +191 -0
  18. munchboka_edutools/directives/parsons.py +109 -0
  19. munchboka_edutools/directives/plot.py +3012 -0
  20. munchboka_edutools/directives/poly_icon.py +91 -0
  21. munchboka_edutools/directives/polydiv.py +344 -0
  22. munchboka_edutools/directives/quiz.py +291 -0
  23. munchboka_edutools/directives/signchart.py +474 -0
  24. munchboka_edutools/directives/timed_quiz.py +436 -0
  25. munchboka_edutools/directives/turtle.py +157 -0
  26. munchboka_edutools/static/css/admonitions.css +2012 -0
  27. munchboka_edutools/static/css/cas_popup.css +242 -0
  28. munchboka_edutools/static/css/code_mirror_themes/github_dark_cm.css +112 -0
  29. munchboka_edutools/static/css/code_mirror_themes/github_dark_default_cm.css +40 -0
  30. munchboka_edutools/static/css/code_mirror_themes/github_dark_high_contrast_cm.css +141 -0
  31. munchboka_edutools/static/css/code_mirror_themes/github_light_cm.css +120 -0
  32. munchboka_edutools/static/css/code_mirror_themes/github_light_default_cm.css +108 -0
  33. munchboka_edutools/static/css/code_mirror_themes/one_dark_cm.css +121 -0
  34. munchboka_edutools/static/css/dialogue.css +92 -0
  35. munchboka_edutools/static/css/escapeRoom/escape-room.css +223 -0
  36. munchboka_edutools/static/css/figures.css +274 -0
  37. munchboka_edutools/static/css/general_style.css +74 -0
  38. munchboka_edutools/static/css/github-dark-high-contrast.css +141 -0
  39. munchboka_edutools/static/css/github-dark.css +112 -0
  40. munchboka_edutools/static/css/github-light.css +120 -0
  41. munchboka_edutools/static/css/interactive_code/style.css +575 -0
  42. munchboka_edutools/static/css/interactive_code.css +582 -0
  43. munchboka_edutools/static/css/jeopardy.css +476 -0
  44. munchboka_edutools/static/css/pairPuzzle/style.css +177 -0
  45. munchboka_edutools/static/css/parsons/parsonsPuzzle.css +331 -0
  46. munchboka_edutools/static/css/quiz.css +312 -0
  47. munchboka_edutools/static/css/timedQuiz.css +375 -0
  48. munchboka_edutools/static/icons/ggb/mode_evaluate.svg +1 -0
  49. munchboka_edutools/static/icons/ggb/mode_extremum.svg +1 -0
  50. munchboka_edutools/static/icons/ggb/mode_intersect.svg +1 -0
  51. munchboka_edutools/static/icons/ggb/mode_nsolve.svg +1 -0
  52. munchboka_edutools/static/icons/ggb/mode_numeric.svg +1 -0
  53. munchboka_edutools/static/icons/ggb/mode_point.svg +1 -0
  54. munchboka_edutools/static/icons/ggb/mode_solve.svg +1 -0
  55. munchboka_edutools/static/icons/misc/windows-logo.svg +1 -0
  56. munchboka_edutools/static/icons/outline/dark_mode/academic.svg +3 -0
  57. munchboka_edutools/static/icons/outline/dark_mode/backward.svg +3 -0
  58. munchboka_edutools/static/icons/outline/dark_mode/book.svg +3 -0
  59. munchboka_edutools/static/icons/outline/dark_mode/chat_bubble.svg +3 -0
  60. munchboka_edutools/static/icons/outline/dark_mode/check.svg +3 -0
  61. munchboka_edutools/static/icons/outline/dark_mode/cmd_line.svg +3 -0
  62. munchboka_edutools/static/icons/outline/dark_mode/file.svg +1 -0
  63. munchboka_edutools/static/icons/outline/dark_mode/fire.svg +4 -0
  64. munchboka_edutools/static/icons/outline/dark_mode/key.svg +3 -0
  65. munchboka_edutools/static/icons/outline/dark_mode/magnifying.svg +3 -0
  66. munchboka_edutools/static/icons/outline/dark_mode/pencil_square.svg +3 -0
  67. munchboka_edutools/static/icons/outline/dark_mode/play.svg +3 -0
  68. munchboka_edutools/static/icons/outline/dark_mode/question.svg +3 -0
  69. munchboka_edutools/static/icons/outline/dark_mode/square_check.svg +1 -0
  70. munchboka_edutools/static/icons/outline/dark_mode/stop.svg +3 -0
  71. munchboka_edutools/static/icons/outline/dark_mode/summary.svg +3 -0
  72. munchboka_edutools/static/icons/outline/dark_mode/undo.svg +3 -0
  73. munchboka_edutools/static/icons/outline/dark_mode/unlock.svg +3 -0
  74. munchboka_edutools/static/icons/outline/light_mode/academic.svg +3 -0
  75. munchboka_edutools/static/icons/outline/light_mode/backward.svg +3 -0
  76. munchboka_edutools/static/icons/outline/light_mode/book.svg +3 -0
  77. munchboka_edutools/static/icons/outline/light_mode/chat_bubble.svg +3 -0
  78. munchboka_edutools/static/icons/outline/light_mode/check.svg +3 -0
  79. munchboka_edutools/static/icons/outline/light_mode/cmd_line.svg +3 -0
  80. munchboka_edutools/static/icons/outline/light_mode/file.svg +1 -0
  81. munchboka_edutools/static/icons/outline/light_mode/fire.svg +4 -0
  82. munchboka_edutools/static/icons/outline/light_mode/key.svg +3 -0
  83. munchboka_edutools/static/icons/outline/light_mode/magnifying.svg +3 -0
  84. munchboka_edutools/static/icons/outline/light_mode/pencil_square.svg +3 -0
  85. munchboka_edutools/static/icons/outline/light_mode/play.svg +3 -0
  86. munchboka_edutools/static/icons/outline/light_mode/question.svg +3 -0
  87. munchboka_edutools/static/icons/outline/light_mode/square_check.svg +1 -0
  88. munchboka_edutools/static/icons/outline/light_mode/stop.svg +3 -0
  89. munchboka_edutools/static/icons/outline/light_mode/summary.svg +3 -0
  90. munchboka_edutools/static/icons/outline/light_mode/undo.svg +3 -0
  91. munchboka_edutools/static/icons/outline/light_mode/unlock.svg +3 -0
  92. munchboka_edutools/static/icons/polyicons/cubicdown.svg +3 -0
  93. munchboka_edutools/static/icons/polyicons/cubicup.svg +3 -0
  94. munchboka_edutools/static/icons/polyicons/frown.svg +3 -0
  95. munchboka_edutools/static/icons/polyicons/smile.svg +3 -0
  96. munchboka_edutools/static/icons/solid/dark_mode/academic.svg +5 -0
  97. munchboka_edutools/static/icons/solid/dark_mode/backward.svg +3 -0
  98. munchboka_edutools/static/icons/solid/dark_mode/book.svg +3 -0
  99. munchboka_edutools/static/icons/solid/dark_mode/brain.svg +1 -0
  100. munchboka_edutools/static/icons/solid/dark_mode/file.svg +1 -0
  101. munchboka_edutools/static/icons/solid/dark_mode/fire.svg +3 -0
  102. munchboka_edutools/static/icons/solid/dark_mode/key.svg +3 -0
  103. munchboka_edutools/static/icons/solid/dark_mode/pencil_square.svg +4 -0
  104. munchboka_edutools/static/icons/solid/dark_mode/play.svg +3 -0
  105. munchboka_edutools/static/icons/solid/dark_mode/python.svg +1 -0
  106. munchboka_edutools/static/icons/solid/dark_mode/scroll.svg +1 -0
  107. munchboka_edutools/static/icons/solid/dark_mode/stop.svg +3 -0
  108. munchboka_edutools/static/icons/solid/light_mode/academic.svg +5 -0
  109. munchboka_edutools/static/icons/solid/light_mode/backward.svg +3 -0
  110. munchboka_edutools/static/icons/solid/light_mode/book.svg +3 -0
  111. munchboka_edutools/static/icons/solid/light_mode/brain.svg +1 -0
  112. munchboka_edutools/static/icons/solid/light_mode/file.svg +1 -0
  113. munchboka_edutools/static/icons/solid/light_mode/fire.svg +3 -0
  114. munchboka_edutools/static/icons/solid/light_mode/key.svg +3 -0
  115. munchboka_edutools/static/icons/solid/light_mode/pencil_square.svg +4 -0
  116. munchboka_edutools/static/icons/solid/light_mode/play.svg +3 -0
  117. munchboka_edutools/static/icons/solid/light_mode/python.svg +1 -0
  118. munchboka_edutools/static/icons/solid/light_mode/scroll.svg +1 -0
  119. munchboka_edutools/static/icons/solid/light_mode/stop.svg +3 -0
  120. munchboka_edutools/static/icons/stickers/edit.svg +1 -0
  121. munchboka_edutools/static/icons/stickers/pencil_square.svg +3 -0
  122. munchboka_edutools/static/js/casThemeManager.js +99 -0
  123. munchboka_edutools/static/js/escapeRoom/escape-room.js +219 -0
  124. munchboka_edutools/static/js/geogebra-setup.js +6 -0
  125. munchboka_edutools/static/js/highlight-init.js +6 -0
  126. munchboka_edutools/static/js/interactiveCode/codeEditor.js +632 -0
  127. munchboka_edutools/static/js/interactiveCode/interactiveCodeSetup.js +348 -0
  128. munchboka_edutools/static/js/interactiveCode/pythonRunner.js +336 -0
  129. munchboka_edutools/static/js/interactiveCode/turtleCode.js +203 -0
  130. munchboka_edutools/static/js/interactiveCode/workerManager.js +353 -0
  131. munchboka_edutools/static/js/interactive_code/codeEditor.js +662 -0
  132. munchboka_edutools/static/js/interactive_code/interactiveCodeSetup.js +252 -0
  133. munchboka_edutools/static/js/interactive_code/pythonRunner.js +145 -0
  134. munchboka_edutools/static/js/interactive_code/turtleCode.js +56 -0
  135. munchboka_edutools/static/js/interactive_code/workerManager.js +204 -0
  136. munchboka_edutools/static/js/jeopardy.js +457 -0
  137. munchboka_edutools/static/js/pairPuzzle/draggableItem.js +64 -0
  138. munchboka_edutools/static/js/pairPuzzle/dropZone.js +119 -0
  139. munchboka_edutools/static/js/pairPuzzle/game.js +160 -0
  140. munchboka_edutools/static/js/parsons/parsonsPuzzle.js +641 -0
  141. munchboka_edutools/static/js/quiz.js +422 -0
  142. munchboka_edutools/static/js/skulpt/skulpt.js +35721 -0
  143. munchboka_edutools/static/js/timedQuiz/multipleChoiceQuestion.js +184 -0
  144. munchboka_edutools/static/js/timedQuiz/timedMultipleChoiceQuiz.js +244 -0
  145. munchboka_edutools/static/js/timedQuiz/utils.js +6 -0
  146. munchboka_edutools/static/js/utils.js +3 -0
  147. munchboka_edutools-0.1.0.dist-info/METADATA +107 -0
  148. munchboka_edutools-0.1.0.dist-info/RECORD +150 -0
  149. munchboka_edutools-0.1.0.dist-info/WHEEL +4 -0
  150. munchboka_edutools-0.1.0.dist-info/licenses/LICENSE +21 -0
@@ -0,0 +1,242 @@
1
+ /* ========= GeoGebra CAS Button Styles ========= */
2
+
3
+ :root {
4
+ --cas-background-color-dark: #151822;
5
+ }
6
+
7
+ /* ========= GeoGebra Window Theme Styles ========= */
8
+ .highlight-geogebra {
9
+ color: black;
10
+ }
11
+
12
+ /* Light mode - normal GeoGebra colors */
13
+ [data-mode="light"] .ggb-window {
14
+ filter: invert(0%) !important; /* Normal */
15
+ }
16
+
17
+ @media (prefers-color-scheme: light) {
18
+ [data-mode="auto"] .ggb-window {
19
+ filter: invert(0%) !important;
20
+ }
21
+ }
22
+
23
+ /* Dark mode - invert GeoGebra colors */
24
+ [data-mode="dark"] .ggb-window {
25
+ filter: invert(100%) hue-rotate(180deg) !important; /* Invert colors for dark mode */
26
+ }
27
+
28
+ @media (prefers-color-scheme: dark) {
29
+ [data-mode="auto"] .ggb-window {
30
+ filter: invert(100%) hue-rotate(180deg) !important;
31
+ }
32
+ }
33
+
34
+ .ggb-cas-button {
35
+ background-color: #2ecc71;
36
+ color: black;
37
+ border: none;
38
+ padding: 10px 20px;
39
+ border-radius: 8px;
40
+ cursor: pointer;
41
+ font-weight: 600;
42
+ font-size: 0.95rem;
43
+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
44
+ transition: all 0.2s ease;
45
+ position: relative;
46
+ overflow: hidden;
47
+ }
48
+
49
+ .ggb-cas-button:hover {
50
+ background-color: #27ae60;
51
+ transform: translateY(-2px);
52
+ box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
53
+ }
54
+
55
+ .ggb-cas-button:active {
56
+ transform: translateY(1px);
57
+ box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
58
+ }
59
+
60
+ /* ========= Dialog Base Styles ========= */
61
+ .ui-dialog {
62
+ border-radius: 28px !important;
63
+ box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
64
+ border: none;
65
+ overflow: hidden;
66
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
67
+ transform: translateZ(0); /* Performance boost */
68
+ animation: dialogFadeIn 0.25s cubic-bezier(0.4, 0, 0.2, 1);
69
+ position: fixed !important;
70
+ z-index: 1000;
71
+ }
72
+
73
+
74
+ @keyframes dialogFadeIn {
75
+ from { opacity: 0; transform: translateY(-10px) scale(0.98); }
76
+ to { opacity: 1; transform: translateY(0) scale(1); }
77
+ }
78
+
79
+ .ui-dialog-titlebar {
80
+ padding: 16px 20px;
81
+ font-size: 1.1rem;
82
+ font-weight: 500;
83
+ border: none;
84
+ border-radius: 28px !important;
85
+ }
86
+
87
+ .ui-dialog-content {
88
+ padding: 16px 20px;
89
+ font-size: 16px;
90
+ line-height: 1.5;
91
+ }
92
+
93
+ /* ========= Close Button Styles ========= */
94
+ .ui-dialog-titlebar-close {
95
+ background-color: rgba(229, 57, 53, 0.9);
96
+ border-radius: 50%;
97
+ border: none;
98
+ width: 28px;
99
+ height: 28px;
100
+ position: absolute;
101
+ right: 12px;
102
+ top: 50%;
103
+ margin-top: -14px;
104
+ transition: all 0.2s ease;
105
+ outline: none;
106
+ cursor: pointer;
107
+ }
108
+
109
+ .ui-dialog-titlebar-close::before,
110
+ .ui-dialog-titlebar-close::after {
111
+ content: "";
112
+ position: absolute;
113
+ width: 14px;
114
+ height: 2px;
115
+ background-color: white;
116
+ top: 50%;
117
+ left: 50%;
118
+ }
119
+
120
+ .ui-dialog-titlebar-close::before {
121
+ transform: translate(-50%, -50%) rotate(45deg);
122
+ }
123
+
124
+ .ui-dialog-titlebar-close::after {
125
+ transform: translate(-50%, -50%) rotate(-45deg);
126
+ }
127
+
128
+ .ui-dialog-titlebar-close:hover {
129
+ background-color: rgba(229, 57, 53, 1);
130
+ transform: scale(1.1);
131
+ }
132
+
133
+ .ui-dialog-titlebar-close .ui-icon {
134
+ display: none;
135
+ }
136
+
137
+ /* ========= Light Mode Styles ========= */
138
+ [data-mode="light"] .ui-dialog {
139
+ background-color: white;
140
+ border: 1px solid rgba(0, 0, 0, 0.1);
141
+ }
142
+
143
+ [data-mode="light"] .ui-dialog-titlebar {
144
+ background-color: #f8f9fa;
145
+ color: #333;
146
+ border-bottom: 1px solid #eee;
147
+ }
148
+
149
+ [data-mode="light"] .ui-dialog-content {
150
+ background-color: white;
151
+ color: #333;
152
+ }
153
+
154
+ /* ========= Dark Mode Styles ========= */
155
+ [data-mode="dark"] .ui-dialog {
156
+ background-color: var(--cas-background-color-dark);
157
+ border: 1px solid rgba(255, 255, 255, 0.08);
158
+ }
159
+
160
+ [data-mode="dark"] .ui-dialog-titlebar {
161
+ background-color: var(--cas-background-color-dark);
162
+ color: #e6e6e6;
163
+ border-bottom: 1px solid rgba(255, 255, 255, 0.05);
164
+ }
165
+
166
+ [data-mode="dark"] .ui-dialog-content {
167
+ background-color: #252a33;
168
+ color: #e6e6e6;
169
+ }
170
+
171
+ [data-mode="dark"] .ui-dialog-titlebar-close {
172
+ background-color: rgba(244, 67, 54, 0.8);
173
+ }
174
+
175
+ [data-mode="dark"] .ui-dialog-titlebar-close:hover {
176
+ background-color: rgb(244, 67, 54);
177
+ }
178
+
179
+ /* ========= Auto Mode Styles (System Preference) ========= */
180
+ @media (prefers-color-scheme: light) {
181
+ [data-mode="auto"] .ui-dialog {
182
+ background-color: white;
183
+ border: 1px solid rgba(0, 0, 0, 0.1);
184
+ }
185
+
186
+ [data-mode="auto"] .ui-dialog-titlebar {
187
+ background-color: #f8f9fa;
188
+ color: #333;
189
+ border-bottom: 1px solid #eee;
190
+ }
191
+
192
+ [data-mode="auto"] .ui-dialog-content {
193
+ background-color: white;
194
+ color: #333;
195
+ }
196
+ }
197
+
198
+ @media (prefers-color-scheme: dark) {
199
+ [data-mode="auto"] .ui-dialog {
200
+ background-color: var(--cas-background-color-dark);
201
+ border: 1px solid rgba(255, 255, 255, 0.08);
202
+ }
203
+
204
+ [data-mode="auto"] .ui-dialog-titlebar {
205
+ background-color: var(--cas-background-color-dark);
206
+ color: #e6e6e6;
207
+ border-bottom: 1px solid rgba(255, 255, 255, 0.05);
208
+ }
209
+
210
+ [data-mode="auto"] .ui-dialog-content {
211
+ background-color: #252a33;
212
+ color: #e6e6e6;
213
+ }
214
+
215
+ [data-mode="auto"] .ui-dialog-titlebar-close {
216
+ background-color: rgba(244, 67, 54, 0.8);
217
+ }
218
+
219
+ [data-mode="auto"] .ui-dialog-titlebar-close:hover {
220
+ background-color: rgb(244, 67, 54);
221
+ }
222
+ }
223
+
224
+
225
+
226
+
227
+ /* Sidebar-style CAS button container */
228
+ .sidebar-cas {
229
+ float: right;
230
+ clear: right;
231
+ width: 200px;
232
+ margin: 0.5em 0 0.5em 0.5em;
233
+ padding: 0.5em;
234
+ background-color: var(--pst-color-surface, #f9f9f9);
235
+ border-left: 4px solid var(--pst-color-primary, #007ACC);
236
+ border-radius: 0.5em;
237
+ box-shadow: 0 0 5px rgba(0,0,0,0.1);
238
+ }
239
+
240
+ .sidebar-cas .ggb-cas-button {
241
+ width: 100%;
242
+ }
@@ -0,0 +1,112 @@
1
+ /* github-dark theme for CodeMirror */
2
+ .cm-s-github-dark.CodeMirror {
3
+ background-color: #0d1117;
4
+ color: #e6edf3;
5
+ }
6
+
7
+ .cm-s-github-dark .CodeMirror-gutters {
8
+ background-color: #0d1117;
9
+ border-right: 1px solid #30363d;
10
+ }
11
+
12
+ .cm-s-github-dark .CodeMirror-linenumber {
13
+ color: #6e7681;
14
+ }
15
+
16
+ .cm-s-github-dark .CodeMirror-cursor {
17
+ border-left: 1px solid #2f81f7;
18
+ }
19
+
20
+ .cm-s-github-dark .CodeMirror-selected {
21
+ background: #6e768166;
22
+ }
23
+
24
+ /* Token Colors */
25
+ .cm-s-github-dark .cm-comment {
26
+ color: #8b949e;
27
+ /* font-style: italic; */
28
+ }
29
+
30
+ .cm-s-github-dark .cm-error {
31
+ color: #f85149;
32
+ }
33
+
34
+ .cm-s-github-dark .cm-keyword {
35
+ color: #ff7b72;
36
+ }
37
+
38
+ .cm-s-github-dark .cm-operator {
39
+ color: #ff7b72;
40
+ font-weight: bold;
41
+ }
42
+
43
+ .cm-s-github-dark .cm-literal {
44
+ color: #a5d6ff;
45
+ }
46
+
47
+ .cm-s-github-dark .cm-variable {
48
+ color: #e6edf3;
49
+ }
50
+
51
+ .cm-s-github-dark .cm-punctuation {
52
+ color: #e6edf3;
53
+ }
54
+
55
+ .cm-s-github-dark .cm-number {
56
+ color: #a5d6ff;
57
+ }
58
+
59
+ .cm-s-github-dark .cm-string {
60
+ color: #a5d6ff;
61
+ }
62
+
63
+ .cm-s-github-dark .cm-variable-2 {
64
+ color: #e6edf3;
65
+ }
66
+
67
+ .cm-s-github-dark .cm-variable-3 {
68
+ color: #f0883e;
69
+ font-weight: bold;
70
+ }
71
+
72
+ .cm-s-github-dark .cm-atom {
73
+ color: #79c0ff;
74
+ font-weight: bold;
75
+ }
76
+
77
+ .cm-s-github-dark .cm-def {
78
+ color: #d2a8ff;
79
+ font-weight: bold;
80
+ }
81
+
82
+ .cm-s-github-dark .cm-tag {
83
+ color: #7ee787;
84
+ }
85
+
86
+ .cm-s-github-dark .cm-string-2 {
87
+ color: #a5d6ff;
88
+ }
89
+
90
+ /* Generic Styling */
91
+ .cm-s-github-dark .cm-em {
92
+ font-style: italic;
93
+ }
94
+
95
+ .cm-s-github-dark .cm-strong {
96
+ font-weight: bold;
97
+ }
98
+
99
+ .cm-s-github-dark .cm-header {
100
+ color: #79c0ff;
101
+ font-weight: bold;
102
+ }
103
+
104
+ .cm-s-github-dark .cm-quote {
105
+ color: #8b949e;
106
+ font-style: italic;
107
+ }
108
+
109
+ .cm-s-github-dark .cm-link {
110
+ color: #79c0ff;
111
+ text-decoration: underline;
112
+ }
@@ -0,0 +1,40 @@
1
+
2
+ .cm-s-github-dark-default.CodeMirror {
3
+ background-color: #0d1117;
4
+ color: #e6edf3;
5
+ }
6
+
7
+ .cm-s-github-dark-default .CodeMirror-gutters {
8
+ background-color: #0d1117;
9
+ border-right: 1px solid #30363d;
10
+ }
11
+
12
+
13
+ .cm-s-github-dark-default .CodeMirror-linenumber {
14
+ color: #6e7681;
15
+ }
16
+
17
+
18
+ .cm-s-github-dark-default .CodeMirror-selected {
19
+ background: #6e768166;
20
+ }
21
+
22
+
23
+
24
+ /* GitHub Dark Default Theme for CodeMirror */
25
+ .cm-s-github-dark-default .cm-keyword { color: #f97583; }
26
+ .cm-s-github-dark-default .cm-comment { color: #6a737d; }
27
+ .cm-s-github-dark-default .cm-string { color: #9ecbff; }
28
+ .cm-s-github-dark-default .cm-number { color: #79b8ff; }
29
+ .cm-s-github-dark-default .cm-def { color: #b392f0; } /* Functions */
30
+ .cm-s-github-dark-default .cm-variable { color: #e36209; }
31
+ .cm-s-github-dark-default .cm-operator { color: #f97583; }
32
+ .cm-s-github-dark-default .cm-meta { color: #6a737d; }
33
+ .cm-s-github-dark-default .cm-atom { color: #79b8ff; }
34
+ .cm-s-github-dark-default .cm-tag { color: #85e89d; }
35
+ .cm-s-github-dark-default .cm-attribute { color: #b392f0; }
36
+ .cm-s-github-dark-default .cm-qualifier { color: #f97583; }
37
+ .cm-s-github-dark-default .cm-builtin { color: #e36209; }
38
+ .cm-s-github-dark-default .cm-bracket { color: #f97583; }
39
+ .cm-s-github-dark-default .cm-link { color: #9ecbff; }
40
+ .cm-s-github-dark-default .cm-error { color: #f97583; }
@@ -0,0 +1,141 @@
1
+ /* General styles */
2
+ .cm-s-github-dark-high-contrast.CodeMirror {
3
+ background-color: #0d1117;
4
+ color: #C9D1D9;
5
+ }
6
+
7
+ /* Gutter styles */
8
+ .cm-s-github-dark-high-contrast .CodeMirror-gutters {
9
+ background: #0d1117;
10
+ border-right: 1px solid #C9D1D9;
11
+ }
12
+
13
+ .cm-s-github-dark-high-contrast .CodeMirror-linenumber {
14
+ color: #6e7781;
15
+ }
16
+
17
+ .cm-s-github-dark-high-contrast .CodeMirror-cursor {
18
+ border-left: 1px solid #C9D1D9;
19
+ }
20
+
21
+ /* Highlighted line */
22
+ .cm-s-github-dark-high-contrast .CodeMirror-activeline-background {
23
+ background: #58a6ff70;
24
+ }
25
+
26
+ /* Selection */
27
+ .cm-s-github-dark-high-contrast .CodeMirror-selected {
28
+ background: #58a6ff70;
29
+ }
30
+
31
+ /* Token styles */
32
+ .cm-s-github-dark-high-contrast .cm-comment {
33
+ color: #d9dee3;
34
+ }
35
+
36
+ .cm-s-github-dark-high-contrast .cm-error {
37
+ color: #ff9492;
38
+ }
39
+
40
+ .cm-s-github-dark-high-contrast .cm-keyword {
41
+ color: #ff9492;
42
+ }
43
+
44
+ .cm-s-github-dark-high-contrast .cm-atom {
45
+ color: #ffb757;
46
+ }
47
+
48
+ .cm-s-github-dark-high-contrast .cm-number {
49
+ color: #ffb757;
50
+ }
51
+
52
+ .cm-s-github-dark-high-contrast .cm-def {
53
+ color: #91cbff;
54
+ }
55
+
56
+ .cm-s-github-dark-high-contrast .cm-variable {
57
+ color: #dbb7ff;
58
+ }
59
+
60
+ .cm-s-github-dark-high-contrast .cm-variable-2 {
61
+ color: #ffb757;
62
+ }
63
+
64
+ .cm-s-github-dark-high-contrast .cm-variable-3 {
65
+ color: #ffb757;
66
+ }
67
+
68
+ .cm-s-github-dark-high-contrast .cm-property {
69
+ color: #91cbff;
70
+ }
71
+
72
+ .cm-s-github-dark-high-contrast .cm-operator {
73
+ color: #72f088;
74
+ }
75
+
76
+ .cm-s-github-dark-high-contrast .cm-punctuation {
77
+ color: #C9D1D9;
78
+ }
79
+
80
+ .cm-s-github-dark-high-contrast .cm-string {
81
+ color: #91cbff;
82
+ }
83
+
84
+ .cm-s-github-dark-high-contrast .cm-string-2 {
85
+ color: #91cbff;
86
+ }
87
+
88
+ .cm-s-github-dark-high-contrast .cm-meta {
89
+ color: #ffb757;
90
+ }
91
+
92
+ .cm-s-github-dark-high-contrast .cm-qualifier {
93
+ color: #ff9492;
94
+ }
95
+
96
+ .cm-s-github-dark-high-contrast .cm-builtin {
97
+ color: #ffb757;
98
+ }
99
+
100
+ .cm-s-github-dark-high-contrast .cm-bracket {
101
+ color: #C9D1D9;
102
+ }
103
+
104
+ .cm-s-github-dark-high-contrast .cm-tag {
105
+ color: #72f088;
106
+ }
107
+
108
+ .cm-s-github-dark-high-contrast .cm-attribute {
109
+ color: #ffb757;
110
+ }
111
+
112
+ .cm-s-github-dark-high-contrast .cm-hr {
113
+ color: #C9D1D9;
114
+ }
115
+
116
+ .cm-s-github-dark-high-contrast .cm-link {
117
+ color: #91cbff;
118
+ }
119
+
120
+ /* Emphasis and Strong */
121
+ .cm-s-github-dark-high-contrast .cm-em {
122
+ font-style: italic;
123
+ }
124
+
125
+ .cm-s-github-dark-high-contrast .cm-strong {
126
+ font-weight: bold;
127
+ }
128
+
129
+ /* Generic */
130
+ .cm-s-github-dark-high-contrast .cm-error {
131
+ color: #ff9492;
132
+ }
133
+
134
+ .cm-s-github-dark-high-contrast .cm-quote {
135
+ color: #d9dee3;
136
+ }
137
+
138
+ /* Specific to f-strings in Python */
139
+ .cm-s-github-dark-high-contrast .cm-string-2 .cm-operator {
140
+ color: #C9D1D9; /* Ensure the operator in f-strings has the correct color */
141
+ }
@@ -0,0 +1,120 @@
1
+ /* github-light theme for CodeMirror */
2
+ .cm-s-github-light.CodeMirror {
3
+ background-color: #ffffff;
4
+ color: #24292f;
5
+ }
6
+
7
+ .cm-s-github-light .CodeMirror-gutters {
8
+ background-color: #ffffff;
9
+ border-right: 1px solid #d1d5da;
10
+ }
11
+
12
+ .cm-s-github-light .CodeMirror-linenumber {
13
+ color: #6e7781;
14
+ }
15
+
16
+ .cm-s-github-light .CodeMirror-cursor {
17
+ border-left: 1px solid #24292f;
18
+ }
19
+
20
+ .cm-s-github-light .CodeMirror-selected {
21
+ background: #0969da4a;
22
+ }
23
+
24
+ /* Token Colors */
25
+ .cm-s-github-light .cm-comment {
26
+ color: #6e7781;
27
+ /* font-style: italic; */
28
+ }
29
+
30
+ .cm-s-github-light .cm-error {
31
+ color: #cf222e;
32
+ }
33
+
34
+ .cm-s-github-light .cm-keyword {
35
+ color: #cf222e;
36
+ }
37
+
38
+ .cm-s-github-light .cm-operator {
39
+ color: #116329;
40
+ font-weight: bold;
41
+ }
42
+
43
+ .cm-s-github-light .cm-literal {
44
+ color: #953800;
45
+ }
46
+
47
+ .cm-s-github-light .cm-variable {
48
+ color: #8250df;
49
+ }
50
+
51
+ .cm-s-github-light .cm-punctuation {
52
+ color: #24292f;
53
+ }
54
+
55
+ .cm-s-github-light .cm-number {
56
+ color: #953800;
57
+ }
58
+
59
+ .cm-s-github-light .cm-string {
60
+ color: #0550ae;
61
+ }
62
+
63
+ .cm-s-github-light .cm-attribute {
64
+ color: #953800;
65
+ }
66
+
67
+ .cm-s-github-light .cm-builtin {
68
+ color: #953800;
69
+ }
70
+
71
+ .cm-s-github-light .cm-variable-2 {
72
+ color: #116329;
73
+ }
74
+
75
+ .cm-s-github-light .cm-variable-3 {
76
+ color: #0550ae;
77
+ font-weight: bold;
78
+ }
79
+
80
+ .cm-s-github-light .cm-atom {
81
+ color: #0550ae;
82
+ font-weight: bold;
83
+ }
84
+
85
+ .cm-s-github-light .cm-def {
86
+ color: #0550ae;
87
+ /* font-weight: bold; */
88
+ }
89
+
90
+ .cm-s-github-light .cm-tag {
91
+ color: #116329;
92
+ }
93
+
94
+ .cm-s-github-light .cm-string-2 {
95
+ color: #0550ae;
96
+ }
97
+
98
+ /* Generic Styling */
99
+ .cm-s-github-light .cm-em {
100
+ font-style: italic;
101
+ }
102
+
103
+ .cm-s-github-light .cm-strong {
104
+ font-weight: bold;
105
+ }
106
+
107
+ .cm-s-github-light .cm-header {
108
+ color: #0550ae;
109
+ font-weight: bold;
110
+ }
111
+
112
+ .cm-s-github-light .cm-quote {
113
+ color: #6e7781;
114
+ font-style: italic;
115
+ }
116
+
117
+ .cm-s-github-light .cm-link {
118
+ color: #116329;
119
+ text-decoration: underline;
120
+ }