Skip to content

Instantly share code, notes, and snippets.

View valentinstoychev's full-sized avatar

Valentin Stoychev valentinstoychev

View GitHub Profile
<ActionBar title=”Merry Christmas” class=”action-bar”>
</ActionBar>
<StackLayout class=”p-20”>
<Label text=”Christmas Theme” class=”h1 text-center”></Label>
</StackLayout>
<Page xmlns="http://schemas.nativescript.org/tns.xsd" class="page">
<Page.actionBar>
<ActionBar title="My App" icon="" class="action-bar"></ActionBar>
</Page.actionBar>
</Page>
<StackLayout class=”p-20”>
<Label text=”Christmas Theme” class=”h1 text-center”></Label>
</StackLayout>
https://github.com/NativeScript/theme/blob/master/app/scss/_variables.scss
$primary: #fff;
$accent: #384030;
$secondary: #7B8055;
// ActionBar
$ab-background: #A32C28;
$ab-color: $primary;
// Buttons
@valentinstoychev
valentinstoychev / gist:1328ed9f845060ebb5bd10b232fb46ce
Created November 24, 2016 07:46
Using KeyFrames in Nativescript
<Page xmlns:Keyframes="nativescript-keyframes">
<Keyframes:KeyframesView
class="keyframe"
width="200"
height="200"
source="keyframes/logo.json">
</Keyframes:KeyframesView>
</Page>