Skip to content

Instantly share code, notes, and snippets.

@tjvantoll
Created December 19, 2016 15:09
Show Gist options
  • Save tjvantoll/4c61d849e64a1022202f6c6448806267 to your computer and use it in GitHub Desktop.
Save tjvantoll/4c61d849e64a1022202f6c6448806267 to your computer and use it in GitHub Desktop.
// We will base our custom theme off the core theme's light variables
@import 'nativescript-theme-core/scss/light';
// We can now override all the core variables found here:
// 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
$btn-color: $accent;
$btn-color-secondary: darken($accent, 5%);
// Import the theme’s main ruleset
// core class definitions which will use the variables above :)
@import 'nativescript-theme-core/scss/index';
// Place any CSS rules you want to apply on both iOS and Android here.
// This is where the majority of your custom CSS will go.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment