-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Upgrade bootswatch to version 4 #1183
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
Closed
Closed
Changes from 3 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
8ee98fd
Upgraded to bootswatch 4.5.3
bechir 5ff6c5a
Production build
bechir 598ca78
Remove horizontal scroller in source code modal
bechir 133a714
Fix typos & remove commented code
bechir 5570a2a
Fix & integrate flatpickr
bechir 3c712bc
Localize flatpickr globally
bechir 7375e61
Use button instead of span
bechir File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import hljs from 'highlight.js/lib/highlight'; | ||
import highlight from 'highlight.js/lib/core'; | ||
import php from 'highlight.js/lib/languages/php'; | ||
import twig from 'highlight.js/lib/languages/twig'; | ||
|
||
hljs.registerLanguage('php', php); | ||
hljs.registerLanguage('twig', twig); | ||
highlight.registerLanguage('php', php); | ||
highlight.registerLanguage('twig', twig); | ||
|
||
hljs.initHighlightingOnLoad(); | ||
highlight.initHighlightingOnLoad(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// setting the value of this variable to an empty data URL is the only working solution | ||
// to load the Bootswatch web fonts locally and avoid loading them from Google servers | ||
// see https://github.com/thomaspark/bootswatch/issues/55#issuecomment-298093182 | ||
$web-font-path: 'data:text/css;base64,'; | ||
|
||
// Make sure the lato font is resolved correctly | ||
$lato-font-path: '~lato-font/fonts'; | ||
|
||
$font-default: 17px; | ||
$font-heading: 2.5rem; | ||
$font-title: 1.85rem; | ||
|
||
$secondary-color: #ecf0f1; | ||
$gray-7500: #e9ecec; | ||
|
||
@import "~bootswatch/dist/flatly/variables"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.