android:Theme.Material.Light requires API level 21 (current min is 8)

I want to use Material Theme in my application which has minimum sdk version of 8. As per docs - "The material theme is only available in Android 5.0 (API level 21) and above. The v7 Support...

Code for Julia set always generates a grey image in CUDA C

I've written the following code for generating a Julia set fractal in CUDA C/C++ with some help from online sources. I've been trying for hours now, but I'm unable to figure out as to why this...

Add a custom color palette to XCode Interface Builder

My current long term project utilizes a palette of custom colors. In code, we are using a category to access these colors by name. This works great but there are times, such as when building a...

Git Grep color options explained and/or compared

I'm trying to custom color my Git. After reading through the documentation, I've found my options I wanted to set. Everything was working fine except the Grep. I've realised, I haven't really used...

How to apply different color in AppBar Title material-ui

I am trying to use my custom color for AppBar header. The AppBar has title 'My AppBar'. I am using white as my primary theme color. It works well for the bar but the 'title' of the AppBar is also...

How can I use custom theme palettes in Angular?

I want to use my company's brand colors throughout the app. I have found this issue: https://stackoverflow.com/questions/37268999/angularjs-2-material-design-set-color-palette where I can build an...

Angular Material2 theming - how to set app background?

I am building an angular2 app using angular material2. I am trying to set the background of my application "the correct way", but I can't figure out how. I found a class I can use on my <body>...

undefined ... isn't a valid CSS value

Bug, feature request, or proposal: I have created a theme for material design but when I build I have error. My code is like this: main.scss @import "[email protected]/material/theming"; // Theme...

Material design 2 customize the css component

I would like to customize the css a md-form-field for exemple. I know that I can import a native material theme but I dont have the white color in the palette https://www.materialpalette.com/ I...

How to customize command palette color and keybindings when creating vscode theme

Creating a VSCode theme for myself. I like the color configuration I have at the moment, but when I open the command palette, it is 'see-through' making it hard to read. How can I configure the...

Seaborn Color Palette not working appropiate with lineplot

I'm having a little trouble with customizing my colors for a lineplot. I want to show an ensemble of spectras with a sequential color palette. The argument "palette="blues" works fine, but does...

Metal Shading language for Core Image color kernel, how to pass an array of float3

I'm trying to port some CIFilter from this source by using metal shading language for Core Image. I have a palette of color composed by an array of RGB struct and I want to pass them as an...

Storybook custom fonts not showing

I have a Material UI theme like so: import { createMuiTheme } from '@material-ui/core/styles' const primaryColor = '#009baa' const theme = createMuiTheme({ typography: { fontFamily:...

Can't customize color palette types on Material UI theme in TypeScript

I create a type interface to add custom properties to the Palette like so: declare module @material-ui/core/styles/createMuiTheme { interface PaletteColor { transparent?: string; ...

Change colors in python dash plotly theme

I am currently creating my first plotly dash app and have a question on graph theming: I want to use the available plotly_dark theme and only adjust the underlying colors (background and element...

Custom discrete color scale in ggplot does not respect order

Context I'm trying to create a custom color scale to be called using something like scale_fill_perso in ggplot. I followed the steps described in this nice blog post. My discrete scale has 7...

Set custom colour palette in Plotly js in Angular

I am using Plotly js in my recent angular project. I implemented the library successfully by using its angular based wrapper. There is one thing that I tried to implement in many ways but failed....

Tailwind CSS: Referencing Theme Colors When Creating Custom Class

I am trying to modify the tailwind.config.js file to create some custom classes. For example, I would like to create a color palette - and do so by referencing other colors in the theme. To do...

How do I extend the color palette from mui with Typescript

I'm trying to extend the color palette that mui provides. The overriding of primary, secondary etc colors works well but if I want to create a custom set of colors just after, I can't figure out...

Jetpack Compose: How to change theme from light to dark mode programmatically onClick

TL;DR change the theme and recompose the app between light and dark themes onClick. Hello! I have an interesting issue I have been struggling to figure out and would love some help. I am trying to...

WP Gutenberg, remove core panel options?

Does anyone know if it's posssible to remove some of the default panels from the core blocks in gutenberg? I'm thinking specifically of, the color palette panel (only on some blocks, like I don't...

How to import tailwindcss/colors?

I am trying to make the extended pallet work as outline in here https://tailwindcss.com/docs/customizing-colors#color-palette-reference I have installed tailwind, but only have the default...

InertiaJS with VueJS conflict with jQuery

So, I have this inertiaJS & VueJS app am creating, the backend is in Laravel. At the start, the app is working fine, but once you navigate to another page say log in, Jquery just fails without any...

Angular material: SassError: Invalid CSS after "@include mat": expected 1 selector or at-rule, was ".core();"

I had an angular 11 project working for a while with angular material (also 11). I just updated everything to angular 12 (including material). The styles.scss that is included with material is now...

TypeError: (0 , .....) is not a function

I'm building a next.js application with Material-ui. I am trying to apply material-ui to my project. I copied the _app.js , _document.js , theme.js from the official GitHub page. All of the files...

SassError: Can't find stylesheet to import. @use '[email protected]/material' as mat;

I created an Angular project using the CLI. I'm using SCSS, and I included Angular Material with a custom theme iirc. I added a couple dummy components, and the app still built fine. Then I needed...

Undeclared mixin mat-core angular-material-theme for custom-theme.scss

I was finally able to update all npm package dependencies for my angular project. After doing so, I am now left with this error below. When I hover over mat-core and angular-material-theme in...

Angular Material 12 custom theming for components is not working as expected

I am completely lost here and all of the documentation you can find here or medium doesn't seem to be helping and it seems outdated. Specifically, I am trying to use @mixins or adjust parts of the...

MUI 5 theme - globally customize typography and color palette

Using MUI 5, I'm looking to use ThemeProvider and createTheme to set the font-family and color palette across all MUI components used. I'm using this installation of mui: npm install @mui/material...

MUI v5 - Extending Typography variant in TypeScript creates error "No overload matches this call"

I am setting up the base for an app with MUI v5 and TypeScript. I want to extend the MUI theme with some custom properties which add to the existing default properties. My theme.ts config looks...