summaryrefslogtreecommitdiffstats
path: root/src/components/Icons
Commit message (Collapse)AuthorAgeFilesLines
* feat: implement dark modeArmand Philippot2022-01-1710-28/+29
|
* chore: replace copyright icon import with custom componentArmand Philippot2022-01-173-0/+34
| | | | | It allows me to set the colors with CSS and it will be easier to implement dark mode.
* refactor(styles): rename shadow and border variablesArmand Philippot2022-01-1610-29/+29
|
* chore: replace theme button with settingsArmand Philippot2022-01-057-99/+32
| | | | | I plan to add more user settings so theme options should be inside settings.
* refactor(sharing): avoid nested template literalsArmand Philippot2022-01-041-7/+4
| | | | | This improves readability. I also rename a variable to avoid duplicate between global scope and useEffect scope.
* chore(icons): add direction to arrow icon and split pathArmand Philippot2022-01-041-3/+66
| | | | I can now animate separatly the arrow head and the arrow body.
* chore: replace read more link with ButtonLink componentArmand Philippot2021-12-293-0/+27
| | | | | I also fix the load more button position since I removed the margin auto.
* chore: add a theme toggleArmand Philippot2021-12-277-0/+149
| | | | Dark theme is not implemented yet.
* chore: replace svg imports with componentsArmand Philippot2021-12-2214-4/+478
| | | | It allows me to control the colors of each SVG paths.
* chore: add main-nav componentArmand Philippot2021-12-133-0/+70
I choose to implement main-nav paths manually instead of fetching them from GraphQL to ensure functional navigation without JS.
pan>, { 'class-name': [ { pattern: /(\b(?:enum|extend|message|service)\s+)[A-Za-z_]\w*(?=\s*\{)/, lookbehind: true, }, { pattern: /(\b(?:rpc\s+\w+|returns)\s*\(\s*(?:stream\s+)?)\.?[A-Za-z_]\w*(?:\.[A-Za-z_]\w*)*(?=\s*\))/, lookbehind: true, }, ], keyword: /\b(?:enum|extend|extensions|import|message|oneof|option|optional|package|public|repeated|required|reserved|returns|rpc(?=\s+\w)|service|stream|syntax|to)\b(?!\s*=\s*\d)/, function: /\b[a-z_]\w*(?=\s*\()/i, }); Prism.languages.insertBefore('protobuf', 'operator', { map: { pattern: /\bmap<\s*[\w.]+\s*,\s*[\w.]+\s*>(?=\s+[a-z_]\w*\s*[=;])/i, alias: 'class-name', inside: { punctuation: /[<>.,]/, builtin: builtinTypes, }, }, builtin: builtinTypes, 'positional-class-name': { pattern: /(?:\b|\B\.)[a-z_]\w*(?:\.[a-z_]\w*)*(?=\s+[a-z_]\w*\s*[=;])/i, alias: 'class-name', inside: { punctuation: /\./, }, }, annotation: { pattern: /(\[\s*)[a-z_]\w*(?=\s*=)/i, lookbehind: true, }, }); })(Prism);