Skip to content

Commit

Permalink
fix(css): brand color clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
josh-chamberlain committed Jun 28, 2024
1 parent 4f3ab0e commit cb19bba
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/components/Input/PdapInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const errorMessageId = computed(() => `pdap-${props.name}-input-error`);
.pdap-input input:focus,
.pdap-input input:focus-within,
.pdap-input input:focus-visible {
@apply border-2 border-brand-blue-light border-solid outline-none;
@apply border-2 border-blue-light border-solid outline-none;
}
.pdap-input label {
Expand Down
8 changes: 4 additions & 4 deletions src/config/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ export const tailwindConfig = {
extend: {
colors: {
brand: {
blue: {
light: 'rgba(var(--color-brand-blue-light)/<alpha-value>)',
medium: 'rgba(var(--color-brand-blue-medium)/<alpha-value>)',
},
gold: {
DEFAULT: 'rgba(var(--color-brand-gold-600) / <alpha-value>)',
50: 'rgba(var(--color-brand-gold-50) / <alpha-value>)',
Expand Down Expand Up @@ -77,6 +73,10 @@ export const tailwindConfig = {
900: 'rgba(var(--color-wine-neutral-900)/<alpha-value>)',
950: 'rgba(var(--color-wine-neutral-950)/<alpha-value>)',
},
blue: {
light: 'rgba(var(--color-blue-light)/<alpha-value>)',
medium: 'rgba(var(--color-blue-medium)/<alpha-value>)',
},
},
brightness: {
85: '.85',
Expand Down
8 changes: 3 additions & 5 deletions src/styles/variables.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,9 @@
--color-neutral-900: 26 26 26;
--color-neutral-950: 0 0 0;

/* Brand */
--color-brand-blue-light: 56 152 236;
--color-brand-blue-medium: 0 130 243;
--color-brand-gold: 213 162 60;
--color-brand-wine: 81 42 79;
/* Blue */
--color-blue-light: 56 152 236;
--color-blue-medium: 0 130 243;

/* Brand Gold */
--color-brand-gold-50: 253 240 221;
Expand Down

0 comments on commit cb19bba

Please sign in to comment.