8000 Add Dark & Auto color schemes by JHWelch · Pull Request #514 · rtfpessoa/diff2html · GitHub
[go: up one dir, main page]

Skip to content

Add Dark & Auto color schemes #514

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 36 commits into from
Sep 29, 2023
Merged
Changes from 1 commit
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
5dae945
Add initial dark mode css classes
JHWelch Sep 12, 2023
ff3a86d
Add colorscheme variable to wrapper
JHWelch Sep 16, 2023
4d2505d
Normalize class names
JHWelch Sep 16, 2023
1aafcb2
Add dark mode classes.
JHWelch Sep 16, 2023
bd4a84c
Update colors
JHWelch Sep 16, 2023
6b420de
est auto color scheme
JHWelch Sep 16, 2023
4700072
Consolidate dark classes
JHWelch Sep 16, 2023
6ed6a5d
Setup Auto color mode
JHWelch Sep 16, 2023
0b76161
Use variables for dark mode
JHWelch Sep 17, 2023
84a323f
Add color scheme to demo page
JHWelch Sep 17, 2023
1b0c1a8
swap highlight and base
JHWelch Sep 17, 2023
c22febd
Adjust colors for line-by-line
JHWelch Sep 18, 2023
58c0889
Fix color preference order
JHWelch Sep 18, 2023
14989f1
rename test to match Class & function
JHWelch Sep 18, 2023
4e6bb49
Update FileListRenderer to class
JHWelch Sep 18, 2023
c244b0d
Add ColorSchemeType for file list
JHWelch Sep 19, 2023
0dccfa2
Pass default from default render config
JHWelch Sep 19, 2023
669ee2b
Fix del/ins change colors
JHWelch Sep 19, 2023
9f8d6bd
Pass config to file list renderer
JHWelch Sep 19, 2023
7926880
Add colors for file list
JHWelch Sep 19, 2023
0029890
Add colorScheme information to README
JHWelch Sep 19, 2023
93103e2
Convert light colors to variables
JHWelch Sep 19, 2023
efd28ff
Move dark variables and match pattern
JHWelch Sep 19, 2023
9806d67
Add file header
JHWelch Sep 19, 2023
786e5cc
Fix remaining --d2h-dark-line-border-color
JHWelch Sep 19, 2023
1aa822d
Update test text
JHWelch Sep 19, 2023
8d9a8a8
Fix --d2h-dark-moved-label-color references
JHWelch Sep 19, 2023
b26353c
Normalize remaining variables
JHWelch Sep 20, 2023
3865a5f
Adjust colors
JHWelch Sep 20, 2023
863246e
remove redundant classes
JHWelch Sep 20, 2023
4b42e4b
Toggle colorscheme on Demo body
JHWelch Sep 20, 2023
0de1e04
Create modified github theme for demo
JHWelch Sep 20, 2023
f7aacc4
darken header
JHWelch Sep 20, 2023
d425892
Remove duplicate "should"s
JHWelch Sep 20, 2023
987d8cb
update to GitHub dark colors
JHWelch Sep 26, 2023
7410d25
Use d2h-light-color-scheme for light
JHWelch Sep 26, 2023
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
Prev Previous commit
Next Next commit
rename test to match Class & function
  • Loading branch information
JHWelch committed Sep 20, 2023
commit 14989f1ddd3759f33c58d38fc7524a8bbe4d6ad8
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { render } from '../file-list-renderer';
import HoganJsUtils from '../hoganjs-utils';

describe('FileListPrinter', () => {
describe('generateFileList', () => {
describe('FileListRenderer', () => {
describe('render', () => {
it('should expose old and new files to templates', () => {
const hoganUtils = new HoganJsUtils({
rawTemplates: {
Expand Down
0