Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Colors] Central dynamic color map for every component #261

Merged
merged 43 commits into from
Dec 21, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
8f52ac0
feat(colors): Central base mapping, so each component can iterate thr…
lubber-de Nov 26, 2018
6f4d1bd
feat(colors,segment): segment dynamic color creation and removed !imp…
lubber-de Nov 26, 2018
fecb9ee
Merge branch 'develop' into dynamic_color_maps
lubber-de Nov 27, 2018
1c56055
feat(colors,label): label dynamic color creation and centralized vari…
lubber-de Nov 27, 2018
8b80a4f
feat(colors,range): range dynamic color creation
lubber-de Nov 27, 2018
05e394d
feat(colors,progress): progress dynamic color creation
lubber-de Nov 27, 2018
83c8f46
feat(colors,header): header dynamic color creation and removed !impor…
lubber-de Nov 27, 2018
511909c
feat(colors,toast): toast dynamic color creation
lubber-de Nov 28, 2018
3e3d8da
feat(colors,icon): icon dynamic color creation and removed !important…
lubber-de Nov 29, 2018
4bfa491
fix(header): removed 0 metrics
lubber-de Nov 29, 2018
48557be
fix(label): removed 0 metrics
lubber-de Nov 29, 2018
d40e554
fix(progress): removed 0 metrics
lubber-de Nov 29, 2018
490cb9b
fix(segment): removed 0 metrics
lubber-de Nov 29, 2018
5557a16
feat(colors,card): card dynamic color creation and removed 0 metrics
lubber-de Nov 29, 2018
3ad66d2
fix(header): removed 0 metrics
lubber-de Nov 29, 2018
aab87b6
fix(progress): removed 0 metrics
lubber-de Nov 29, 2018
eb55fc2
fix(label): removed 0 metrics
lubber-de Nov 29, 2018
f7150be
fix(segment): removed 0 metrics
lubber-de Nov 29, 2018
d5b7a89
fix(icon): removed 0 metrics
lubber-de Nov 29, 2018
09fc617
feat(colors,statistic): statistic dynamic color creation and removed …
lubber-de Nov 29, 2018
4821cd9
fix(colors, statistic): removed wrongly copied comment
lubber-de Nov 29, 2018
1e557ab
Merge branch 'develop' into dynamic_color_maps
lubber-de Dec 1, 2018
9158604
Merge branch 'develop' into dynamic_color_maps
lubber-de Dec 3, 2018
39a4e79
Merge branch 'develop' into dynamic_color_maps
lubber-de Dec 5, 2018
cfb82c5
Merge branch 'develop' into dynamic_color_maps
lubber-de Dec 7, 2018
0b1104b
Merge branch 'develop' into dynamic_color_maps
lubber-de Dec 13, 2018
6266831
feat(colors,grid): grid dynamic color creation and removed unnecessar…
lubber-de Dec 17, 2018
9e65fe8
Merge branch 'develop' into dynamic_color_maps
lubber-de Dec 17, 2018
30b63e6
Merge branch 'develop' into dynamic_color_maps
lubber-de Dec 17, 2018
68cbe73
feat(colors,rating): rating dynamic color creation
lubber-de Dec 17, 2018
8936d91
Merge branch 'develop' into dynamic_color_maps
lubber-de Dec 18, 2018
7d8b642
Merge branch 'develop' into dynamic_color_maps
lubber-de Dec 18, 2018
8093acf
feat(colors,rating): Missing closing parenthesis
lubber-de Dec 20, 2018
5d3bae0
feat(colors,table): table dynamic color creation, added support for c…
lubber-de Dec 20, 2018
ae11d3e
Merge branch 'develop' into dynamic_color_maps
lubber-de Dec 20, 2018
c639924
feat(colors,slider): slider dynamic color creation
lubber-de Dec 20, 2018
9c37f54
Merge branch 'develop' into dynamic_color_maps
lubber-de Dec 20, 2018
477c9e3
feat(colors,loader): loader dynamic color creation
lubber-de Dec 20, 2018
6477270
feat(colors,menu): menu dynamic color creation and removed unneeded !…
lubber-de Dec 20, 2018
7608ffd
feat(colors,button): removed color related !important and fixed basic…
lubber-de Dec 20, 2018
e5aa982
feat(colors,button): button dynamic color creation and multiple box-s…
lubber-de Dec 20, 2018
d704d3f
feat(colors,message): message dynamic color creation
lubber-de Dec 20, 2018
ba45329
feat(colors,text): new text element #289
lubber-de Dec 21, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
102 changes: 11 additions & 91 deletions src/definitions/collections/grid.less
Original file line number Diff line number Diff line change
Expand Up @@ -1278,97 +1278,17 @@
Colored
-----------------------*/

/* Red */
.ui.grid > .red.row,
.ui.grid > .red.column,
.ui.grid > .row > .red.column {
background-color: @red !important;
color: @white;
}
/* Orange */
.ui.grid > .orange.row,
.ui.grid > .orange.column,
.ui.grid > .row > .orange.column {
background-color: @orange !important;
color: @white;
}
/* Yellow */
.ui.grid > .yellow.row,
.ui.grid > .yellow.column,
.ui.grid > .row > .yellow.column {
background-color: @yellow !important;
color: @white;
}
/* Olive */
.ui.grid > .olive.row,
.ui.grid > .olive.column,
.ui.grid > .row > .olive.column {
background-color: @olive !important;
color: @white;
}
/* Green */
.ui.grid > .green.row,
.ui.grid > .green.column,
.ui.grid > .row > .green.column {
background-color: @green !important;
color: @white;
}
/* Teal */
.ui.grid > .teal.row,
.ui.grid > .teal.column,
.ui.grid > .row > .teal.column {
background-color: @teal !important;
color: @white;
}
/* Blue */
.ui.grid > .blue.row,
.ui.grid > .blue.column,
.ui.grid > .row > .blue.column {
background-color: @blue !important;
color: @white;
}
/* Violet */
.ui.grid > .violet.row,
.ui.grid > .violet.column,
.ui.grid > .row > .violet.column {
background-color: @violet !important;
color: @white;
}
/* Purple */
.ui.grid > .purple.row,
.ui.grid > .purple.column,
.ui.grid > .row > .purple.column {
background-color: @purple !important;
color: @white;
}
/* Pink */
.ui.grid > .pink.row,
.ui.grid > .pink.column,
.ui.grid > .row > .pink.column {
background-color: @pink !important;
color: @white;
}
/* Brown */
.ui.grid > .brown.row,
.ui.grid > .brown.column,
.ui.grid > .row > .brown.column {
background-color: @brown !important;
color: @white;
}
/* Grey */
.ui.grid > .grey.row,
.ui.grid > .grey.column,
.ui.grid > .row > .grey.column {
background-color: @grey !important;
color: @white;
}
/* Black */
.ui.grid > .black.row,
.ui.grid > .black.column,
.ui.grid > .row > .black.column {
background-color: @black !important;
color: @white;
}
each(@colors, {
@color: replace(@key, '@', '');
@c: @colors[@@color][color];

.ui.grid > .@{color}.row,
.ui.grid > .@{color}.column,
.ui.grid > .row > .@{color}.column {
background-color: @c;
color: @white;
}
})


/*----------------------
Expand Down
Loading