다음을 통해 공유


Get-SPOTheme

Description

Get-SPOTheme cmdlet은 명명된 기존 테마 또는 이름이 제공되지 않은 경우 업로드된 모든 테마에 대한 설정을 반환합니다.

예제

예 1

이 예제에서는 Get-SPOTheme cmdlet을 사용하여 Add-SPOTheme cmdlet의 예제에서 만든 테마에 대한 설정을 "Custom Cyan" 반환하는 방법을 보여줍니다. 이 예제에서는 PowerShell ConvertTo-Json 필터를 사용하여 테마를 JSON 형식으로 표시합니다.

Get-SPOTheme -Name "Custom Cyan" | ConvertTo-Json
{
    "Name":  "Custom Cyan",
    "Palette":  {
                    "themeLight":  "#affefe",
                    "themeTertiary":  "#76ffff",
                    "black":  "#000000",
                    "neutralSecondary":  "#666666",
                    "neutralTertiaryAlt":  "#c8c8c8",
                    "themeSecondary":  "#39ffff",
                    "themeDarker":  "#005252",
                    "primaryBackground":  "#fff",
                    "neutralQuaternary":  "#d0d0d0",
                    "neutralPrimaryAlt":  "#3c3c3c",
                    "neutralPrimary":  "#333",
                    "themeDark":  "#009090",
                    "themeLighter":  "#daffff",
                    "neutralTertiary":  "#a6a6a6",
                    "neutralQuaternaryAlt":  "#dadada",
                    "themeLighterAlt":  "#f3fcfc",
                    "white":  "#fff",
                    "neutralSecondaryAlt":  "#767676",
                    "neutralLighter":  "#f4f4f4",
                    "neutralLight":  "#eaeaea",
                    "neutralDark":  "#212121",
                    "themeDarkAlt":  "#00c4c4",
                    "neutralLighterAlt":  "#f8f8f8",
                    "primaryText":  "#333",
                    "themePrimary":  "#00ffff"
                },
    "IsInverted":  false
}

예 2

업로드된 모든 테마를 반환하려면 인수 없이 Get-SPOTheme 명령을 사용합니다.

Get-SPOTheme

매개 변수

-Name

적용 가능: SharePoint Online

테마의 이름입니다.

매개 변수 속성

형식:System.String
Default value:None
와일드카드 지원:False
DontShow:False

매개 변수 집합

(All)
Position:0
필수:False
파이프라인의 값:True
속성 이름별 파이프라인의 값:False
나머지 인수의 값:False

CommonParameters

이 cmdlet은 일반적인 매개 변수인 -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction 및 -WarningVariable 매개 변수를 지원합니다. 자세한 내용은 about_CommonParameters를 참조하세요.

입력

System.String

출력

System.Object