File tree 3 files changed +13
-30
lines changed
packages/styles/src/theming
3 files changed +13
-30
lines changed Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+ # This flag indicates if the tag should be treated as a latest one, which is going to trigger
3
+ # - npm publish with `latest` tag, which will become new default version
4
+ # - main version incrementation
5
+ echo " isLatest=false" >> $GITHUB_OUTPUT
Original file line number Diff line number Diff line change 1
1
@use " sass:map" ;
2
2
3
- @container style(--sapSapThemeId : sap_fiori_3) {
4
- @import ' ./sap_fiori_3' ;
5
- }
6
-
7
- @container style(--sapSapThemeId : sap_fiori_3_dark) {
8
- @import ' ./sap_fiori_3_dark' ;
9
- }
10
-
11
- @container style(--sapSapThemeId : sap_fiori_3_hcb) {
12
- @import ' ./sap_fiori_3_hcb' ;
13
- }
14
-
15
- @container style(--sapSapThemeId : sap_fiori_3_hcw) {
16
- @import ' ./sap_fiori_3_hcw' ;
17
- }
3
+ @import " sap_fiori_3" only screen and (prefers-color-scheme : light ) and (prefers-contrast : no-preference ), screen and (prefers-color-scheme : light ) and (prefers-contrast : less );
4
+ @import " sap_fiori_3_dark" only screen and (prefers-color-scheme : dark ) and (prefers-contrast : no-preference ), screen and (prefers-color-scheme : dark ) and (prefers-contrast : less );
5
+ @import " sap_fiori_3_hcw" only screen and (prefers-color-scheme : light ) and (prefers-contrast : custom ), screen and (prefers-color-scheme : light ) and (prefers-contrast : more );
6
+ @import " sap_fiori_3_hcb" only screen and (prefers-color-scheme : dark ) and (prefers-contrast : custom ), screen and (prefers-color-scheme : dark ) and (prefers-contrast : more );
Original file line number Diff line number Diff line change 1
1
@use " sass:map" ;
2
2
3
- @container style(--sapSapThemeId : sap_horizon) {
4
- @import ' sap_horizon' ;
5
- }
6
-
7
- @container style(--sapSapThemeId : sap_horizon_dark) {
8
- @import ' sap_horizon_dark' ;
9
- }
10
-
11
- @container style(--sapSapThemeId : sap_horizon_hcb) {
12
- @import ' sap_horizon_hcb' ;
13
- }
14
-
15
- @container style(--sapSapThemeId : sap_horizon_hcw) {
16
- @import ' sap_horizon_hcw' ;
17
- }
3
+ @import " sap_horizon" only screen and (prefers-color-scheme : light ) and (prefers-contrast : no-preference ), screen and (prefers-color-scheme : light ) and (prefers-contrast : less );
4
+ @import " sap_horizon_dark" only screen and (prefers-color-scheme : dark ) and (prefers-contrast : no-preference ), screen and (prefers-color-scheme : dark ) and (prefers-contrast : less );
5
+ @import " sap_horizon_hcw" only screen and (prefers-color-scheme : light ) and (prefers-contrast : custom ), screen and (prefers-color-scheme : light ) and (prefers-contrast : more );
6
+ @import " sap_horizon_hcb" only screen and (prefers-color-scheme : dark ) and (prefers-contrast : custom ), screen and (prefers-color-scheme : dark ) and (prefers-contrast : more );
You can’t perform that action at this time.
0 commit comments