Skip to content

Commit c8dc7ac

Browse files
committed
fix(platform_ai): fix textAccent [PLASMA-6541]
use spring 150
1 parent fd4ff51 commit c8dc7ac

File tree

6 files changed

+19
-19
lines changed

6 files changed

+19
-19
lines changed

packages/plasma-tokens/data/themes/sdds_platform_ai.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5856,11 +5856,11 @@
58565856
"comment": "Сплошной наборный текст"
58575857
},
58585858
"textAccentHover": {
5859-
"value": "#A0F8DFFF",
5859+
"value": "#E2FDAFFF",
58605860
"comment": "Акцентный цвет"
58615861
},
58625862
"textAccentActive": {
5863-
"value": "#2EEFB9FF",
5863+
"value": "#B6FB37FF",
58645864
"comment": "Акцентный цвет"
58655865
},
58665866
"textAccentGradientHover": {
@@ -6113,14 +6113,14 @@
61136113
"value": "#260f4266",
61146114
"comment": "Третичный цвет текста"
61156115
},
6116-
"textAccent": {
6117-
"value": "[general.arctic.200]",
6118-
"comment": "Акцентный цвет"
6119-
},
61206116
"textPromo": {
61216117
"value": "[general.arctic.200]",
61226118
"comment": "Промо цвет",
61236119
"enabled": true
6120+
},
6121+
"textAccent": {
6122+
"value": "[general.spring.150]",
6123+
"comment": "Акцентный цвет"
61246124
}
61256125
},
61266126
"onDark": {

packages/plasma-tokens/src/themes/sdds_platform_ai__light.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ export const sdds_platform_ai__light = {
1212
'--text-paragraph-hover': '#1717177A',
1313
'--text-paragraph-active': '#171717A3',
1414
'--text-paragraph': '#171717CC',
15-
'--text-accent-hover': '#A0F8DFFF',
16-
'--text-accent-active': '#2EEFB9FF',
15+
'--text-accent-hover': '#E2FDAFFF',
16+
'--text-accent-active': '#B6FB37FF',
1717
'--text-accent-gradient-hover': '#CCCCCCFF',
1818
'--text-accent-gradient-active': '#E6E6E6FF',
1919
'--text-accent-minor-hover': '#47DC62FF',
@@ -49,8 +49,8 @@ export const sdds_platform_ai__light = {
4949
'--text-primary': '#260f42',
5050
'--text-secondary': '#260f42b3',
5151
'--text-tertiary': '#260f4266',
52-
'--text-accent': '#52F2C5',
5352
'--text-promo': '#52F2C5',
53+
'--text-accent': '#C5FC5F',
5454
'--on-dark-text-primary-hover': '#F5F5F593',
5555
'--on-dark-text-primary-active': '#F5F5F5C4',
5656
'--on-dark-text-primary': '#F5F5F5F5',

packages/themes/sdds-themes/src/css/sdds_platform_ai.module.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -911,8 +911,8 @@
911911
--text-paragraph-hover: #1717177A;
912912
--text-paragraph-active: #171717A3;
913913
--text-paragraph: #171717CC;
914-
--text-accent-hover: #A0F8DFFF;
915-
--text-accent-active: #2EEFB9FF;
914+
--text-accent-hover: #E2FDAFFF;
915+
--text-accent-active: #B6FB37FF;
916916
--text-accent-minor-hover: #47DC62FF;
917917
--text-accent-minor-active: #21B03CFF;
918918
--text-promo-hover: #A0F8DFFF;
@@ -945,8 +945,8 @@
945945
--text-primary: #260F42FF;
946946
--text-secondary: #260F42B3;
947947
--text-tertiary: #260F4266;
948-
--text-accent: #52F2C5;
949948
--text-promo: #52F2C5;
949+
--text-accent: #C5FC5F;
950950
--on-dark-text-primary-hover: #F5F5F593;
951951
--on-dark-text-primary-active: #F5F5F5C4;
952952
--on-dark-text-primary: #F5F5F5F5;

packages/themes/sdds-themes/src/css/sdds_platform_ai__light.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
--text-paragraph-hover: #1717177A;
1212
--text-paragraph-active: #171717A3;
1313
--text-paragraph: #171717CC;
14-
--text-accent-hover: #A0F8DFFF;
15-
--text-accent-active: #2EEFB9FF;
14+
--text-accent-hover: #E2FDAFFF;
15+
--text-accent-active: #B6FB37FF;
1616
--text-accent-minor-hover: #47DC62FF;
1717
--text-accent-minor-active: #21B03CFF;
1818
--text-promo-hover: #A0F8DFFF;
@@ -45,8 +45,8 @@
4545
--text-primary: #260F42FF;
4646
--text-secondary: #260F42B3;
4747
--text-tertiary: #260F4266;
48-
--text-accent: #52F2C5;
4948
--text-promo: #52F2C5;
49+
--text-accent: #C5FC5F;
5050
--on-dark-text-primary-hover: #F5F5F593;
5151
--on-dark-text-primary-active: #F5F5F5C4;
5252
--on-dark-text-primary: #F5F5F5F5;

packages/themes/sdds-themes/src/themes/sdds_platform_ai__light.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ export const sdds_platform_ai__light = ([
1313
--text-paragraph-hover: #1717177A;
1414
--text-paragraph-active: #171717A3;
1515
--text-paragraph: #171717CC;
16-
--text-accent-hover: #A0F8DFFF;
17-
--text-accent-active: #2EEFB9FF;
16+
--text-accent-hover: #E2FDAFFF;
17+
--text-accent-active: #B6FB37FF;
1818
--text-accent-minor-hover: #47DC62FF;
1919
--text-accent-minor-active: #21B03CFF;
2020
--text-promo-hover: #A0F8DFFF;
@@ -47,8 +47,8 @@ export const sdds_platform_ai__light = ([
4747
--text-primary: #260F42FF;
4848
--text-secondary: #260F42B3;
4949
--text-tertiary: #260F4266;
50-
--text-accent: #52F2C5;
5150
--text-promo: #52F2C5;
51+
--text-accent: #C5FC5F;
5252
--on-dark-text-primary-hover: #F5F5F593;
5353
--on-dark-text-primary-active: #F5F5F5C4;
5454
--on-dark-text-primary: #F5F5F5F5;

packages/themes/sdds-themes/src/tokens/sdds_platform_ai/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3846,8 +3846,8 @@ export const viewContainer = {
38463846
--text-primary: var(--on-light-text-primary);
38473847
--text-secondary: var(--on-light-text-secondary);
38483848
--text-tertiary: var(--on-light-text-tertiary);
3849-
--text-accent: var(--on-light-text-accent);
38503849
--text-promo: var(--on-light-text-promo);
3850+
--text-accent: var(--on-light-text-accent);
38513851
--inverse-text-primary-hover: var(--on-dark-text-primary-hover);
38523852
--inverse-text-primary-active: var(--on-dark-text-primary-active);
38533853
--inverse-text-primary: var(--on-dark-text-primary);

0 commit comments

Comments
 (0)