Skip to main content
Filter by
Sorted by
Tagged with
3 votes
4 answers
2k views

I have been on this problem for quite some time. I am using Web Compiler 2022+ 1.14.11 And Visual Studio 17.8.5 For some reason suddenly the Web Compiler won't compile my scss file anymore. Im getting ...
-1 votes
0 answers
81 views

I am new to Vite and am using it as part of a CMS's SDK repo. It came pre-configured from the repo. I'd like to be able to configure it so that it (or something) watches my SCSS files compiles on ...
Tooling
1 vote
1 replies
27 views

I would like to set the CSS breakpoints globally in Blazor. What are some approaches? I prefer something that keeps the code or additional libraries quite simple.
12 votes
6 answers
30k views

I am developing an angular component and I would like to import into my scss file variables (such as colors) from my ts file and I am going throught some issues. I have seen some examples with node-...
1 vote
2 answers
230 views

I'm encountering a persistent issue where Sass is unable to resolve the import path for Bootstrap, even in a minimal test project. I'm using gulp-sass with Dart Sass. Here's the problem: I'm trying to ...
-1 votes
0 answers
35 views

I am trying create a dynamic classes using BEM along with the css mixins. .card--sty-1{ &__circle{} &__link{}; } .card--sty-2{ &__circle{} &__link{}; } ...for --sty-[n ...
-1 votes
0 answers
25 views

I am facing a persistent Undefined variable error when using the new Sass module system (@use). My setup involves a modular file structure where variables are imported before they are used, but the ...
0 votes
0 answers
54 views

I’m trying to style my K2 SmartForms (by Nintex) using Bootstrap 5 with SASS. However, SmartForms have their own generated HTML structure and styles that often conflict with Bootstrap’s classes and ...
1 vote
1 answer
419 views

I wanted to use Tailwind and SCSS on my Nuxt site, but I noticed that the only way to make it work is if the file where I put @import is a CSS file; it doesn't work in an SCSS file. I don't understand ...
4 votes
3 answers
635 views

I've recently created a new Angular application (v20.3.0) and I installed TailwindCSS v4, using the Angular documentation guideline which is very simple to do (also TailwindCSS in its documentation ...
4 votes
1 answer
14k views

I am running protractor UI automation project and try to run test with yarn test and received following build error Module build failed: Error: Node Sass does not yet support your current environment:...
58 votes
4 answers
29k views

I know you can strip units from numbers in SASS when you know the unit before-hand like this: $number: 16px; $without-unit: 16px / 1px; @warn $without-unit; // 16 But is it possible to strip the unit ...
1 vote
1 answer
12k views

I am trying to install Tailwind into my Laravel 5.8 app and am using Laravel Mix. I've installed tailwind npm package and generated a tailwind config file. A file exists at the resources/sass/app.scss ...
3 votes
1 answer
10k views

I'm using bootstrap and sass. Nodejs with grunt. app.sss $icon-font-path: "/bower_components/bootstrap-sass-official/vendor/assets/fonts/bootstrap/"; $fa-font-path: "/bower_components/font-awesome/...
0 votes
2 answers
3k views

Hello everyone Why does the error "Deprecation Warning: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0." occur? I have searched for an answer in other help requests, ...
2 votes
1 answer
65 views

I've been using newest Angular Material in Angular 20. Trying to control stuff using mat.*-overrides but I can't find the option to change height of each mat-option inside of the form-field inside the ...
0 votes
1 answer
51 views

If I have the following scss rule: .hero-wrapper{ padding: g.$padding-main; @include r.medium { padding: calc(g.$padding-main / 2); } @include r.small { padding: calc(g....
0 votes
0 answers
113 views

We upgraded an Angular app from PrimeNG 17 (classic theme) to PrimeNG 18 (new tokens/presets). After the upgrade, the UI changed notably (spacing, paddings, border radius, fonts, table row height, ...
6 votes
1 answer
9k views

TL;DR - how can I nest validation states using a SASS mixin? Long version - I'm having a few difficulties using Bootstrap 4's SASS to generate a dark theme. Some variable replacements are obvious, ...
0 votes
1 answer
97 views

So I'm trying to align the Swipe Icon to the right without padding-right: 0; doesn't work:( Herse some Code and Images: Here's my HTML: <div class="col-sm-4"> <span class="c-...
1 vote
0 answers
71 views

I have some CUDA kernel code doing the following: half * restrict output; half v; // ... etc ... int i = whatever(); #ifdef CHECK_X if (i >= 0 && i <= SOME_CONSTANT) #endif { output[...
-1 votes
2 answers
220 views

I'm starting a new angular project and it has been decided not to use a framework like bootstrap/bulma/materialize/... but write our own sassy component library. I have done some research but to be ...
0 votes
0 answers
40 views

I have some code using SvelteKit for JS, Sass (with Bootstrap) for CSS, optimized with PurgeCSS, and compiled with Vite. Here my vite.config.js: import { sveltekit } from '@sveltejs/kit/vite'; import {...
3 votes
6 answers
4k views

There is folder named 'img' inside public folder. If I write this, background: url(img/hero2.jpg) no-repeat center; Then it throws this error. Module not found: Can't resolve './img/hero2.jpg' in 'D:\...
0 votes
0 answers
23 views

Migrating from @import to @use/@forward syntax in SASS and getting error "@use rules must be written before any other rules." while compiling. I can't find which rule(s) would be defined ...

1
2 3 4 5
555