For example, you want to set 40% alpha transparence to #000000
(black color), you need to add 66
like this #66000000
.
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
#!/bin/bash | |
if [ -f ~/Library/KeyBindings/DefaultkeyBinding.dict ]; then | |
echo "~/Library/KeyBindings/DefaultkeyBinding.dict already exists" | |
exit -1 | |
fi | |
mkdir -p ~/Library/KeyBindings | |
cat << EOF > ~/Library/KeyBindings/DefaultkeyBinding.dict | |
{ | |
"₩" = ("insertText:", "\`"); |
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
'padding-line-between-statements': [2, | |
// Always require blank lines after directive (like 'use-strict'), except between directives | |
{blankLine: 'always', prev: 'directive', next: '*'}, | |
{blankLine: 'any', prev: 'directive', next: 'directive'}, | |
// Always require blank lines after import, except between imports | |
{blankLine: 'always', prev: 'import', next: '*'}, | |
{blankLine: 'any', prev: 'import', next: 'import'}, | |
// Always require blank lines before and after every sequence of variable declarations and export | |
{blankLine: 'always', prev: '*', next: ['const', 'let', 'var', 'export']}, | |
{blankLine: 'always', prev: ['const', 'let', 'var', 'export'], next: '*'}, |
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
#!/bin/bash | |
npx react-native init RnSBSixAlpha --template react-native-template-typescript; | |
cd RnSBSixAlpha; | |
yarn add @storybook/react-native@next \ | |
@react-native-async-storage/async-storage \ | |
@storybook/addon-ondevice-actions@next \ | |
@storybook/addon-ondevice-controls@next \ | |
@storybook/addon-ondevice-backgrounds@next \ | |
@storybook/addon-ondevice-notes@next \ |