This file contains 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
:root, | |
[data-theme="light"], | |
[data-theme="dark"], | |
:root:not([data-theme="light"]) { | |
--background-color: #fff; | |
--primary-foreground-color: #4a4a4a; | |
--secondary-foreground-color: #000; | |
--primary-subtle-color: #04aeee; | |
--secondary-subtle-color: #f4f8fd; | |
--titles-color: #333; |
This file contains 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
/* eslint-disable import/no-extraneous-dependencies */ | |
const _ = require('lodash'); | |
const fs = require('fs'); | |
const eol = require('eol'); | |
const path = require('path'); | |
const VirtualFile = require('vinyl'); | |
const flattenObjectKeys = require('i18next-scanner/lib/flatten-object-keys') | |
.default; | |
const omitEmptyObject = require('i18next-scanner/lib/omit-empty-object') | |
.default; |
This file contains 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
#!/usr/bin/python3 | |
""" | |
Copyright 2021 Mygod | |
Licensed under the Apache License, Version 2.0 (the "License"); | |
you may not use this file except in compliance with the License. | |
You may obtain a copy of the License at | |
http://www.apache.org/licenses/LICENSE-2.0 |
This file contains 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
- Open Automator | |
- File -> New -> Service | |
- Change "Service Receives" to "files or folders" in "Finder" | |
- Add a "Run Shell Script" action | |
- Change "Pass input" to "as arguments" | |
- Paste the following in the shell script box: open -n -b "com.microsoft.VSCode" --args "$*" | |
- Save it as something like "Open in Visual Studio Code" |