Comments (11)
Si usas rails agregar al inicio de bootswatch.scss
@import "bootstrap";
tu css de bootswatch
y en tu aplication.scss
@import "variables";
@import "bootstrap";
@import "bootswatch";
from bootswatch-rails.
@chiefGui Could you show how your application.css.scss
or the file where you include bootswatch
is defined, please.
from bootswatch-rails.
There's no application.css.scss
in my application. This is my coliseum.css.scss
, the one which uses bootswatch:
@import 'common';
@import 'bootswatch/flatly/variables';
@import 'bootstrap';
@import 'bootswatch/flatly/bootswatch';
/**
* my styles
**/
But I don't think the problem is with this file at all – I already tried to remove the importation of bootswatch and the same error is still there.
from bootswatch-rails.
@chiefGui Could you try again with the latest version v3.2.3
.
from bootswatch-rails.
@chiefGui use v3.2.4 and I have such problem.
Rails 4.1.7, ruby 2.1.2
from bootswatch-rails.
To solve this problem you should add to bootswatch/#{style_name}/_bootswatch.scss
@import 'variables'
as a first line
but than I had many problems, like:
- undefined mixin: box-shadow
- undefined mixin: gradient-vertical-three-colors
How fix this problem?
this mixins are not in gem directory. Where are they from?
from bootswatch-rails.
@kalashnikovisme did you end up fixing your issue? I would love to know how
from bootswatch-rails.
This could have something to do with this issue. twbs/bootstrap-sass#863
It seems like bootstrap-sass is not loading the variables either.
from bootswatch-rails.
the problem actually lies in config/intializers/assets.rb or config/environments/production.rb
Rails.application.config.assets.precompile += %w( * )
You shouldnt precompile all, instead selectively precompile additional assets as needed
from bootswatch-rails.
@westonganger no. I didn't solve my problem permanently. I've removed bootswatch-rails gem and add bootswatch css-js files to my project.
from bootswatch-rails.
Guys, I do not work with Rails/Bootswatch anymore. Feel free to close this issue when you want. Thank you so far!
from bootswatch-rails.
Related Issues (20)
- Remove http from @import statement when importing Google web fonts HOT 1
- @import's can't find bootswatch-rails's stuff HOT 6
- Update version at RubyGems HOT 3
- Less '&-' operator that SASS does not. HOT 2
- Bug on 'resolve_ampersand_dash' processor.
- Sprockets::FileNotFound Error HOT 11
- Unable to make it work on rails 4.1.1 HOT 6
- Support bootstrap 3.2.0 HOT 2
- How do I import scss template files? HOT 4
- Sandstone HOT 3
- The theme Lumen doesn't match with that of the official site HOT 7
- How to change google font? HOT 1
- glyphicons-halflings not resolving HOT 7
- Readme: text-color instead of textColor
- Problem with javascript. HOT 4
- Undefined Mixin Bug HOT 3
- Incompatible units: 'rem' and 'px'. HOT 4
- Sass::SyntaxError: Undefined variable: "$navbar-default-bg".
- Update to the new, fresh, and exciting Bootswatch themes. Both Sketchy and Minty look pretty sweet. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bootswatch-rails.