Skip to content
Snippets Groups Projects
Commit b579b391 authored by jurgenhaas's avatar jurgenhaas
Browse files

#7 Optimize basic sass structure

parent 90e42946
No related branches found
No related tags found
No related merge requests found
// TODO: Make this configurable
// Set the directory for the Bootstrap Glyphicon font.
$icon-font-path: '../fonts/bootstrap/';
// Set the directory for the Flat-UI Glyphicon font.
$icon-font-path: '../fonts/flat-ui';
$icon-font-name: 'flat-ui-icons-regular';
// Enable the animate modules you want to use
$use-bounceIn: true;
// Put your variables in here
{% if bower_assets.bootstrap-sass.fonts is defined %}
// Set the directory for the Bootstrap Glyphicon font.
$icon-font-path: '../fonts/bootstrap/';
{% endif %}
{% if bower_assets.flat-ui is defined %}
// Workaround for Flat-UI issue with node-sass:
// @see https://github.com/wingrunr21/flat-ui-sass/issues/39
@function tint($color, $percentage){
@return mix(#fff, $color, $percentage)
}
{% if bower_assets.flat-ui.fonts is defined %}
// Set the directory for the Flat-UI Glyphicon font.
$icon-font-path: '../fonts/flat-ui';
$icon-font-name: 'flat-ui-icons-regular';
{% endif %}
{% if bower_assets.animate-sass.sass is defined %}
// Enable the animate modules
{% for module in bower_assets.animate-sass.sass.modules|default([]) %}
$use-{{ module }}: true;
{% endfor %}
{% endif %}
// =============================================================================
// Example main style file for SCSS, please delete those you don't need!!!
// Main style file for SCSS. To change settings of the theme, please edit the
// composer.json of your project and run ** composer update **
//
// Also, please have a look into default variables.
// =============================================================================
@import 'settings';
@import 'default-variables';
// Workaround for Flat-UI issue with node-sass:
// @see https://github.com/wingrunr21/flat-ui-sass/issues/39
@function tint($color, $percentage){
@return mix(#fff, $color, $percentage)
}
// ============== Bower assets =================================================
@import 'bower-assets.scss';
// =============================================================================
// Add your own themeing stuff below this.
// Add your own theming stuff below this.
// =============================================================================
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment