Allow custom CSS import in `config.json` …
See original GitHub issueIt would be great to allow custom CSS import in config.json
… this could be as easy as adding @import url("/custom.css");
to: https://github.com/matrix-org/matrix-react-sdk/blob/develop/res/themes/light-custom/css/_custom.scss
Maybe it’s even possible to use a css variable here, like: @import url("var(--custom-css-path)");
… or maybe via sass, like:
$custom-css-path: var(--custom-css-path);
@import url("{$custom-css-path}")
Think that’s the easiest solution to this, but I’m more than happy if anyone know an even more simple solution which would make it into master very soon.
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (8 by maintainers)
Top Results From Across the Web
import - CSS: Cascading Style Sheets - MDN Web Docs
The @import CSS at-rule is used to import style rules from other valid stylesheets. An @import rule must be defined at the top...
Read more >Import JSON config file into styles.css
I have an Angular solution, and I would like to import a config.json file into the "styles.css" file. I don't even know if...
Read more >Building Consistency with CSS Custom Properties & JSON
The plugin imports the JSON file and converts the data into CSS custom properties. Let's look at a basic use-case example.
Read more >css-loader | webpack - JS.ORG
The option importLoaders allows you to configure how many loaders before css-loader should be applied to @import ed resources and CSS modules/ICSS imports....
Read more >PostCSS plugin to inline @import rules content
PostCSS plugin to transform @import rules by inlining content. This plugin can consume local files, node modules or web_modules. To resolve path of...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I believe your query was answered: https://matrix.to/#/!YTvKGNlinIzlkMTVRl:matrix.org/$sRa0_sb5Hv_dlJMFeyfIXr9h_0iWdh7mlDvC7KEYToA?via=matrix.org&via=privacytools.io&via=mozilla.org
@jryans What’s your handle on Matrix, also
@jryans
? Didn’t find someone with that handle, yet …