Skip to content

Commit bba4e41

Browse files
committed
Fix some color names not working in the datagrid component
fixes #922 (comment)
1 parent dd36a28 commit bba4e41

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## v0.35.1
44
- improve color palette for charts
55
- Allow the usage of `eval` from user scripts in the default Content-Security-Policy
6+
- Fix some color names not working in the datagrid component
67

78
## v0.35
89
- Add support for [single sign-on using OIDC](sql-page.com/sso)

sqlpage/sqlpage.css

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,3 +130,25 @@ li p {
130130
.leaflet-container {
131131
background: var(--tblr-active-bg) !important;
132132
}
133+
134+
/*
135+
See https://github.com/tabler/tabler/issues/2404
136+
*/
137+
.status-x{--tblr-status-color:#000000;--tblr-status-color-rgb:0,0,0}
138+
.status-facebook{--tblr-status-color:#1877f2;--tblr-status-color-rgb:24,119,242}
139+
.status-twitter{--tblr-status-color:#1da1f2;--tblr-status-color-rgb:29,161,242}
140+
.status-linkedin{--tblr-status-color:#0a66c2;--tblr-status-color-rgb:10,102,194}
141+
.status-google{--tblr-status-color:#dc4e41;--tblr-status-color-rgb:220,78,65}
142+
.status-youtube{--tblr-status-color:#ff0000;--tblr-status-color-rgb:255,0,0}
143+
.status-vimeo{--tblr-status-color:#1ab7ea;--tblr-status-color-rgb:26,183,234}
144+
.status-dribbble{--tblr-status-color:#ea4c89;--tblr-status-color-rgb:234,76,137}
145+
.status-github{--tblr-status-color:#181717;--tblr-status-color-rgb:24,23,23}
146+
.status-instagram{--tblr-status-color:#e4405f;--tblr-status-color-rgb:228,64,95}
147+
.status-pinterest{--tblr-status-color:#bd081c;--tblr-status-color-rgb:189,8,28}
148+
.status-vk{--tblr-status-color:#6383a8;--tblr-status-color-rgb:99,131,168}
149+
.status-rss{--tblr-status-color:#ffa500;--tblr-status-color-rgb:255,165,0}
150+
.status-flickr{--tblr-status-color:#0063dc;--tblr-status-color-rgb:0,99,220}
151+
.status-bitbucket{--tblr-status-color:#0052cc;--tblr-status-color-rgb:0,82,204}
152+
.status-tabler{--tblr-status-color:#066fd1;--tblr-status-color-rgb:6,111,209}
153+
154+
.text-black-fg{color:var(--tblr-dark-fg)!important}

0 commit comments

Comments
 (0)