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
// Base64 encoded string used for "Application Default Credentials". | |
// Alternative to GOOGLE_APPLICATION_CREDENTIALS env which accepts JSON file path. | |
// | |
// Use following command to generate base64 encoded string for given json file. | |
// $ openssl base64 < ~/Downloads/gcloud-service-key.json | tr -d '\n' | |
// | |
GOOGLE_SERVICE_KEY="<base64_encoded_json_file>" |
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
const React = (() => { | |
// { | |
// 'FooComponent': { | |
// values: [1, 'apple'], | |
// hookIndex: 0, | |
// }, | |
// ... | |
// } | |
let hooks = {}; | |
let componentId = ""; |
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
@use 'sass:color'; | |
@use 'sass:map'; | |
@use 'sass:selector'; | |
@use 'sass:list'; | |
@use 'sass:math'; | |
@use 'sass:string'; | |
$css-vars: ( | |
'--md-button-container-color', | |
'--md-button-label-text-color', |
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
.css-text { | |
white-space: pre; | |
padding: 8px; | |
font-family: monospace; | |
box-sizing: border-box; | |
font-family: Source Code Pro, monospace; | |
font-size: 0.82rem; | |
} |
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
@use 'sass:selector'; | |
$hover-selector: '&:hover'; | |
$focus-selector: '&.mdc-ripple-upgraded--background-focused, &:not(.mdc-ripple-upgraded):focus'; | |
$active-selector: '&:active:active'; | |
@mixin focus() { | |
#{$focus-selector} { | |
@content; | |
} |
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
@mixin focus() { | |
&.mdc-ripple-upgraded--background-focused, | |
&:not(.mdc-ripple-upgraded):focus { | |
@content; | |
} | |
} | |
@mixin active() { | |
&:active:active { | |
@content; |
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
@use 'sass:meta'; | |
@use 'sass:map'; | |
// ----------------------- | |
// _gm-sys-typescale.scss | |
// ----------------------- | |
$body1-font: 'Google Sans Text'; | |
$body1-line-height: 24px; | |
$body1-size: 16px; |
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
@use 'sass:meta'; | |
@use 'sass:map'; | |
// ----------------------- | |
// _gm-sys-typescale.scss | |
// ----------------------- | |
$body1-font: 'Google Sans Text'; | |
$body1-line-height: 24px; | |
$body1-size: 16px; |
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
.input { | |
outline: none; | |
} | |
.hairline { | |
border: 1px solid #000; | |
} | |
.hairline-input-chip { | |
@extend .input, .hairline; |
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
.input { | |
outline: none; | |
} | |
.hairline { | |
border: 1px solid #000; | |
} | |
.hairline-input-chip { | |
@extend .input, .hairline; |
NewerOlder