-
Notifications
You must be signed in to change notification settings - Fork 27
Add tachyons as supported css framework #278
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
Merged
Changes from 14 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
8bd068f
Move `static_data/` out of `src`
panglesd 85bc2af
Remove unused static file variant
panglesd 8360a8d
Remove last use of ocaml-crunch in data_files
panglesd c03ac04
Add custom tachyons to static files
panglesd 00e59ed
Add css-framework frontmatter option
panglesd f7fc680
Rename from css-frameworks to tachyons
panglesd b33cdd8
Add missing `.t` to `tachyons` test
panglesd 637b243
dune fmt
panglesd 768030a
Add missing docs for tachyons
panglesd 26b25b6
Fix license typos
panglesd a487ed7
Delete unused chtml tex renderer
panglesd e927f6d
Fix static data README typos
panglesd 8b91d82
Fix tachyons error messages
panglesd e4ec6eb
Make tachyons more specific than theme
panglesd e702185
Fix combination of tachyons frontmatter field
panglesd 2def754
Fix typos in license file
panglesd 7ae00a3
Add changelog entry for #278
panglesd 92ef547
Typos
panglesd File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
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
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 |
|---|---|---|
|
|
@@ -86,3 +86,4 @@ We advise you to start by reading the tutorials, starting with the :doc:`first < | |
| shortcuts | ||
| cli | ||
| mermaid | ||
| tachyons | ||
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,24 @@ | ||
| ======== | ||
| Tachyons | ||
| ======== | ||
|
|
||
| `Tachyons <https://tachyons.io/>`_ is a CSS framwork. It allows to style | ||
| elements by assigning them classes. For instance, to give a blue text color on a | ||
| red background: | ||
|
|
||
| .. code-block:: | ||
|
|
||
| --- | ||
| tachyons: true | ||
| --- | ||
|
|
||
| {.blue .bg-red} | ||
| Hello! | ||
|
|
||
| As seen in the example above, the inclusion of tachyons is not automatic, you | ||
| need to add it to the frontmatter. | ||
|
|
||
| You can find all classes and the corresponding CSS rule in the `tachyons doc | ||
| <https://tachyons.io/docs/>`_. Note however that no "media query" rules are | ||
| included, nor the ``font-family`` ones (as fonts need to be embedded to have a | ||
| truly standalone HTML file). | ||
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win
Correct the Tachyons description.
Replace
CSS framworkwithCSS framework. ReplaceIt allows to stylewithIt allows you to style.