-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(plasma-new-hope): separate classes & tokens; update snapshots
- Loading branch information
1 parent
beac7df
commit 496b57b
Showing
15 changed files
with
144 additions
and
217 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
24 changes: 24 additions & 0 deletions
24
packages/plasma-new-hope/src/components/Calendar/shared/tokens.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,24 @@ | ||
export const classes = { | ||
dayOfWeek: 'day-of-week', | ||
dayDisabled: 'day-disabled', | ||
dayDisabledCurrent: 'day-disabled-current', | ||
daySideInRange: 'day-side-in-range', | ||
dayInRange: 'day-in-range', | ||
daySideLeft: 'day-side-left', | ||
daySideRight: 'day-side-right', | ||
selectableItem: 'item-selectable', | ||
selectedItem: 'item-selected', | ||
currentItem: 'item-current', | ||
hoveredItem: 'item-hovered', | ||
}; | ||
|
||
export const tokens = { | ||
colorPrimary: '--plasma-colors-primary', | ||
colorSecondary: '--plasma-colors-secondary', | ||
colorTertiary: '--plasma-colors-tertiary', | ||
colorAccent: '--plasma-colors-accent', | ||
colorButtonFocused: '--plasma-colors-button-focused', | ||
colorSurfaceLiquid02: '--plasma-colors-surface-liquid02', | ||
colorSurfaceLiquid03: '--plasma-colors-surface-solid03', | ||
colorBackgroundPrimary: '--plasma-colors-background-primary', | ||
}; |
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.