Skip to content

Instantly share code, notes, and snippets.

View diarcastro's full-sized avatar

Diego Castro diarcastro

  • Montreal, Canada
View GitHub Profile
@diarcastro
diarcastro / input.scss
Created April 7, 2022 13:55
Generated by SassMeister.com.
/* Colors for testing */
$violet: violet;
$white: #FFF;
/* End Colors for testing */
@mixin theme-selectors ($primary_color: $violet, $secondary_color: $white) {
a:not(.button),
button.button--unstyled,
&.cp-hero-banner__container .button-secondary,
.button--background-white {
@diarcastro
diarcastro / input.scss
Created March 11, 2022 17:35
Generated by SassMeister.com.
@function rem($target: 16, $context: 10) {
$newTarget: $target / ($target * 0 + 1); // Tip to remove the unit from target
@return ($newTarget / $context) * 1rem;
}
$post-mobile : rem(669px);
$tablet : rem(768);
@media screen and (min-width: $post-mobile) {
.test {
@diarcastro
diarcastro / setup.sh
Last active March 2, 2023 19:36 — forked from chris-sev/setup.sh
Mac Setup
# how to run this thingy
# create a file on your mac called setup.sh
# run it from terminal with: sh setup.sh
# heavily inspired by https://twitter.com/damcclean
# https://github.com/damcclean/dotfiles/blob/master/install.sh
#!/bin/bash
set -euo pipefail
@diarcastro
diarcastro / add-my-list_mobile_tablet.json
Last active December 17, 2018 22:41
add-my-list_mobile_tablet.json
{"v":"5.1.7","fr":25,"ip":0,"op":25,"w":100,"h":100,"nm":"_Plus to Check ICON - MORPH iOS-Tablet","ddd":0,"assets":[],"layers":[{"ddd":0,"ind":2,"ty":4,"nm":"PLUS 2","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"n":["0p833_0p833_0p167_0p167"],"t":0,"s":[25],"e":[25]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"n":["0p833_0p833_0p167_0p167"],"t":3,"s":[25],"e":[100]},{"t":8}],"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"n":["0p833_0p833_0p167_0p167"],"t":1,"s":[0],"e":[-47]},{"t":7.5}],"ix":10},"p":{"a":0,"k":[50,50,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"n":"0p833_0p833_0p167_0p167","t":-1,"s":[{"i":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0
/* ==========================================================================
ABC.go.com
OneId for ABC Brand
1. Fonts
2. Vendor
3. Helpers
4. Base
5. Modal
@diarcastro
diarcastro / how-to-use-it.js
Last active May 16, 2018 12:44
Provider to handle cordova-plugin-ionic-keyboard
// Include it on your module's providers
import { KeyboardProvider } from 'providers/keyboard/keyboard.ts'
@NgModule({
providers: [
...
, KeyboardProvider
]
});