chulapa-jekyll 2.0.1 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +264 -35
- data/README.md +189 -180
- data/_data/version.yml +2 -2
- data/_includes/components/archive-documents.html +56 -0
- data/_includes/components/author.html +6 -1
- data/_includes/components/breadcrumbdatesocial.html +16 -12
- data/_includes/components/cactus.html +2 -1
- data/_includes/components/cloud-entry.html +26 -0
- data/_includes/components/cloud.html +66 -0
- data/_includes/components/collection-documents.html +17 -0
- data/_includes/components/footer-content.html +34 -0
- data/_includes/components/headers.html +22 -15
- data/_includes/components/indexcards.html +13 -10
- data/_includes/components/indexcategory-documents.html +11 -0
- data/_includes/components/navbar-classic.html +58 -0
- data/_includes/components/navbeforeafter.html +9 -6
- data/_includes/components/navigation-fallback.html +19 -0
- data/_includes/components/random.html +1 -0
- data/_includes/components/recommendations.html +97 -0
- data/_includes/components/related.html +1 -104
- data/_includes/components/scripts.html +9 -0
- data/_includes/components/sidetoc.html +5 -4
- data/_includes/components/simplelist.html +26 -0
- data/_includes/components/skin-attribution.html +169 -0
- data/_includes/components/theme-selector.html +14 -0
- data/_includes/footer.html +14 -165
- data/_includes/head.html +389 -242
- data/_includes/navbar.html +33 -77
- data/_includes/search/fusejs.html +20 -0
- data/_includes/search/google.html +3 -3
- data/_includes/search/lunr.html +19 -7
- data/_includes/search/simplesearch.html +46 -0
- data/_includes/snippets/article-images.html +25 -0
- data/_includes/snippets/bootstrapdemo.html +1472 -1303
- data/_includes/snippets/breadcrumb-names.html +5 -0
- data/_includes/snippets/canonical-url.html +17 -0
- data/_includes/snippets/carousel.html +16 -12
- data/_includes/snippets/dark-skin-enabled.html +14 -0
- data/_includes/snippets/datetranslate.html +7 -1
- data/_includes/snippets/jsonld-string.html +16 -0
- data/_includes/snippets/masonry.html +6 -4
- data/_includes/snippets/microformats-url.html +2 -0
- data/_includes/snippets/og-locale.html +19 -0
- data/_includes/snippets/page-language.html +4 -0
- data/_includes/snippets/publisher.html +22 -0
- data/_includes/snippets/video-metadata.html +15 -0
- data/_includes/snippets/video.html +21 -18
- data/_includes/snippets/youtube.html +17 -6
- data/_includes/theme-styles.html +201 -0
- data/_includes/welcomments/comment_form.html +5 -4
- data/_includes/welcomments/comments.html +5 -5
- data/_includes/welcomments/template.html +1 -1
- data/_layouts/archive.html +2 -75
- data/_layouts/cloudcategory.html +2 -101
- data/_layouts/cloudtag.html +2 -103
- data/_layouts/compress.html +1 -1
- data/_layouts/default.html +20 -9
- data/_layouts/indexcategory.html +2 -30
- data/_layouts/landingpage.html +12 -7
- data/_layouts/minimal.html +19 -9
- data/_layouts/search.html +17 -17
- data/_sass/bootstrap/_variables.scss +1 -1
- data/_sass/bootstrap/mixins/_badge.scss +1 -1
- data/_sass/chulapa/_autothemer.scss +31 -0
- data/_sass/chulapa/_buttons.scss +101 -0
- data/_sass/chulapa/_classes.scss +197 -59
- data/_sass/chulapa/_mixins.scss +42 -1
- data/_sass/chulapa/_reboot.scss +31 -0
- data/_sass/chulapa/_theme-selector.scss +1 -0
- data/_sass/chulapa/_variables.scss +8 -1
- data/_sass/chulapa/skins/_deeply.scss +229 -0
- data/_sass/chulapa/skins/_electro.scss +30 -0
- data/_sass/chulapa/skins/_graymor.scss +39 -0
- data/_sass/chulapa/skins/_hootstrap.scss +34 -0
- data/_sass/chulapa/skins/_lymcha.scss +27 -0
- data/_sass/chulapa/skins/_mickie.scss +38 -0
- data/_sass/chulapa/skins/_minco.scss +45 -0
- data/_sass/chulapa/skins/_monotone.scss +15 -0
- data/_sass/chulapa/skins/_preptor.scss +30 -0
- data/_sass/chulapa/skins/_skeeblu.scss +34 -0
- data/_sass/chulapa/skins/_sunset.scss +33 -0
- data/_sass/chulapa/skins/_wandoo.scss +22 -0
- data/_sass/chulapa/skins/bootswatch/_cyborg.scss +543 -0
- data/_sass/chulapa/skins/bootswatch/_darkly.scss +452 -0
- data/_sass/chulapa/skins/bootswatch/_flatly.scss +415 -0
- data/_sass/chulapa/skins/bootswatch/_journal.scss +163 -0
- data/_sass/chulapa/skins/bootswatch/_lux.scss +342 -0
- data/_sass/chulapa/skins/bootswatch/_materia.scss +914 -0
- data/_sass/chulapa/skins/bootswatch/_minty.scss +342 -0
- data/_sass/chulapa/skins/bootswatch/_sketchy.scss +757 -0
- data/_sass/chulapa/skins/bootswatch/_slate.scss +746 -0
- data/_sass/chulapa/skins/bootswatch/_solar.scss +454 -0
- data/_sass/chulapa/skins/bootswatch/_united.scss +85 -0
- data/_sass/chulapa/skins/bootswatch/_yeti.scss +699 -0
- data/_sass/chulapa/skins/bootswatch/cyborg.patch +301 -0
- data/_sass/chulapa/skins/bootswatch/darkly.patch +493 -0
- data/_sass/chulapa/skins/bootswatch/flatly.patch +325 -0
- data/_sass/chulapa/skins/bootswatch/journal.patch +71 -0
- data/_sass/chulapa/skins/bootswatch/lux.patch +97 -0
- data/_sass/chulapa/skins/bootswatch/materia.patch +250 -0
- data/_sass/chulapa/skins/bootswatch/minty.patch +400 -0
- data/_sass/chulapa/skins/bootswatch/sketchy.patch +863 -0
- data/_sass/chulapa/skins/bootswatch/slate.patch +537 -0
- data/_sass/chulapa/skins/bootswatch/solar.patch +307 -0
- data/_sass/chulapa/skins/bootswatch/united.patch +91 -0
- data/_sass/chulapa/skins/bootswatch/yeti.patch +552 -0
- data/_sass/chulapa-master.scss +10 -0
- data/_sass/highlight/README.md +176 -14
- data/_sass/highlight/abap.scss +62 -0
- data/_sass/highlight/algol.scss +46 -0
- data/_sass/highlight/algol_nu.scss +46 -0
- data/_sass/highlight/arduino.scss +63 -0
- data/_sass/highlight/autumn.scss +69 -58
- data/_sass/highlight/base16.scss +90 -0
- data/_sass/highlight/borland.scss +55 -46
- data/_sass/highlight/bw.scss +70 -34
- data/_sass/highlight/cobalt2.scss +197 -0
- data/_sass/highlight/coffee.scss +82 -0
- data/_sass/highlight/colorful.scss +178 -61
- data/_sass/highlight/cran.scss +185 -169
- data/_sass/highlight/default.scss +72 -61
- data/_sass/highlight/dracula.scss +93 -169
- data/_sass/highlight/emacs.scss +72 -61
- data/_sass/highlight/friendly.scss +72 -61
- data/_sass/highlight/friendly_grayscale.scss +72 -0
- data/_sass/highlight/fruity.scss +82 -70
- data/_sass/highlight/github.dark.scss +83 -0
- data/_sass/highlight/github.scss +116 -61
- data/_sass/highlight/gruvbox.dark.scss +83 -0
- data/_sass/highlight/gruvbox.light.scss +68 -84
- data/_sass/highlight/gruvbox.scss +97 -0
- data/_sass/highlight/igor.scss +36 -0
- data/_sass/highlight/igorpro.scss +45 -0
- data/_sass/highlight/inkpot.scss +78 -0
- data/_sass/highlight/lightbulb.scss +82 -0
- data/_sass/highlight/lilypond.scss +58 -0
- data/_sass/highlight/lovelace.scss +74 -0
- data/_sass/highlight/magritte.scss +175 -0
- data/_sass/highlight/manni.scss +72 -61
- data/_sass/highlight/material.scss +81 -0
- data/_sass/highlight/molokai.scss +211 -0
- data/_sass/highlight/monokai.scss +217 -65
- data/_sass/highlight/monokai.sublime.scss +203 -0
- data/_sass/highlight/murphy.scss +72 -61
- data/_sass/highlight/native.scss +82 -70
- data/_sass/highlight/night-owl.scss +201 -0
- data/_sass/highlight/nord.darker.scss +82 -0
- data/_sass/highlight/nord.scss +82 -0
- data/_sass/highlight/oksolar.dark.scss +175 -0
- data/_sass/highlight/oksolar.light.scss +175 -0
- data/_sass/highlight/one.dark.scss +82 -0
- data/_sass/highlight/panda.scss +195 -0
- data/_sass/highlight/paraiso.dark.scss +76 -0
- data/_sass/highlight/paraiso.light.scss +76 -0
- data/_sass/highlight/pastie.scss +154 -60
- data/_sass/highlight/perldoc.scss +69 -58
- data/_sass/highlight/rainbow_dash.scss +65 -0
- data/_sass/highlight/rrt.scss +82 -0
- data/_sass/highlight/sas.scss +63 -0
- data/_sass/highlight/selenized.black.scss +175 -0
- data/_sass/highlight/selenized.dark.scss +175 -0
- data/_sass/highlight/selenized.light.scss +175 -0
- data/_sass/highlight/selenized.white.scss +175 -0
- data/_sass/highlight/skeletor.scss +190 -140
- data/_sass/highlight/solarized.dark.scss +82 -0
- data/_sass/highlight/solarized.light.scss +82 -0
- data/_sass/highlight/stackoverflow.dark.scss +175 -0
- data/_sass/highlight/stackoverflow.light.scss +175 -0
- data/_sass/highlight/staroffice.scss +82 -0
- data/_sass/highlight/stata.dark.scss +82 -0
- data/_sass/highlight/stata.light.scss +49 -0
- data/_sass/highlight/tango.scss +81 -69
- data/_sass/highlight/template.scss +290 -0
- data/_sass/highlight/thankful_eyes.scss +180 -173
- data/_sass/highlight/trac.scss +70 -59
- data/_sass/highlight/tulip.scss +171 -0
- data/_sass/highlight/vim.scss +82 -70
- data/_sass/highlight/vs.scss +41 -33
- data/_sass/highlight/xcode.scss +65 -0
- data/_sass/highlight/zenburn.scss +82 -136
- data/_sass/reset-algolia.scss +27 -17
- data/_sass/skins/academia.scss +47 -10
- data/_sass/skins/auto.scss +25 -27
- data/_sass/skins/butterfly-dark.scss +73 -0
- data/_sass/skins/butterfly-dim.scss +81 -0
- data/_sass/skins/butterfly.scss +65 -0
- data/_sass/skins/cerulean.scss +120 -0
- data/_sass/skins/chulapa.scss +33 -6
- data/_sass/skins/cyborg.scss +3 -0
- data/_sass/skins/dark-bg.scss +83 -49
- data/_sass/skins/darkly.scss +3 -0
- data/_sass/skins/deeply.scss +17 -87
- data/_sass/skins/electro.scss +5 -19
- data/_sass/skins/flatly.scss +3 -0
- data/_sass/skins/focal.scss +56 -19
- data/_sass/skins/gitdev-dark.scss +28 -25
- data/_sass/skins/gitdev.scss +22 -19
- data/_sass/skins/graymor.scss +7 -22
- data/_sass/skins/hootstrap.scss +6 -13
- data/_sass/skins/journal.scss +3 -143
- data/_sass/skins/listen.scss +83 -0
- data/_sass/skins/litera.scss +281 -0
- data/_sass/skins/lux.scss +3 -376
- data/_sass/skins/lymcha.scss +4 -12
- data/_sass/skins/materia.scss +3 -0
- data/_sass/skins/media.scss +40 -12
- data/_sass/skins/mickie.scss +8 -11
- data/_sass/skins/minco.scss +11 -10
- data/_sass/skins/minty.scss +3 -168
- data/_sass/skins/monotone.scss +7 -11
- data/_sass/skins/navi.scss +54 -0
- data/_sass/skins/none.scss +24 -2
- data/_sass/skins/pear.scss +50 -6
- data/_sass/skins/preptor.scss +6 -15
- data/_sass/skins/pulse.scss +158 -0
- data/_sass/skins/skeeblu.scss +6 -17
- data/_sass/skins/sketchy.scss +3 -746
- data/_sass/skins/slate.scss +3 -0
- data/_sass/skins/solar.scss +3 -0
- data/_sass/skins/sunset.scss +6 -11
- data/_sass/skins/towards.scss +44 -5
- data/_sass/skins/twitter-dim.scss +60 -13
- data/_sass/skins/twitter-lights-out.scss +44 -11
- data/_sass/skins/twitter.scss +51 -10
- data/_sass/skins/united.scss +3 -0
- data/_sass/skins/universal.scss +46 -27
- data/_sass/skins/wandoo.scss +7 -12
- data/_sass/skins/yeti.scss +3 -0
- data/_sass/vendor/bootswatch/LICENSE +21 -0
- data/_sass/vendor/bootswatch/LICENSE-4.5.0 +21 -0
- data/_sass/vendor/bootswatch/README.md +57 -0
- data/_sass/vendor/bootswatch/cerulean/_bootswatch.scss +102 -0
- data/_sass/vendor/bootswatch/cerulean/_variables.scss +57 -0
- data/_sass/vendor/bootswatch/cyborg/_bootswatch.scss +330 -0
- data/_sass/vendor/bootswatch/cyborg/_variables.scss +169 -0
- data/_sass/vendor/bootswatch/darkly/_bootswatch.scss +247 -0
- data/_sass/vendor/bootswatch/darkly/_variables.scss +164 -0
- data/_sass/vendor/bootswatch/flatly/_bootswatch.scss +274 -0
- data/_sass/vendor/bootswatch/flatly/_variables.scss +106 -0
- data/_sass/vendor/bootswatch/journal/_bootswatch.scss +62 -0
- data/_sass/vendor/bootswatch/journal/_variables.scss +60 -0
- data/_sass/vendor/bootswatch/litera/_bootswatch.scss +268 -0
- data/_sass/vendor/bootswatch/litera/_variables.scss +96 -0
- data/_sass/vendor/bootswatch/lux/_bootswatch.scss +191 -0
- data/_sass/vendor/bootswatch/lux/_variables.scss +103 -0
- data/_sass/vendor/bootswatch/materia/_bootswatch.scss +747 -0
- data/_sass/vendor/bootswatch/materia/_variables.scss +129 -0
- data/_sass/vendor/bootswatch/minty/_bootswatch.scss +380 -0
- data/_sass/vendor/bootswatch/minty/_variables.scss +94 -0
- data/_sass/vendor/bootswatch/pulse/_bootswatch.scss +145 -0
- data/_sass/vendor/bootswatch/pulse/_variables.scss +96 -0
- data/_sass/vendor/bootswatch/sketchy/_bootswatch.scss +492 -0
- data/_sass/vendor/bootswatch/sketchy/_variables.scss +172 -0
- data/_sass/vendor/bootswatch/slate/_bootswatch.scss +531 -0
- data/_sass/vendor/bootswatch/slate/_variables.scss +163 -0
- data/_sass/vendor/bootswatch/solar/_bootswatch.scss +243 -0
- data/_sass/vendor/bootswatch/solar/_variables.scss +171 -0
- data/_sass/vendor/bootswatch/source.json +86 -0
- data/_sass/vendor/bootswatch/united/_bootswatch.scss +10 -0
- data/_sass/vendor/bootswatch/united/_variables.scss +54 -0
- data/_sass/vendor/bootswatch/yeti/_bootswatch.scss +586 -0
- data/_sass/vendor/bootswatch/yeti/_variables.scss +110 -0
- data/_sass/vendor/tophat/LICENSE +21 -0
- data/_sass/vendor/tophat/README.md +38 -0
- data/_sass/vendor/tophat/deeply/_styles.scss +6 -0
- data/_sass/vendor/tophat/deeply/_variables.scss +73 -0
- data/_sass/vendor/tophat/deeply/theme.scss +77 -0
- data/_sass/vendor/tophat/electro/_styles.scss +5 -0
- data/_sass/vendor/tophat/electro/_variables.scss +23 -0
- data/_sass/vendor/tophat/electro/theme.scss +28 -0
- data/_sass/vendor/tophat/graymor/_styles.scss +5 -0
- data/_sass/vendor/tophat/graymor/_variables.scss +18 -0
- data/_sass/vendor/tophat/graymor/theme.scss +24 -0
- data/_sass/vendor/tophat/hootstrap/_styles.scss +5 -0
- data/_sass/vendor/tophat/hootstrap/_variables.scss +14 -0
- data/_sass/vendor/tophat/hootstrap/theme.scss +18 -0
- data/_sass/vendor/tophat/lymcha/_styles.scss +5 -0
- data/_sass/vendor/tophat/lymcha/_variables.scss +13 -0
- data/_sass/vendor/tophat/lymcha/theme.scss +16 -0
- data/_sass/vendor/tophat/mickie/_styles.scss +5 -0
- data/_sass/vendor/tophat/mickie/_variables.scss +13 -0
- data/_sass/vendor/tophat/mickie/theme.scss +17 -0
- data/_sass/vendor/tophat/minco/_styles.scss +5 -0
- data/_sass/vendor/tophat/minco/_variables.scss +14 -0
- data/_sass/vendor/tophat/minco/theme.scss +18 -0
- data/_sass/vendor/tophat/monotone/_styles.scss +5 -0
- data/_sass/vendor/tophat/monotone/_variables.scss +14 -0
- data/_sass/vendor/tophat/monotone/theme.scss +18 -0
- data/_sass/vendor/tophat/preptor/_styles.scss +5 -0
- data/_sass/vendor/tophat/preptor/_variables.scss +14 -0
- data/_sass/vendor/tophat/preptor/theme.scss +18 -0
- data/_sass/vendor/tophat/skeeblu/_styles.scss +5 -0
- data/_sass/vendor/tophat/skeeblu/_variables.scss +17 -0
- data/_sass/vendor/tophat/skeeblu/theme.scss +22 -0
- data/_sass/vendor/tophat/source.json +57 -0
- data/_sass/vendor/tophat/sunset/_styles.scss +5 -0
- data/_sass/vendor/tophat/sunset/_variables.scss +13 -0
- data/_sass/vendor/tophat/sunset/theme.scss +16 -0
- data/_sass/vendor/tophat/wandoo/_styles.scss +5 -0
- data/_sass/vendor/tophat/wandoo/_variables.scss +18 -0
- data/_sass/vendor/tophat/wandoo/theme.scss +24 -0
- data/assets/atom.xml +10 -6
- data/assets/css/dark/highlighter.scss +10 -0
- data/assets/css/dark/main.scss +43 -0
- data/assets/css/highlighter.scss +6 -1
- data/assets/css/main.scss +12 -3
- data/assets/css/search-fusejs.css +14 -0
- data/assets/css/search-lunr.css +7 -0
- data/assets/js/better404/better404.js +68 -0
- data/assets/js/ch_ytdefer/ch_ytdefer.js +27 -83
- data/assets/js/chulapa_carousel.js +115 -0
- data/assets/js/chulapa_mermaid.js +31 -0
- data/assets/js/chulapa_navigation.js +71 -0
- data/assets/js/chulapa_photoswipe.js +106 -0
- data/assets/js/chulapa_script.js +199 -77
- data/assets/js/chulapa_search.js +89 -0
- data/assets/js/clipboard/chulapa_clipboard.js +17 -108
- data/assets/js/cusdis/chulapa_cusdis.js +1 -1
- data/assets/js/fusejs/fusejs-search.js +62 -0
- data/assets/js/fusejs/fusejs-search.min.js +4 -0
- data/assets/js/fusejs/fusejs-store.js +43 -0
- data/assets/js/lunr/lunr-search.js +127 -115
- data/assets/js/lunr/lunr-search.min.js +4 -0
- data/assets/js/lunr/lunr-store.js +31 -23
- data/assets/js/simplesearch/simplesearch-store.json +45 -0
- data/assets/rss.xml +4 -3
- metadata +220 -8
- data/_sass/highlight/UNLICENSE.txt +0 -24
data/_sass/skins/sunset.scss
CHANGED
|
@@ -1,14 +1,9 @@
|
|
|
1
|
-
/*!
|
|
1
|
+
/*! TopHat `Sunset` integration; original source and MIT license in vendor/tophat. */
|
|
2
2
|
@import url('https://fonts.googleapis.com/css2?family=Voltaire:wght@200;300;400;700&display=swap');
|
|
3
|
-
$headings-font-family:Voltaire !default;
|
|
4
3
|
|
|
5
|
-
|
|
6
|
-
$
|
|
7
|
-
$success:#420084 !default;
|
|
8
|
-
$danger:#f2460d !default;
|
|
9
|
-
$info:#7ebcfa !default;
|
|
10
|
-
$warning:#ff9933 !default;
|
|
11
|
-
$light:#eef0f2 !default;
|
|
12
|
-
$dark:#000633 !default;
|
|
4
|
+
// Retain Chulapa palette and typography choices.
|
|
5
|
+
$danger: #d83e0c !default;
|
|
13
6
|
|
|
14
|
-
|
|
7
|
+
@import "../vendor/tophat/sunset/variables";
|
|
8
|
+
@import "../chulapa/skins/sunset";
|
|
9
|
+
@import "../vendor/tophat/sunset/styles";
|
data/_sass/skins/towards.scss
CHANGED
|
@@ -2,15 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
$font-family-base: "Work Sans", sans-serif;
|
|
4
4
|
$headings-font-family: $font-family-base;
|
|
5
|
-
$headings-font-weight:
|
|
5
|
+
$headings-font-weight: bold;
|
|
6
6
|
|
|
7
7
|
$body-color: #2a2a2a;
|
|
8
8
|
$primary: #355876;
|
|
9
|
+
$yiq-contrasted-threshold: 130 !default;
|
|
9
10
|
$secondary: #757575;
|
|
10
|
-
$success:
|
|
11
|
-
$info:
|
|
12
|
-
$warning:
|
|
13
|
-
$danger:
|
|
11
|
+
$success: #00d084;
|
|
12
|
+
$info: #8ed1fc;
|
|
13
|
+
$warning: #fcb900;
|
|
14
|
+
$danger: #cf2e2e;
|
|
15
|
+
$white: #fff !default;
|
|
14
16
|
|
|
15
17
|
.hero-chulapa h1,
|
|
16
18
|
.hero-chulapa-image h1,
|
|
@@ -19,3 +21,40 @@ $danger: #cf2e2e;
|
|
|
19
21
|
font-family: $headings-font-family;
|
|
20
22
|
font-weight: $headings-font-weight !important;
|
|
21
23
|
}
|
|
24
|
+
|
|
25
|
+
a:not([class]) {
|
|
26
|
+
text-decoration: underline;
|
|
27
|
+
text-decoration-thickness: 2px;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.chulapa-toc-reset a {
|
|
31
|
+
text-decoration: none;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.card.bg-primary {
|
|
35
|
+
color: $white;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
// Preserve the skin's original light labels on filled buttons.
|
|
39
|
+
$skin-button-labels: (
|
|
40
|
+
success: #ffffff,
|
|
41
|
+
) !default;
|
|
42
|
+
|
|
43
|
+
// Readable outline labels on this skin's page background.
|
|
44
|
+
$skin-button-outlines: (
|
|
45
|
+
success: #008756,
|
|
46
|
+
info: #4e738b,
|
|
47
|
+
warning: #976f00,
|
|
48
|
+
) !default;
|
|
49
|
+
|
|
50
|
+
// Reviewed AA fills for solid buttons with white labels.
|
|
51
|
+
$skin-button-backgrounds: (
|
|
52
|
+
success: #008756,
|
|
53
|
+
) !default;
|
|
54
|
+
// Stock palette defaults; keep predeclared custom colors and vars authoritative.
|
|
55
|
+
$skin-button-palette: (
|
|
56
|
+
info: #8ed1fc,
|
|
57
|
+
success: #00d084,
|
|
58
|
+
warning: #fcb900,
|
|
59
|
+
) !default;
|
|
60
|
+
$skin-button-body-bg: #fff !default;
|
|
@@ -1,32 +1,42 @@
|
|
|
1
|
-
//Twitter dim
|
|
1
|
+
// Twitter dim
|
|
2
|
+
@import url('https://fonts.googleapis.com/css2?family=Libre+Franklin:ital,wght@0,100..900;1,100..900&display=swap');
|
|
3
|
+
|
|
4
|
+
$headings-font-family: "Libre Franklin", Roboto, Helvetica, Arial, sans-serif;
|
|
5
|
+
$font-family-base: $headings-font-family;
|
|
6
|
+
|
|
7
|
+
$headings-font-weight: 800 !default;
|
|
8
|
+
|
|
2
9
|
// Some bootstrap variables
|
|
3
|
-
$primary: #
|
|
4
|
-
|
|
5
|
-
$
|
|
6
|
-
$
|
|
7
|
-
$
|
|
8
|
-
$
|
|
10
|
+
$primary: #1d9bf0 !default;
|
|
11
|
+
// Keep link accents bright against the dark page background.
|
|
12
|
+
$link-color: #1d9bf0 !default;
|
|
13
|
+
$yiq-contrasted-threshold: 123 !default;
|
|
14
|
+
$secondary: #788995 !default;
|
|
15
|
+
$success: #00ba7c !default;
|
|
16
|
+
$warning: #ff7a00 !default;
|
|
17
|
+
$danger: #e21674 !default;
|
|
18
|
+
$info: #7856ff !default;
|
|
9
19
|
$dark: #192734 !default;
|
|
10
20
|
$black: #15202b !default;
|
|
11
21
|
$white: #fff !default;
|
|
12
22
|
$body-bg: $black !default;
|
|
13
23
|
$body-color: $white !default;
|
|
14
|
-
$hero-chulapa-bg-color
|
|
24
|
+
$hero-chulapa-bg-color: #15202b !default;
|
|
15
25
|
$thead-chulapa-bg-color: $primary !default;
|
|
16
26
|
$blockquote-chulapa-bg-color: mix($body-bg, $primary, 80%) !default;
|
|
17
27
|
$blockquote-chulapa-text-color: mix($body-color, $primary, 95%) !default;
|
|
18
28
|
$pre-chulapa-bg-color: mix($body-color, $primary, 95%) !default;
|
|
19
29
|
|
|
20
|
-
|
|
21
30
|
$navbar-chulapa-bg-color: $body-bg !default;
|
|
22
31
|
$navbar-chulapa-text-color: $body-color !default;
|
|
23
32
|
$navbar-chulapa-brand-color: $body-color !default;
|
|
24
|
-
$navbar-chulapa-hover-color: $
|
|
25
|
-
$navbar-chulapa-active-color: $
|
|
33
|
+
$navbar-chulapa-hover-color: $link-color !default;
|
|
34
|
+
$navbar-chulapa-active-color: $link-color !default;
|
|
26
35
|
$dropdown-link-active-bg: lighten($primary, 30%) !default;
|
|
27
36
|
|
|
28
37
|
$footer-chulapa-text-color: $body-color !default;
|
|
29
|
-
$footer-chulapa-
|
|
38
|
+
$footer-chulapa-link-color: $link-color !default;
|
|
39
|
+
$footer-chulapa-hover-color: lighten($link-color, 10%) !default;
|
|
30
40
|
|
|
31
41
|
$pagination-chulapa-bg-hover-color: $primary !default;
|
|
32
42
|
|
|
@@ -35,6 +45,43 @@ $min-contrast-ratio: 2 !default;
|
|
|
35
45
|
$breadcrumb-divider: quote(">") !default;
|
|
36
46
|
|
|
37
47
|
// Lines for dark themes
|
|
38
|
-
|
|
39
48
|
@import "skins/dark-bg";
|
|
49
|
+
// The shared dark defaults darken link hover colors; use a lighter accent here.
|
|
50
|
+
$link-hover-color: lighten($link-color, 10%);
|
|
51
|
+
|
|
52
|
+
.card.bg-primary,
|
|
53
|
+
.card.bg-secondary {
|
|
54
|
+
color: $light;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
// Preserve the skin's original light labels on filled buttons.
|
|
58
|
+
$skin-button-labels: (
|
|
59
|
+
primary: #ffffff,
|
|
60
|
+
secondary: #ffffff,
|
|
61
|
+
success: #ffffff,
|
|
62
|
+
warning: #ffffff,
|
|
63
|
+
) !default;
|
|
64
|
+
|
|
65
|
+
// Readable outline labels on this skin's page background.
|
|
66
|
+
$skin-button-outlines: (
|
|
67
|
+
info: #8c6fff,
|
|
68
|
+
danger: #e95097,
|
|
69
|
+
) !default;
|
|
40
70
|
|
|
71
|
+
// Reviewed AA fills for solid buttons with white labels.
|
|
72
|
+
$skin-button-backgrounds: (
|
|
73
|
+
secondary: #697883,
|
|
74
|
+
primary: #177bbe,
|
|
75
|
+
success: #00875a,
|
|
76
|
+
warning: #bc5a00,
|
|
77
|
+
) !default;
|
|
78
|
+
// Stock palette defaults; keep predeclared custom colors and vars authoritative.
|
|
79
|
+
$skin-button-palette: (
|
|
80
|
+
danger: #e21674,
|
|
81
|
+
info: #7856ff,
|
|
82
|
+
primary: #1d9bf0,
|
|
83
|
+
secondary: #788995,
|
|
84
|
+
success: #00ba7c,
|
|
85
|
+
warning: #ff7a00,
|
|
86
|
+
) !default;
|
|
87
|
+
$skin-button-body-bg: #15202b !default;
|
|
@@ -1,23 +1,30 @@
|
|
|
1
|
+
@import url('https://fonts.googleapis.com/css2?family=Libre+Franklin:ital,wght@0,100..900;1,100..900&display=swap');
|
|
2
|
+
|
|
3
|
+
$headings-font-family: "Libre Franklin", Roboto, Helvetica, Arial, sans-serif;
|
|
4
|
+
$font-family-base: $headings-font-family;
|
|
5
|
+
|
|
6
|
+
$headings-font-weight: 800 !default;
|
|
1
7
|
// Some bootstrap variables
|
|
2
|
-
$primary: #
|
|
3
|
-
$
|
|
4
|
-
$
|
|
5
|
-
$
|
|
6
|
-
$
|
|
7
|
-
$
|
|
8
|
+
$primary: #1d9bf0 !default;
|
|
9
|
+
$yiq-contrasted-threshold: 123 !default;
|
|
10
|
+
$secondary: #697883 !default;
|
|
11
|
+
$success: #00ba7c !default;
|
|
12
|
+
$warning: #ff7a00 !default;
|
|
13
|
+
$danger: #e21674 !default;
|
|
14
|
+
$info: #7856ff !default;
|
|
8
15
|
$light: #c1c2c2 !default;
|
|
9
16
|
$dark: #15181c !default;
|
|
10
17
|
$black: #000 !default;
|
|
11
|
-
$
|
|
18
|
+
$white: #fff !default;
|
|
19
|
+
$body-bg: $black !default;
|
|
12
20
|
$body-color: $light !default;
|
|
13
|
-
$hero-chulapa-bg-color
|
|
14
|
-
$hero-chulapa-text-color
|
|
21
|
+
$hero-chulapa-bg-color: #000 !default;
|
|
22
|
+
$hero-chulapa-text-color: $light !default;
|
|
15
23
|
$thead-chulapa-bg-color: $primary !default;
|
|
16
24
|
$blockquote-chulapa-bg-color: mix($body-bg, $primary, 80%) !default;
|
|
17
25
|
$blockquote-chulapa-text-color: mix($body-color, $primary, 95%) !default;
|
|
18
26
|
$pre-chulapa-bg-color: mix($body-color, $primary, 95%) !default;
|
|
19
27
|
|
|
20
|
-
|
|
21
28
|
$navbar-chulapa-bg-color: $body-bg !default;
|
|
22
29
|
$navbar-chulapa-text-color: $body-color !default;
|
|
23
30
|
$navbar-chulapa-brand-color: $body-color !default;
|
|
@@ -26,7 +33,7 @@ $navbar-chulapa-active-color: $primary !default;
|
|
|
26
33
|
$dropdown-link-active-bg: lighten($primary, 30%) !default;
|
|
27
34
|
|
|
28
35
|
$footer-chulapa-text-color: $body-color !default;
|
|
29
|
-
$footer-chulapa-
|
|
36
|
+
$footer-chulapa-link-color: $primary !default;
|
|
30
37
|
|
|
31
38
|
$pagination-chulapa-bg-hover-color: $primary !default;
|
|
32
39
|
|
|
@@ -37,3 +44,29 @@ $breadcrumb-divider: quote(">") !default;
|
|
|
37
44
|
// Lines for dark themes
|
|
38
45
|
|
|
39
46
|
@import "skins/dark-bg";
|
|
47
|
+
|
|
48
|
+
.card.bg-primary,
|
|
49
|
+
.card.bg-secondary {
|
|
50
|
+
color: $white;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
// Preserve the skin's original light labels on filled buttons.
|
|
54
|
+
$skin-button-labels: (
|
|
55
|
+
primary: #ffffff,
|
|
56
|
+
success: #ffffff,
|
|
57
|
+
warning: #ffffff,
|
|
58
|
+
) !default;
|
|
59
|
+
|
|
60
|
+
// Reviewed AA fills for solid buttons with white labels.
|
|
61
|
+
$skin-button-backgrounds: (
|
|
62
|
+
primary: #177bbe,
|
|
63
|
+
success: #00875a,
|
|
64
|
+
warning: #bc5a00,
|
|
65
|
+
) !default;
|
|
66
|
+
// Stock palette defaults; keep predeclared custom colors and vars authoritative.
|
|
67
|
+
$skin-button-palette: (
|
|
68
|
+
primary: #1d9bf0,
|
|
69
|
+
success: #00ba7c,
|
|
70
|
+
warning: #ff7a00,
|
|
71
|
+
) !default;
|
|
72
|
+
$skin-button-body-bg: #000 !default;
|
data/_sass/skins/twitter.scss
CHANGED
|
@@ -1,13 +1,20 @@
|
|
|
1
|
+
@import url('https://fonts.googleapis.com/css2?family=Libre+Franklin:ital,wght@0,100..900;1,100..900&display=swap');
|
|
2
|
+
|
|
3
|
+
$headings-font-family: "Libre Franklin", Roboto, Helvetica, Arial, sans-serif;
|
|
4
|
+
$font-family-base: $headings-font-family;
|
|
5
|
+
|
|
6
|
+
$headings-font-weight: 800 !default;
|
|
1
7
|
|
|
2
8
|
// Some bootstrap variables
|
|
3
|
-
$primary: #
|
|
4
|
-
$
|
|
5
|
-
$
|
|
6
|
-
$
|
|
7
|
-
$
|
|
8
|
-
$
|
|
9
|
+
$primary: #1d9bf0 !default;
|
|
10
|
+
$yiq-contrasted-threshold: 123 !default;
|
|
11
|
+
$secondary: #697883 !default;
|
|
12
|
+
$success: #00ba7c !default;
|
|
13
|
+
$warning: #ff7a00 !default;
|
|
14
|
+
$danger: #e21674 !default;
|
|
15
|
+
$info: #7856ff !default;
|
|
9
16
|
$light: #f5f8fa !default;
|
|
10
|
-
$body-bg
|
|
17
|
+
$body-bg: #fff !default;
|
|
11
18
|
$body-color: #14171a !default;
|
|
12
19
|
$code-color: #E80E61 !default;
|
|
13
20
|
$thead-chulapa-bg-color: $primary !default;
|
|
@@ -15,16 +22,50 @@ $blockquote-chulapa-bg-color: mix(white, $primary, 80%) !default;
|
|
|
15
22
|
$blockquote-chulapa-text-color: mix(black, $primary, 80%) !default;
|
|
16
23
|
$navbar-chulapa-bg-color: $body-bg !default;
|
|
17
24
|
$navbar-chulapa-text-color: $body-color !default;
|
|
18
|
-
$navbar-chulapa-brand-color
|
|
25
|
+
$navbar-chulapa-brand-color: $body-color !default;
|
|
19
26
|
$navbar-chulapa-hover-color: $primary !default;
|
|
20
27
|
$navbar-chulapa-active-color: $primary !default;
|
|
21
28
|
$dropdown-link-active-bg: lighten($primary, 30%) !default;
|
|
22
29
|
$hero-chulapa-bg-color: $primary !default;
|
|
23
30
|
$footer-chulapa-text-color: $body-color !default;
|
|
24
|
-
$footer-chulapa-
|
|
31
|
+
$footer-chulapa-link-color: $primary !default;
|
|
32
|
+
$navbar-chulapa-hover-bg-color: darken($navbar-chulapa-bg-color, 5%);
|
|
25
33
|
|
|
26
34
|
$pagination-chulapa-bg-hover-color: $primary !default;
|
|
27
35
|
|
|
28
36
|
$min-contrast-ratio: 2 !default;
|
|
29
37
|
|
|
30
|
-
$breadcrumb-divider: quote(">") !default;
|
|
38
|
+
$breadcrumb-divider: quote(">") !default;
|
|
39
|
+
|
|
40
|
+
.card.bg-primary,
|
|
41
|
+
.card.bg-secondary {
|
|
42
|
+
color: $body-bg;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
// Preserve the skin's original light labels on filled buttons.
|
|
46
|
+
$skin-button-labels: (
|
|
47
|
+
primary: #ffffff,
|
|
48
|
+
success: #ffffff,
|
|
49
|
+
warning: #ffffff,
|
|
50
|
+
) !default;
|
|
51
|
+
|
|
52
|
+
// Readable outline labels on this skin's page background.
|
|
53
|
+
$skin-button-outlines: (
|
|
54
|
+
primary: #1674b4,
|
|
55
|
+
success: #008257,
|
|
56
|
+
warning: #b25500,
|
|
57
|
+
) !default;
|
|
58
|
+
|
|
59
|
+
// Reviewed AA fills for solid buttons with white labels.
|
|
60
|
+
$skin-button-backgrounds: (
|
|
61
|
+
primary: #177bbe,
|
|
62
|
+
success: #00875a,
|
|
63
|
+
warning: #bc5a00,
|
|
64
|
+
) !default;
|
|
65
|
+
// Stock palette defaults; keep predeclared custom colors and vars authoritative.
|
|
66
|
+
$skin-button-palette: (
|
|
67
|
+
primary: #1d9bf0,
|
|
68
|
+
success: #00ba7c,
|
|
69
|
+
warning: #ff7a00,
|
|
70
|
+
) !default;
|
|
71
|
+
$skin-button-body-bg: #fff !default;
|
data/_sass/skins/universal.scss
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Adapted from
|
|
1
|
+
// Adapted from Bootstrapious
|
|
2
2
|
@import url("https://fonts.googleapis.com/css2?family=Roboto+Mono&family=Roboto:wght@100;300;400;500;700&display=swap");
|
|
3
3
|
|
|
4
4
|
$font-family-base: "Roboto" !default;
|
|
@@ -6,12 +6,12 @@ $font-family-monospace: "Roboto Mono" !default;
|
|
|
6
6
|
$headings-font-weight: 700 !default;
|
|
7
7
|
$body-bg: #fff !default;
|
|
8
8
|
$primary: #986dbd !default;
|
|
9
|
+
$info: #17a2b8 !default;
|
|
9
10
|
$green: #97bf13 !default;
|
|
10
11
|
$red: #dc3545 !default;
|
|
11
12
|
$orange: #fd7e14 !default;
|
|
12
13
|
$yellow: #ffc107 !default;
|
|
13
14
|
$code-color: #E80E61 !default;
|
|
14
|
-
$headings-color: #333 !default;
|
|
15
15
|
$link-color: #986dbd !default;
|
|
16
16
|
$navbar-chulapa-brand-color: #000 !default;
|
|
17
17
|
$navbar-chulapa-bg-color: $body-bg !default;
|
|
@@ -23,13 +23,16 @@ $footer-chulapa-bg-color: #333 !default;
|
|
|
23
23
|
$footer-chulapa-text-color: #ccc !default;
|
|
24
24
|
$footer-chulapa-icon-color: #ccc !default;
|
|
25
25
|
$footer-chulapa-icon-hover-color: #724599 !default;
|
|
26
|
+
|
|
26
27
|
h1, h2, h3, h4, h5, h6 {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
text-transform: uppercase;
|
|
29
|
+
letter-spacing: 0.08em;
|
|
30
|
+
font-weight: 700 !important;
|
|
30
31
|
}
|
|
31
32
|
|
|
32
|
-
.splash-chulapa,
|
|
33
|
+
.splash-chulapa,
|
|
34
|
+
.hero-chulapa,
|
|
35
|
+
.header-chulapa {
|
|
33
36
|
color: black;
|
|
34
37
|
}
|
|
35
38
|
|
|
@@ -46,28 +49,28 @@ header hr {
|
|
|
46
49
|
display: none;
|
|
47
50
|
}
|
|
48
51
|
|
|
49
|
-
|
|
50
52
|
// Navbar
|
|
51
|
-
|
|
52
53
|
.navbar {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
}
|
|
54
|
+
.navbar-brand {
|
|
55
|
+
font-weight: 700 !important;
|
|
56
|
+
text-transform: uppercase;
|
|
57
|
+
letter-spacing: 0.08em;
|
|
58
|
+
}
|
|
59
|
+
.navbar-nav {
|
|
60
|
+
text-transform: uppercase;
|
|
61
|
+
text-decoration: underline;
|
|
62
|
+
letter-spacing: 0.08em;
|
|
63
|
+
color: black;
|
|
64
|
+
}
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
|
|
68
67
|
// Misc
|
|
69
|
-
|
|
70
|
-
|
|
68
|
+
th,
|
|
69
|
+
.btn,
|
|
70
|
+
.chulapa-toc-wrapper,
|
|
71
|
+
.chulapa-subtitle,
|
|
72
|
+
.breadcrumb,
|
|
73
|
+
#markdown-toc {
|
|
71
74
|
text-transform: uppercase;
|
|
72
75
|
}
|
|
73
76
|
|
|
@@ -75,8 +78,24 @@ th, .btn, .chulapa-toc-wrapper, .chulapa-subtitle, .breadcrumb, #markdown-toc {
|
|
|
75
78
|
color: $green;
|
|
76
79
|
}
|
|
77
80
|
|
|
78
|
-
|
|
79
|
-
a:
|
|
80
|
-
|
|
81
|
-
|
|
81
|
+
a:hover,
|
|
82
|
+
a:focus {
|
|
83
|
+
color: $footer-chulapa-icon-hover-color;
|
|
84
|
+
text-decoration: underline;
|
|
82
85
|
}
|
|
86
|
+
|
|
87
|
+
// Readable outline labels on this skin's page background.
|
|
88
|
+
$skin-button-outlines: (
|
|
89
|
+
primary: #8962aa,
|
|
90
|
+
success: #627c0c,
|
|
91
|
+
info: #117a8a,
|
|
92
|
+
warning: #8c6a04,
|
|
93
|
+
) !default;
|
|
94
|
+
// Stock palette defaults; keep predeclared custom colors and vars authoritative.
|
|
95
|
+
$skin-button-palette: (
|
|
96
|
+
info: #17a2b8,
|
|
97
|
+
primary: #986dbd,
|
|
98
|
+
success: #97bf13,
|
|
99
|
+
warning: #ffc107,
|
|
100
|
+
) !default;
|
|
101
|
+
$skin-button-body-bg: #fff !default;
|
data/_sass/skins/wandoo.scss
CHANGED
|
@@ -1,14 +1,9 @@
|
|
|
1
|
-
/*!
|
|
1
|
+
/*! TopHat `Wandoo` integration; original source and MIT license in vendor/tophat. */
|
|
2
2
|
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;700&family=Comfortaa:wght@200;300;400;700&display=swap');
|
|
3
|
-
$font-family-base:Nunito !default;
|
|
4
|
-
$headings-font-family:Comfortaa !default;
|
|
5
3
|
|
|
6
|
-
|
|
7
|
-
$
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
$light:#ececec !default;
|
|
13
|
-
$dark:#222222 !default;
|
|
14
|
-
$gray-300:#e0e0e0 !default;
|
|
4
|
+
// Retain Chulapa palette and typography choices.
|
|
5
|
+
$info: #0e7bbe !default;
|
|
6
|
+
|
|
7
|
+
@import "../vendor/tophat/wandoo/variables";
|
|
8
|
+
@import "../chulapa/skins/wandoo";
|
|
9
|
+
@import "../vendor/tophat/wandoo/styles";
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2013 Thomas Park
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2013 Thomas Park
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# Bootswatch sources
|
|
2
|
+
|
|
3
|
+
Unmodified Sass from thomaspark/bootswatch tag v4.6.2, commit
|
|
4
|
+
57980884525efb94836d88a5f59d5db9c5e8bbf0, distributed under the included MIT license.
|
|
5
|
+
Sketchy retains v4.5.0 at 2a3e1c5ff57f200164d123ae0bfeeb32b0045a20 with
|
|
6
|
+
its own retained MIT license (`LICENSE-4.5.0`).
|
|
7
|
+
Source: https://github.com/thomaspark/bootswatch/tree/v4.6.2/dist
|
|
8
|
+
|
|
9
|
+
Cerulean, Litera and Pulse keep their original variables and component styles.
|
|
10
|
+
The skin entrypoints import the original variables and wrap the component styles
|
|
11
|
+
in `chulapa-bootswatch` so Chulapa can emit them after its single Bootstrap import.
|
|
12
|
+
Cerulean's original helper declarations remain at top level because Sass forbids
|
|
13
|
+
nested mixin definitions. No original palette or component rule is adjusted. Empty button-correction maps
|
|
14
|
+
and Bootstrap’s original 150 YIQ fallback (Litera retains its explicit 190)
|
|
15
|
+
keep optional autothemer imports from applying unrelated palette corrections.
|
|
16
|
+
`source.json` records source hashes; the integration check validates both original
|
|
17
|
+
files and the deferred wrappers, and compares rendered components against a
|
|
18
|
+
reference compiled directly from these sources on the theme's Bootstrap base.
|
|
19
|
+
|
|
20
|
+
## Existing Chulapa adaptations
|
|
21
|
+
|
|
22
|
+
Cyborg, Darkly, Flatly, Journal, Lux, Materia, Minty, Sketchy, Slate, Solar,
|
|
23
|
+
United and Yeti retain their reviewed Chulapa palettes, font URLs, component
|
|
24
|
+
adjustments and contrast corrections. Their differences from the pinned original
|
|
25
|
+
variables and component styles are explicit unified patches under
|
|
26
|
+
`_sass/chulapa/skins/bootswatch/`. The adjacent Sass is generated from those
|
|
27
|
+
originals plus the patches. Theme users need no build tools or new settings.
|
|
28
|
+
|
|
29
|
+
```sh
|
|
30
|
+
node test/generate_bootswatch.js
|
|
31
|
+
node test/generate_bootswatch.js --check
|
|
32
|
+
CHULAPA_CHROMIUM=/path/to/chromium node test/check_bootswatch_adaptations_browser.js
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
For an intentional adaptation, edit the patch against the concatenated original
|
|
36
|
+
`_variables.scss` and `_bootswatch.scss` (trailing whitespace/newlines at the end
|
|
37
|
+
of each file are trimmed before concatenation), then regenerate. The generator
|
|
38
|
+
checks source hashes and applies each hunk exactly; it does not use fuzzy matches.
|
|
39
|
+
Do not edit the generated Sass or retained upstream sources directly.
|
|
40
|
+
|
|
41
|
+
These older integrations keep component rules before Chulapa's final Bootstrap
|
|
42
|
+
import, matching their established cascade. Former inner Bootstrap imports now
|
|
43
|
+
load only functions, variables and mixins; the theme emits Bootstrap once.
|
|
44
|
+
Moving these component rules after Bootstrap would change the existing design.
|
|
45
|
+
The three original integrations above continue to defer their original rules.
|
|
46
|
+
Sketchy retains its 4.5.0 base and United keeps its existing subset of styles.
|
|
47
|
+
This change does not adopt Bootstrap 5 or add any new skins.
|
|
48
|
+
|
|
49
|
+
Independent legacy fixtures in `test/fixtures/bootswatch-legacy/` record the
|
|
50
|
+
implementations at `3278655`. Regression tests compare complete deduplicated CSS,
|
|
51
|
+
then compare rendered styles against the unmodified legacy CSS at 390/1280px,
|
|
52
|
+
with Autothemer off/on and normal, hover, focus, active and disabled states.
|
|
53
|
+
Configured palette colors are compared before and after the skin import against
|
|
54
|
+
the old implementation. Existing early theme-color resolution and Sketchy's
|
|
55
|
+
unconditional palette assignments are retained; this refactor does not change
|
|
56
|
+
which palette overrides each skin supports. Default accessibility corrections,
|
|
57
|
+
metadata, routes and PWA behavior are unchanged.
|