mirror of
https://github.com/tabler/tabler.git
synced 2025-12-21 17:34:25 +04:00
Update color utility classes and fix colors in pricing page (#2122)
This commit is contained in:
5
.changeset/orange-moose-run.md
Normal file
5
.changeset/orange-moose-run.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tabler/core": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Update color utility classes and replace background colors in pricing table
|
||||||
@@ -31,7 +31,7 @@
|
|||||||
|
|
||||||
@each $color, $value in $gray-colors {
|
@each $color, $value in $gray-colors {
|
||||||
.bg-#{"" + $color} {
|
.bg-#{"" + $color} {
|
||||||
--#{$prefix}bg-opacity: .1;
|
--#{$prefix}bg-opacity: 1;
|
||||||
background-color: rgba(var(--#{$prefix}#{$color}-rgb), var(--#{$prefix}bg-opacity)) !important;
|
background-color: rgba(var(--#{$prefix}#{$color}-rgb), var(--#{$prefix}bg-opacity)) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -39,3 +39,15 @@
|
|||||||
color: $value !important;
|
color: $value !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.bg-surface {
|
||||||
|
background-color: var(--#{$prefix}bg-surface) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.bg-surface-secondary {
|
||||||
|
background-color: var(--#{$prefix}bg-surface-secondary) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.bg-surface-tertiary {
|
||||||
|
background-color: var(--#{$prefix}bg-surface-tertiary) !important;
|
||||||
|
}
|
||||||
@@ -35,7 +35,7 @@ permalink: pricing-table.html
|
|||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr class="bg-light">
|
<tr class="bg-surface-tertiary">
|
||||||
<th colspan="4" class="subheader">Features</th>
|
<th colspan="4" class="subheader">Features</th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -56,7 +56,7 @@ permalink: pricing-table.html
|
|||||||
<td class="text-center">{% include "ui/icon.html" icon="x" class="text-red" %}</td>
|
<td class="text-center">{% include "ui/icon.html" icon="x" class="text-red" %}</td>
|
||||||
<td class="text-center">{% include "ui/icon.html" icon="check" class="text-green" %}</td>
|
<td class="text-center">{% include "ui/icon.html" icon="check" class="text-green" %}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="bg-light">
|
<tr class="bg-surface-tertiary">
|
||||||
<th colspan="4" class="subheader">Reporting</th>
|
<th colspan="4" class="subheader">Reporting</th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -71,7 +71,7 @@ permalink: pricing-table.html
|
|||||||
<td class="text-center">{% include "ui/icon.html" icon="check" class="text-green" %}</td>
|
<td class="text-center">{% include "ui/icon.html" icon="check" class="text-green" %}</td>
|
||||||
<td class="text-center">{% include "ui/icon.html" icon="check" class="text-green" %}</td>
|
<td class="text-center">{% include "ui/icon.html" icon="check" class="text-green" %}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="bg-light">
|
<tr class="bg-surface-tertiary">
|
||||||
<th colspan="4" class="subheader">Support</th>
|
<th colspan="4" class="subheader">Support</th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
|||||||
Reference in New Issue
Block a user