mirror of
https://github.com/podman-desktop/podman-desktop
synced 2026-04-21 09:37:22 +00:00
* Updating palette + adding drop shadows - Adding highlight shadow below titlebar - Adding dropshadow to right of main nav - Updating color palette to latest mockups Signed-off-by: Máirín Duffy <duffy@redhat.com> * Adding dropshadow to settings nav - adding drop shadow between main nav and settings nav panel Signed-off-by: Máirín Duffy <duffy@redhat.com> * Adding custom dropshadows to theme & using - Drop shadows had been using arbitrary inline shadows - Shadows have been moved to the tailwind config js / theme - Arbitrary shadows inline updated to use new theme shadows Signed-off-by: Máirín Duffy <duffy@redhat.com> --------- Signed-off-by: Máirín Duffy <duffy@redhat.com> Co-authored-by: Máirín Duffy <mairin@users.noreply.github.com>
186 lines
4.9 KiB
JavaScript
186 lines
4.9 KiB
JavaScript
/**********************************************************************
|
|
* Copyright (C) 2022-2023 Red Hat, Inc.
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
***********************************************************************/
|
|
|
|
const tailwindColors = require('tailwindcss/colors')
|
|
|
|
module.exports = {
|
|
content: [
|
|
'packages/renderer/index.html',
|
|
'packages/renderer/src/**/*.{svelte,css}',
|
|
],
|
|
theme: {
|
|
extend: {
|
|
boxShadow: {
|
|
"titlebar": 'inset 0px -1px 0px 0 rgb(54 54 61 / 0.6)', // highlight for bottom of titlebar
|
|
"pageheader": 'inset 0 0px 10px 0 rgb(0 0 0 / 0.4)',
|
|
"nav": 'inset 7px -4px 6px 0 rgb(0 0 0 / 0.15)',
|
|
},
|
|
transitionProperty: {
|
|
width: 'width',
|
|
},
|
|
},
|
|
colors: {
|
|
'charcoal': {
|
|
50: '#767676',
|
|
100: '#707073',
|
|
200: '#5c5c5c',
|
|
300: '#464649',
|
|
400: '#4a4b4f',
|
|
500: '#36363d',
|
|
600: '#27272a',
|
|
700: '#222222',
|
|
800: '#18181b',
|
|
900: '#0f0f11',
|
|
},
|
|
'gray': {
|
|
50: '#f9fafb',
|
|
100: '#f6f6f6',
|
|
200: '#efefef',
|
|
300: '#e4e4e4',
|
|
400: '#d1d1d1',
|
|
500: '#c8c8c8',
|
|
600: '#b4b4b4',
|
|
700: '#aaabac',
|
|
800: '#9a9a9a',
|
|
900: '#818181',
|
|
},
|
|
'purple': {
|
|
50: '#f7f3ff',
|
|
100: '#efe9fe',
|
|
200: '#e2d6fe',
|
|
300: '#bfa7f6',
|
|
400: '#ad8bfa',
|
|
500: '#8b5cf6',
|
|
600: '#6d48bf',
|
|
700: '#6234b1',
|
|
800: '#4d2d87',
|
|
900: '#37255d',
|
|
},
|
|
'dustypurple': {
|
|
50: '#f2f2fb',
|
|
100: '#e7e8f8',
|
|
200: '#d3d3f2',
|
|
300: '#b9b8e9',
|
|
400: '#a09adf',
|
|
500: '#8f81d3',
|
|
600: '#8772c7',
|
|
700: '#6d57ab',
|
|
800: '#59498a',
|
|
900: '#4a406f',
|
|
},
|
|
'fuschia': {
|
|
50: '#fdf2ff',
|
|
100: '#f9e3ff',
|
|
200: '#f4c6ff',
|
|
300: '#f099ff',
|
|
400: '#e85dff',
|
|
500: '#d721ff',
|
|
600: '#c200ff',
|
|
700: '#a200cf',
|
|
800: '#8600a9',
|
|
900: '#710689',
|
|
},
|
|
'sky': {
|
|
50: '#f2f8fd',
|
|
100: '#e5eff9',
|
|
200: '#c4def3',
|
|
300: '#90c3e9',
|
|
400: '#51a2da',
|
|
500: '#2f88c8',
|
|
600: '#206ca9',
|
|
700: '#1b5789',
|
|
800: '#1a4a72',
|
|
900: '#1b3f5f',
|
|
},
|
|
'green': {
|
|
50: '#f0f9f0',
|
|
100: '#ddefdc',
|
|
200: '#bbdfbb',
|
|
300: '#8ec792',
|
|
400: '#64ad6c',
|
|
500: '#3c8d47',
|
|
600: '#2b7037',
|
|
700: '#225a2d',
|
|
800: '#1d4825',
|
|
900: '#193b20',
|
|
},
|
|
'red': {
|
|
50: '#fff4f1',
|
|
100: '#ffe7e1',
|
|
200: '#ffd1c7',
|
|
300: '#ffb3a1',
|
|
400: '#ff866a',
|
|
500: '#f86847',
|
|
600: '#e5421d',
|
|
700: '#c13414',
|
|
800: '#9f2f15',
|
|
900: '#842c18',
|
|
},
|
|
'amber': {
|
|
50: tailwindColors.amber[50],
|
|
100: tailwindColors.amber[100],
|
|
200: tailwindColors.amber[200],
|
|
300: tailwindColors.amber[300],
|
|
400: tailwindColors.amber[400],
|
|
500: tailwindColors.amber[500],
|
|
600: tailwindColors.amber[600],
|
|
700: tailwindColors.amber[700],
|
|
800: tailwindColors.amber[800],
|
|
900: tailwindColors.amber[900],
|
|
},
|
|
transparent: 'transparent',
|
|
black: '#000',
|
|
white: '#fff',
|
|
// The remaining colors below are not part of our palette and are only here
|
|
// to maintain existing code. No new use.
|
|
'slate': {
|
|
400: tailwindColors.slate[400],
|
|
800: tailwindColors.slate[800],
|
|
},
|
|
'zinc': {
|
|
100: tailwindColors.zinc[100],
|
|
200: tailwindColors.zinc[200],
|
|
300: tailwindColors.zinc[300],
|
|
400: tailwindColors.zinc[400],
|
|
600: tailwindColors.zinc[600],
|
|
700: tailwindColors.zinc[700],
|
|
800: tailwindColors.zinc[800],
|
|
900: tailwindColors.zinc[900],
|
|
},
|
|
'neutral': {
|
|
900: tailwindColors.neutral[900],
|
|
},
|
|
'blue': {
|
|
500: tailwindColors.blue[500],
|
|
},
|
|
'indigo': { // website only
|
|
500: tailwindColors.indigo[500],
|
|
600: tailwindColors.indigo[600],
|
|
},
|
|
'violet': {
|
|
50: tailwindColors.violet[50],
|
|
400: tailwindColors.violet[400],
|
|
500: tailwindColors.violet[500],
|
|
600: tailwindColors.violet[600],
|
|
700: tailwindColors.violet[700],
|
|
800: tailwindColors.violet[800],
|
|
},
|
|
},
|
|
},
|
|
plugins: [],
|
|
};
|