Skip to content

Commit 7eb130a

Browse files
authored
Merge pull request #753 from atls/feat/web-colors
Feat/web colors
2 parents 1e8e85f + 9820d25 commit 7eb130a

49 files changed

Lines changed: 547 additions & 13 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.pnp.cjs‎

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎ui-admin/theme/src/properties/typography.css.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// TODO: Remove legacy typography sprinkles after components are refactored to @atls-ui/theme typography.
12
import { defineProperties } from 'rainbow-sprinkles'
23

34
import { vars } from '../theme.css.js'

‎ui-admin/theme/src/tokens/contract/colors.ts‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
export type ColorsTokens = Record<keyof typeof colorsContract, string>
22

3-
export const colorsContract = {
3+
export const legacyColorsContract = {
44
blue: null,
55
blueProtective: null,
66
white: null,
@@ -42,3 +42,5 @@ export const colorsContract = {
4242

4343
'icons.placeholder': null,
4444
}
45+
46+
export const colorsContract = legacyColorsContract

‎ui-admin/theme/src/tokens/contract/font-sizes.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// TODO: Remove legacy typography tokens after components are refactored to @atls-ui/theme typography.
12
export type FontSizesTokens = Record<keyof typeof fontSizesContract, string>
23

34
export const fontSizesContract = {

‎ui-admin/theme/src/tokens/contract/font-weights.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// TODO: Remove legacy typography tokens after components are refactored to @atls-ui/theme typography.
12
export type FontWeightsTokens = Record<keyof typeof fontWeightsContract, string>
23

34
export const fontWeightsContract = {

‎ui-admin/theme/src/tokens/contract/fonts.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// TODO: Remove legacy typography tokens after components are refactored to @atls-ui/theme typography.
12
export type FontsTokens = Record<keyof typeof fontsContract, string>
23

34
export const fontsContract = {

‎ui-admin/theme/src/tokens/contract/line-heights.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// TODO: Remove legacy typography tokens after components are refactored to @atls-ui/theme typography.
12
export type LineHeightsTokens = Record<keyof typeof lineHeightsContract, string>
23

34
export const lineHeightsContract = {

‎ui-admin/theme/src/tokens/dark/colors.ts‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { ColorsTokens } from '../contract/index.js'
22

3-
export const colors: ColorsTokens = {
3+
export const legacyColors: ColorsTokens = {
44
blue: 'rgba(65, 109, 223, 1)',
55
blueProtective: 'rgba(24, 144 ,255, 1)',
66
white: 'rgba(0, 0, 0, 1)',
@@ -42,3 +42,5 @@ export const colors: ColorsTokens = {
4242

4343
'icons.placeholder': 'rgba(104, 110, 130, 1)',
4444
}
45+
46+
export const colors = legacyColors

‎ui-admin/theme/src/tokens/dark/font-sizes.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// TODO: Remove legacy typography tokens after components are refactored to @atls-ui/theme typography.
12
import type { FontSizesTokens } from '../index.js'
23

34
export const fontSizes: FontSizesTokens = {

‎ui-admin/theme/src/tokens/dark/font-weights.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// TODO: Remove legacy typography tokens after components are refactored to @atls-ui/theme typography.
12
import type { FontWeightsTokens } from '../index.js'
23

34
export const fontWeights: FontWeightsTokens = {

0 commit comments

Comments
 (0)