Skip to content

Commit

Permalink
feat(tokens): removed inverted color tokens that should not exist (#1829
Browse files Browse the repository at this point in the history
)

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Michael Marszalek <[email protected]>
  • Loading branch information
3 people authored Apr 15, 2024
1 parent 66b5a28 commit ea9e670
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 429 deletions.
91 changes: 0 additions & 91 deletions apps/storefront/tokens/altinn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1279,84 +1279,6 @@ export const color = [
attributes: {},
path: ['semantic', 'surface', 'info', 'subtle-hover'],
},
{
value: '#ffffff',
type: 'color',
filePath: '../../design-tokens/Base/Semantic.json',
isSource: false,
original: {
value: '{colors.white}',
type: 'color',
},
name: '--fds-semantic-surface-on_inverted-default',
attributes: {},
path: ['semantic', 'surface', 'on_inverted', 'default'],
},
{
value: '#ffffffe6',
type: 'color',
filePath: '../../design-tokens/Base/Semantic.json',
isSource: false,
original: {
value: '#ffffffe6',
type: 'color',
},
name: '--fds-semantic-surface-on_inverted-hover',
attributes: {},
path: ['semantic', 'surface', 'on_inverted', 'hover'],
},
{
value: '#ffffffcc',
type: 'color',
filePath: '../../design-tokens/Base/Semantic.json',
isSource: false,
original: {
value: '#ffffffcc',
type: 'color',
},
name: '--fds-semantic-surface-on_inverted-active',
attributes: {},
path: ['semantic', 'surface', 'on_inverted', 'active'],
},
{
value: '#ffffff00',
type: 'color',
filePath: '../../design-tokens/Base/Semantic.json',
isSource: false,
original: {
value: '#ffffff00',
type: 'color',
},
name: '--fds-semantic-surface-on_inverted-no_fill',
attributes: {},
path: ['semantic', 'surface', 'on_inverted', 'no_fill'],
},
{
value: '#ffffff1a',
type: 'color',
filePath: '../../design-tokens/Base/Semantic.json',
isSource: false,
original: {
value: '#ffffff1a',
type: 'color',
},
name: '--fds-semantic-surface-on_inverted-no_fill-hover',
attributes: {},
path: ['semantic', 'surface', 'on_inverted', 'no_fill-hover'],
},
{
value: '#ffffff33',
type: 'color',
filePath: '../../design-tokens/Base/Semantic.json',
isSource: false,
original: {
value: '#ffffff33',
type: 'color',
},
name: '--fds-semantic-surface-on_inverted-no_fill-active',
attributes: {},
path: ['semantic', 'surface', 'on_inverted', 'no_fill-active'],
},
{
value: '#ffda06',
type: 'color',
Expand Down Expand Up @@ -1903,19 +1825,6 @@ export const color = [
attributes: {},
path: ['semantic', 'border', 'focus', 'boxshadow'],
},
{
value: '#ffffff',
type: 'color',
filePath: '../../design-tokens/Base/Semantic.json',
isSource: false,
original: {
value: '{colors.white}',
type: 'color',
},
name: '--fds-semantic-border-on_inverted-default',
attributes: {},
path: ['semantic', 'border', 'on_inverted', 'default'],
},
{
value: '#00315d',
type: 'color',
Expand Down
91 changes: 0 additions & 91 deletions apps/storefront/tokens/brreg.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1297,84 +1297,6 @@ export const color = [
attributes: {},
path: ['semantic', 'surface', 'info', 'subtle-hover'],
},
{
value: '#ffffff',
type: 'color',
filePath: '../../design-tokens/Base/Semantic.json',
isSource: false,
original: {
value: '{colors.white}',
type: 'color',
},
name: '--fds-semantic-surface-on_inverted-default',
attributes: {},
path: ['semantic', 'surface', 'on_inverted', 'default'],
},
{
value: '#ffffffe6',
type: 'color',
filePath: '../../design-tokens/Base/Semantic.json',
isSource: false,
original: {
value: '#ffffffe6',
type: 'color',
},
name: '--fds-semantic-surface-on_inverted-hover',
attributes: {},
path: ['semantic', 'surface', 'on_inverted', 'hover'],
},
{
value: '#ffffffcc',
type: 'color',
filePath: '../../design-tokens/Base/Semantic.json',
isSource: false,
original: {
value: '#ffffffcc',
type: 'color',
},
name: '--fds-semantic-surface-on_inverted-active',
attributes: {},
path: ['semantic', 'surface', 'on_inverted', 'active'],
},
{
value: '#ffffff00',
type: 'color',
filePath: '../../design-tokens/Base/Semantic.json',
isSource: false,
original: {
value: '#ffffff00',
type: 'color',
},
name: '--fds-semantic-surface-on_inverted-no_fill',
attributes: {},
path: ['semantic', 'surface', 'on_inverted', 'no_fill'],
},
{
value: '#ffffff1a',
type: 'color',
filePath: '../../design-tokens/Base/Semantic.json',
isSource: false,
original: {
value: '#ffffff1a',
type: 'color',
},
name: '--fds-semantic-surface-on_inverted-no_fill-hover',
attributes: {},
path: ['semantic', 'surface', 'on_inverted', 'no_fill-hover'],
},
{
value: '#ffffff33',
type: 'color',
filePath: '../../design-tokens/Base/Semantic.json',
isSource: false,
original: {
value: '#ffffff33',
type: 'color',
},
name: '--fds-semantic-surface-on_inverted-no_fill-active',
attributes: {},
path: ['semantic', 'surface', 'on_inverted', 'no_fill-active'],
},
{
value: '#ffda06',
type: 'color',
Expand Down Expand Up @@ -1921,19 +1843,6 @@ export const color = [
attributes: {},
path: ['semantic', 'border', 'focus', 'boxshadow'],
},
{
value: '#ffffff',
type: 'color',
filePath: '../../design-tokens/Base/Semantic.json',
isSource: false,
original: {
value: '{colors.white}',
type: 'color',
},
name: '--fds-semantic-border-on_inverted-default',
attributes: {},
path: ['semantic', 'border', 'on_inverted', 'default'],
},
{
value: '#00315d',
type: 'color',
Expand Down
91 changes: 0 additions & 91 deletions apps/storefront/tokens/digdir.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1273,84 +1273,6 @@ export const color = [
attributes: {},
path: ['semantic', 'surface', 'info', 'subtle-hover'],
},
{
value: '#ffffff',
type: 'color',
filePath: '../../design-tokens/Base/Semantic.json',
isSource: false,
original: {
value: '{colors.white}',
type: 'color',
},
name: '--fds-semantic-surface-on_inverted-default',
attributes: {},
path: ['semantic', 'surface', 'on_inverted', 'default'],
},
{
value: '#ffffffe6',
type: 'color',
filePath: '../../design-tokens/Base/Semantic.json',
isSource: false,
original: {
value: '#ffffffe6',
type: 'color',
},
name: '--fds-semantic-surface-on_inverted-hover',
attributes: {},
path: ['semantic', 'surface', 'on_inverted', 'hover'],
},
{
value: '#ffffffcc',
type: 'color',
filePath: '../../design-tokens/Base/Semantic.json',
isSource: false,
original: {
value: '#ffffffcc',
type: 'color',
},
name: '--fds-semantic-surface-on_inverted-active',
attributes: {},
path: ['semantic', 'surface', 'on_inverted', 'active'],
},
{
value: '#ffffff00',
type: 'color',
filePath: '../../design-tokens/Base/Semantic.json',
isSource: false,
original: {
value: '#ffffff00',
type: 'color',
},
name: '--fds-semantic-surface-on_inverted-no_fill',
attributes: {},
path: ['semantic', 'surface', 'on_inverted', 'no_fill'],
},
{
value: '#ffffff1a',
type: 'color',
filePath: '../../design-tokens/Base/Semantic.json',
isSource: false,
original: {
value: '#ffffff1a',
type: 'color',
},
name: '--fds-semantic-surface-on_inverted-no_fill-hover',
attributes: {},
path: ['semantic', 'surface', 'on_inverted', 'no_fill-hover'],
},
{
value: '#ffffff33',
type: 'color',
filePath: '../../design-tokens/Base/Semantic.json',
isSource: false,
original: {
value: '#ffffff33',
type: 'color',
},
name: '--fds-semantic-surface-on_inverted-no_fill-active',
attributes: {},
path: ['semantic', 'surface', 'on_inverted', 'no_fill-active'],
},
{
value: '#ffda06',
type: 'color',
Expand Down Expand Up @@ -1897,19 +1819,6 @@ export const color = [
attributes: {},
path: ['semantic', 'border', 'focus', 'boxshadow'],
},
{
value: '#ffffff',
type: 'color',
filePath: '../../design-tokens/Base/Semantic.json',
isSource: false,
original: {
value: '{colors.white}',
type: 'color',
},
name: '--fds-semantic-border-on_inverted-default',
attributes: {},
path: ['semantic', 'border', 'on_inverted', 'default'],
},
{
value: '#00315d',
type: 'color',
Expand Down
Loading

0 comments on commit ea9e670

Please sign in to comment.