File tree Expand file tree Collapse file tree 3 files changed +42
-1
lines changed Expand file tree Collapse file tree 3 files changed +42
-1
lines changed Original file line number Diff line number Diff line change 1
1
This is the summary line. It can't be too long.
2
2
3
- After I can write a much more detailed description without quite the same restrictions on length.
3
+ After I can write a much more detailed description without quite the
4
+ same restrictions on length.
5
+
6
+ But if the line gets toooooooooooooooooooo long, you should add a line break.
4
7
5
8
# Please enter the commit message for your changes. Lines starting
6
9
# with '#' will be ignored, and an empty message aborts the commit.
Original file line number Diff line number Diff line change 6
6
@import ' coffee' ;
7
7
@import ' css' ;
8
8
@import ' gfm' ;
9
+ @import ' git-commit' ;
9
10
@import ' html' ;
10
11
@import ' javascript' ;
11
12
@import ' json' ;
Original file line number Diff line number Diff line change
1
+ // Git Commit Message
2
+
3
+ .git-commit {
4
+
5
+
6
+
7
+ // Special cases ----------------------
8
+
9
+ // Weak 2nd line
10
+ [data- screen - row= " 1" ] & {
11
+ .uno-3 ();
12
+ }
13
+
14
+ // Strong subject
15
+ [data- screen - row= " 0" ] & {
16
+ .uno-1 ();
17
+ font-weight : 500 ;
18
+ }
19
+
20
+ & .deleted {
21
+ color : @syntax-color-removed ;
22
+ }
23
+
24
+ & .changed {
25
+ color : @syntax-color-modified ;
26
+ }
27
+
28
+ & .inserted {
29
+ color : @syntax-color-added ;
30
+ }
31
+
32
+ // Too long
33
+ & .line-too-long.line-too-long {
34
+ background-color : mix ( @syntax-color-removed , @syntax-background-color , 33% );
35
+ }
36
+
37
+ }
You can’t perform that action at this time.
0 commit comments