Created
June 10, 2023 05:38
-
-
Save Innei/cb67fc579a460d6b863b3ca3c1bd6e1b to your computer and use it in GitHub Desktop.
UIKit Colors and materials
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const UIKitColors = { | |
red: { | |
light: '#FF3B30', | |
dark: '#FF453A', | |
}, | |
orange: { | |
light: '#FF9500', | |
dark: '#FF9F0A', | |
}, | |
yellow: { | |
light: '#FFCC00', | |
dark: '#FFD60A', | |
}, | |
green: { | |
light: '#34C759', | |
dark: '#30D158', | |
}, | |
mint: { | |
light: '#00C7BE', | |
dark: '#63E6E2', | |
}, | |
teal: { | |
light: '#30B0C7', | |
dark: '#40CBE0', | |
}, | |
cyan: { | |
light: '#32ADE6', | |
dark: '#64D2FF', | |
}, | |
blue: { | |
light: '#007AFF', | |
dark: '#0A84FF', | |
}, | |
indigo: { | |
light: '#5856D6', | |
dark: '#5E5CE6', | |
}, | |
purple: { | |
light: '#AF52DE', | |
dark: '#BF5AF2', | |
}, | |
pink: { | |
light: '#FF2D55', | |
dark: '#FF375F', | |
}, | |
brown: { | |
light: '#A2845E', | |
dark: '#AC8E68', | |
}, | |
grey: { | |
light: '#8E8E93', | |
dark: '#8E8E93', | |
}, | |
grey2: { | |
light: '#AEAEB2', | |
dark: '#636366', | |
}, | |
grey3: { | |
light: '#C7C7CC', | |
dark: '#48484A', | |
}, | |
grey4: { | |
light: '#D1D1D6', | |
dark: '#3A3A3C', | |
}, | |
gray5: { | |
light: '#E5E5EA', | |
dark: '#2C2C2E', | |
}, | |
grey6: { | |
light: '#F2F2F7', | |
dark: '#1C1C1E', | |
}, | |
// Separator | |
separator: { | |
opaque: { | |
light: '#C6C6C8', | |
dark: '#38383A', | |
}, | |
non_opaque: { | |
light: 'rgba(60, 60, 67, 0.36)', | |
dark: 'rgba(84, 84, 88, 0.65)', | |
}, | |
}, | |
// Label | |
label: { | |
primary: { | |
dark: '#FFF', | |
light: '#000', | |
}, | |
secondary: { | |
light: '#3C3C4399', | |
dark: '#EBEBF599', | |
}, | |
tertiary: { | |
light: '#3C3C434D', | |
dark: '#EBEBF54D', | |
}, | |
quarternary: { | |
light: '#3C3C432E', | |
dark: '#EBEBF529', | |
}, | |
}, | |
// Background | |
background: { | |
primary: { | |
light: '#fff', | |
dark: '#1C1C1E', | |
}, | |
secondary: { | |
light: '#F2F2F7', | |
dark: '#2C2C2E', | |
}, | |
tertiary: { | |
light: '#FFFFFF', | |
dark: '#3A3A3C', | |
}, | |
}, | |
// Grouped Background | |
grouped: { | |
primary: { | |
light: '#F2F2F7', | |
dark: '#1C1C1E', | |
}, | |
secondary: { | |
light: '#FFFFFF', | |
dark: '#2C2C2E', | |
}, | |
tertiary: { | |
light: '#F2F2F7', | |
dark: '#3A3A3C', | |
}, | |
}, | |
// Fill | |
fill: { | |
primary: { | |
light: '#78788033', | |
dark: '#7878805C', | |
}, | |
secondary: { | |
light: '#78788029', | |
dark: '#78788052', | |
}, | |
tertiary: { | |
light: '#7676801F', | |
dark: '#7676803D', | |
}, | |
quarternary: { | |
light: '#74748014', | |
dark: '#7474802E', | |
}, | |
}, | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@layer base { | |
.uk-material-thick-light { | |
background: linear-gradient(0deg, #5c5c5c, #5c5c5c), | |
rgba(153, 153, 153, 0.97); | |
background-blend-mode: color-dodge, normal; | |
backdrop-filter: blur(20px); | |
} | |
.uk-material-thick-dark { | |
background: linear-gradient(0deg, #7c7c7c, #7c7c7c), rgba(37, 37, 37, 0.9); | |
background-blend-mode: overlay, normal; | |
backdrop-filter: blur(50px); | |
} | |
.uk-material-default-light { | |
background: linear-gradient(0deg, #383838, #383838), | |
rgba(179, 179, 179, 0.82); | |
background-blend-mode: color-dodge, normal; | |
backdrop-filter: blur(17.5px); | |
} | |
.uk-material-default-dark { | |
background: linear-gradient(0deg, #8c8c8c, #8c8c8c), rgba(37, 37, 37, 0.82); | |
background-blend-mode: overlay, normal; | |
backdrop-filter: blur(50px); | |
} | |
.uk-material-thin-light { | |
background: linear-gradient(0deg, #333333, #333333), | |
rgba(166, 166, 166, 0.7); | |
background-blend-mode: color-dodge, normal; | |
backdrop-filter: blur(15px); | |
} | |
.uk-material-thin-dark { | |
background: linear-gradient(0deg, #9c9c9c, #9c9c9c), rgba(37, 37, 37, 0.7); | |
background-blend-mode: overlay, normal; | |
backdrop-filter: blur(50px); | |
} | |
.uk-material-ultrathin-light { | |
background: linear-gradient(0deg, #0d0d0d, #0d0d0d), | |
rgba(191, 191, 191, 0.44); | |
background-blend-mode: color-dodge, normal; | |
backdrop-filter: blur(15px); | |
} | |
.uk-material-ultrathin-dark { | |
background: linear-gradient(0deg, #9c9c9c, #9c9c9c), rgba(37, 37, 37, 0.55); | |
background-blend-mode: overlay, normal; | |
backdrop-filter: blur(50px); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment