# Variables CSS

**URL:** <https://forum.ionicframework.com/t/variables-css/137334>\
**Category:** Ionic Framework\
**Created:** [August 3, 2018, 10:09pm UTC](https://forum.ionicframework.com/t/variables-css/137334 "2018-08-03T22:09:46Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![easychurch](https://avatars.discourse-cdn.com/v4/letter/e/e495f1/32.png) [@easychurch](https://forum.ionicframework.com/u/easychurch)\
**Post date:** [August 3, 2018, 10:09pm UTC](https://forum.ionicframework.com/t/variables-css/137334/1 "2018-08-03T22:09:46Z")

</div>

I’m overwriting some css variables like this and it’s working fine:

```auto
--ion-backdrop-color
--ion-overlay-background-color
--ion-background-color
--ion-border-color
--ion-box-shadow-color
--ion-text-color
--ion-tabbar-background-color
--ion-tabbar-border-color
--ion-tabbar-text-color
--ion-tabbar-text-color-active
--ion-toolbar-background-color
--ion-toolbar-border-color
--ion-toolbar-color-active
--ion-toolbar-color-inactive
--ion-toolbar-text-color
--ion-item-background-color
--ion-item-background-color-active
--ion-item-border-color
--ion-item-text-color
--ion-placeholder-text-color

```

But, I can not when other variables are:

```auto
$card-md-background-color
$card-md-title-text-color

```

> **[Ionic Framework](https://ionicframework.com/docs/theming/overriding-ionic-variables/)**
>
> Ionic is the app platform for web developers. Build amazing mobile, web, and desktop apps all with one shared code base and open web standards

---

<div class="post-metadata">

**Author:** ![anupzone](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/anupzone/32/120703_2.png) [@anupzone](https://forum.ionicframework.com/u/anupzone)\
**Post date:** [August 5, 2018, 8:07am UTC](https://forum.ionicframework.com/t/variables-css/137334/2 "2018-08-05T08:07:24Z")

</div>

some variables dependent on another variables inside that. so change that inside variable values. u will get those variables after inspecting in browser.

---

<div class="post-metadata">

**Author:** ![easychurch](https://avatars.discourse-cdn.com/v4/letter/e/e495f1/32.png) [@easychurch](https://forum.ionicframework.com/u/easychurch)\
**Post date:** [August 10, 2018, 9:46pm UTC](https://forum.ionicframework.com/t/variables-css/137334/3 "2018-08-10T21:46:25Z")

</div>

So, I was in the Beta code of Ionic 4 and found that only a few variables are available. Have you read anything about it?

---

<div class="post-metadata">

**Author:** ![anupzone](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/anupzone/32/120703_2.png) [@anupzone](https://forum.ionicframework.com/u/anupzone)\
**Post date:** [August 10, 2018, 10:59pm UTC](https://forum.ionicframework.com/t/variables-css/137334/4 "2018-08-10T22:59:17Z")

</div>

i think u r talking about few variables written in variable.scss. but not like that. after inspecting u can see lots of variables used in framework. btw post ur exact problem with pic. which component color u want to change?

---

<div class="post-metadata">

**Author:** ![reedrichards](https://avatars.discourse-cdn.com/v4/letter/r/34f0e0/32.png) [@reedrichards](https://forum.ionicframework.com/u/reedrichards)\
**Post date:** [August 11, 2018, 7:18am UTC](https://forum.ionicframework.com/t/variables-css/137334/5 "2018-08-11T07:18:42Z")

</div>

I think they are working on some kind of documentation for the css variables, not yet available/finish. See [https://github.com/ionic-team/ionic/issues/14850](https://github.com/ionic-team/ionic/issues/14850)

---

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [July 19, 2021, 9:26pm UTC](https://forum.ionicframework.com/t/variables-css/137334/6 "2021-07-19T21:26:10Z")

</div>

Closed on July 19, 2021, 9:26pm UTC


