Skip to content

Commit 36b946d

Browse files
Luke BowermanLuke Bowerman
authored andcommitted
Deprecate color documentation (rewrite coming soon)
1 parent f5cfc92 commit 36b946d

File tree

3 files changed

+7
-29
lines changed

3 files changed

+7
-29
lines changed

packages/www/src/MDX/Pre/CodeSandbox.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ const IconWrapper = styled.div`
275275
align-content: center;
276276
${({ theme: { colors } }) => `
277277
background: ${colors.critical};
278-
color: ${colors.inverseOn};
278+
color: ${colors.onInverse};
279279
`}
280280
svg {
281281
transform: translateY(-2px);

packages/www/src/documentation/system/color.mdx

Lines changed: 6 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -2,32 +2,11 @@
22
title: Color
33
---
44

5-
import { ColorPalette } from './demos'
5+
import { MessageBar } from '@looker/components'
66

7-
The color palette aims to help communicate the intent of an interface
8-
as well as to help establish clear hierarchy throughout an application.
7+
<MessageBar my="xlarge">
8+
We're currently in the process of reworking this documentation. Look for
9+
updates within the week
10+
</MessageBar>
911

10-
## Guidelines
11-
12-
These guidelines lay a few ground rules on how to most effectively use color when creating Looker experiences.
13-
14-
### Purposeful
15-
16-
It is important to use color with intent. Color should support the content and not the other way around. Avoid only using color as a way to show intent.
17-
18-
### Respectful
19-
20-
Use color to create hierarchy and focus attention. Understand that color can have different cultural connotations. Be judicious and use color to draw attention to things the user should take action on.
21-
22-
### Accessible
23-
24-
We want Looker to be accessible to the widest audience possible. Our color palettes are designed to meet or exceed the accessibility guidelines.
25-
26-
## Color Palette
27-
28-
<ColorPalette
29-
file="XZUILHEQBKTus121SD99nrFN"
30-
page="Swatches"
31-
frame="contrast"
32-
accessToken="16-4ef5a47f-6cd6-4372-95c3-2d581b1d4bbf"
33-
/>
12+
The color palette aims to help communicate the intent of an interface as well as to help establish clear hierarchy throughout an application.

packages/www/src/documentation/system/demos/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,5 @@
2626

2727
export * from './BorderRender'
2828
export * from './BreakpointTable'
29-
export * from './ColorPalette'
3029
export * from './SpacingOptionsTable'
3130
export * from './Typography'

0 commit comments

Comments
 (0)