Skip to content

Commit

Permalink
chore(color): Drop emphasis and link from color
Browse files Browse the repository at this point in the history
Drop `color.emphasis` #24
Drop `color.link` #26
  • Loading branch information
gadenbuie committed Oct 16, 2024
1 parent 025bcde commit 3d33f18
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 21 deletions.
14 changes: 1 addition & 13 deletions docs/pkg/py/color.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -236,16 +236,4 @@ dark
: [Optional](`typing.Optional`)\[[str](`str`)\]

A dark color, used as a high-contrast foreground color on light elements
or high-contrast background color on light elements.

emphasis

: [Optional](`typing.Optional`)\[[str](`str`)\]

A color used to emphasize or highlight text or elements.

link

: [Optional](`typing.Optional`)\[[str](`str`)\]

The color used for hyperlinks.
or high-contrast background color on light elements.
8 changes: 0 additions & 8 deletions pkg-py/src/brand_yaml/color.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,12 +179,6 @@ class BrandColor(BrandBase):
dark
A dark color, used as a high-contrast foreground color on light elements
or high-contrast background color on light elements.
emphasis
A color used to emphasize or highlight text or elements.
link
The color used for hyperlinks.
"""

model_config = ConfigDict(
Expand All @@ -207,8 +201,6 @@ class BrandColor(BrandBase):
danger: Optional[str] = None
light: Optional[str] = None
dark: Optional[str] = None
emphasis: Optional[str] = None
link: Optional[str] = None

@field_validator("palette")
@classmethod
Expand Down

0 comments on commit 3d33f18

Please sign in to comment.