Skip to content

Commit afcda7c

Browse files
committed
Improve code block & max-widht for documentation
1 parent cacada3 commit afcda7c

File tree

6 files changed

+58
-48
lines changed

6 files changed

+58
-48
lines changed

public/build/assets/app-Cw1dfBf1.js renamed to public/build/assets/app-DIW8daw-.js

Lines changed: 16 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/build/assets/app-DKgGcTI_.css renamed to public/build/assets/app-Dq9x9Vhz.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.

public/build/manifest.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,17 @@
1616
"src": "public/img/ui/blockquote/warning.svg"
1717
},
1818
"resources/css/app.scss": {
19-
"file": "assets/app-DKgGcTI_.css",
19+
"file": "assets/app-Dq9x9Vhz.css",
2020
"src": "resources/css/app.scss",
2121
"isEntry": true
2222
},
2323
"resources/js/app.js": {
24-
"file": "assets/app-Cw1dfBf1.js",
24+
"file": "assets/app-DIW8daw-.js",
2525
"name": "app",
2626
"src": "resources/js/app.js",
2727
"isEntry": true,
2828
"css": [
29-
"assets/app-Ccfm11b9.css"
29+
"assets/app-mELSyIb6.css"
3030
]
3131
}
3232
}

resources/css/docs.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ main,
396396
}
397397

398398
.container-docs {
399-
max-width: 1680px;
399+
max-width: 1720px;
400400
margin: 0 auto;
401401
}
402402

resources/css/highlight.scss

Lines changed: 37 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -21,46 +21,67 @@ pre {
2121
-webkit-overflow-scrolling: touch;
2222
max-width: 100%;
2323

24-
.hl-attribute,
24+
.hl-attribute {
25+
color: #FFCB6B;
26+
}
27+
2528
.hl-template,
2629
.hl-value {
2730
color: #4bef96;
2831
}
2932

30-
.hl-constant,
31-
.hl-property,
3233
.hl-number {
33-
color: #b288ff;
34+
color: #F78C6C;
3435
}
3536

37+
.hl-constant,
38+
.hl-property,
3639
.hl-function {
37-
color: #f98f8c;
40+
color: #82AAFF;
3841
}
3942

40-
.hl-slug,
41-
.hl-operator,
42-
.hl-tag2,
4343
.hl-keyword,
44-
.hl-property2,
44+
.hl-operator,
4545
.hl-variable,
46-
.hl-value2 {
47-
color: #82d4f7;
46+
.hl-property2 {
47+
color: #C792EA;
4848
}
4949

5050
.hl-tag,
5151
.hl-type,
5252
.hl-literal {
53-
color: #ffd06b;
53+
color: #FFCB8B;
54+
}
55+
56+
.hl-comment {
57+
color: #6c757d;
58+
font-style: italic;
59+
}
60+
61+
.hl-delimeter {
62+
color: #d2cdea;
5463
}
5564

56-
.hl-delimeter,
5765
.hl-deletion {
5866
color: #d2cdea;
67+
min-width: 100%;
68+
background-color: #ff000033;
5969
}
6070

61-
.hl-generic,
62-
.hl-comment {
63-
color: #8781a2;
71+
.hl-addition {
72+
min-width: 100%;
73+
background-color: #2a4b3c;
74+
color: #4bef96;
75+
}
76+
77+
.hl-comment span {
78+
opacity: 0.7;
79+
}
80+
81+
.hl-tag2,
82+
.hl-value2,
83+
.hl-slug {
84+
color: #f98f8c;
6485
}
6586

6687
.hl-blur {
@@ -75,17 +96,6 @@ pre {
7596
font-style: italic;
7697
}
7798

78-
.hl-deletion {
79-
min-width: 100%;
80-
background-color: #ff000033;
81-
}
82-
83-
.hl-addition {
84-
min-width: 100%;
85-
background-color: #2a4b3c;
86-
color: #4bef96;
87-
}
88-
8999
.hl-gutter {
90100
display: inline-block;
91101
font-size: 0.9em;

0 commit comments

Comments
 (0)