aboutsummaryrefslogtreecommitdiffstats
path: root/src/styles/pages/partials/_article-prism.scss
Commit message (Collapse)AuthorAgeFilesLines
* refactor(components): rewrite Code component and usePrism hookArmand Philippot2023-11-111-302/+0
| | | | | | | | | | | | * move Prism styles to Sass placeholders to avoid repeats * let usePrism consumer define its plugins (remove default ones) * remove `plugins` prop from Code component * add new props to Code component to let consumer configure plugins (and handle plugin list from the given options) However there are some problems with Prism plugins: line-highlight and treeview does not seems to be loaded. I don't want to use Babel instead of SWC so I have no solution for now.
* refactor(build): replace paths aliases with relative pathsArmand Philippot2023-09-191-2/+2
| | | | | | Using paths aliases starting with "@" can be confusing and can lead to conflict with existings modules. I prefer to use relative paths to avoid extra configuration in tools because of these aliases.
* chore: udpate code blocks styleArmand Philippot2022-05-201-133/+134
|
* refactor: rewrite Prism hooks and providersArmand Philippot2022-05-191-1/+1
| | | | | It avoid some hydratation errors on project pages (not in article however) and the hooks are now reusable.
* chore: adjust and complete missing stylesArmand Philippot2022-05-161-0/+301
* add logo to topics pages and links * add Prism styles to articles * and a few other adjustements