Skip to content

Commit

Permalink
FEAT: Azion selection color (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
lfsigreja authored Feb 8, 2024
1 parent 3dc2eca commit d3c6436
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/azion-dark/_custom.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@import './custom/selection'
1 change: 1 addition & 0 deletions src/azion-dark/_extensions.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,5 @@
@import '../azion-dark/extended-components/progressbar';
@import '../azion-dark/extended-components/dialog';
@import '../azion-dark/extended-components/multiselect';
@import '../azion-dark/extended-components/selection';
}
2 changes: 2 additions & 0 deletions src/azion-dark/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -106,5 +106,7 @@ $colors: (
--maskbg: #{$maskBg};
--highlight-bg: #{$highlightBg};
--highlight-text-color: #{$highlightTextColor};
--bg-selection: #FAB99E;

color-scheme: dark;
}
4 changes: 4 additions & 0 deletions src/azion-dark/custom/_selection.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
::selection {
color: var(--primary-color-text);
background-color: var(--bg-selection);
}
1 change: 1 addition & 0 deletions src/azion-dark/theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
@import './_fonts';
@import '../primevue-sass-theme/theme-base/components.scss';
@import './_extensions';
@import './custom';
}
1 change: 1 addition & 0 deletions src/azion-light/_custom.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@import './custom/selection'
1 change: 1 addition & 0 deletions src/azion-light/_extensions.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,5 @@
@import '../azion-light/extended-components/progressbar';
@import '../azion-light/extended-components/dialog';
@import '../azion-light/extended-components/multiselect';
@import '../azion-light/extended-components/selection';
}
1 change: 1 addition & 0 deletions src/azion-light/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ $colors: (
--maskbg: #{$maskBg};
--highlight-bg: #{$highlightBg};
--highlight-text-color: #{$highlightTextColor};
--bg-selection: #F7966E;

color-scheme: light;
}
3 changes: 3 additions & 0 deletions src/azion-light/custom/_selection.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
::selection {
background-color: var(--bg-selection);
}
1 change: 1 addition & 0 deletions src/azion-light/theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
@import './_fonts';
@import '../primevue-sass-theme/theme-base/components.scss';
@import './_extensions';
@import './custom';
}

0 comments on commit d3c6436

Please sign in to comment.