Skip to content

Instantly share code, notes, and snippets.

View anilkk's full-sized avatar

Anil Kumar Krishnashetty anilkk

View GitHub Profile
@anilkk
anilkk / SketchSystems.spec
Created October 8, 2020 15:06
My Awesome Sketch
My Awesome Sketch
First State
some event -> Second State
Second State
@anilkk
anilkk / .gitignore
Created July 17, 2020 11:26
To ignore .DS_Store file inside the folder.
**/.DS_Store
@anilkk
anilkk / style.css
Created July 2, 2019 05:06
style with responsive styling
/*
Colours used:
Primary Colour (pink): #FFECE8;
Secondary Colour (brown): #BF491F; #FFA282; #FFE4DA;
Font: #212121; #ffffff; #9E9E9E;
*/
* {
box-sizing: border-box;
}
Search Bar*
Inactive*
focused -> Active
Active
canceled -> Inactive
typed -> Text Entry
Empty*
@anilkk
anilkk / index.html
Last active June 23, 2018 10:26
test
<!DOCTYPE html>
<html>
<head>
<title>JS learning</title>
</head>
<body>
<h1>JS Learning</h1>
<script>
// your JS stuff goes here
console.log('script stuff goes here');
@anilkk
anilkk / SketchSystems.spec
Created June 7, 2018 05:43
My Awesome Sketch
My Awesome Sketch
First State
some event -> Second State
Second State
@anilkk
anilkk / app.coffee
Created June 14, 2017 09:25
Attach click event
screen1.onTap ->
flow.showNext(screen2)
searchButton.onTap ->
flow.showPrevious(screen1)
@anilkk
anilkk / app.coffee
Created June 14, 2017 09:23
FlowComponent
flow = new FlowComponent
flow.showNext(screen1)
@anilkk
anilkk / app.coffee
Last active June 14, 2017 09:18
Transparent layer
# Create transparent layer for hotspot
searchButton = new Layer
width: 650
height: 80
backgroundColor: "rgba(0,0,0, 0.1)"
x: 60
y: 1100
#add to parent layer
screen2.addChild(searchButton)
@anilkk
anilkk / app.coffee
Created June 14, 2017 09:14
Screen Layer
# Create layer for each screens
#
screen1 = new Layer
image:"https://preview.ibb.co/iBJJdQ/Screenshot_2017_06_13_00_12_49.png"
width: 320
height: 520