Skip to content

Commit

Permalink
Merge pull request #33 from BouyguesTelecom/fix/ranch/color
Browse files Browse the repository at this point in the history
Fix color range web
  • Loading branch information
hakaba authored May 2, 2024
2 parents 1a01b17 + 927cce1 commit c51cc95
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 16 deletions.
7 changes: 1 addition & 6 deletions examples/react-template/screens/Hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,7 @@ import { TitleMarkup, TrilogyColor } from "@trilogy-ds/react";
export const HeroScreen = (): JSX.Element => {
return (
<Section>
<Hero
variant={TrilogyColor.MAIN}
overlap
background={TrilogyColor.MAIN}
inverted
>
<Hero background={TrilogyColor.MAIN} overlap inverted>
<Container>
<Title markup={TitleMarkup.H1} level={TitleLevels.TWO}>
Hero Overlapped
Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/assets/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@trilogy-ds/assets",
"version": "0.0.1-beta.16",
"version": "0.0.1-beta.17",
"description": "Trilogy assets include all Open Source Fonts & Icons",
"author": "Bouygues Telecom",
"type": "module",
Expand Down
4 changes: 3 additions & 1 deletion packages/react/objects/facets/Color.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ export const colors: Record<TrilogyColor, string[]> = {
? ["grey-dark", "#646464", "white", "#E9E9E9"]
: ["#646464", "#E9E9E9"],
[TrilogyColor.NEUTRAL_LIGHT]:
navigator.userAgent !== undefined ? [] : ["#E9E9E9", "#E9E9E9"],
navigator.userAgent !== undefined
? ["#E9E9E9", "#E9E9E9"]
: ["#E9E9E9", "#E9E9E9"],
[TrilogyColor.HOVERED]:
navigator.userAgent !== undefined
? ["hovered", "#F4F4F4", "white", "#F4F4F4"]
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@trilogy-ds/react",
"version": "0.0.1-beta.16",
"version": "0.0.1-beta.17",
"type": "module",
"author": "Bouygues Telecom",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion packages/react/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const version = "0.0.1-beta.16"
export const version = "0.0.1-beta.17"
2 changes: 1 addition & 1 deletion packages/styles/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@trilogy-ds/styles",
"version": "0.0.1-beta.16",
"version": "0.0.1-beta.17",
"author": "Bouygues Telecom",
"license": "UNLICENSED",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion packages/vanilla/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@trilogy-ds/vanilla",
"version": "0.0.1-beta.16",
"version": "0.0.1-beta.17",
"author": "Bouygues Telecom",
"main": "lib/trilogy-ds-vanilla.js",
"scripts": {
Expand Down

0 comments on commit c51cc95

Please sign in to comment.