-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9ab2f50
commit bcab566
Showing
27 changed files
with
491 additions
and
290 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...rand-identity/public/assets/brands/ballerina/images/ballerina-logo-inverted.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions
1
...s/multi-brand-identity/public/assets/brands/ballerina/images/ballerina-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions
9
...ti-brand-identity/public/assets/brands/ballerina/images/ballerina-mini-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
127 changes: 127 additions & 0 deletions
127
examples/multi-brand-identity/src/branding/themes/ballerina.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,127 @@ | ||
/** | ||
* Copyright (c) 2022, WSO2 LLC. (https://www.wso2.com). All Rights Reserved. | ||
* | ||
* WSO2 LLC. licenses this file to you under the Apache License, | ||
* Version 2.0 (the "License"); you may not use this file except | ||
* in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, | ||
* software distributed under the License is distributed on an | ||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
* KIND, either express or implied. See the License for the | ||
* specific language governing permissions and limitations | ||
* under the License. | ||
*/ | ||
|
||
import {extendTheme, Theme} from '@oxygen-ui/react'; | ||
|
||
export const BallerinaTheme: Theme = extendTheme({ | ||
colorSchemes: { | ||
dark: { | ||
brand: { | ||
logo: { | ||
main: `${process.env.PUBLIC_URL}/assets/brands/ballerina/images/ballerina-logo.svg`, | ||
}, | ||
}, | ||
palette: { | ||
primary: { | ||
main: '#20b6b0', | ||
}, | ||
}, | ||
}, | ||
light: { | ||
brand: { | ||
logo: { | ||
main: `${process.env.PUBLIC_URL}/assets/brands/ballerina/images/ballerina-logo-inverted.svg`, | ||
}, | ||
}, | ||
palette: { | ||
primary: { | ||
main: '#20b6b0', | ||
}, | ||
}, | ||
}, | ||
}, | ||
components: { | ||
MuiCssBaseline: { | ||
styleOverrides: ` | ||
/* roboto-300 - latin */ | ||
@font-face { | ||
font-family: 'Roboto'; | ||
font-style: normal; | ||
font-weight: 300; | ||
src: url('../fonts/roboto-v30-latin-300.eot'); /* IE9 Compat Modes */ | ||
src: local(''), | ||
url('../fonts/roboto-v30-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ | ||
url('../fonts/roboto-v30-latin-300.woff2') format('woff2'), /* Super Modern Browsers */ | ||
url('../fonts/roboto-v30-latin-300.woff') format('woff'), /* Modern Browsers */ | ||
url('../fonts/roboto-v30-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */ | ||
url('../fonts/roboto-v30-latin-300.svg#Roboto') format('svg'); /* Legacy iOS */ | ||
} | ||
/* roboto-regular - latin */ | ||
@font-face { | ||
font-family: 'Roboto'; | ||
font-style: normal; | ||
font-weight: 400; | ||
src: url('../fonts/roboto-v30-latin-regular.eot'); /* IE9 Compat Modes */ | ||
src: local(''), | ||
url('../fonts/roboto-v30-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ | ||
url('../fonts/roboto-v30-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */ | ||
url('../fonts/roboto-v30-latin-regular.woff') format('woff'), /* Modern Browsers */ | ||
url('../fonts/roboto-v30-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */ | ||
url('../fonts/roboto-v30-latin-regular.svg#Roboto') format('svg'); /* Legacy iOS */ | ||
} | ||
/* roboto-500 - latin */ | ||
@font-face { | ||
font-family: 'Roboto'; | ||
font-style: normal; | ||
font-weight: 500; | ||
src: url('../fonts/roboto-v30-latin-500.eot'); /* IE9 Compat Modes */ | ||
src: local(''), | ||
url('../fonts/roboto-v30-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ | ||
url('../fonts/roboto-v30-latin-500.woff2') format('woff2'), /* Super Modern Browsers */ | ||
url('../fonts/roboto-v30-latin-500.woff') format('woff'), /* Modern Browsers */ | ||
url('../fonts/roboto-v30-latin-500.ttf') format('truetype'), /* Safari, Android, iOS */ | ||
url('../fonts/roboto-v30-latin-500.svg#Roboto') format('svg'); /* Legacy iOS */ | ||
} | ||
`, | ||
}, | ||
MuiOutlinedInput: { | ||
styleOverrides: { | ||
input: { | ||
padding: '5px 10px', | ||
}, | ||
}, | ||
}, | ||
MuiPaper: { | ||
styleOverrides: { | ||
root: { | ||
borderRadius: 0, | ||
}, | ||
}, | ||
}, | ||
}, | ||
shape: { | ||
borderRadius: 0, | ||
}, | ||
typography: { | ||
fontFamily: [ | ||
'-apple-system', | ||
'BlinkMacSystemFont', | ||
'"Segoe UI"', | ||
'Roboto', | ||
'"Helvetica Neue"', | ||
'Arial', | ||
'sans-serif', | ||
'"Apple Color Emoji"', | ||
'"Segoe UI Emoji"', | ||
'"Segoe UI Symbol"', | ||
].join(','), | ||
h1: { | ||
fontWeight: 700, | ||
}, | ||
}, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.