This commit is contained in:
@@ -54,6 +54,8 @@ const DAY_NAMES_SHORT = ['nd.', 'pon.', 'wt.', 'śr.', 'czw.', 'pt.', 'sob.'];
|
||||
const WEEKDAY_SHORT = ['pn', 'wt', 'śr', 'cz', 'pt', 'sb', 'nd'];
|
||||
const MONTHS_LONG = ['Styczeń','Luty','Marzec','Kwiecień','Maj','Czerwiec','Lipiec','Sierpień','Wrzesień','Październik','Listopad','Grudzień'];
|
||||
const MONTHS_SHORT = ['sty','lut','mar','kwi','maj','cze','lip','sie','wrz','paź','lis','gru'];
|
||||
const CALENDAR_DIM_TEXT = '#888278';
|
||||
const CALENDAR_DIM_OPACITY = '0.58';
|
||||
|
||||
/* ── module state ── */
|
||||
let boughtSectionOpen = false;
|
||||
@@ -222,7 +224,7 @@ function renderCalendarGrid(previewDays = null) {
|
||||
if (isSel) {
|
||||
bg = '#393937'; borderColor = '#787876'; color = '#f2efe8'; opacity = '1'; borderClass = 'border';
|
||||
} else if (!inMonth) {
|
||||
bg = 'transparent'; borderColor = 'transparent'; color = '#5a5752'; opacity = '0.38'; borderClass = 'border-0';
|
||||
bg = 'transparent'; borderColor = 'transparent'; color = CALENDAR_DIM_TEXT; opacity = CALENDAR_DIM_OPACITY; borderClass = 'border-0';
|
||||
} else {
|
||||
bg = '#272622'; borderColor = '#34312c'; color = '#d7d2c8'; opacity = '1'; borderClass = 'border';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user