Last active
September 21, 2021 12:35
-
-
Save jotraverso/1571b05d80491a8ee0e07849c32d7dea to your computer and use it in GitHub Desktop.
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
.DXPTheme * { | |
/** | |
awesome styling, I don't know so much about CSS | |
*/ | |
} |
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
<template> | |
<lightning-card class={theme}> | |
</lightning-card> | |
</template> |
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
export default class UploadFilesToS3 extends NavigationMixin(LightningElement) { | |
@api | |
theme; | |
/** | |
..... | |
*/ | |
} |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata"> | |
<apiVersion>51.0</apiVersion> | |
<isExposed>true</isExposed> | |
<targets> | |
<target>lightning__RecordPage</target> | |
<target>lightningCommunity__Page</target> | |
</targets> | |
<targetConfigs> | |
<targetConfig targets="lightning__RecordPage"> | |
<property name="theme" type="String" default="defaultTheme" label="Theme for LWC Styling" required="true" description="Put your brain to work" /> | |
<!-- <objects> | |
<object>Order</object> | |
</objects> --> | |
<supportedFormFactors> | |
<supportedFormFactor type="Small" /> | |
<supportedFormFactor type="Large" /> | |
</supportedFormFactors> | |
</targetConfig> | |
<targetConfig targets="lightningCommunity__Page"> | |
<property name="theme" type="String" default="DXPTheme" label="Theme for the Developer Experience Site" required="true" description="Put your brain to work" /> | |
<supportedFormFactors> | |
<supportedFormFactor type="Small" /> | |
<supportedFormFactor type="Large" /> | |
</supportedFormFactors> | |
</targetConfig> | |
</targetConfigs> | |
</LightningComponentBundle> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment