.transparent {
  background-color: transparent !important;
  box-shadow: none !important;
  color: inherit !important;
}

.primary {
  background-color: var(--primary) !important;
  color: var(--on-primary) !important;
}

.primary-text {
  color: var(--primary) !important;
}

.primary-border {
  border-color: var(--primary) !important;
}

.primary-container {
  background-color: var(--primary-container) !important;
  color: var(--on-primary-container) !important;
}

.secondary {
  background-color: var(--secondary) !important;
  color: var(--on-secondary) !important;
}

.secondary-text {
  color: var(--secondary) !important;
}

.secondary-border {
  border-color: var(--secondary) !important;
}

.secondary-container {
  background-color: var(--secondary-container) !important;
  color: var(--on-secondary-container) !important;
}

.tertiary {
  background-color: var(--tertiary) !important;
  color: var(--on-tertiary) !important;
}

.tertiary-text {
  color: var(--tertiary) !important;
}

.tertiary-border {
  border-color: var(--tertiary) !important;
}

.tertiary-container {
  background-color: var(--tertiary-container) !important;
  color: var(--on-tertiary-container) !important;
}

.error {
  background-color: var(--error) !important;
  color: var(--on-error) !important;
}

.error-text {
  color: var(--error) !important;
}

.error-border {
  border-color: var(--error) !important;
}

.error-container {
  background-color: var(--error-container) !important;
  color: var(--on-error-container) !important;
}

.background {
  background-color: var(--background) !important;
  color: var(--on-background) !important;
}

.surface,
.surface-dim,
.surface-bright,
.surface-container-lowest,
.surface-container-low,
.surface-container,
.surface-container-high,
.surface-container-highest {
  background-color: var(--surface) !important;
  color: var(--on-surface) !important;
}

.surface-variant {
  background-color: var(--surface-variant) !important;
  color: var(--on-surface-variant) !important;
}

.inverse-surface {
  background-color: var(--inverse-surface) !important;
  color: var(--inverse-on-surface) !important;
}

.inverse-primary {
  background-color: var(--inverse-primary) !important;
  color: var(--primary) !important;
}

.inverse-primary-text {
  color: var(--inverse-primary) !important;
}

.inverse-primary-border {
  border-color: var(--inverse-primary) !important;
}

.surface-dim {
  background-color: var(--surface-dim) !important;
}

.surface-bright {
  background-color: var(--surface-bright) !important;
}

.surface-container-lowest {
  background-color: var(--surface-container-lowest) !important;
}

.surface-container-low {
  background-color: var(--surface-container-low) !important;
}

.surface-container {
  background-color: var(--surface-container) !important;
}

.surface-container-high {
  background-color: var(--surface-container-high) !important;
}

.surface-container-highest {
  background-color: var(--surface-container-highest) !important;
}

.surface-container-low {
  background-color: var(--surface-container-low) !important;
}

.black {
  background-color: #000 !important;
}

.black-border {
  border-color: #000 !important;
}

.black-text {
  color: #000 !important;
}

.white {
  background-color: #FFF !important;
}

.white-border {
  border-color: #FFF !important;
}

.white-text {
  color: #FFF !important;
}

.transparent-border {
  border-color: transparent !important;
}

.transparent-text {
  color: transparent !important;
}

.fill:not(i) {
  background-color: var(--surface-variant) !important;
  color: var(--on-surface-variant) !important;
}

nav.primary-container > button,
nav.primary a.active > i,
nav:is(.max, .tabbed, .toolbar).primary a.active,
.primary > :is(button, a, li).active {
  background-color: var(--primary-container) !important;
  color: var(--on-primary-container) !important;
}

nav.primary > button,
nav.primary-container a.active > i,
nav:is(.max, .tabbed, .toolbar).primary-container a.active,
.primary-container > :is(button, a, li).active {
  background-color: var(--primary) !important;
  color: var(--on-primary) !important;
}

nav.secondary-container > button,
nav.secondary a.active > i,
nav:is(.max, .tabbed, .toolbar).secondary a.active,
.secondary > :is(button, a, li).active {
  background-color: var(--secondary-container) !important;
  color: var(--on-secondary-container) !important;
}

nav.secondary > button,
nav.secondary-container a.active > i,
nav:is(.max, .tabbed, .toolbar).secondary-container a.active,
.secondary-container > :is(button, a, li).active {
  background-color: var(--secondary) !important;
  color: var(--on-secondary) !important;
}

nav.tertiary-container > button,
nav.tertiary a.active > i,
nav:is(.max, .tabbed, .toolbar).tertiary a.active,
.tertiary > :is(button, a, li).active {
  background-color: var(--tertiary-container) !important;
  color: var(--on-tertiary-container) !important;
}

nav.tertiary > button,
nav.tertiary-container a.active > i,
nav:is(.max, .tabbed, .toolbar).tertiary-container a.active,
.tertiary-container > :is(button, a, li).active {
  background-color: var(--tertiary) !important;
  color: var(--on-tertiary) !important;
}

nav:is(.left, .right, .bottom, .top):not(.max) a.active {
  background: none !important;
  color: inherit !important;
}
