File tree 4 files changed +14
-32
lines changed
packages/styles/src/theming
4 files changed +14
-32
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 17
17
"lint" : " yarn run sync-entries && yarn run lint:style && yarn run lint:js" ,
18
18
"lint:fix" : " yarn run sync-entries fix && yarn run lint:style --fix && yarn run lint:js --fix" ,
19
19
"lint:pre-commit" : " echo running pre-commit lint... && yarn run lint && echo done!\n " ,
20
- "hotfix-release" : " ./scripts/hotfix-publish-release.sh" ,
21
- "hotfix-release-latest" : " ./scripts/hotfix-publish-release.sh latest" ,
20
+ "hotfix-release" : " ./scripts/release-hotfix.sh" ,
22
21
"size" : " bundlesize --config config/bundlesize.json" ,
23
22
"start" : " yarn run build:visual-stories && yarn run storybook:serve" ,
24
23
"start:prod" : " yarn run storybook:serve:prod" ,
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