Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: more flexible color palette #865

Merged
merged 3 commits into from Mar 27, 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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion assets/css/main.css
Expand Up @@ -55,7 +55,7 @@ body {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
background: $dt('color.white');
color: $dt('color.gray.700');
color: $dt('color.gray.800');
font-family: $dt('font.sans');
min-width: $dt('size.xs');

Expand Down
76 changes: 74 additions & 2 deletions tokens.config.ts
@@ -1,9 +1,81 @@
import { defineTheme } from 'pinceau'
import theme from '@nuxt-themes/tokens/config'

export default defineTheme({
color: {
primary: theme.color.lightblue
black: '#0B0A0A',
// Primary is modified lightblue
primary: {
50: '#F1FCFF',
100: '#DCF7FF',
200: '#C5F2FF',
300: '#82E3FF',
400: '#55E1FF',
500: '#1AD6FF',
600: '#09A0C1',
700: '#024757',
800: '#00232B',
900: '#001A1F'
},
gray: {
50: '#FBFBFB',
100: '#F6F5F4',
200: '#ECEBE8',
300: '#DBD9D3',
400: '#ADA9A4',
500: '#97948F',
600: '#67635D',
700: '#36332E',
800: '#201E1B',
900: '#121110'
},
red: {
50: '#FFF9F8',
100: '#FFF3F0',
200: '#FFDED7',
300: '#FFA692',
400: '#FF7353',
500: '#FF3B10',
600: '#BB2402',
700: '#701704',
800: '#340A01',
900: '#1C0301'
},
blue: {
50: '#F2FAFF',
100: '#DFF3FF',
200: '#C6EAFF',
300: '#A1DDFF',
400: '#64C7FF',
500: '#1AADFF',
600: '#0069A6',
700: '#003351',
800: '#002235',
900: '#00131D'
},
green: {
50: '#ECFFF7',
100: '#DEFFF1',
200: '#C3FFE6',
300: '#86FBCB',
400: '#3CEEA5',
500: '#0DD885',
600: '#00B467',
700: '#006037',
800: '#002817',
900: '#00190F'
},
yellow: {
50: '#FFFDEA',
100: '#FFF8CC',
200: '#FEF5A4',
300: '#FFEF8A',
400: '#FFE53C',
500: '#EECF00',
600: '#C2A905',
700: '#6B5D02',
800: '#282300',
900: '#1A1700'
}
},
docus: {
$schema: {
Expand Down