Skip to content
This repository has been archived by the owner on Feb 28, 2024. It is now read-only.

Add fixed-light-color and fixed-dark-color tokens #259

Merged
merged 1 commit into from
Nov 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/config/maps/themes/basic/keys/_keys.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ $theme-basic-keys: (
placeholder-color: $placeholder-color,
icon-color: $icon-color,
link-color: $link-color,
fixed-light-color: $fixed-light-color,
fixed-dark-color: $fixed-dark-color,
primary-background-color: $primary-background-color,
primary-background-hover-color: $primary-background-hover-color,
secondary-background-color: $secondary-background-color,
Expand Down
2 changes: 2 additions & 0 deletions src/config/maps/themes/black/keys/_black-theme-keys.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ $theme-black-keys: (
placeholder-color: $theme-black-placeholder-color,
icon-color: $theme-black-icon-color,
link-color: $theme-black-link-color,
fixed-light-color: $theme-black-fixed-light-color,
fixed-dark-color: $theme-black-fixed-dark-color,
primary-background-color: $theme-black-primary-background-color,
primary-background-hover-color: $theme-black-primary-background-hover-color,
secondary-background-color: $theme-black-secondary-background-color,
Expand Down
2 changes: 2 additions & 0 deletions src/config/maps/themes/dark/keys/_dark-theme-keys.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ $theme-dark-keys: (
placeholder-color: $theme-dark-placeholder-color,
icon-color: $theme-dark-icon-color,
link-color: $theme-dark-link-color,
fixed-light-color: $theme-dark-fixed-light-color,
fixed-dark-color: $theme-dark-fixed-dark-color,
primary-background-color: $theme-dark-primary-background-color,
primary-background-hover-color: $theme-dark-primary-background-hover-color,
secondary-background-color: $theme-dark-secondary-background-color,
Expand Down
2 changes: 2 additions & 0 deletions src/config/maps/themes/hacker/keys/_hacker-theme-keys.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ $theme-hacker-keys: (
placeholder-color: $theme-hacker-placeholder-color,
icon-color: $theme-hacker-icon-color,
link-color: $theme-hacker-link-color,
fixed-light-color: $theme-hacker-fixed-light-color,
fixed-dark-color: $theme-hacker-fixed-dark-color,
primary-background-color: $theme-hacker-primary-background-color,
primary-background-hover-color: $theme-hacker-primary-background-hover-color,
secondary-background-color: $theme-hacker-secondary-background-color,
Expand Down
4 changes: 4 additions & 0 deletions src/config/tokens/themes/basic/keys/_keys.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
// - When several key has the same value and have a connection
// - We either use $token or var(--token) depending on connection logic and value type.

// Fixed colors
$fixed-light-color: $color-snow_white;
$fixed-dark-color: $color-mud_black;

// Text colors
$primary-color: $color-basic_blue;
$primary-hover-color: $color-dark_blue;
Expand Down
4 changes: 4 additions & 0 deletions src/config/tokens/themes/black/keys/_black-theme-keys.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
// - When several key has the same value and have a connection
// - We either use $theme-dark token or var(--token) depending on connection logic and value type.

// Fixed colors
$theme-black-fixed-light-color: $color-snow_white;
$theme-black-fixed-dark-color: $color-vanta;

// Text colors
$theme-black-primary-color: $primary-color;
$theme-black-primary-hover-color: $primary-hover-color;
Expand Down
4 changes: 4 additions & 0 deletions src/config/tokens/themes/dark/keys/_dark-theme-keys.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
// - When several key has the same value and have a connection
// - We either use $theme-dark token or var(--token) depending on connection logic and value type.

// Fixed colors
$theme-dark-fixed-light-color: $color-snow_white;
$theme-dark-fixed-dark-color: $color-mud_black;

// Text colors
$theme-dark-primary-color: $primary-color;
$theme-dark-primary-hover-color: $primary-hover-color;
Expand Down
4 changes: 4 additions & 0 deletions src/config/tokens/themes/hacker/keys/_hacker-theme-keys.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@

@use "sass:color";

// Fixed colors
$theme-hacker-fixed-light-color: $color-snow_white;
$theme-hacker-fixed-dark-color: $color-mud_black;

// Text colors
$theme-hacker-primary-color: $color-pink-plastic;
$theme-hacker-primary-hover-color: #{color.adjust($color-pink-plastic, $lightness: -6%)};
Expand Down
8 changes: 8 additions & 0 deletions src/files/colors.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
"placeholder-color": "#676879",
"icon-color": "#676879",
"link-color": "#1f76c2",
"fixed-light-color": "#ffffff",
"fixed-dark-color": "#323338",
"primary-background-color": "#ffffff",
"primary-background-hover-color": "#dcdfec",
"secondary-background-color": "#ffffff",
Expand Down Expand Up @@ -191,6 +193,8 @@
"placeholder-color": "#c3c6d4",
"icon-color": "#c3c6d4",
"link-color": "#69a7ef",
"fixed-light-color": "#ffffff",
"fixed-dark-color": "#323338",
"primary-background-color": "#181b34",
"primary-background-hover-color": "#4b4e69",
"secondary-background-color": "#30324e",
Expand Down Expand Up @@ -348,6 +352,8 @@
"placeholder-color": "#aaaaaa",
"icon-color": "#aaaaaa",
"link-color": "#69a7ef",
"fixed-light-color": "#ffffff",
"fixed-dark-color": "#111111",
"primary-background-color": "#111111",
"primary-background-hover-color": "#636363",
"secondary-background-color": "#2c2c2c",
Expand Down Expand Up @@ -501,6 +507,8 @@
"primary-selected-on-secondary-color": "#9f4077",
"primary-text-color": "#d5d8df",
"primary-text-on-secondary-color": "#d5d8df",
"fixed-light-color": "#ffffff",
"fixed-dark-color": "#323338",
"primary-background-color": "#282a36",
"primary-background-color-rgb": "#282a36",
"primary-background-hover-color": "#4b4e69",
Expand Down
Loading