Rodrigo Fernandes
064659a70e
update tests
2024-12-23 22:41:43 +00:00
Rodrigo Fernandes
eef651f0d4
bump more versions
2024-12-23 22:34:58 +00:00
Rodrigo Fernandes
aa4731953e
updates
2024-01-12 20:09:44 +00:00
Jeroen Van den Berghe
7005ced0b5
css: target both :root and :host to also cover usage in shadow DOM
...
Inside shadow DOM :root can't be targeted, so :host should be used here for those cases.
Solves issues #517
2023-10-17 13:26:41 +02:00
Adam Kwiatek
dd4b774958
Amend malformed CSS.
2023-10-02 17:48:24 +02:00
Jordan Welch
7410d25ee4
Use d2h-light-color-scheme for light
2023-09-26 18:06:06 -05:00
Jordan Welch
987d8cb65c
update to GitHub dark colors
2023-09-26 17:47:59 -05:00
Jordan Welch
d425892b61
Remove duplicate "should"s
2023-09-20 08:02:40 -05:00
Jordan Welch
f7aacc4fc0
darken header
2023-09-19 20:54:19 -05:00
Jordan Welch
863246eed0
remove redundant classes
2023-09-19 20:18:35 -05:00
Jordan Welch
3865a5f27e
Adjust colors
2023-09-19 19:54:40 -05:00
Jordan Welch
b26353c04d
Normalize remaining variables
2023-09-19 19:47:17 -05:00
Jordan Welch
8d9a8a8265
Fix --d2h-dark-moved-label-color references
2023-09-19 19:04:06 -05:00
Jordan Welch
1aa822da56
Update test text
2023-09-19 19:04:06 -05:00
Jordan Welch
786e5cc027
Fix remaining --d2h-dark-line-border-color
2023-09-19 19:04:06 -05:00
Jordan Welch
9806d677f3
Add file header
2023-09-19 19:04:05 -05:00
Jordan Welch
efd28ffb3a
Move dark variables and match pattern
2023-09-19 19:04:05 -05:00
Jordan Welch
93103e2c49
Convert light colors to variables
2023-09-19 19:04:05 -05:00
Jordan Welch
79268800ff
Add colors for file list
2023-09-19 19:04:04 -05:00
Jordan Welch
9f8d6bd4ca
Pass config to file list renderer
2023-09-19 19:04:04 -05:00
Jordan Welch
669ee2bff8
Fix del/ins change colors
2023-09-19 19:04:03 -05:00
Jordan Welch
0dccfa26a5
Pass default from default render config
2023-09-19 19:04:03 -05:00
Jordan Welch
c244b0dd51
Add ColorSchemeType for file list
2023-09-19 19:04:03 -05:00
Jordan Welch
4e6bb49788
Update FileListRenderer to class
2023-09-19 19:04:02 -05:00
Jordan Welch
14989f1ddd
rename test to match Class & function
2023-09-19 19:04:02 -05:00
Jordan Welch
58c088977e
Fix color preference order
2023-09-19 19:04:02 -05:00
Jordan Welch
c22febdbd6
Adjust colors for line-by-line
2023-09-19 19:04:01 -05:00
Jordan Welch
1b0c1a87a2
swap highlight and base
2023-09-19 19:04:01 -05:00
Jordan Welch
0b76161d86
Use variables for dark mode
2023-09-19 19:04:00 -05:00
Jordan Welch
6ed6a5da88
Setup Auto color mode
2023-09-19 19:04:00 -05:00
Jordan Welch
47000723a9
Consolidate dark classes
2023-09-19 19:04:00 -05:00
Jordan Welch
6b420de752
est auto color scheme
2023-09-19 19:03:59 -05:00
Jordan Welch
bd4a84cd3e
Update colors
2023-09-19 19:03:59 -05:00
Jordan Welch
1aafcb201b
Add dark mode classes.
2023-09-19 19:03:59 -05:00
Jordan Welch
4d2505dac8
Normalize class names
2023-09-19 19:03:59 -05:00
Jordan Welch
ff3a86d393
Add colorscheme variable to wrapper
2023-09-19 19:03:58 -05:00
Jordan Welch
5dae945e95
Add initial dark mode css classes
2023-09-19 19:03:57 -05:00
Jordan Welch
66912a3a54
reorganize/rename blocks to match tested functions
2023-09-11 22:48:23 -05:00
Rodrigo Fernandes
f6f05db2f6
fallback to plaintext when highlighting unloaded language
2023-08-27 21:37:39 +01:00
Rodrigo Fernandes
409b5e2f6b
tweak tsconfig
2023-08-06 19:28:46 +01:00
Rodrigo Fernandes
7a3a4398d1
fix vertical align on diff
2023-04-15 14:12:08 +01:00
Rodrigo Fernandes
68515376a1
Merge pull request #483 from phikes/hand-in-file-line-to-template
...
feat: hand in file/line to generic line template
2023-03-07 19:34:03 +00:00
Siddhant
32239a0b9d
Precise widths for code-line and code-side-line
...
The widths of these are now calculated based on:
100% minus the horizontal padding
2023-02-28 19:17:07 -06:00
Phillip Kessels
0d314aecd1
feat: hand in file/line to generic line template
2023-02-20 15:07:34 +00:00
Rodrigo Fernandes
a716739a18
support unix diff binaires
2023-01-20 23:00:34 +00:00
Rodrigo Fernandes
ca2397830c
fix-broken-header-ff
2023-01-20 22:27:44 +00:00
Rodrigo Fernandes
d0ead3a14c
tweak css
2023-01-06 23:32:58 +00:00
fpin
df005c3f06
fix #462 : Info lines shrunk in right panel of side-by-side diff
2023-01-02 16:17:16 +01:00
Eric Cornelissen
3a480e4ab0
perf: check hljs is not null only once
...
Update the `highlightCode` method of `Diff2HtmlUI` to check if the hljs
reference is null only once (at the start). This address the "HACK"
comments by using a locally scoped variable for hljs. This way,
TypeScript is able to deduce that, after the initial null-check, hljs is
in fact not null.
2022-11-02 22:43:23 +01:00
Rodrigo Fernandes
6db4aae9e5
Merge pull request #456 from ericcornelissen/455-sticky-file-headers
...
Implement support for sticky file headers
2022-11-01 00:14:45 +00:00