Comments (3)
There is a build process to generate the bulmaswatch.min.css
files but there is customization for each theme which needs manual CSS changes.
from bulmaswatch.
I managed to reproduce the css build step locally. It turns out that to include extensions in the theme, you can simply add (in your main.scss), after:
@import bulma
the required extensions, for example:
@import 'bulma-switch/dist/bulma-switch.sass';
If you don't mind the slightly increased css side that results from this, maybe it would even be possible to include these extensions by default in the theme css (or maybe to have two versions, extensions and no extensions).
However, while in some cases it works smoothly but in other cases there are unit measure conflicts. For example, if I compile Minty with the "toggle-switch" Bulma extension, I get:
sass styles/main.scss styles/main.css
Error: Incompatible units rem and px.
$paddle-height: $switch-height - ($switch-paddle-offset * 2)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
vendors/bulma-extensions/bulma-switch/dist/bulma-switch.sass 14:19 switch-size()
vendors/bulma-extensions/bulma-switch/dist/bulma-switch.sass 148:3 @import
styles/main.scss 43:9 root stylesheet
I'm not sure if it's an issue with the theme or the extension. Maybe the theme is changing unit of measure of some bulma quantites?
from bulmaswatch.
I think have CSS built for extensions separately only makes senses, so I'm going to this issue for now.
from bulmaswatch.
Related Issues (20)
- Markdown white font and white background
- Documentation: Navbar Dropdown on "Help" page has incorrect text colors HOT 1
- How is the status of `@imort` deprecation and replace to @use/@forward?
- bookmarklet use HOT 2
- New tagged release? HOT 1
- Why $primary has !default ?
- Upgrade to Bulma v1 HOT 1
- wrong dropdown behavior in materia theme's navbar HOT 1
- ReferenceError: primordials is not defined on yarn start on Node v12.14 HOT 1
- Input text is hardly visible in dark themes by default HOT 5
- Is it v0.9 compatible? HOT 10
- Using px in darkly theme should be discouraged HOT 4
- Problem with click icon in b-input and b-autocomplete
- $navbar-breakpoint issue HOT 2
- is-size-7 doesn't seem to work on a span element
- notification light version
- Navbar minor issues since PR #77
- Select box ::after arrow too far right
- Progress bar background differs between Firefox and Chrome HOT 1
- Include All UI element of Bulma v0.9.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 bulmaswatch.