Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
ae53690a
Commit
ae53690a
authored
6 years ago
by
XhmikosR
Browse files
Options
Download
Email Patches
Plain Diff
Commit our svgo config.
parent
198091d6
2 merge requests
!28721
Hot test
,
!27561
Adds font-weight-medium to font weight classes
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
build/svgo.yml
+52
-0
build/svgo.yml
site/docs/4.1/assets/brand/bootstrap-outline.svg
+1
-1
site/docs/4.1/assets/brand/bootstrap-outline.svg
site/docs/4.1/assets/brand/bootstrap-punchout.svg
+1
-1
site/docs/4.1/assets/brand/bootstrap-punchout.svg
with
54 additions
and
2 deletions
+54
-2
build/svgo.yml
0 → 100644
+
52
-
0
View file @
ae53690a
# Usage:
# install svgo globally: `npm i -g svgo`
# svgo --config=build/svgo.yml --input=foo.svg
# https://github.com/svg/svgo/blob/master/docs/how-it-works/en.md
# replace default config
multipass
:
true
full
:
true
# https://github.com/svg/svgo/blob/master/lib/svgo/js2svg.js#L6 for more config options
js2svg
:
pretty
:
true
indent
:
2
plugins
:
-
cleanupAttrs
:
true
-
cleanupEnableBackground
:
true
-
cleanupIDs
:
true
-
cleanupListOfValues
:
true
-
cleanupNumericValues
:
true
-
collapseGroups
:
true
-
convertColors
:
true
-
convertPathData
:
true
-
convertShapeToPath
:
true
-
convertStyleToAttrs
:
true
-
convertTransform
:
true
-
inlineStyles
:
true
-
mergePaths
:
true
-
minifyStyles
:
true
-
moveElemsAttrsToGroup
:
true
-
moveGroupAttrsToElems
:
true
-
removeComments
:
true
-
removeDesc
:
true
-
removeDoctype
:
true
-
removeEditorsNSData
:
true
-
removeEmptyAttrs
:
true
-
removeEmptyContainers
:
true
-
removeEmptyText
:
true
-
removeHiddenElems
:
true
-
removeMetadata
:
true
-
removeNonInheritableGroupAttrs
:
true
-
removeTitle
:
true
-
removeUnknownsAndDefaults
:
true
-
removeUnusedNS
:
true
-
removeUselessDefs
:
true
-
removeUselessStrokeAndFill
:
true
-
removeViewBox
:
false
-
removeXMLNS
:
false
-
removeXMLProcInst
:
false
-
sortAttrs
:
true
This diff is collapsed.
Click to expand it.
site/docs/4.1/assets/brand/bootstrap-outline.svg
+
1
-
1
View file @
ae53690a
<svg
xmlns=
"http://www.w3.org/2000/svg"
viewBox=
"0 180 612 612"
fill=
"#FFF"
>
<svg
xmlns=
"http://www.w3.org/2000/svg"
fill=
"#FFF"
viewBox=
"0 180 612 612"
>
<path
d=
"M510 186c25.5 0 49.6 10 67.8 28.2S606 256.5 606 282v408c0 25.5-10 49.6-28.2 67.8S535.5 786 510 786H102c-25.5 0-49.6-10-67.8-28.2S6 715.5 6 690V282c0-25.5 10-49.6 28.2-67.8S76.5 186 102 186h408m0-6H102C45.9 180 0 225.9 0 282v408c0 56.1 45.9 102 102 102h408c56.1 0 102-45.9 102-102V282c0-56.1-45.9-102-102-102z"
/>
<path
d=
"M510 186c25.5 0 49.6 10 67.8 28.2S606 256.5 606 282v408c0 25.5-10 49.6-28.2 67.8S535.5 786 510 786H102c-25.5 0-49.6-10-67.8-28.2S6 715.5 6 690V282c0-25.5 10-49.6 28.2-67.8S76.5 186 102 186h408m0-6H102C45.9 180 0 225.9 0 282v408c0 56.1 45.9 102 102 102h408c56.1 0 102-45.9 102-102V282c0-56.1-45.9-102-102-102z"
/>
<path
d=
"M166.3 313h173.5c32 0 57.7 7.3 77 22s29 36.8 29 66.5c0 18-4.4 33.4-13.2 46.2-8.8 12.8-21.4 22.8-37.8 29.8v1c22 4.7 38.7 15.1 50 31.2 11.3 16.2 17 36.4 17 60.8 0 14-2.5 27.1-7.5 39.2-5 12.2-12.8 22.7-23.5 31.5s-24.3 15.8-41 21-36.5 7.8-59.5 7.8h-164V313zm62.5 149.5h102c15 0 27.5-4.2 37.5-12.8s15-20.8 15-36.8c0-18-4.5-30.7-13.5-38s-22-11-39-11h-102v98.6zm0 156.5h110.5c19 0 33.8-4.9 44.2-14.8 10.5-9.8 15.8-23.8 15.8-41.8 0-17.7-5.2-31.2-15.8-40.8s-25.2-14.2-44.2-14.2H228.8V619z"
/>
<path
d=
"M166.3 313h173.5c32 0 57.7 7.3 77 22s29 36.8 29 66.5c0 18-4.4 33.4-13.2 46.2-8.8 12.8-21.4 22.8-37.8 29.8v1c22 4.7 38.7 15.1 50 31.2 11.3 16.2 17 36.4 17 60.8 0 14-2.5 27.1-7.5 39.2-5 12.2-12.8 22.7-23.5 31.5s-24.3 15.8-41 21-36.5 7.8-59.5 7.8h-164V313zm62.5 149.5h102c15 0 27.5-4.2 37.5-12.8s15-20.8 15-36.8c0-18-4.5-30.7-13.5-38s-22-11-39-11h-102v98.6zm0 156.5h110.5c19 0 33.8-4.9 44.2-14.8 10.5-9.8 15.8-23.8 15.8-41.8 0-17.7-5.2-31.2-15.8-40.8s-25.2-14.2-44.2-14.2H228.8V619z"
/>
</svg>
</svg>
This diff is collapsed.
Click to expand it.
site/docs/4.1/assets/brand/bootstrap-punchout.svg
+
1
-
1
View file @
ae53690a
<svg
xmlns=
"http://www.w3.org/2000/svg"
viewBox=
"0 180 612 612"
fill=
"#FFF"
>
<svg
xmlns=
"http://www.w3.org/2000/svg"
fill=
"#FFF"
viewBox=
"0 180 612 612"
>
<path
d=
"M383.5 521.8c-10.5-9.5-25.2-14.2-44.2-14.2H228.8V619h110.5c19 0 33.8-4.9 44.2-14.8 10.5-9.8 15.8-23.8 15.8-41.8-.1-17.6-5.3-31.2-15.8-40.6zm-15.3-72c10-8.5 15-20.8 15-36.8 0-18-4.5-30.7-13.5-38s-22-11-39-11h-102v98.5h102c15 0 27.5-4.3 37.5-12.7z"
/>
<path
d=
"M383.5 521.8c-10.5-9.5-25.2-14.2-44.2-14.2H228.8V619h110.5c19 0 33.8-4.9 44.2-14.8 10.5-9.8 15.8-23.8 15.8-41.8-.1-17.6-5.3-31.2-15.8-40.6zm-15.3-72c10-8.5 15-20.8 15-36.8 0-18-4.5-30.7-13.5-38s-22-11-39-11h-102v98.5h102c15 0 27.5-4.3 37.5-12.7z"
/>
<path
d=
"M510 180H102C45.9 180 0 225.9 0 282v408c0 56.1 45.9 102 102 102h408c56.1 0 102-45.9 102-102V282c0-56.1-45.9-102-102-102zm-55.8 429.8c-5 12.2-12.8 22.7-23.5 31.5s-24.3 15.8-41 21-36.5 7.8-59.5 7.8h-164V313h173.5c32 0 57.7 7.3 77 22s29 36.8 29 66.5c0 18-4.4 33.4-13.2 46.2-8.8 12.8-21.4 22.8-37.8 29.8v1c22 4.7 38.7 15.1 50 31.2 11.3 16.2 17 36.4 17 60.8 0 14-2.5 27.1-7.5 39.3z"
/>
<path
d=
"M510 180H102C45.9 180 0 225.9 0 282v408c0 56.1 45.9 102 102 102h408c56.1 0 102-45.9 102-102V282c0-56.1-45.9-102-102-102zm-55.8 429.8c-5 12.2-12.8 22.7-23.5 31.5s-24.3 15.8-41 21-36.5 7.8-59.5 7.8h-164V313h173.5c32 0 57.7 7.3 77 22s29 36.8 29 66.5c0 18-4.4 33.4-13.2 46.2-8.8 12.8-21.4 22.8-37.8 29.8v1c22 4.7 38.7 15.1 50 31.2 11.3 16.2 17 36.4 17 60.8 0 14-2.5 27.1-7.5 39.3z"
/>
</svg>
</svg>
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets